Function at 0x4c7580
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 0x4c77dd
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 0x4c77d1
dec dword [ebp - 0x18]
mov esi, esi
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x50]
mov edx, dword [ebp - 0x18]
mov eax, dword [eax + edx*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 0x4c7615
jmp 0x4c761a
jmp 0x4c77c8
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.00428400
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]
mov edx, dword [ebp - 0x48]
cmp eax, edx
jg 0x4c766b
jmp 0x4c76e5
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x78]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4c7689
dec eax
jb 0x4c76e3
sub eax, 1
jbe 0x4c7696
dec eax
je 0x4c76c0
jmp 0x4c76e3
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x44]
sub edx, eax
mov dword [ebp - 0x48], edx
jmp 0x4c76e3
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 0x4c76b3
jmp 0x4c76be
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x48]
sub eax, edx
mov dword [ebp - 0x34], eax
jmp 0x4c76e3
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 0x4c76e3
jmp 0x4c770f
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0x48]
cmp eax, edx
jl 0x4c76f4
jmp 0x4c770f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
dec eax
cmp eax, 2
jb 0x4c7700
jb 0x4c7704
jmp 0x4c770f
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]
mov edx, dword [ebp - 0x4c]
cmp eax, edx
jg 0x4c771e
jmp 0x4c7777
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x78]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4c7736
dec eax
je 0x4c7743
dec eax
je 0x4c7745
dec eax
je 0x4c7752
jmp 0x4c7775
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x40]
sub edx, eax
mov dword [ebp - 0x4c], edx
jmp 0x4c7775
jmp 0x4c7775
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x4c]
sub eax, edx
mov dword [ebp - 0x30], eax
jmp 0x4c7775
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 0x4c7775
jmp 0x4c77a1
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x4c]
cmp eax, edx
jl 0x4c7786
jmp 0x4c77a1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
dec eax
cmp eax, 2
jb 0x4c7792
jb 0x4c7796
jmp 0x4c77a1
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x40]
sub eax, edx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x48]
add eax, edx
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x4c]
add edx, eax
mov dword [ebp - 0x28], edx
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 0x4c75e8
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x10]
jg 0x4c75b8
mov ebx, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x58]
mov edi, dword [ebp - 0x54]
leave
ret