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

Disassembly:
push 0xffffffffffffffff
push 0x547c28
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 0x4cac94
mov dword [esp + 0x10], ebx
jmp 0x4cac9e
mov eax, dword [ebp + 0xc0]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x44]
cmp edx, ebx
jle 0x4caec3
mov eax, dword [ebp + 0x64]
shr eax, 2
cmp eax, ebx
jle 0x4caec3
mov ecx, dword [ebp + 0x64]
lea edi, [ebp + 0x54]
cmp ecx, ebx
mov dword [esp + 0x44], edi
jne 0x4cacca
xor ecx, ecx
jmp 0x4caccd
mov ecx, dword [edi + 8]
push edx
push eax
push ecx
call fcn.00408bb0
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
jne 0x4cace7
mov esi, dword [ebp + 0x64]
shr esi, 2
jmp 0x4caceb
cmp esi, ebx
jle 0x4cacec
dec esi
cmp dword [edi + 0x10], ebx
je 0x4cacf4
mov ebx, dword [edi + 8]
test esi, esi
jle 0x4cad1c
lea edi, [ebx + esi*4]
mov ecx, dword [edi]
mov eax, dword [esp + 0x10]
add ecx, eax
push ecx
mov ecx, ebp
call fcn.004cd2f0
cmp eax, 1
je 0x4cad18
dec esi
sub edi, 4
test esi, esi
jg 0x4cacfb
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.00473490
lea ecx, [esp + 0x20]
call fcn.004733a0
mov dword [esp + 0x3c], 0
mov ebp, 1
cmp ebp, 1
jne 0x4cad56
mov eax, dword [esp + 0x14]
lea esi, [eax + 0x7c]
jmp 0x4cad71
cmp ebp, 2
jne 0x4cad67
mov ecx, dword [esp + 0x14]
lea esi, [ecx + 0x90]
jmp 0x4cad71
mov edx, dword [esp + 0x14]
lea esi, [edx + 0xa4]
mov eax, dword [esi + 0x10]
lea ecx, [esp + 0x20]
push eax
call fcn.00473810
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4cad89
xor edi, edi
jmp 0x4cad8c
mov edi, dword [esi + 8]
shr eax, 2
test eax, eax
jle 0x4cadaf
mov ebx, eax
mov eax, dword [edi]
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jge 0x4cada9
push eax
lea ecx, [esp + 0x24]
call fcn.00473660
add edi, 4
dec ebx
jne 0x4cad95
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.00473c60
inc ebp
cmp ebp, 3
jle 0x4cad48
mov esi, dword [esi + 0x10]
lea ecx, [esp + 0x20]
push esi
call fcn.00473810
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x78]
lea edi, [eax + 0x68]
test ecx, ecx
mov dword [esp + 0x1c], edi
jne 0x4cadfc
xor esi, esi
jmp 0x4cadff
mov esi, dword [edi + 8]
mov ecx, dword [eax + 0x78]
mov eax, 0x38e38e39
mul ecx
shr edx, 1
test edx, edx
jle 0x4cae5a
mov dword [esp + 0x18], edx
mov edi, dword [esi + 1]
mov ebp, dword [esp + 0x44]
mov ebx, dword [esi + 5]
cmp edi, ebp
jge 0x4cae48
mov al, byte [esi]
lea ecx, [esp + 0x20]
push eax
call fcn.004736e0
push edi
lea ecx, [esp + 0x24]
call fcn.00473660
cmp ebx, ebp
jl 0x4cae3e
or ebx, 0xffffffff
push ebx
lea ecx, [esp + 0x24]
call fcn.00473660
mov eax, dword [esp + 0x18]
add esi, 9
dec eax
mov dword [esp + 0x18], eax
jne 0x4cae13
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
test ecx, ecx
jle 0x4cae84
mov eax, 0x38e38e39
push 0x4a86d0
mul ecx
mov ecx, dword [esp + 0x2c]
push 9
shr edx, 1
push edx
push ecx
call fcn.005040ee
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.00473c60
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x20], 0x54d7d0
call fcn.004735a0
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
jmp 0x4caef7
lea ecx, [ebp + 0x54]
call fcn.004735a0
lea esi, [ebp + 0x68]
mov ecx, esi
call fcn.004735a0
lea ecx, [ebp + 0x7c]
call fcn.004735a0
lea ecx, [ebp + 0x90]
call fcn.004735a0
lea ecx, [ebp + 0xa4]
call fcn.004735a0
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 0x4cafdd
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.0x4caf40.109
xor edx, edx
mov dl, byte [ecx + 0x4cb054]
jmp dword [edx*4 + 0x4cb048]
cmp al, 0x70
jne 0x4caf52
mov eax, 3
jmp 0x4caf67
cmp al, 0x6c
jne 0x4caf5d
mov eax, 2
jmp 0x4caf67
sub al, 0x6b
neg al
sbb eax, eax
and eax, 3
inc eax
push eax
mov ecx, esi
call fcn.004736e0
mov edx, dword [esp + 0x10]
mov eax, edi
sub eax, edx
mov ecx, esi
push eax
call fcn.00473660
push 0xffffffffffffffff
mov ecx, esi
call fcn.00473660
jmp case.0x4caf40.109
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4caf95
xor ecx, ecx
jmp 0x4caf98
mov ecx, dword [esi + 8]
mov eax, 0x38e38e39
mul dword [ebp + 0x78]
shr edx, 1
dec edx
js case.0x4caf40.109
lea ecx, [ecx + edx*8]
lea eax, [edx + ecx + 5]
cmp dword [eax], 0xffffffff
je 0x4cafbb
dec edx
sub eax, 9
test edx, edx
jge 0x4cafac
jmp case.0x4caf40.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.004ca980
add edi, eax
cmp edi, ebx
jb 0x4caf1c
mov edi, dword [esp + 0x1c]
mov esi, edi
cmp esi, ebx
jae 0x4cb032
mov bl, byte [esi]
inc esi
mov byte [esp + 0x44], bl
mov eax, dword [esp + 0x44]
push eax
call fcn.004ccb50
add esp, 4
cmp eax, 1
jne 0x4cb02c
mov ecx, esi
mov edi, esi
call fcn.004ca570
add esi, eax
cmp bl, 0x6a
jne 0x4cb02c
mov ecx, edi
call fcn.004ca740
test eax, eax
je 0x4cb02c
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.004cb060
cmp esi, dword [esp + 0x18]
jb 0x4cafe3
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 4