Function at 0x100d0220
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x101b00c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov eax, dword [esp + 0x44]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], ecx
push eax
call fcn.1000b6f0
mov ebp, eax
mov eax, edx
mov dword [esp + 0x24], eax
xor ecx, ecx
add esp, 4
and eax, 0x400
test ecx, ecx
jne 0x100d05db
cmp eax, 0x400
jne 0x100d05db
mov ebx, dword [esp + 0x58]
mov edi, ebp
and edi, 0x30000
xor eax, eax
cmp edi, 0x20000
mov esi, ebx
jne 0x100d02c6
test eax, eax
jne 0x100d02c6
mov ecx, dword [0x10232358]
shr ecx, 0x10
cmp ecx, 0xa
jae 0x100d02c6
push ebx
call fcn.1001dda0
mov esi, eax
mov eax, dword [0x102acd68]
add esp, 4
test eax, eax
je 0x100d02c6
push str.ALIWndCreated8_ChatWnd____
push 0x101f5b28
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
add esp, 0x10
test esi, esi
je 0x100d05db
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp eax, esi
je 0x100d05db
mov eax, dword [0x102acd68]
test eax, eax
je 0x100d030a
push ebx
call fcn.1001dda0
add esp, 4
push eax
push ebx
push esi
push str.ALIWndCreated8_1__AliWnd:_x___Hwnd:_x___TWnd:_x_
push 0x101f5b28
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
add esp, 0x1c
lea edx, [esp + 0x54]
mov dword [esp + 0x54], 0
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
push 0x1700
mov dword [esp + 0x18], ebx
call fcn.101963be
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x4c], 0
je 0x100d035e
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x20]
push ebx
push ecx
push edx
push ebp
push 0x400
push esi
mov ecx, eax
call fcn.1002ced0
mov ebx, eax
jmp 0x100d0360
xor ebx, ebx
test ebx, ebx
mov dword [esp + 0x4c], 0xffffffff
je 0x100d05db
mov eax, dword [0x102acd68]
test eax, eax
je 0x100d0393
push ebx
push str.ALIWndCreated8_2__pWnd:_x_
push 0x101f5b28
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
add esp, 0x14
cmp edi, 0x10000
jne 0x100d03a5
xor eax, eax
test eax, eax
je 0x100d0464
cmp edi, 0x20000
jne 0x100d05d4
xor eax, eax
test eax, eax
jne 0x100d05d4
mov eax, dword [0x10232358]
shr eax, 0x10
cmp eax, 0xa
jae 0x100d05d4
mov ebp, dword [esp + 0x10]
mov eax, dword [ebx + 8]
push eax
lea edi, [ebp + 4]
mov ecx, edi
call fcn.10064e70
test eax, eax
jne 0x100d05d4
mov ecx, dword [esp + 0x54]
push ecx
mov ecx, edi
call fcn.10064e30
mov esi, eax
mov eax, dword [0x102acd68]
test eax, eax
je 0x100d041b
mov edx, dword [ebp + 0x10]
push esi
push edx
push str.ALIWndCreated8_Chat_Create__Count:__d___Main:__08x_
push 0x101f5b28
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
add esp, 0x18
test esi, esi
je 0x100d05d4
mov eax, dword [0x102acd68]
test eax, eax
je 0x100d0445
push str.ALIWndCreated8_chat_create
push 0x101f5b28
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
add esp, 0x10
mov eax, dword [esp + 0x58]
mov ecx, ebx
push eax
mov dword [ebx + 0xc70], esi
call fcn.1002e890
push ebx
mov ecx, edi
call fcn.1019423a
jmp 0x100d05db
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 8]
push eax
lea esi, [ecx + 4]
mov ecx, esi
mov dword [esp + 0x5c], esi
call fcn.10064df0
test eax, eax
jne 0x100d05d4
mov eax, dword [0x102acd68]
test eax, eax
je 0x100d04a4
push str.ALIWndCreated8_Main_Create
push 0x101f5b28
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
add esp, 0x10
mov ecx, ebx
call fcn.1002d860
push ebx
mov ecx, esi
call fcn.10194210
cmp ebp, 0x2010008
jne 0x100d04c5
cmp dword [esp + 0x20], 0x400
je 0x100d04df
cmp ebp, 0x2010020
jne 0x100d05db
cmp dword [esp + 0x20], 0x400
jne 0x100d05db
mov edx, dword [esp + 0x54]
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x28]
mov dword [esp + 0x24], 0
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
push 0x10034200
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edi
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x100d05db
cmp dword [ebx + 8], eax
je 0x100d05db
mov ecx, dword [0x10232358]
shr ecx, 0x10
cmp ecx, 0xa
jae 0x100d0540
push eax
call fcn.1001dda0
add esp, 4
push 0x1700
mov esi, eax
call fcn.101963be
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x4c], 1
je 0x100d0580
mov edx, dword [esp + 0x54]
push edi
push edx
push 0x400
push 0x2020000
push 0x400
push esi
mov ecx, eax
call fcn.1002ced0
mov esi, eax
jmp 0x100d0582
xor esi, esi
mov eax, dword [0x102acd68]
mov dword [esp + 0x4c], 0xffffffff
test eax, eax
je 0x100d05b2
mov eax, dword [esp + 0x24]
push esi
push eax
push str.ALIWndCreated8_Main_Enum_Chat___08x____p_
push 0x101f5b28
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
add esp, 0x18
test esi, esi
je 0x100d05db
mov dword [esi + 0xc70], ebx
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, esi
call fcn.1002e890
mov ecx, dword [esp + 0x58]
push esi
call fcn.1019423a
jmp 0x100d05db
mov ecx, ebx
call fcn.1005ffe0
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 0xc