Function at 0x10057ef1
Capabilities:
Enumerate gui resources
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a37f0
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x100bc210]
xor eax, esp
mov dword [esp + 0x2f8], eax
push ebx
push esi
push edi
mov eax, dword [0x100bc210]
xor eax, esp
push eax
lea eax, [esp + 0x310]
mov dword fs:[0], eax
mov eax, dword [0x100bcf90]
mov ebx, ecx
mov ecx, 0x100bcf90
mov dword [esp + 0x60], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
xor edi, edi
mov dword [esp + 0x318], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
lea esi, [ebx + 4]
mov byte [esp + 0x318], 1
mov dword [esp + 0x28], edi
mov byte [esp + 0x17], 0
mov dword [esp + 0x24], esi
call fcn.10072f02
mov ecx, dword [ebx + 0x10]
push 1
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x48]
call fcn.10052eaa
cmp dword [esp + 0x44], edi
je 0x1005828e
push edi
lea eax, [esp + 0x44]
push eax
push dword [ebx + 0x18]
call fcn.100621ea
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
lea esi, [esp + 0x34]
mov byte [esp + 0x318], 2
call fcn.10062ab5
mov eax, esi
push eax
push 0x100495c0
call dword [sym.imp.USER32.dll_EnumWindows]
mov dword [esp + 0x20], edi
cmp dword [esp + 0x44], edi
jbe 0x10058215
mov eax, dword [esp + 0x40]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x20], eax
jae 0x100582ce
mov esi, dword [esp + 0x30]
mov ecx, 0xa7
lea edi, [esp + 0x64]
lea eax, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [esp + 0x68]
call fcn.10053463
mov byte [esp + 0x318], 3
test byte [esp + 0x2f4], 0x40
je 0x1005805b
push 0x1001170c
lea eax, [esp + 0x60]
push eax
lea edi, [esp + 0x34]
call fcn.1005fe35
mov byte [esp + 0x318], 4
mov eax, dword [eax]
mov ecx, dword [ebx + 0x14]
mov edx, dword [ecx]
push eax
push 2
call dword [edx + 4]
mov eax, dword [esp + 0x5c]
jmp 0x100581dd
test byte [esp + 0x2f4], 1
je 0x100581e5
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.1005f448
mov byte [esp + 0x318], 5
cmp dword [esp + 0x2f0], 4
jne 0x1005808f
mov byte [esp + 0x17], 1
xor esi, esi
xor eax, eax
cmp dword [esp + 0x3c], esi
jle 0x100580ad
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx + eax*4]
cmp ecx, dword [esp + 0x64]
je 0x100580b0
inc eax
cmp eax, dword [esp + 0x3c]
jl 0x10058099
or eax, 0xffffffff
cmp dword [esp + 0x2f0], 1
je 0x100580c4
cmp dword [esp + 0x2f0], 2
jne 0x100580eb
cmp eax, 0xffffffff
je 0x100580eb
cmp eax, esi
jl 0x100582d8
cmp eax, dword [esp + 0x3c]
jge 0x100582d8
mov ecx, dword [esp + 0x38]
lea eax, [ecx + eax*4]
lea edi, [esp + 0x18]
call fcn.1005f5c3
lea eax, [esp + 0x18]
call fcn.1005faf7
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], esi
jne 0x10058133
push dword [ebx + 0x14]
lea eax, [esp + 0x58]
push dword [esp + 0x68]
push eax
call fcn.10049707
lea edi, [esp + 0x18]
mov byte [esp + 0x318], 6
call fcn.1005f5c3
mov byte [esp + 0x318], 5
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
call fcn.10084c29
push 0x10011720
lea eax, [esp + 0x5c]
push eax
lea edi, [esp + 0x34]
call fcn.1005fdda
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x54]
push ecx
mov edi, eax
mov byte [esp + 0x320], 7
call fcn.1005fd84
mov byte [esp + 0x318], 8
mov eax, dword [eax]
mov ecx, dword [ebx + 0x14]
mov edx, dword [ecx]
push eax
push 2
call dword [edx + 4]
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
call fcn.10084c29
mov byte [esp + 0x318], 5
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
call fcn.10084c29
push 0xffffffffffffffff
push dword [esp + 0x1c]
lea eax, [esp + 0x78]
push 0x100
push eax
call fcn.100879fa
mov eax, dword [esp + 0x28]
add esp, 0x10
cmp dword [eax - 0xc], esi
je 0x100581d9
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x64]
call fcn.10065253
cmp eax, 0xffffffff
jne 0x100581d9
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x64]
push eax
call fcn.100651c8
mov ebx, dword [esp + 0x60]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10084c29
mov byte [esp + 0x318], 2
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
call fcn.10084c29
inc dword [esp + 0x20]
mov eax, dword [esp + 0x20]
add dword [esp + 0x30], 0x29c
cmp eax, dword [esp + 0x44]
jb 0x10057fed
xor edi, edi
cmp dword [esp + 0x28], edi
jne 0x10058222
cmp byte [esp + 0x17], 0
je 0x1005824f
push dword [esp + 0x28]
lea eax, [esp + 0x20]
push 0x10011748
push eax
call fcn.10084899
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx]
add esp, 0xc
push dword [esp + 0x1c]
push 2
call dword [eax + 4]
mov esi, dword [esp + 0x24]
call fcn.10072f02
mov eax, dword [ebx + 8]
cmp eax, 0x14
jbe 0x10058285
push 0x14
push eax
lea eax, [esp + 0x24]
push 0x100117e0
push eax
call fcn.10084899
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx]
add esp, 0x10
push dword [esp + 0x1c]
mov ecx, ebx
push 2
call dword [eax + 4]
mov esi, dword [esp + 0x24]
call fcn.10072f02
lea esi, [esp + 0x34]
call fcn.10062ab5
cmp dword [esp + 0x40], edi
je 0x1005829e
push dword [esp + 0x40]
call fcn.10087e79
pop ecx
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10084c29
mov ecx, dword [esp + 0x310]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2f8]
xor ecx, esp
call fcn.10086e31
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.10084b9b
call fcn.10083339
int3