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

Disassembly:
sub esp, 0x38
push ebx
push esi
mov esi, dword [esp + 0x44]
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x48]
push edi
shl eax, 5
push eax
push ecx
call fcn.0044f4c7
mov edx, dword [esi + 0x34]
shl edx, 4
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x4c]
push edx
push eax
call fcn.0044f4c7
mov ecx, dword [esi + 0x34]
shl ecx, 2
push ecx
mov dword [esi + 0x4c], eax
call fcn.00443d04
mov edx, dword [esi + 0x34]
shl edx, 3
push edx
mov dword [esi + 0x40], eax
call fcn.00443d04
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x34]
shl eax, 4
push eax
call fcn.00443d04
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x34]
xor ebx, ebx
add esp, 0x1c
xor edi, edi
cmp eax, ebx
jle 0x477c85
push ebp
jmp 0x477984
xor ebx, ebx
cmp edi, ebx
jne 0x4779c5
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 0x5c]
mov eax, dword [esp + 0x54]
mov dword [ecx], edx
mov ecx, dword [esp + 0x50]
mov edx, dword [esi + 0x3c]
push eax
push ecx
mov dword [edx], ecx
push esi
mov dword [edx + 4], eax
call fcn.004773f0
add esp, 0xc
test eax, eax
je 0x477a41
mov eax, dword [esi + 0x3c]
mov dword [eax], 0xffffffff
mov dword [eax + 4], 0xffffffff
jmp 0x477a41
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx + edi*8 + 4]
mov eax, dword [ecx + edi*8]
push edx
push eax
push esi
call fcn.004773f0
add esp, 0xc
test eax, eax
je 0x4779f2
mov ecx, dword [esi + 0x3c]
mov dword [ecx + edi*8], 0xffffffff
mov dword [ecx + edi*8 + 4], 0xffffffff
jmp 0x477a41
mov edx, dword [esi + 0x40]
lea eax, [edx + edi*4]
mov edx, dword [esi + 0x4c]
push ebx
mov ecx, edi
shl ecx, 4
add ecx, edx
push eax
push ecx
mov ecx, dword [esi + 0x48]
mov edx, edi
shl edx, 5
add edx, ecx
push edx
push esi
call fcn.00476f00
add esp, 0x14
test eax, eax
jge 0x477a31
mov eax, dword [esi + 0x3c]
mov dword [eax + edi*8], 0xffffffff
mov dword [eax + edi*8 + 4], 0xffffffff
jmp 0x477a41
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 8]
mov dword [ecx + edi*8], edx
mov eax, dword [esi + 0xc]
mov dword [ecx + edi*8 + 4], eax
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx + edi*8]
lea eax, [ecx + edi*8]
and edx, dword [eax + 4]
cmp edx, 0xffffffff
je 0x477b9b
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + edi*4]
push ecx
lea ebp, [esi + 0x78]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
push ebp
or ebx, 0xffffffff
call fcn.00469c10
add esp, 8
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [esp + 0x20]
push edx
push esi
call fcn.00477120
add esp, 0x10
test edx, edx
jl 0x477b6a
jg 0x477a98
test eax, eax
jb 0x477b6a
lea eax, [esp + 0x18]
push eax
call fcn.004692c0
add esp, 4
test eax, eax
jne 0x477b6a
lea ecx, [esp + 0x18]
push ecx
call fcn.004693c0
mov edx, dword [esi + 0x40]
mov ecx, dword [edx + edi*4]
add esp, 4
cmp eax, ecx
jne 0x477a74
lea eax, [esp + 0x18]
push eax
push ebp
call fcn.004698a0
lea ecx, [esp + 0x30]
push ecx
push ebp
call fcn.00469c30
add esp, 0x10
test eax, eax
je 0x477b31
jle 0x477b1f
mov ecx, dword [esi + 0x48]
mov eax, edi
lea edx, [esp + 0x28]
shl eax, 5
push edx
add eax, ecx
push eax
call fcn.0046b750
add esp, 8
cmp ebx, 0xffffffff
mov ecx, eax
je 0x477b1d
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 ecx, [esp + 0x28]
push ecx
push ebp
call fcn.00469c30
add esp, 8
test eax, eax
jne 0x477ae1
lea edx, [esp + 0x18]
push edx
call fcn.004692e0
and eax, edx
add esp, 4
cmp eax, 0xffffffff
je 0x477a74
lea eax, [esp + 0x18]
push eax
call fcn.004692e0
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 0x477b84
jl 0x477b7c
cmp dword [esp + 0x10], eax
jae 0x477b84
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x44]
mov edx, dword [esp + 0x10]
mov ecx, edi
shl ecx, 4
add ecx, eax
mov eax, dword [esp + 0x14]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx + edi*8 + 8]
mov ecx, dword [ecx + edi*8 + 0xc]
push ecx
push eax
push esi
call fcn.004773f0
add esp, 0xc
test eax, eax
je 0x477bdd
mov ecx, dword [esi + 0x48]
mov edx, edi
shl edx, 5
add edx, ecx
push edx
call fcn.00469e80
mov edx, dword [esi + 0x4c]
mov eax, edi
shl eax, 4
add eax, edx
push eax
call fcn.00469dc0
add esp, 8
jmp 0x477c78
lea ecx, [esp + 0x18]
push ecx
push esi
call fcn.00477450
mov ebx, edx
add esp, 8
test ebx, ebx
mov ebp, eax
jl 0x477c2c
jg 0x477bf9
test ebp, ebp
jb 0x477c2c
lea edx, [esp + 0x18]
push edx
call fcn.004693c0
mov ecx, dword [esi + 0x40]
mov edx, dword [ecx + edi*4]
add esp, 4
cmp eax, edx
jne 0x477c24
lea edx, [esp + 0x18]
push edx
call fcn.004692e0
and eax, edx
add esp, 4
cmp eax, 0xffffffff
jne 0x477c51
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebx
jmp 0x477bdd
mov edx, dword [esi + 0x48]
mov eax, edi
shl eax, 5
add eax, edx
push eax
call fcn.00469e80
mov ebx, dword [esi + 0x4c]
mov ecx, edi
shl ecx, 4
add ecx, ebx
push ecx
call fcn.00469dc0
add esp, 8
jmp 0x477c78
mov eax, dword [esi + 0x44]
mov edx, edi
lea ecx, [esp + 0x18]
shl edx, 4
push ecx
lea ebx, [edx + eax]
call fcn.004692e0
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 0x477982
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x38
ret