Function at 0x4ca7d0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x8c8600]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4cad70
sub esp, 0x68
mov eax, dword [esp + 0x6c]
movzx ecx, byte [eax + 5]
test cl, cl
je 0x4ca7f8
mov ecx, dword [eax + 0x14]
jmp 0x4ca7ff
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x4c], ecx
lea edx, [eax + 0x18]
mov dword [esp], edx
mov dword [esp + 4], 1
mov dword [esp + 8], 0x44
movsd xmm0, qword [esp + 0x70]
movsd qword [esp + 0xc], xmm0
mov edx, dword [esp + 0x7c]
mov byte [esp + 0x14], dl
mov dword [esp + 0x18], ecx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x1c], ebx
call fcn.004859e0
mov eax, dword [esp + 0x20]
movzx ecx, byte [eax + 1]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
cmp cl, 0x2d
je 0x4ca858
cmp cl, 0x2b
jne 0x4ca868
dec ebx
mov ecx, ebx
neg ecx
sar ecx, 0x1f
and ecx, 1
dec edx
add eax, ecx
jmp 0x4ca86b
mov byte [eax], 0x2b
mov ecx, dword [esp + 0x6c]
movzx ebp, byte [ecx + 9]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4ca88b
cmp byte [eax], 0x2b
jne 0x4ca88b
movzx ebp, byte [ecx + 7]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4ca88b
mov byte [eax], 0x20
movzx ebp, byte [eax + 1]
xchg ebp, eax
cmp al, 0x49
xchg ebp, eax
je 0x4ca93a
xchg ebp, eax
cmp al, 0x4e
xchg ebp, eax
je 0x4ca93a
movzx ebp, byte [ecx + 8]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4ca998
mov ebp, dword [esp + 0x7c]
cmp ebp, 0x62
je 0x4ca998
cmp ebp, 0x67
jg 0x4ca8d1
cmp ebp, 0x47
je 0x4ca8db
cmp ebp, 0x67
je 0x4ca8db
jmp 0x4ca8eb
cmp ebp, 0x76
je 0x4ca8db
cmp ebp, 0x78
jne 0x4ca8eb
mov esi, dword [esp + 0x4c]
cmp esi, 0xffffffff
jne 0x4ca8ed
mov esi, 6
jmp 0x4ca8ed
xor esi, esi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x60], eax
mov dword [esp + 0x2f], 0
mov word [esp + 0x33], 0
mov edi, 1
xor edi, edi
xchg edi, eax
mov byte [esp + 0x35], al
xchg edi, eax
xor edi, edi
xchg edi, eax
mov byte [esp + 0x37], al
xchg edi, eax
xor edi, edi
mov dword [esp + 0x38], edi
mov edi, 6
mov dword [esp + 0x3c], edi
lea edi, [esp + 0x2f]
mov dword [esp + 0x5c], edi
mov edi, 1
jmp 0x4caa89
movzx ebp, byte [ecx + 0xa]
xchg ebp, eax
mov byte [esp + 0x36], al
xchg ebp, eax
mov byte [ecx + 0xa], 0
cmp byte [eax + 1], 0x4e
jne 0x4ca974
movzx esi, byte [ecx + 9]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4ca974
movzx esi, byte [ecx + 7]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4ca974
dec ebx
mov esi, ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 1
dec edx
add eax, esi
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004c9520
movzx eax, byte [esp + 0x36]
mov ecx, dword [esp + 0x6c]
mov byte [ecx + 0xa], al
add esp, 0x68
ret
movzx ebp, byte [ecx + 7]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4ca9ab
cmp byte [eax], 0x2b
je 0x4caa58
movzx ebp, byte [ecx + 0xa]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4caa40
movzx ebp, byte [ecx + 6]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4caa40
movzx ebp, byte [ecx + 4]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4caa40
cmp dword [ecx + 0x10], edx
jle 0x4caa40
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x60], eax
mov edx, dword [ecx]
movzx ebx, byte [eax]
mov dword [esp], edx
mov byte [esp + 4], bl
call fcn.004caf20
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x10]
mov dword [esp], eax
mov edx, dword [esp + 0x40]
sub ecx, edx
mov dword [esp + 4], ecx
call fcn.004c93f0
mov eax, dword [esp + 0x6c]
mov eax, dword [eax]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
dec eax
mov ecx, dword [esp + 0x40]
dec ecx
mov edx, eax
neg eax
sar eax, 0x1f
and eax, 1
mov ebx, dword [esp + 0x60]
add eax, ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.004cad80
add esp, 0x68
ret
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004c9520
add esp, 0x68
ret
mov dword [esp], ecx
lea ecx, [ebx - 1]
dec edx
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
add eax, ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004c9520
add esp, 0x68
ret
inc edi
mov byte [esp + 0x35], cl
mov ecx, dword [esp + 0x6c]
cmp edx, edi
jle 0x4cac4e
mov dword [esp + 0x48], edi
mov dword [esp + 0x58], esi
movzx ecx, byte [eax + edi]
cmp cl, 0x45
ja 0x4caac6
cmp cl, 0x2e
jne 0x4caabc
movzx ecx, byte [esp + 0x35]
mov ecx, 1
mov byte [esp + 0x37], cl
movzx ecx, byte [esp + 0x35]
jmp 0x4caa80
cmp cl, 0x45
je 0x4caad8
jmp 0x4cab91
cmp cl, 0x50
je 0x4cabac
cmp cl, 0x65
jne 0x4cab8c
cmp ebp, 0x78
je 0x4cab91
cmp ebp, 0x58
je 0x4cab91
sub edx, edi
mov ecx, dword [esp + 0x38]
lea ebp, [ecx + edx]
sub ebx, edi
neg ebx
sar ebx, 0x1f
and ebx, edi
add ebx, eax
mov eax, dword [esp + 0x3c]
cmp eax, ebp
jae 0x4cab4e
mov dword [esp + 0x54], edx
mov dword [esp + 0x64], ebx
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
lea eax, [0x6c0100]
mov dword [esp + 0x10], eax
call fcn.00472770
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x5c], eax
mov eax, ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ebp
mov esi, dword [esp + 0x5c]
add ecx, esi
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.00477ad0
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x7c]
mov edi, dword [esp + 0x48]
mov edx, edi
movzx ecx, byte [esp + 0x35]
mov esi, dword [esp + 0x58]
jmp 0x4caa80
cmp cl, 0x70
je 0x4cabac
cmp cl, 0x30
setne cl
movzx ebx, byte [esp + 0x35]
or ecx, ebx
test cl, cl
je 0x4caba3
dec esi
mov ebx, dword [esp + 0x44]
jmp 0x4caa80
sub edx, edi
mov ecx, dword [esp + 0x38]
lea ebp, [ecx + edx]
sub ebx, edi
neg ebx
sar ebx, 0x1f
and ebx, edi
add ebx, eax
mov eax, dword [esp + 0x3c]
cmp eax, ebp
jae 0x4cac10
mov dword [esp + 0x54], edx
mov dword [esp + 0x64], ebx
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
lea eax, [0x6c0100]
mov dword [esp + 0x10], eax
call fcn.00472770
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x5c], eax
mov eax, ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ebp
mov esi, dword [esp + 0x5c]
add ecx, esi
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.00477ad0
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x7c]
mov edi, dword [esp + 0x48]
mov edx, edi
movzx ecx, byte [esp + 0x35]
mov esi, dword [esp + 0x58]
jmp 0x4caa80
movzx ebp, byte [esp + 0x37]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4cacb1
cmp edx, 2
jne 0x4cac65
cmp byte [eax + 1], 0x30
jne 0x4cac65
dec esi
inc edx
cmp ebx, edx
jae 0x4caca4
mov dword [esp + 0x50], esi
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x6c0100]
mov dword [esp + 0x10], eax
call fcn.00472770
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x6c]
mov esi, dword [esp + 0x50]
mov byte [edx + eax - 1], 0x2e
jmp 0x4cacb1
mov byte [edx + eax - 1], 0x30
dec esi
test esi, esi
jle 0x4cacf6
inc edx
cmp ebx, edx
jae 0x4cacab
mov dword [esp + 0x4c], esi
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x6c0100]
mov dword [esp + 0x10], eax
call fcn.00472770
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x6c]
mov esi, dword [esp + 0x4c]
jmp 0x4cacab
mov ebp, dword [esp + 0x38]
lea esi, [ebp + edx]
cmp ebx, esi
jae 0x4cad38
mov dword [esp + 0x40], edx
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
lea eax, [0x6c0100]
mov dword [esp + 0x10], eax
call fcn.00472770
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x60], eax
lea ecx, [eax + edx]
mov dword [esp], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.00477ad0
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x44]
jmp 0x4ca998
call fcn.00475ee0
jmp fcn.004ca7d0