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

Disassembly:
push 0xffffffffffffffff
push 0x601f58
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6f1550]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov dword [esp + 0x34], ecx
mov esi, dword [ecx + 0x5978]
lea eax, [ecx + 0x5978]
mov dword [esp + 0x5c], eax
mov eax, dword [ecx + 0x597c]
add eax, esi
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0x8c]
mov ecx, dword [eax + 0x78]
movzx ebx, word [ecx + 2]
mov eax, dword [ecx + 0x14]
mov edx, eax
imul edx, ebx
mov dword [esp + 0x50], ecx
movzx ecx, word [ecx + 0xe]
mov dword [esp + 0x38], edx
shr ecx, 3
xor edx, edx
div ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x54], esi
mov dword [esp + 0x24], ebx
mov ebp, eax
call fcn.00433fe0
mov edi, ebx
imul edi, ebp
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x68]
mov dword [esp + 0x80], 0
mov dword [esp + 0x60], edi
call fcn.00498a40
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x60]
mov ecx, eax
sub ecx, esi
cmp ecx, dword [esp + 0x38]
mov dword [esp + 0x44], edx
jl 0x4cb516
fld qword [0x629e58]
mov ecx, dword [esi]
cmp ecx, 0x64685353
jne 0x4cb328
mov ecx, dword [esi + 4]
lea esi, [esi + ecx + 8]
jmp 0x4cb506
cmp ecx, 0x64625353
jne 0x4cb343
mov ecx, dword [esp + 0x34]
add esi, 8
mov byte [ecx + 0x5950], 1
jmp 0x4cb506
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x5950], 0
je 0x4cb543
xor ecx, ecx
cmp ebp, ecx
mov dword [esp + 0x3c], ecx
jle 0x4cb4ac
mov edi, esi
lea eax, [esi + ebp*2]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], edx
xor edx, edx
cmp ebx, 4
jl 0x4cb431
mov eax, dword [esp + 0x30]
lea ebx, [ecx + ebp*2]
lea ecx, [ecx + ebp*2]
lea ecx, [esi + ecx*2]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x24]
add ebx, ebp
add ecx, 0xfffffffc
lea ebx, [esi + ebx*2]
shr ecx, 2
add ecx, 1
mov dword [esp + 0x20], ebx
lea ebx, [ecx*4]
lea edx, [ebp*8]
mov dword [esp + 0x4c], ebx
movsx ebx, word [edi]
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x18]
add dword [esp + 0x18], edx
fild dword [esp + 0x48]
add eax, 0x10
add edi, edx
fmul st(1)
fstp dword [eax - 0x10]
movsx ebx, word [ebx]
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x1c]
add dword [esp + 0x1c], edx
fild dword [esp + 0x48]
fmul st(1)
fstp dword [eax - 0xc]
movsx ebx, word [ebx]
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x20]
add dword [esp + 0x20], edx
sub ecx, 1
fild dword [esp + 0x48]
fmul st(1)
fstp dword [eax - 8]
movsx ebx, word [ebx]
mov dword [esp + 0x48], ebx
fild dword [esp + 0x48]
fmul st(1)
fstp dword [eax - 4]
jne 0x4cb3c3
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x24]
cmp edx, ebx
jge 0x4cb47e
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x44]
add eax, edx
lea edi, [edi + eax*4]
mov eax, edx
imul eax, ebp
add eax, ecx
lea eax, [esi + eax*2]
mov dword [esp + 0x20], eax
mov eax, ebx
sub eax, edx
mov ebx, dword [esp + 0x20]
movsx edx, word [ebx]
mov dword [esp + 0x4c], edx
lea edx, [ebp + ebp]
add ebx, edx
fild dword [esp + 0x4c]
add edi, 4
sub eax, 1
mov dword [esp + 0x20], ebx
fmul st(1)
fstp dword [edi - 4]
jne 0x4cb454
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x40]
add dword [esp + 0x28], 2
add dword [esp + 0x2c], ebx
add ecx, 1
lea eax, [ebx*4]
add dword [esp + 0x30], eax
add edi, 2
cmp ecx, ebp
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edi
jl 0x4cb377
fstp st(0)
mov eax, dword [esp + 0x50]
movzx ecx, word [eax + 2]
mov edx, dword [eax + 4]
push 0
push ecx
mov ecx, dword [esp + 0x3c]
push edx
lea eax, [esp + 0x6c]
push eax
call fcn.004c9d30
mov edi, eax
test edi, edi
jne 0x4cb55a
add esi, dword [esp + 0x38]
mov edi, dword [esp + 0x14]
sub edi, esi
push edi
push esi
mov esi, dword [esp + 0x5c]
push esi
call fcn.005c7910
fld qword [0x629e58]
mov edx, dword [esp + 0x50]
add esp, 0xc
add edi, esi
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x14]
mov ecx, eax
sub ecx, esi
cmp ecx, dword [esp + 0x38]
jge 0x4cb312
fstp st(0)
mov ecx, dword [esp + 0x5c]
push 0xffffffffffffffff
sub eax, esi
push eax
call fcn.004871d0
lea ecx, [esp + 0x60]
call fcn.004c8dc0
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
test edi, edi
fstp st(0)
jle 0x4cb4ae
mov ecx, edi
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
jmp 0x4cb4ae
lea ecx, [esp + 0x60]
call fcn.004c8dc0
mov eax, edi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret