Function at 0x47f4cc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d70d3
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x57b750]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
xor edi, edi
cmp dword [ebp + 0x10], edi
je 0x47fa5b
mov ecx, dword [ebp + 0x14]
cmp ecx, edi
je 0x47fa5b
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
push dword [ebp + 0x10]
lea ecx, [esp + 0x28]
mov dword [esp + 0x30], eax
call fcn.004024df
push edi
push 0xa
lea ecx, [esp + 0x2c]
mov dword [esp + 0x88], edi
call fcn.00415c06
mov ebx, dword [ebp + 8]
mov esi, eax
cmp esi, edi
jl 0x47f5c9
lea edi, [ebx + 0x11c]
push esi
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x2c]
call fcn.0040739d
mov byte [esp + 0x80], 1
mov ecx, dword [edi + 8]
push eax
push ecx
mov ecx, edi
call fcn.004a4959
mov byte [esp + 0x80], 0
mov ecx, dword [esp + 0x30]
add ecx, 0xfffffff0
call fcn.004027b0
inc esi
push esi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x2c]
call fcn.004072fc
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x84], 2
call fcn.0040257e
mov byte [esp + 0x80], 0
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.004027b0
push 0
push 0xa
lea ecx, [esp + 0x2c]
call fcn.00415c06
mov esi, eax
test esi, esi
jge 0x47f549
lea edi, [ebx + 0x11c]
mov eax, dword [edi + 8]
lea ecx, [esp + 0x24]
push ecx
push eax
mov ecx, edi
mov dword [esp + 0x38], edi
call fcn.004a4959
call fcn.00499991
push eax
lea ecx, [esp + 0x1c]
call fcn.004727f7
mov byte [esp + 0x80], 3
call fcn.00499991
push eax
lea ecx, [esp + 0x20]
call fcn.004727f7
and dword [esp + 0x20], 0
mov byte [esp + 0x80], 4
mov eax, dword [ebx + 0x124]
test eax, eax
jle 0x47f93b
lea esi, [ebx + 0x130]
jmp 0x47f630
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
mov ecx, edi
call fcn.00406f3a
push eax
lea ecx, [esp + 0x1c]
call fcn.0040257e
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
je 0x47f97b
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.00480fdb
mov ecx, dword [esp + 0x2c]
cmp dword [eax], ecx
jle 0x47f97b
or edi, 0xffffffff
lea ecx, [esp + 0x18]
test edi, edi
jge 0x47f689
push dword [ebx + 0x118]
call fcn.00410769
jmp 0x47f6d8
lea eax, [edi + 1]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.004072fc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x84], 5
call fcn.0040257e
mov byte [esp + 0x80], 4
mov ecx, dword [esp + 0x34]
add ecx, 0xfffffff0
call fcn.004027b0
push dword [ebx + 0x118]
lea ecx, [esp + 0x20]
call fcn.00410769
test eax, eax
jl 0x47f87f
lea eax, [eax + edi + 1]
mov dword [esp + 0x28], eax
test eax, eax
jl 0x47f87f
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x20]
call fcn.0040739d
mov ecx, dword [ebp + 0xc]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.00480fdb
mov ecx, dword [esp + 0x2c]
cmp dword [eax], ecx
mov ecx, dword [esp + 0x38]
setg byte [esp + 0x17]
add ecx, 0xfffffff0
call fcn.004027b0
cmp byte [esp + 0x17], 0
je 0x47f876
lea ecx, [esp + 0x18]
test edi, edi
jl 0x47f7be
inc edi
push edi
lea eax, [esp + 0x40]
push eax
call fcn.0040739d
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x84], 8
call fcn.0040257e
mov byte [esp + 0x80], 4
mov ecx, dword [esp + 0x3c]
add ecx, 0xfffffff0
call fcn.004027b0
lea ebx, [esp + 0x1c]
call fcn.0040f5c6
mov eax, dword [esi + 8]
mov ecx, ebx
push ecx
push eax
mov ecx, esi
call fcn.004a4959
push edi
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x20]
call fcn.004072fc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x84], 9
call fcn.0040257e
mov byte [esp + 0x80], 4
mov ecx, dword [esp + 0x40]
add ecx, 0xfffffff0
call fcn.004027b0
lea ebx, [esp + 0x18]
call fcn.0040f613
or edi, 0xffffffff
jmp 0x47f850
mov eax, dword [esp + 0x28]
inc eax
push eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x48]
push eax
call fcn.0040739d
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x84], 0xa
call fcn.0040257e
mov byte [esp + 0x80], 4
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffff0
call fcn.004027b0
lea ebx, [esp + 0x1c]
call fcn.0040f5c6
mov eax, dword [esi + 8]
mov ecx, ebx
push ecx
push eax
mov ecx, esi
call fcn.004a4959
push dword [esp + 0x28]
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x20]
call fcn.004072fc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x84], 0xb
call fcn.0040257e
mov byte [esp + 0x80], 4
mov ecx, dword [esp + 0x48]
add ecx, 0xfffffff0
call fcn.004027b0
lea ebx, [esp + 0x18]
call fcn.0040f613
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.00480fdb
mov ecx, dword [esp + 0x2c]
cmp dword [eax], ecx
jle 0x47f975
mov ebx, dword [ebp + 8]
jmp 0x47f674
mov edi, dword [esp + 0x28]
jmp 0x47f674
lea ecx, [esp + 0x18]
test edi, edi
jl 0x47f97f
inc edi
push edi
lea eax, [esp + 0x50]
push eax
call fcn.0040739d
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x84], 6
call fcn.0040257e
mov byte [esp + 0x80], 4
mov ecx, dword [esp + 0x4c]
add ecx, 0xfffffff0
call fcn.004027b0
lea ebx, [esp + 0x1c]
call fcn.0040f5c6
mov eax, dword [esi + 8]
mov ecx, ebx
push ecx
push eax
mov ecx, esi
call fcn.004a4959
push edi
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x20]
call fcn.004072fc
push eax
mov ecx, ebx
mov byte [esp + 0x84], 7
call fcn.0040257e
mov byte [esp + 0x80], 4
mov ecx, dword [esp + 0x50]
add ecx, 0xfffffff0
call fcn.004027b0
call fcn.0040f613
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], 0
je 0x47f924
mov ecx, ebx
mov eax, dword [esi + 8]
push ecx
push eax
mov ecx, esi
call fcn.004a4959
mov ebx, dword [ebp + 8]
inc dword [esp + 0x20]
mov eax, dword [esp + 0x20]
cmp eax, dword [ebx + 0x124]
jl 0x47f62c
cmp dword [ebp + 0x18], 0
mov eax, dword [ebx + 0x138]
mov dword [esp + 0x2c], eax
jne 0x47fa0a
mov esi, dword [ebp + 0x14]
mov eax, dword [ebx + 0x114]
lea edi, [esp + 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, dword [esp + 0x68]
and dword [esp + 0x20], 0
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x70], eax
jmp 0x47fa05
lea ecx, [esp + 0x18]
jmp 0x47f918
lea ecx, [esp + 0x18]
mov eax, dword [esi + 8]
push ecx
push eax
mov ecx, esi
call fcn.004a4959
jmp 0x47f927
mov eax, dword [esp + 0x20]
cmp eax, dword [ebx + 0x138]
jge 0x47fa0a
lea ecx, [ebx + 0x130]
call fcn.00406f3a
push eax
lea ecx, [esp + 0x54]
call fcn.0040228a
cmp dword [ebp + 0x1c], 0
mov byte [esp + 0x80], 0xc
mov esi, dword [esp + 0x50]
jne 0x47f9da
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, dword [esi - 0xc]
push 0x820
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [ebp + 0xc]
push eax
push esi
call dword [edx + 0x68]
push dword [ebx + 0x114]
lea eax, [esp + 0x68]
push 0
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
inc dword [esp + 0x20]
lea ecx, [esi - 0x10]
mov byte [esp + 0x80], 4
call fcn.004027b0
mov eax, dword [esp + 0x70]
cmp eax, dword [edi + 0xc]
jle 0x47f98d
mov ecx, dword [esp + 0x30]
push 0xffffffffffffffff
push 0
call fcn.004a459c
push 0xffffffffffffffff
push 0
lea ecx, [ebx + 0x130]
call fcn.004a459c
mov ebx, dword [ebx + 0x7c]
cmp dword [esp + 0x2c], ebx
jge 0x47fa33
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.004027b0
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.004027b0
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.004027b0
mov eax, ebx
jmp 0x47fa5d
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18