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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a02df
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x100b8210]
xor eax, esp
mov dword [esp + 0x2f8], eax
push ebx
push esi
push edi
mov eax, dword [0x100b8210]
xor eax, esp
push eax
lea eax, [esp + 0x310]
mov dword fs:[0], eax
mov eax, dword [0x100b8f90]
mov ebx, ecx
mov ecx, 0x100b8f90
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.100738de
mov ecx, dword [ebx + 0x10]
push 1
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x48]
call fcn.100520b6
cmp dword [esp + 0x44], edi
je 0x1005752d
push edi
lea eax, [esp + 0x44]
push eax
push dword [ebx + 0x18]
call fcn.10060f2b
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.100616f3
mov eax, esi
push eax
push 0x10048d8f
call dword [sym.imp.USER32.dll_EnumWindows]
mov dword [esp + 0x20], edi
cmp dword [esp + 0x44], edi
jbe 0x100574b4
mov eax, dword [esp + 0x40]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x20], eax
jae 0x1005756d
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.10052640
mov byte [esp + 0x318], 3
test byte [esp + 0x2f4], 0x40
je 0x100572fa
push 0x10011a24
lea eax, [esp + 0x60]
push eax
lea edi, [esp + 0x34]
call fcn.1005ec33
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 0x1005747c
test byte [esp + 0x2f4], 1
je 0x10057484
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.1005e2c8
mov byte [esp + 0x318], 5
cmp dword [esp + 0x2f0], 4
jne 0x1005732e
mov byte [esp + 0x17], 1
xor esi, esi
xor eax, eax
cmp dword [esp + 0x3c], esi
jle 0x1005734c
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx + eax*4]
cmp ecx, dword [esp + 0x64]
je 0x1005734f
inc eax
cmp eax, dword [esp + 0x3c]
jl 0x10057338
or eax, 0xffffffff
cmp dword [esp + 0x2f0], 1
je 0x10057363
cmp dword [esp + 0x2f0], 2
jne 0x1005738a
cmp eax, 0xffffffff
je 0x1005738a
cmp eax, esi
jl 0x10057577
cmp eax, dword [esp + 0x3c]
jge 0x10057577
mov ecx, dword [esp + 0x38]
lea eax, [ecx + eax*4]
lea edi, [esp + 0x18]
call fcn.1005e434
lea eax, [esp + 0x18]
call fcn.1005e922
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], esi
jne 0x100573d2
push dword [ebx + 0x14]
lea eax, [esp + 0x58]
push dword [esp + 0x68]
push eax
call fcn.10048ed1
lea edi, [esp + 0x18]
mov byte [esp + 0x318], 6
call fcn.1005e434
mov byte [esp + 0x318], 5
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
call fcn.10082afb
push 0x10011a38
lea eax, [esp + 0x5c]
push eax
lea edi, [esp + 0x34]
call fcn.1005ebdd
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x54]
push ecx
mov edi, eax
mov byte [esp + 0x320], 7
call fcn.1005eb8c
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.10082afb
mov byte [esp + 0x318], 5
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
call fcn.10082afb
push 0xffffffffffffffff
push dword [esp + 0x1c]
lea eax, [esp + 0x78]
push 0x100
push eax
call fcn.10085695
mov eax, dword [esp + 0x28]
add esp, 0x10
cmp dword [eax - 0xc], esi
je 0x10057478
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x64]
call fcn.10063dc0
cmp eax, 0xffffffff
jne 0x10057478
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x64]
push eax
call fcn.10063d3a
mov ebx, dword [esp + 0x60]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10082afb
mov byte [esp + 0x318], 2
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
call fcn.10082afb
inc dword [esp + 0x20]
mov eax, dword [esp + 0x20]
add dword [esp + 0x30], 0x29c
cmp eax, dword [esp + 0x44]
jb 0x1005728c
xor edi, edi
cmp dword [esp + 0x28], edi
jne 0x100574c1
cmp byte [esp + 0x17], 0
je 0x100574ee
push dword [esp + 0x28]
lea eax, [esp + 0x20]
push 0x10011a60
push eax
call fcn.100827bb
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.100738de
mov eax, dword [ebx + 8]
cmp eax, 0x14
jbe 0x10057524
push 0x14
push eax
lea eax, [esp + 0x24]
push 0x10011af8
push eax
call fcn.100827bb
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.100738de
lea esi, [esp + 0x34]
call fcn.100616f3
cmp dword [esp + 0x40], edi
je 0x1005753d
push dword [esp + 0x40]
call fcn.10085ac4
pop ecx
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10082afb
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.10084b58
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.10082a7c
call fcn.1008132d
int3