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

Disassembly:
sub esp, 0x38
push ebx
push esi
mov esi, dword [esp + 0x44]
push edi
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x48]
shl eax, 5
push eax
push ecx
call fcn.00484396
mov edx, dword [esi + 0x34]
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x4c]
shl edx, 4
push edx
push eax
call fcn.00484396
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x4c], eax
shl ecx, 3
push ecx
call fcn.004840c9
mov edx, dword [esi + 0x34]
mov dword [esi + 0x3c], eax
shl edx, 4
push edx
call fcn.004840c9
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x34]
xor ebx, ebx
add esp, 0x18
xor edi, edi
cmp eax, ebx
jle 0x47839f
push ebp
jmp 0x478135
xor ebx, ebx
cmp edi, ebx
jne 0x478156
mov edx, dword [esi + 0x3c]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov dword [edx], ecx
push eax
push ecx
push esi
mov dword [edx + 4], eax
call fcn.00477e70
add esp, 0xc
jmp 0x4781b1
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + edi*8 + 4]
push ecx
mov edx, dword [eax + edi*8]
push edx
push esi
call fcn.00477e70
mov edx, dword [esi + 0x4c]
mov eax, edi
shl eax, 4
mov ecx, edi
add eax, edx
mov edx, dword [esi + 0x48]
push ebx
shl ecx, 5
push ebx
add ecx, edx
push eax
push ecx
push esi
call fcn.00477990
add esp, 0x20
test eax, eax
jge 0x4781a1
mov edx, dword [esi + 0x3c]
mov dword [edx + edi*8], 0xffffffff
mov dword [edx + edi*8 + 4], 0xffffffff
jmp 0x4781b1
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 8]
mov dword [eax + edi*8], ecx
mov edx, dword [esi + 0xc]
mov dword [eax + edi*8 + 4], edx
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + edi*8]
mov edx, dword [eax + edi*8 + 4]
and ecx, edx
cmp ecx, 0xffffffff
je 0x4782f8
mov edx, dword [esi + 0x40]
lea ebp, [esi + 0x78]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov eax, dword [edx + edi*4]
or ebx, 0xffffffff
push eax
push ebp
call fcn.0046a800
add esp, 8
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
push 0xffffffffffffffff
push ecx
push esi
call fcn.00477ad0
add esp, 0x10
test edx, edx
jl 0x4782c7
jg 0x478208
test eax, eax
jb 0x4782c7
lea edx, [esp + 0x18]
push edx
call fcn.00469fe0
mov ecx, dword [esi + 0x40]
add esp, 4
cmp eax, dword [ecx + edi*4]
jne 0x4782c7
lea edx, [esp + 0x18]
push edx
push ebp
call fcn.0046a4b0
lea eax, [esp + 0x30]
push eax
push ebp
call fcn.0046a820
add esp, 0x10
test eax, eax
je 0x47828e
jle 0x47827c
lea ecx, [esp + 0x28]
mov edx, edi
push ecx
mov ecx, dword [esi + 0x48]
shl edx, 5
add edx, ecx
push edx
call fcn.00479e80
add esp, 8
cmp ebx, 0xffffffff
mov ecx, eax
je 0x47827a
lea eax, [ecx + ebx]
mov ebx, dword [esp + 0x10]
sar eax, 2
cdq
add ebx, eax
mov eax, dword [esp + 0x14]
adc eax, edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov ebx, ecx
lea eax, [esp + 0x28]
push eax
push ebp
call fcn.0046a820
add esp, 8
test eax, eax
jne 0x47823e
lea ecx, [esp + 0x18]
push ecx
call fcn.00469f50
and eax, edx
add esp, 4
cmp eax, 0xffffffff
je 0x4781e4
lea edx, [esp + 0x18]
push edx
call fcn.00469f50
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add esp, 4
sub eax, ebx
sbb edx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, eax
jg 0x4782e1
jl 0x4782d9
cmp dword [esp + 0x10], eax
jae 0x4782e1
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 0x44]
mov edx, dword [esp + 0x10]
mov eax, edi
shl eax, 4
mov dword [eax + ecx], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx + 4], edx
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + edi*8 + 0xc]
push ecx
mov edx, dword [eax + edi*8 + 8]
push edx
push esi
call fcn.00477e70
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push esi
call fcn.00477d50
mov ebx, edx
add esp, 8
test ebx, ebx
mov ebp, eax
jl 0x478346
jg 0x47832a
test ebp, ebp
jb 0x478346
lea ecx, [esp + 0x18]
push ecx
call fcn.00469f50
and eax, edx
add esp, 4
cmp eax, 0xffffffff
jne 0x47836b
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebx
jmp 0x47830e
mov ecx, dword [esi + 0x48]
mov edx, edi
shl edx, 5
add edx, ecx
push edx
call fcn.0046aa70
mov edx, dword [esi + 0x4c]
mov eax, edi
shl eax, 4
add eax, edx
push eax
call fcn.0046a9b0
add esp, 8
jmp 0x478392
mov edx, dword [esi + 0x44]
mov ecx, edi
shl ecx, 4
lea eax, [esp + 0x18]
push eax
lea ebx, [ecx + edx]
call fcn.00469f50
mov ebp, dword [ebx]
mov ecx, dword [ebx + 4]
add esp, 4
sub eax, ebp
sbb edx, ecx
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
mov eax, dword [esi + 0x34]
inc edi
cmp edi, eax
jl 0x478133
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x38
ret