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

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov ecx, dword [edi + 0x1c]
call fcn.0047ee30
mov ecx, dword [edi + 0x1c]
mov edx, dword [eax]
push ebx
push ebx
push ecx
mov ecx, dword [esp + 0x40]
push ecx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
call dword [edx + 0x84]
mov esi, dword [edi + 0x28]
dec esi
js 0x47aa0e
cmp esi, ebx
jl 0x47a9fc
cmp esi, dword [edi + 0x28]
jge 0x47a9fc
mov edx, dword [edi + 0x24]
mov ecx, dword [edx + esi*4]
jmp 0x47a9fe
xor ecx, ecx
mov edx, dword [esp + 0x3c]
mov eax, dword [ecx]
push edx
call dword [eax + 0x9c]
dec esi
jns 0x47a9eb
push ebx
mov ecx, edi
call fcn.0047a110
test eax, eax
jle 0x47ae2c
mov esi, dword [edi + 0x28]
mov eax, esi
shl eax, 6
push eax
call fcn.00511c2c
add esp, 4
cmp eax, ebx
je 0x47aa3c
dec esi
mov ebp, eax
mov dword [esp + 0x10], esi
jmp 0x47aa3e
xor ebp, ebp
mov eax, dword [edi + 0x28]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x10], ebp
jle 0x47aaea
lea esi, [ebp + 0x3c]
jmp 0x47aa56
xor ecx, ecx
cmp ebx, ecx
jl 0x47aa66
cmp ebx, eax
jge 0x47aa66
mov edx, dword [edi + 0x24]
mov eax, dword [edx + ebx*4]
jmp 0x47aa68
xor eax, eax
mov dword [esi], eax
lea eax, [esi - 0x2c]
push eax
mov dword [esi - 0x10], ecx
mov dword [esi - 0xc], ecx
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov eax, dword [esp + 0x34]
mov ecx, dword [esi]
push eax
lea eax, [esp + 0x28]
mov edx, dword [ecx]
push eax
call dword [edx + 0x94]
mov ecx, dword [eax]
push 2
mov dword [esi - 0x1c], ecx
mov ecx, dword [esi]
mov edx, dword [eax + 4]
lea eax, [ecx + 0xbc]
mov dword [esi - 0x18], edx
lea edx, [esi - 0x3c]
mov ebp, dword [eax]
mov dword [edx], ebp
mov ebp, dword [eax + 4]
mov dword [edx + 4], ebp
mov ebp, dword [eax + 8]
mov dword [edx + 8], ebp
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
mov edx, dword [ecx + 0x94]
mov dword [esi - 8], edx
mov eax, dword [ecx]
call dword [eax + 0x78]
mov ecx, dword [esi]
mov dword [esi - 0x14], eax
call fcn.00475c40
mov dword [esi - 4], eax
mov eax, dword [edi + 0x28]
inc ebx
add esi, 0x40
cmp ebx, eax
jl 0x47aa54
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
test cl, 4
je 0x47aafe
mov edx, dword [edi + 0x1c]
mov ebx, dword [edx + 0xac]
jmp 0x47ab02
mov ebx, dword [esp + 0x38]
mov eax, dword [edi + 0x1c]
test dword [eax + 0xd0], 0x200000
je 0x47ab64
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x3c]
test cl, 0x10
push eax
mov ecx, ebx
je 0x47ab43
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 4]
sub ecx, edx
mov edx, dword [esp + 0x38]
sub ecx, eax
lea eax, [esp + 0x28]
push ecx
push ebp
push edx
push eax
mov ecx, edi
call fcn.0047a800
jmp 0x47ac6e
mov edx, dword [esi + 8]
mov eax, dword [esi]
sub ecx, edx
mov edx, dword [esp + 0x38]
sub ecx, eax
lea eax, [esp + 0x28]
push ecx
push ebp
push edx
push eax
mov ecx, edi
call fcn.0047a800
jmp 0x47ac6e
mov esi, dword [esp + 0x40]
test ch, 1
je 0x47abe2
mov eax, dword [eax + 0xac]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x3c]
push ecx
push edx
push eax
push ebp
mov ecx, edi
call fcn.004796a0
lea ecx, [esp + 0x1c]
push 0
push ecx
lea edx, [esp + 0x2c]
push ebp
push edx
mov ecx, edi
call fcn.00479500
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
lea ecx, [eax + eax*2]
cmp edx, ecx
jle 0x47abcd
mov edx, dword [edi + 0x1c]
mov ecx, dword [edx + 0xac]
test ecx, ecx
jg 0x47abcd
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x1c]
push eax
push ecx
push ebp
mov ecx, edi
call fcn.00479890
jmp 0x47ac54
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x3c]
push edx
push ecx
push eax
push ebp
mov ecx, edi
call fcn.004796a0
jmp 0x47ac54
test cl, 8
je 0x47ac07
lea edx, [esp + 0x1c]
lea eax, [esp + 0x3c]
push edx
mov edx, dword [esi + 8]
mov ecx, ebx
push eax
mov eax, dword [esi]
sub ecx, edx
sub ecx, eax
push ecx
push ebp
mov ecx, edi
call fcn.004796a0
jmp 0x47ac54
test cl, 0x10
je 0x47ac2d
lea edx, [esp + 0x1c]
lea eax, [esp + 0x3c]
push edx
mov edx, dword [esi + 0xc]
mov ecx, ebx
push eax
mov eax, dword [esi + 4]
sub ecx, edx
sub ecx, eax
push ecx
push ebp
mov ecx, edi
call fcn.004796a0
jmp 0x47ac54
test cl, 0x20
je 0x47ac3a
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
jmp 0x47ac3f
mov eax, dword [esi + 8]
mov edx, dword [esi]
add eax, edx
lea edx, [esp + 0x1c]
push edx
push ecx
mov ecx, ebx
sub ecx, eax
push ecx
push ebp
mov ecx, edi
call fcn.00479970
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x1c]
and edx, 0x10
lea ecx, [esp + 0x24]
push edx
push eax
push ebp
push ecx
mov ecx, edi
call fcn.00479500
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x3c]
test eax, eax
jle 0x47aca6
test dl, 8
je 0x47acc8
mov edx, dword [esi + 0xc]
sub eax, edx
mov edx, dword [esi + 4]
sub eax, edx
mov edx, dword [esp + 0x18]
cmp eax, edx
jle 0x47aca2
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x3c]
test dl, 1
je 0x47acea
test dl, 0x10
je 0x47acd9
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
sub ebx, eax
mov eax, dword [esp + 0x18]
sub ebx, ecx
cmp ebx, eax
jle 0x47acea
mov dword [esp + 0x18], ebx
jmp 0x47acea
sub eax, dword [esi + 8]
sub eax, dword [esi]
cmp eax, ecx
jle 0x47aca6
mov ecx, eax
mov dword [esp + 0x14], ecx
jmp 0x47aca6
mov eax, dword [esi + 8]
sub ebx, eax
mov eax, dword [esi]
sub ebx, eax
cmp ebx, ecx
jle 0x47acea
mov dword [esp + 0x14], ebx
sub esp, 0x10
mov eax, esi
mov ecx, esp
mov ebx, dword [eax]
push edx
mov dword [ecx], ebx
mov ebx, dword [eax + 4]
mov dword [ecx + 4], ebx
mov ebx, dword [eax + 8]
mov dword [ecx + 8], ebx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x28]
push ecx
push ebp
mov ecx, edi
call fcn.00479c40
mov eax, dword [esp + 0x3c]
test al, 0x40
je 0x47ae08
mov edx, dword [edi + 0x1c]
test dword [edx + 0xd0], 0x200000
jne 0x47ad5e
mov ecx, dword [esi]
push eax
mov edx, dword [esi + 4]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 4], edx
mov edx, dword [esi + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x2c]
push eax
push ecx
push ebp
mov ecx, edi
call fcn.00479dd0
mov eax, dword [edi + 0x28]
mov dword [esp + 0x34], 0
test eax, eax
jle 0x47ae08
lea esi, [ebp + 0x3c]
mov ecx, dword [esi]
mov eax, dword [esi - 0xc]
test eax, eax
mov edx, dword [ecx]
mov eax, dword [ecx + 0xcc]
je 0x47ad89
or al, 2
jmp 0x47ad8b
and al, 0xfd
push eax
call dword [edx + 0x8c]
lea ecx, [esi - 0x2c]
mov ebp, dword [esi]
mov ebx, ecx
add ebp, 0xac
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov ebx, dword [ebx + 0xc]
mov dword [ebp], eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], ebx
mov eax, dword [esi - 0xc]
test eax, eax
jne 0x47ade2
lea eax, [esi - 0x3c]
sub esp, 0x10
mov ecx, dword [esi]
mov ebx, esp
mov ebp, dword [eax]
mov edx, dword [ecx]
mov dword [ebx], ebp
mov ebp, dword [eax + 4]
mov dword [ebx + 4], ebp
mov ebp, dword [eax + 8]
mov dword [ebx + 8], ebp
mov eax, dword [eax + 0xc]
mov dword [ebx + 0xc], eax
call dword [edx + 0x74]
mov ecx, dword [esi]
mov edx, dword [esi - 0x10]
mov eax, dword [esp + 0x34]
add esi, 0x40
mov dword [ecx + 0x90], edx
mov ecx, dword [edi + 0x28]
inc eax
cmp eax, ecx
mov dword [esp + 0x34], eax
jl 0x47ad74
mov ebp, dword [esp + 0x10]
push ebp
call fcn.00511c55
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [eax], edx
mov dword [eax + 4], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x18
mov eax, dword [esp + 0x40]
mov bl, byte [esp + 0x3c]
mov ecx, dword [eax + 8]
mov edx, dword [eax]
mov ebp, dword [eax + 4]
add ecx, edx
mov edx, dword [eax + 0xc]
add edx, ebp
lea eax, [ecx + 0x17]
test bl, 8
lea ecx, [edx + 0x16]
mov edx, eax
je 0x47ae6d
mov eax, dword [esp + 0x44]
cmp eax, ecx
jle 0x47ae77
mov ecx, eax
mov eax, dword [esp + 0x30]
mov dword [eax], edx
mov dword [eax + 4], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x18
mov esi, dword [esp + 0x44]
cmp esi, eax
jle 0x47ae77
mov edx, esi
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword [eax], edx
mov dword [eax + 4], ecx
pop ebx
add esp, 0x1c
ret 0x18