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

Disassembly:
push 0xffffffffffffffff
push 0x547b78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
push esi
push edi
mov eax, dword [ebp + 0xc8]
mov dword [esp + 0x14], ebp
cmp eax, ebx
jne 0x4cac04
mov dword [esp + 0x10], ebx
jmp 0x4cac0e
mov eax, dword [ebp + 0xc0]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x44]
cmp edx, ebx
jle 0x4cae33
mov eax, dword [ebp + 0x64]
shr eax, 2
cmp eax, ebx
jle 0x4cae33
mov ecx, dword [ebp + 0x64]
lea edi, [ebp + 0x54]
cmp ecx, ebx
mov dword [esp + 0x44], edi
jne 0x4cac3a
xor ecx, ecx
jmp 0x4cac3d
mov ecx, dword [edi + 8]
push edx
push eax
push ecx
call fcn.00408980
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
jne 0x4cac57
mov esi, dword [ebp + 0x64]
shr esi, 2
jmp 0x4cac5b
cmp esi, ebx
jle 0x4cac5c
dec esi
cmp dword [edi + 0x10], ebx
je 0x4cac64
mov ebx, dword [edi + 8]
test esi, esi
jle 0x4cac8c
lea edi, [ebx + esi*4]
mov ecx, dword [edi]
mov eax, dword [esp + 0x10]
add ecx, eax
push ecx
mov ecx, ebp
call fcn.004cd260
cmp eax, 1
je 0x4cac88
dec esi
sub edi, 4
test esi, esi
jg 0x4cac6b
mov edi, dword [esp + 0x44]
lea eax, [esi*4]
mov ecx, edi
push eax
mov edx, dword [eax + ebx]
mov dword [esp + 0x48], edx
call fcn.00473580
lea ecx, [esp + 0x20]
call fcn.00473490
mov dword [esp + 0x3c], 0
mov ebp, 1
cmp ebp, 1
jne 0x4cacc6
mov eax, dword [esp + 0x14]
lea esi, [eax + 0x7c]
jmp 0x4cace1
cmp ebp, 2
jne 0x4cacd7
mov ecx, dword [esp + 0x14]
lea esi, [ecx + 0x90]
jmp 0x4cace1
mov edx, dword [esp + 0x14]
lea esi, [edx + 0xa4]
mov eax, dword [esi + 0x10]
lea ecx, [esp + 0x20]
push eax
call fcn.00473900
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4cacf9
xor edi, edi
jmp 0x4cacfc
mov edi, dword [esi + 8]
shr eax, 2
test eax, eax
jle 0x4cad1f
mov ebx, eax
mov eax, dword [edi]
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jge 0x4cad19
push eax
lea ecx, [esp + 0x24]
call fcn.00473750
add edi, 4
dec ebx
jne 0x4cad05
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
mov eax, ecx
push ecx
neg eax
sbb eax, eax
mov ecx, esi
and eax, ebx
mov dword [esi + 0x10], 0
push eax
call fcn.00473d50
inc ebp
cmp ebp, 3
jle 0x4cacb8
mov esi, dword [esi + 0x10]
lea ecx, [esp + 0x20]
push esi
call fcn.00473900
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x78]
lea edi, [eax + 0x68]
test ecx, ecx
mov dword [esp + 0x1c], edi
jne 0x4cad6c
xor esi, esi
jmp 0x4cad6f
mov esi, dword [edi + 8]
mov ecx, dword [eax + 0x78]
mov eax, 0x38e38e39
mul ecx
shr edx, 1
test edx, edx
jle 0x4cadca
mov dword [esp + 0x18], edx
mov edi, dword [esi + 1]
mov ebp, dword [esp + 0x44]
mov ebx, dword [esi + 5]
cmp edi, ebp
jge 0x4cadb8
mov al, byte [esi]
lea ecx, [esp + 0x20]
push eax
call fcn.004737d0
push edi
lea ecx, [esp + 0x24]
call fcn.00473750
cmp ebx, ebp
jl 0x4cadae
or ebx, 0xffffffff
push ebx
lea ecx, [esp + 0x24]
call fcn.00473750
mov eax, dword [esp + 0x18]
add esi, 9
dec eax
mov dword [esp + 0x18], eax
jne 0x4cad83
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
test ecx, ecx
jle 0x4cadf4
mov eax, 0x38e38e39
push 0x4a8690
mul ecx
mov ecx, dword [esp + 0x2c]
push 9
shr edx, 1
push edx
push ecx
call fcn.0050404e
mov ecx, dword [esp + 0x40]
add esp, 0x10
mov esi, dword [esp + 0x28]
mov eax, ecx
neg eax
sbb eax, eax
push ecx
and eax, esi
mov ecx, edi
push eax
mov dword [edi + 0x10], 0
call fcn.00473d50
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x20], 0x54d7d0
call fcn.00473690
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
jmp 0x4cae67
lea ecx, [ebp + 0x54]
call fcn.00473690
lea esi, [ebp + 0x68]
mov ecx, esi
call fcn.00473690
lea ecx, [ebp + 0x7c]
call fcn.00473690
lea ecx, [ebp + 0x90]
call fcn.00473690
lea ecx, [ebp + 0xa4]
call fcn.00473690
mov dword [esp + 0x44], ebx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x44]
mov ebx, dword [ebp + 0xc8]
mov ecx, edx
lea edi, [edx + eax]
add ebx, ecx
cmp edi, ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ebx
jae 0x4caf4d
mov al, byte [edi]
mov byte [esp + 0x44], al
mov ecx, dword [esp + 0x44]
and ecx, 0xff
add ecx, 0xffffff95
cmp ecx, 9
ja case.0x4caeb0.109
xor edx, edx
mov dl, byte [ecx + 0x4cafc4]
jmp dword [edx*4 + 0x4cafb8]
cmp al, 0x70
jne 0x4caec2
mov eax, 3
jmp 0x4caed7
cmp al, 0x6c
jne 0x4caecd
mov eax, 2
jmp 0x4caed7
sub al, 0x6b
neg al
sbb eax, eax
and eax, 3
inc eax
push eax
mov ecx, esi
call fcn.004737d0
mov edx, dword [esp + 0x10]
mov eax, edi
sub eax, edx
mov ecx, esi
push eax
call fcn.00473750
push 0xffffffffffffffff
mov ecx, esi
call fcn.00473750
jmp case.0x4caeb0.109
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4caf05
xor ecx, ecx
jmp 0x4caf08
mov ecx, dword [esi + 8]
mov eax, 0x38e38e39
mul dword [ebp + 0x78]
shr edx, 1
dec edx
js case.0x4caeb0.109
lea ecx, [ecx + edx*8]
lea eax, [edx + ecx + 5]
cmp dword [eax], 0xffffffff
je 0x4caf2b
dec edx
sub eax, 9
test edx, edx
jge 0x4caf1c
jmp case.0x4caeb0.109
mov ecx, dword [esp + 0x10]
mov edx, edi
sub edx, ecx
mov dword [eax], edx
push 1
push edi
mov ecx, ebp
call fcn.004ca8f0
add edi, eax
cmp edi, ebx
jb 0x4cae8c
mov edi, dword [esp + 0x1c]
mov esi, edi
cmp esi, ebx
jae 0x4cafa2
mov bl, byte [esi]
inc esi
mov byte [esp + 0x44], bl
mov eax, dword [esp + 0x44]
push eax
call fcn.004ccac0
add esp, 4
cmp eax, 1
jne 0x4caf9c
mov ecx, esi
mov edi, esi
call fcn.004ca4e0
add esi, eax
cmp bl, 0x6a
jne 0x4caf9c
mov ecx, edi
call fcn.004ca6b0
test eax, eax
je 0x4caf9c
mov ebx, dword [esp + 0x10]
mov ecx, dword [edi]
mov eax, esi
sub eax, ebx
add ecx, eax
push ecx
push eax
mov ecx, ebp
call fcn.004cafd0
cmp esi, dword [esp + 0x18]
jb 0x4caf53
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 4