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

Disassembly:
push 0xffffffffffffffff
push 0x52d166
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x59c6b8]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esp + 0x74]
mov eax, 0xd
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], eax
test ebx, ebx
js 0x4787e4
cmp ebx, dword [esi + 0x14]
jge 0x4787e4
mov eax, dword [esp + 0x78]
cmp dword [esi + 0x98], ebx
jne 0x478467
cmp dword [esi + 0x9c], eax
je 0x478580
mov ecx, 1
lea edx, [esi + 0xb4]
cmp dword [edx - 4], ebx
jne 0x47847b
cmp dword [edx], eax
je 0x4784ee
inc ecx
add edx, 0x18
cmp ecx, 0x10
jl 0x478472
mov ebp, dword [esi + 0x10]
mov edi, ebx
shl edi, 4
mov ecx, dword [edi + ebp + 0xc]
add edi, ebp
dec ecx
je 0x4785ad
dec ecx
jne 0x4787e4
mov eax, dword [esi + 0x14]
cdq
cmp dword [edi + 4], edx
jg 0x478595
jl 0x4784b7
cmp dword [edi], eax
jae 0x478595
mov eax, dword [edi]
mov ecx, eax
add ecx, ecx
cmp dword [ebp + ecx*8 + 0xc], 1
jne 0x478595
push eax
mov ecx, esi
call fcn.00479350
test eax, eax
je 0x4787e4
mov ebp, dword [esp + 0x7c]
mov edx, dword [edi + 8]
push ebp
push ebx
push edx
mov ecx, eax
call fcn.00477c70
jmp 0x478749
lea edx, [ecx + ecx*2]
mov ebx, dword [esi + edx*8 + 0xa4]
mov edi, dword [esi + edx*8 + 0x9c]
mov ebp, dword [esi + edx*8 + 0xa0]
lea eax, [esi + edx*8 + 0x98]
mov edx, dword [eax]
mov dword [esp + 0x58], ebx
mov ebx, dword [eax + 0x10]
mov dword [esp + 0x5c], ebx
mov ebx, dword [eax + 0x14]
mov dword [esp + 0x60], ebx
test ecx, ecx
jle 0x478550
mov ebx, dword [eax - 0x18]
mov dword [eax], ebx
mov ebx, dword [eax - 0x14]
mov dword [eax + 4], ebx
mov ebx, dword [eax - 0x10]
mov dword [eax + 8], ebx
mov ebx, dword [eax - 0xc]
mov dword [eax + 0xc], ebx
mov ebx, dword [eax - 8]
mov dword [eax + 0x10], ebx
mov ebx, dword [eax - 4]
mov dword [eax + 0x14], ebx
dec ecx
sub eax, 0x18
test ecx, ecx
jg 0x478525
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov dword [esi + 0x98], edx
mov edx, dword [esp + 0x60]
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], ebp
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa8], ecx
mov dword [esi + 0xac], edx
mov eax, dword [esp + 0x7c]
push eax
lea ecx, [esi + 0xa0]
call fcn.0044e950
jmp 0x4787ee
push str.Invalid_object_stream
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
call fcn.00412330
add esp, 0x10
jmp 0x4787e4
cmp dword [edi + 8], eax
jne 0x4787e4
push 0x38
mov dword [esp + 0x20], 5
call fcn.00511699
mov ebx, eax
add esp, 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x6c], 0
test ebx, ebx
je 0x47863c
push 0xa0
call fcn.00511699
mov ebp, eax
add esp, 4
mov dword [esp + 0x18], ebp
mov byte [esp + 0x6c], 1
test ebp, ebp
je 0x478626
mov ebx, dword [esi + 0xc]
mov ecx, dword [esi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esi + 8]
add edx, dword [edi]
push 0
adc ebx, dword [edi + 4]
push 0
push 0
push ebx
push edx
call eax
push eax
push esi
mov ecx, ebp
call fcn.0044a3f0
mov ebx, dword [esp + 0x14]
jmp 0x478628
xor eax, eax
push 1
push eax
push esi
mov ecx, ebx
mov byte [esp + 0x78], 0
call fcn.00450010
mov edi, eax
jmp 0x47863e
xor edi, edi
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea ecx, [esp + 0x38]
push ecx
mov ecx, edi
mov dword [esp + 0x8c], 0xffffffff
call fcn.00450380
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea edx, [esp + 0x48]
push edx
mov ecx, edi
call fcn.00450380
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea eax, [esp + 0x58]
push eax
mov ecx, edi
call fcn.00450380
cmp dword [esp + 0x1c], 1
jne 0x4787b5
mov ebp, dword [esp + 0x74]
cmp dword [esp + 0x24], ebp
jne 0x4787b5
cmp dword [esp + 0x2c], 1
jne 0x4787b5
mov ebx, dword [esp + 0x78]
cmp dword [esp + 0x34], ebx
jne 0x4787b5
push 0x54652c
lea ecx, [esp + 0x40]
call fcn.00415b20
test eax, eax
je 0x4787b5
cmp dword [esi + 0x60], 0
je 0x4786ea
lea eax, [esi + 0x6c]
jmp 0x4786ec
xor eax, eax
mov ecx, dword [esp + 0x80]
mov edx, dword [esi + 0x8c]
push ecx
mov ecx, dword [esi + 0x94]
push ebx
push ebp
mov ebp, dword [esp + 0x88]
push edx
push ecx
push eax
push 0
push ebp
mov ecx, edi
call fcn.00450380
lea ecx, [esp + 0x1c]
call fcn.0044ea50
lea ecx, [esp + 0x2c]
call fcn.0044ea50
lea ecx, [esp + 0x3c]
call fcn.0044ea50
test edi, edi
je 0x478745
mov ecx, edi
call fcn.00450110
push edi
call fcn.0051163f
add esp, 4
mov ebx, dword [esp + 0x74]
cmp dword [esi + 0x200], 0
jl 0x47875d
lea ecx, [esi + 0x208]
call fcn.0044ea50
mov ecx, 0xf
lea eax, [esi + 0x200]
mov edx, dword [eax - 0x18]
mov dword [eax], edx
mov edx, dword [eax - 0x14]
mov dword [eax + 4], edx
mov edx, dword [eax - 0x10]
mov dword [eax + 8], edx
mov edx, dword [eax - 0xc]
mov dword [eax + 0xc], edx
mov edx, dword [eax - 8]
mov dword [eax + 0x10], edx
mov edx, dword [eax - 4]
mov dword [eax + 0x14], edx
dec ecx
sub eax, 0x18
test ecx, ecx
jg 0x478768
mov eax, dword [esp + 0x78]
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], eax
add esi, 0xa0
push esi
mov ecx, ebp
call fcn.0044e950
mov eax, ebp
jmp 0x4787ee
lea ecx, [esp + 0x1c]
call fcn.0044ea50
lea ecx, [esp + 0x2c]
call fcn.0044ea50
lea ecx, [esp + 0x3c]
call fcn.0044ea50
test edi, edi
je 0x4787e4
mov ecx, edi
call fcn.00450110
push edi
call fcn.0051163f
add esp, 4
mov eax, dword [esp + 0x7c]
mov dword [eax], 5
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0x10