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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x601f88
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 edi, ecx
mov dword [esp + 0x44], edi
mov esi, dword [edi + 0x5978]
lea eax, [edi + 0x5978]
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0x597c]
add eax, esi
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x8c]
mov eax, dword [eax + 0x78]
movzx ebx, word [eax + 2]
mov dword [esp + 0x1c], eax
mov eax, dword [eax + 0x14]
mov ecx, eax
imul ecx, ebx
lea ebp, [eax*8]
sub ebp, eax
add ebp, ebp
mov dword [esp + 0x3c], ecx
shr ebp, 4
lea ecx, [esp + 0x5c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x18], ebx
add ebp, ebp
call fcn.00433fe0
imul ebx, ebp
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x64]
mov dword [esp + 0x80], 0
mov dword [esp + 0x58], ebx
call fcn.00498a40
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x5c]
mov edx, eax
sub edx, esi
cmp edx, dword [esp + 0x3c]
mov dword [esp + 0x38], ecx
jl 0x4cb89e
lea esp, [esp]
mov ecx, dword [esi]
cmp ecx, 0x64685353
jne 0x4cb66c
mov ecx, dword [esi + 4]
lea edx, [esi + ecx + 8]
mov dword [esp + 0x14], edx
mov esi, edx
jmp 0x4cb890
cmp ecx, 0x64625353
jne 0x4cb683
add esi, 8
mov byte [edi + 0x5950], 1
jmp 0x4cb88c
cmp byte [edi + 0x5950], 0
lea eax, [edi + 0x5950]
mov dword [esp + 0x30], eax
je 0x4cb84f
xor ecx, ecx
mov eax, ebx
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0059b05a
xor esi, esi
add esp, 4
cmp dword [esp + 0x18], esi
mov edx, eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], esi
jle 0x4cb73a
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x14]
xor ebx, ebx
test eax, eax
jbe 0x4cb726
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
lea edx, [edx + ecx*8]
mov ecx, dword [esp + 0x28]
add ecx, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
push edx
add eax, ebx
push eax
call fcn.004c7f20
mov ecx, dword [esp + 0x24]
add dword [esp + 0x28], 0x1c
add dword [esp + 0x2c], 0xe0
add ebx, 0x10
add esp, 8
cmp ebx, dword [ecx + 0x14]
jb 0x4cb6f1
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x14]
add dword [esp + 0x28], eax
add esi, 1
cmp esi, dword [esp + 0x18]
jl 0x4cb6d2
xor esi, esi
xor ebx, ebx
test ebp, ebp
mov dword [esp + 0x2c], esi
jle 0x4cb83c
lea ecx, [edx + ebp*8]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x18]
xor edi, edi
cmp eax, 4
jl 0x4cb7f6
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
lea esi, [esi + ebp*2]
add esi, ebp
lea esi, [edx + esi*8]
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x2c]
lea esi, [esi + ebp*2]
lea edx, [edx + esi*8]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x18]
add edx, 0xfffffffc
shr edx, 2
add edx, 1
mov eax, ebp
lea esi, [edx*4]
shl eax, 5
lea ecx, [ecx + ebx*4 + 8]
add ebx, esi
mov dword [esp + 0x4c], esi
fld qword [edi]
mov esi, dword [esp + 0x28]
add dword [esp + 0x28], eax
fstp dword [ecx - 8]
fld qword [esi]
mov esi, dword [esp + 0x24]
add dword [esp + 0x24], eax
fstp dword [ecx - 4]
fld qword [esi]
mov esi, dword [esp + 0x20]
add dword [esp + 0x20], eax
fstp dword [ecx]
fld qword [esi]
add ecx, 0x10
fstp dword [ecx - 0xc]
add edi, eax
sub edx, 1
jne 0x4cb7b1
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x18]
cmp edi, eax
jge 0x4cb820
mov ecx, edi
imul ecx, ebp
add ecx, esi
lea ecx, [edx + ecx*8]
sub eax, edi
fld qword [ecx]
mov edi, dword [esp + 0x38]
fstp dword [edi + ebx*4]
lea edi, [ebp*8]
add ebx, 1
add ecx, edi
sub eax, 1
jne 0x4cb806
mov eax, 8
add dword [esp + 0x30], eax
add dword [esp + 0x34], eax
add esi, 1
cmp esi, ebp
mov dword [esp + 0x2c], esi
jl 0x4cb755
push edx
call fcn.0059b05f
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x54]
add esp, 4
jmp 0x4cb85d
test ebx, ebx
jle 0x4cb861
mov edi, dword [esp + 0x38]
mov ecx, ebx
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x1c]
movzx edx, word [eax + 2]
mov eax, dword [eax + 4]
push 0
push edx
push eax
lea ecx, [esp + 0x68]
push ecx
mov ecx, edi
call fcn.004c9d30
test eax, eax
mov dword [esp + 0x4c], eax
jne 0x4cb8dc
add esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], esi
mov edx, eax
sub edx, esi
cmp edx, dword [esp + 0x3c]
jge 0x4cb650
mov edi, eax
mov eax, dword [esp + 0x54]
sub edi, esi
push edi
push esi
push eax
call fcn.005c7910
mov ecx, dword [esp + 0x64]
add esp, 0xc
push 0xffffffffffffffff
push edi
call fcn.004871d0
lea ecx, [esp + 0x5c]
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
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x5c]
call fcn.004c8dc0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret