Function at 0x100d0350
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x101b0e06
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.1000b820
mov ebp, eax
mov eax, edx
mov dword [esp + 0x24], eax
xor ecx, ecx
add esp, 4
and eax, 0x400
test ecx, ecx
jne 0x100d070b
cmp eax, 0x400
jne 0x100d070b
mov ebx, dword [esp + 0x58]
mov edi, ebp
and edi, 0x30000
xor eax, eax
cmp edi, 0x20000
mov esi, ebx
jne 0x100d03f6
test eax, eax
jne 0x100d03f6
mov ecx, dword [0x10232358]
shr ecx, 0x10
cmp ecx, 0xa
jae 0x100d03f6
push ebx
call fcn.1001ded0
mov esi, eax
mov eax, dword [0x102acd68]
add esp, 4
test eax, eax
je 0x100d03f6
push str.ALIWndCreated8_ChatWnd____
push 0x101f5b28
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x10
test esi, esi
je 0x100d070b
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp eax, esi
je 0x100d070b
mov eax, dword [0x102acd68]
test eax, eax
je 0x100d043a
push ebx
call fcn.1001ded0
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.10141bb0
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.101970fe
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x4c], 0
je 0x100d048e
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.1002d000
mov ebx, eax
jmp 0x100d0490
xor ebx, ebx
test ebx, ebx
mov dword [esp + 0x4c], 0xffffffff
je 0x100d070b
mov eax, dword [0x102acd68]
test eax, eax
je 0x100d04c3
push ebx
push str.ALIWndCreated8_2__pWnd:_x_
push 0x101f5b28
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x14
cmp edi, 0x10000
jne 0x100d04d5
xor eax, eax
test eax, eax
je 0x100d0594
cmp edi, 0x20000
jne 0x100d0704
xor eax, eax
test eax, eax
jne 0x100d0704
mov eax, dword [0x10232358]
shr eax, 0x10
cmp eax, 0xa
jae 0x100d0704
mov ebp, dword [esp + 0x10]
mov eax, dword [ebx + 8]
push eax
lea edi, [ebp + 4]
mov ecx, edi
call fcn.10064fa0
test eax, eax
jne 0x100d0704
mov ecx, dword [esp + 0x54]
push ecx
mov ecx, edi
call fcn.10064f60
mov esi, eax
mov eax, dword [0x102acd68]
test eax, eax
je 0x100d054b
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.10141bb0
add esp, 0x18
test esi, esi
je 0x100d0704
mov eax, dword [0x102acd68]
test eax, eax
je 0x100d0575
push str.ALIWndCreated8_chat_create
push 0x101f5b28
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x10
mov eax, dword [esp + 0x58]
mov ecx, ebx
push eax
mov dword [ebx + 0xc70], esi
call fcn.1002e9c0
push ebx
mov ecx, edi
call fcn.10194f7a
jmp 0x100d070b
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.10064f20
test eax, eax
jne 0x100d0704
mov eax, dword [0x102acd68]
test eax, eax
je 0x100d05d4
push str.ALIWndCreated8_Main_Create
push 0x101f5b28
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x10
mov ecx, ebx
call fcn.1002d990
push ebx
mov ecx, esi
call fcn.10194f50
cmp ebp, 0x2010008
jne 0x100d05f5
cmp dword [esp + 0x20], 0x400
je 0x100d060f
cmp ebp, 0x2010020
jne 0x100d070b
cmp dword [esp + 0x20], 0x400
jne 0x100d070b
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 0x10034330
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 0x100d070b
cmp dword [ebx + 8], eax
je 0x100d070b
mov ecx, dword [0x10232358]
shr ecx, 0x10
cmp ecx, 0xa
jae 0x100d0670
push eax
call fcn.1001ded0
add esp, 4
push 0x1700
mov esi, eax
call fcn.101970fe
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x4c], 1
je 0x100d06b0
mov edx, dword [esp + 0x54]
push edi
push edx
push 0x400
push 0x2020000
push 0x400
push esi
mov ecx, eax
call fcn.1002d000
mov esi, eax
jmp 0x100d06b2
xor esi, esi
mov eax, dword [0x102acd68]
mov dword [esp + 0x4c], 0xffffffff
test eax, eax
je 0x100d06e2
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.10141bb0
add esp, 0x18
test esi, esi
je 0x100d070b
mov dword [esi + 0xc70], ebx
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, esi
call fcn.1002e9c0
mov ecx, dword [esp + 0x58]
push esi
call fcn.10194f7a
jmp 0x100d070b
mov ecx, ebx
call fcn.10060110
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 0xc