Function at 0x10027740
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x10184be6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov eax, dword [esp + 0x48]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], ecx
push eax
call fcn.1000a300
mov ebp, eax
mov eax, edx
mov dword [esp + 0x24], eax
xor ecx, ecx
add esp, 4
and eax, 0x400
test ecx, ecx
jne 0x10027acc
cmp eax, 0x400
jne 0x10027acc
mov ebx, dword [esp + 0x54]
mov edi, ebp
and edi, 0x30000
xor eax, eax
cmp edi, 0x20000
mov esi, ebx
jne 0x100277d8
test eax, eax
jne 0x100277d8
push ebx
call fcn.1001bb50
mov esi, eax
mov eax, dword [0x10274670]
add esp, 4
test eax, eax
je 0x100277d8
push str.ALIWndCreated8_ChatWnd____
push 0x101c46c4
push 0xffffffffffffffff
push 0x10273ddc
call fcn.10119f10
add esp, 0x10
test esi, esi
je 0x10027acc
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp eax, esi
je 0x10027acc
mov eax, dword [0x10274670]
test eax, eax
je 0x1002781c
push ebx
call fcn.1001bb50
add esp, 4
push eax
push ebx
push esi
push str.ALIWndCreated8_1__AliWnd:_x___Hwnd:_x___TWnd:_x_
push 0x101c46c4
push 0xffffffffffffffff
push 0x10273ddc
call fcn.10119f10
add esp, 0x1c
lea ecx, [esp + 0x58]
mov dword [esp + 0x58], 0
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
push 0x1700
mov dword [esp + 0x18], ebx
call fcn.10173930
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x4c], 0
je 0x10027870
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x20]
push ebx
push edx
push ecx
push ebp
push 0x400
push esi
mov ecx, eax
call fcn.10028ef0
mov ebx, eax
jmp 0x10027872
xor ebx, ebx
test ebx, ebx
mov dword [esp + 0x4c], 0xffffffff
je 0x10027acc
mov eax, dword [0x10274670]
test eax, eax
je 0x100278a5
push ebx
push str.ALIWndCreated8_2__pWnd:_x_
push 0x101c46c4
push 0xffffffffffffffff
push 0x10273ddc
call fcn.10119f10
add esp, 0x14
cmp edi, 0x10000
jne 0x100278b7
xor eax, eax
test eax, eax
je 0x10027975
cmp edi, 0x20000
jne 0x10027ac5
xor eax, eax
test eax, eax
jne 0x10027ac5
mov ebp, dword [esp + 0x10]
mov eax, dword [ebx + 8]
push eax
lea edi, [ebp + 0x168]
mov ecx, edi
call fcn.10062730
test eax, eax
jne 0x10027ac5
mov edx, dword [esp + 0x58]
mov ecx, edi
push edx
call fcn.100626f0
mov esi, eax
mov eax, dword [0x10274670]
test eax, eax
je 0x10027922
mov eax, dword [ebp + 0x174]
push esi
push eax
push str.ALIWndCreated8_Chat_Create__Count:__d___Main:__08x_
push 0x101c46c4
push 0xffffffffffffffff
push 0x10273ddc
call fcn.10119f10
add esp, 0x18
test esi, esi
je 0x10027ac5
mov eax, dword [0x10274670]
test eax, eax
je 0x1002794c
push str.ALIWndCreated8_chat_create
push 0x101c46c4
push 0xffffffffffffffff
push 0x10273ddc
call fcn.10119f10
add esp, 0x10
mov ecx, 0x101fadf8
call fcn.1001aa40
mov ecx, dword [esp + 0x54]
mov dword [ebx + 0xc70], esi
push ecx
mov ecx, ebx
call fcn.1002a8b0
push ebx
mov ecx, edi
call fcn.101717ac
jmp 0x10027acc
mov edx, dword [esp + 0x10]
mov eax, dword [ebx + 8]
push eax
lea esi, [edx + 0x168]
mov ecx, esi
mov dword [esp + 0x58], esi
call fcn.100626b0
test eax, eax
jne 0x10027ac5
mov eax, dword [0x10274670]
test eax, eax
je 0x100279b8
push str.ALIWndCreated8_Main_Create
push 0x101c46c4
push 0xffffffffffffffff
push 0x10273ddc
call fcn.10119f10
add esp, 0x10
mov ecx, ebx
call fcn.10029880
push ebx
mov ecx, esi
call fcn.10171782
cmp ebp, 0x2010008
jne 0x10027acc
cmp dword [esp + 0x20], 0x400
jne 0x10027acc
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x28]
mov dword [esp + 0x24], 0
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], eax
push ecx
push 0x1002ea60
mov dword [esp + 0x34], edi
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10027acc
cmp dword [ebx + 8], eax
je 0x10027acc
push eax
call fcn.1001bb50
push 0x1700
mov esi, eax
call fcn.10173930
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x4c], 1
je 0x10027a71
mov edx, dword [esp + 0x58]
push edi
push edx
push 0x400
push 0x2020000
push 0x400
push esi
mov ecx, eax
call fcn.10028ef0
mov esi, eax
jmp 0x10027a73
xor esi, esi
mov eax, dword [0x10274670]
mov dword [esp + 0x4c], 0xffffffff
test eax, eax
je 0x10027aa3
mov eax, dword [esp + 0x24]
push esi
push eax
push str.ALIWndCreated8_Main_Enum_Chat___08x____p_
push 0x101c46c4
push 0xffffffffffffffff
push 0x10273ddc
call fcn.10119f10
add esp, 0x18
test esi, esi
je 0x10027acc
mov dword [esi + 0xc70], ebx
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, esi
call fcn.1002a8b0
mov ecx, dword [esp + 0x54]
push esi
call fcn.101717ac
jmp 0x10027acc
mov ecx, ebx
call fcn.1005d550
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 0xc