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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x4c]
dec eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x10]
jl 0x4779a5
dec dword [ebp - 0x10]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x54]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x48]
dec eax
mov ebx, eax
mov dword [ebp - 0x18], 0
cmp ebx, dword [ebp - 0x18]
jl 0x477999
dec dword [ebp - 0x18]
mov esi, esi
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x50]
mov eax, dword [ebp - 0x18]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4777e5
jmp 0x4777ea
jmp 0x477990
mov eax, dword [ebp - 0x14]
push dword [eax + 0x1c]
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x18]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x24]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x20]
call fcn.004c77f0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, dword [ebp - 0x48]
jg 0x477839
jmp 0x4778b3
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x78]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x477857
dec eax
jb 0x4778b1
sub eax, 1
jbe 0x477864
dec eax
je 0x47788e
jmp 0x4778b1
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x44]
sub eax, edx
mov dword [ebp - 0x48], eax
jmp 0x4778b1
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x78]
mov eax, dword [eax + 0xc]
cmp eax, 2
sete dl
mov eax, dword [ebp - 8]
test eax, eax
sete al
cmp dl, al
je 0x477881
jmp 0x47788c
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x48]
sub eax, edx
mov dword [ebp - 0x34], eax
jmp 0x4778b1
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x44]
sub edx, eax
mov eax, dword [ebp - 0x48]
sub edx, eax
mov eax, edx
sar eax, 0x1f
and eax, 1
add edx, eax
sar edx, 1
mov eax, dword [ebp - 0x34]
add edx, eax
mov dword [ebp - 0x34], edx
jmp 0x4778b1
jmp 0x4778db
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, dword [ebp - 0x48]
jl 0x4778c0
jmp 0x4778db
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
dec eax
cmp eax, 2
jb 0x4778cc
jb 0x4778d0
jmp 0x4778db
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x44]
sub eax, edx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x1c]
cmp eax, dword [ebp - 0x4c]
jg 0x4778e8
jmp 0x477941
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x78]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x477900
dec eax
je 0x47790d
dec eax
je 0x47790f
dec eax
je 0x47791c
jmp 0x47793f
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x40]
sub eax, edx
mov dword [ebp - 0x4c], eax
jmp 0x47793f
jmp 0x47793f
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x4c]
sub eax, edx
mov dword [ebp - 0x30], eax
jmp 0x47793f
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x40]
sub edx, eax
mov eax, dword [ebp - 0x4c]
sub edx, eax
mov eax, edx
sar eax, 0x1f
and eax, 1
add edx, eax
sar edx, 1
mov eax, dword [ebp - 0x30]
add edx, eax
mov dword [ebp - 0x30], edx
jmp 0x47793f
jmp 0x477969
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x1c]
cmp eax, dword [ebp - 0x4c]
jl 0x47794e
jmp 0x477969
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
dec eax
cmp eax, 2
jb 0x47795a
jb 0x47795e
jmp 0x477969
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x40]
sub edx, eax
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x48]
add eax, edx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x4c]
add eax, edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
lea edi, [eax + 0x58]
lea esi, [ebp - 0x34]
cld
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
cmp ebx, dword [ebp - 0x18]
jg 0x4777b8
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x10]
jg 0x477788
mov ebx, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x58]
mov edi, dword [ebp - 0x54]
leave
ret