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

Disassembly:
push 0xffffffffffffffff
push 0x4d79a0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x517050]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov ebp, dword [esp + 0x58]
xor edi, edi
cmp ebp, edi
je 0x47a677
cmp dword [esp + 0x64], edi
je 0x47a726
call fcn.00476e40
test eax, eax
jne 0x47a61a
cmp dword [0x523dc8], edi
je 0x47a61a
mov eax, dword [esi + 0x20]
cmp eax, 0xffffffff
mov ecx, 0xff00
je 0x47a59d
mov ecx, eax
mov eax, dword [esp + 0x4c]
cmp eax, edi
jne 0x47a5a9
xor eax, eax
jmp 0x47a5ac
mov eax, dword [eax + 4]
push ecx
push eax
call fcn.00477dd0
add esp, 8
cmp eax, edi
je 0x47a677
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], 0x4e2fb0
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], edi
call fcn.00424989
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x54]
push edi
push eax
mov eax, dword [esp + 0x58]
push ecx
push ebp
push edx
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.0047a530
lea ecx, [esp + 0x14]
mov esi, eax
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x14], 0x4e2d94
call fcn.004249dc
jmp 0x47a7e3
mov edi, dword [esp + 0x4c]
mov eax, dword [edi + 4]
lea edx, [esp + 0x24]
push edx
push 0x18
push eax
call dword [fcn.00520f08]
mov eax, dword [esp + 0x28]
cdq
idiv ebp
test edx, edx
mov esi, eax
mov dword [esp + 0x4c], esi
jne 0x47a677
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041b40f
mov ecx, dword [esp + 0x18]
add esp, 4
mov ebp, eax
mov eax, dword [edi + 4]
push ebp
push esi
push eax
call fcn.00477b30
test eax, eax
jne 0x47a67e
push ebp
call fcn.0041b414
add esp, 4
xor eax, eax
jmp 0x47a7e5
mov eax, dword [esp + 0x54]
xor ecx, ecx
cmp esi, eax
sete cl
xor edi, edi
xor ebx, ebx
test eax, eax
mov dword [esp + 0x64], ecx
jle 0x47a6f5
mov esi, dword [esp + 0x50]
test esi, esi
je 0x47a6aa
cmp dword [esp + 0x64], 0
jne 0x47a6aa
cmp dword [esi + ebx*4], 0
je 0x47a6ee
cmp edi, dword [esp + 0x4c]
jge 0x47a6ee
test esi, esi
je 0x47a6b9
mov eax, dword [esi + ebx*4]
jmp 0x47a6bb
mov eax, ebx
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x5c]
push ecx
push edx
push eax
mov eax, dword [ebp + edi*4]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x70], esp
push eax
call fcn.00476bb0
mov ecx, dword [esp + 0x34]
call fcn.0047a1e0
mov eax, dword [esp + 0x54]
add edi, 1
add ebx, 1
cmp ebx, eax
jl 0x47a699
mov edi, dword [esp + 0x4c]
xor esi, esi
test edi, edi
jle 0x47a713
mov ebx, dword [sym.imp.gdi32.dll_DeleteObject]
mov ecx, dword [ebp + esi*4]
push ecx
call ebx
add esi, 1
cmp esi, edi
jl 0x47a705
push ebp
call fcn.0041b414
add esp, 4
mov eax, 1
jmp 0x47a7e5
lea ecx, [esp + 0x1c]
call fcn.0042a8e9
mov ebx, dword [esp + 0x5c]
push 1
push edi
push 0x19
push ebx
push ebp
lea ecx, [esp + 0x30]
mov dword [esp + 0x58], 1
call fcn.0042ad8d
test eax, eax
jne 0x47a767
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], 0xffffffff
call fcn.0042ae65
xor eax, eax
jmp 0x47a7e5
mov eax, dword [esi + 0x20]
cmp eax, 0xffffffff
mov edi, dword [esp + 0x4c]
jne 0x47a792
sub esp, 8
mov eax, esp
mov dword [esp + 0x54], esp
push edi
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.00477d90
add esp, 0xc
test edi, edi
jne 0x47a79a
xor ecx, ecx
jmp 0x47a79d
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
call fcn.0041cd37
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
call fcn.0045bda0
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
push ecx
push ebx
push ebp
push edx
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.0047a3d0
lea ecx, [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x44], 0xffffffff
call fcn.0042ae65
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x1c