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

Disassembly:
sub esp, 0xbc
push ebx
push esi
push edi
push ebp
mov ecx, dword [esp + 0xd8]
mov edi, dword [esp + 0xdc]
mov esi, 4
mov eax, dword [esp + 0xd4]
mov ecx, dword [ecx]
mov edi, dword [edi]
mov ebx, ecx
mov eax, dword [eax]
shl ebx, 2
mov ebp, 0xfffffffc
sub ebx, 4
mov edx, dword [esp + 0xec]
mov dword [esp + 0x14], ebx
mov ebx, edi
dec ebx
imul ebx, dword [esp + 0x14]
mov dword [esp + 0x54], 0xfffffffe
mov dword [esp + 0x5c], 1
mov dword [esp + 0x18], ebx
mov ebx, ecx
dec ebx
imul ebx, edi
lea ebx, [esi + ebx*4]
mov esi, 0x18
mov dword [esp + 0x1c], ebx
mov ebx, ecx
lea esi, [esi + eax*8]
add ebx, 3
mov dword [esp + 0x20], esi
mov esi, eax
imul ebx, dword [esp + 0x20]
add esi, 3
sub ebp, ecx
imul esi, ebp
mov dword [esp + 0x24], ebx
mov ebx, 4
mov ebp, esi
shl ebp, 3
sub ebp, 8
mov dword [esp + 0x28], ebp
mov ebp, eax
shl ebp, 2
sub ebp, 4
mov dword [esp + 0x2c], ebp
mov ebp, edi
dec ebp
imul ebp, dword [esp + 0x2c]
mov dword [esp + 0x30], ebp
mov ebp, eax
dec ebp
imul ebp, edi
lea ebx, [ebx + ebp*4]
mov ebp, ecx
dec ebp
mov dword [esp + 0x34], ebx
imul ebp, dword [esp + 0x2c]
mov ebx, 4
mov dword [esp + 0x38], ebp
mov ebp, eax
dec ebp
imul ebp, ecx
lea ebx, [ebx + ebp*4]
mov ebp, 0xc
mov dword [esp + 0x3c], ebx
mov ebx, eax
lea ebp, [ebp + eax*4]
mov dword [esp + 0x40], ebp
mov ebp, ecx
add ebp, 3
imul ebp, dword [esp + 0x40]
shl esi, 2
sub esi, 4
dec ebx
mov dword [esp + 0x48], esi
mov esi, ecx
dec esi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x4c], esi
mov esi, edi
dec esi
test ebx, ebx
mov dword [esp + 0x50], esi
mov dword [esp + 0x44], ebp
jle 0x4c87db
sub edx, dword [esp + 0x28]
mov dword [esp + 0x60], 8
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0xf0]
sub edx, dword [esp + 0x28]
sub eax, 2
sub ecx, 2
sub edi, 2
mov dword [esp + 0x64], 4
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edi
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x7c], ecx
test ecx, ecx
mov dword [esp + 0x80], 1
jle 0x4c87a9
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x84], 4
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x94], eax
test eax, eax
mov dword [esp + 0x98], 1
jle 0x4c8742
mov eax, dword [esp + 0x14]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x8c]
add eax, dword [esp + 0x24]
lea ebp, [ecx + eax]
mov ecx, dword [esp + 0x60]
add ecx, ebp
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0xa4], ebp
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0xa0], ecx
lea ecx, [ebp + eax]
mov ebp, dword [esp + 0x60]
add ebp, ecx
mov ecx, dword [esp + 0xf4]
sub ecx, dword [esp + 0x28]
mov dword [esp + 0xa8], ebp
lea edx, [ecx + eax]
mov ecx, dword [esp + 0x60]
add ecx, edx
mov edx, dword [esp + 0xf8]
mov eax, dword [esp + 0x90]
sub edx, dword [esp + 0x48]
add eax, dword [esp + 0x44]
mov dword [esp + 0xac], ecx
lea ecx, [edx + eax]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0xe8]
add edx, ecx
sub eax, dword [esp + 0x3c]
mov dword [esp + 0xb0], edx
mov ecx, dword [esp + 0x88]
mov edx, eax
add ecx, dword [esp + 0x64]
add edx, dword [esp + 0x38]
mov eax, dword [esp + 0xf4]
add ecx, edx
mov edx, dword [esp + 0x8c]
sub eax, dword [esp + 0x28]
add edx, dword [esp + 0x60]
mov dword [esp + 0xb4], ecx
add edx, eax
mov dword [esp + 0xb8], edx
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x9c]
sub eax, dword [esp + 0x1c]
add ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x68]
mov edx, 2
mov edi, 1
lea ebp, [eax + ecx]
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x98]
add ecx, ebp
imul eax, dword [esp + 0x24]
mov ebp, 1
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x8c]
add eax, dword [esp + 0xbc]
add ebx, eax
mov dword [esp + 0xc0], ebx
mov eax, dword [ecx]
shl eax, 2
add eax, dword [esp + 0xd0]
mov eax, dword [eax - 4]
sub eax, 0xb
cmp eax, 8
ja 0x4c8448
mov eax, dword [esp + 0xa0]
fld qword [eax]
mov eax, dword [esp + 0x5c]
fmul qword [0x57a430]
cmp eax, ebp
fchs
fstp st(1)
jle 0x4c83ca
mov eax, ebp
mov esi, dword [esp + 0x5c]
cmp esi, ebp
jge 0x4c83d4
mov esi, ebp
sub esi, eax
inc esi
mov ebx, esi
test esi, esi
jle 0x4c8423
shl eax, 3
add eax, dword [esp + 0xc0]
cmp esi, 8
jle 0x4c8419
fld st(0)
sub ebx, 9
fadd qword [eax]
cmp ebx, 8
lea eax, [eax + 0x48]
fadd qword [eax - 0x40]
fadd qword [eax - 0x38]
fadd qword [eax - 0x30]
fadd qword [eax - 0x28]
fadd qword [eax - 0x20]
fadd qword [eax - 0x18]
fadd qword [eax - 0x10]
fadd qword [eax - 8]
fstp st(1)
jg 0x4c83ec
test ebx, ebx
jle 0x4c8423
fadd qword [eax]
dec ebx
lea eax, [eax + 8]
test ebx, ebx
jg 0x4c8419
cmp dword [esp + 0x54], 0
jle 0x4c843e
mov eax, 0
fld st(0)
fcomp qword [0x596948]
fnstsw ax
and ah, 5
jp 0x4c8448
fst qword [0x596948]
mov dword [esp + 0x54], edi
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x70]
add ecx, ebx
add eax, ebp
inc edi
dec edx
mov ebp, eax
test edx, edx
jg 0x4c838e
mov ebx, dword [esp + 0xe4]
mov eax, dword [esp + 0xa4]
sub ebx, dword [esp + 0x34]
add eax, dword [esp + 0x30]
mov esi, 2
mov edx, 1
mov dword [esp + 0x10], 3
lea edi, [ebx + eax]
mov ebx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
add ebx, edi
add eax, dword [esp + 0xbc]
mov edi, dword [esp + 0x6c]
add edi, eax
mov dword [esp + 0xbc], edi
mov eax, dword [ebx]
shl eax, 2
add eax, dword [esp + 0xd0]
mov eax, dword [eax - 4]
sub eax, 0xb
cmp eax, 8
ja 0x4c8579
mov eax, dword [esp + 0xa8]
fld qword [eax]
mov eax, dword [esp + 0x80]
fmul qword [0x57a430]
cmp eax, edx
fchs
fstp st(1)
jle 0x4c84e8
mov eax, edx
mov ebp, dword [esp + 0x80]
cmp ebp, edx
jge 0x4c84f5
mov ebp, edx
mov ecx, dword [esp + 0x20]
sub ebp, eax
inc ebp
mov edi, ebp
test ebp, ebp
jle 0x4c8550
imul eax, dword [esp + 0x20]
add eax, dword [esp + 0xbc]
cmp ebp, 8
jle 0x4c8547
fld st(0)
fadd qword [eax]
add eax, ecx
fadd qword [eax]
add eax, ecx
fadd qword [eax]
add eax, ecx
fadd qword [eax]
add eax, ecx
fadd qword [eax]
add eax, ecx
fadd qword [eax]
add eax, ecx
fadd qword [eax]
add eax, ecx
fadd qword [eax]
add eax, ecx
fadd qword [eax]
add eax, ecx
sub edi, 9
cmp edi, 8
fstp st(1)
jg 0x4c8513
test edi, edi
jle 0x4c8550
fadd qword [eax]
add eax, ecx
dec edi
test edi, edi
jg 0x4c8547
cmp dword [esp + 0x54], 0
jle 0x4c856b
mov eax, 0
fld st(0)
fcomp qword [0x596948]
fnstsw ax
and ah, 5
jp 0x4c8579
fst qword [0x596948]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x54], edi
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x74]
add ebx, ecx
mov ebp, dword [esp + 0x10]
add eax, edx
inc ebp
dec esi
mov edx, eax
mov dword [esp + 0x10], ebp
test esi, esi
jg 0x4c84a9
mov ecx, 2
mov ebp, dword [esp + 0xb4]
mov edi, 1
mov dword [esp + 0x10], 5
mov eax, dword [ebp]
shl eax, 2
add eax, dword [esp + 0xd0]
mov eax, dword [eax - 4]
sub eax, 0xb
cmp eax, 8
ja 0x4c8685
mov eax, dword [esp + 0xac]
fld qword [eax]
mov eax, dword [esp + 0x98]
fmul qword [0x57a430]
cmp eax, edi
fchs
fstp st(1)
jle 0x4c85f2
mov eax, edi
mov esi, dword [esp + 0x98]
cmp esi, edi
jge 0x4c85ff
mov esi, edi
mov ebx, dword [esp + 0xb8]
sub esi, eax
inc esi
mov edx, esi
test esi, esi
jle 0x4c865c
imul eax, dword [esp + 0x24]
add ebx, eax
mov eax, dword [esp + 0x24]
cmp esi, 8
jle 0x4c8653
fld st(0)
fadd qword [ebx]
add ebx, eax
fadd qword [ebx]
add ebx, eax
fadd qword [ebx]
add ebx, eax
fadd qword [ebx]
add ebx, eax
fadd qword [ebx]
add ebx, eax
fadd qword [ebx]
add ebx, eax
fadd qword [ebx]
add ebx, eax
fadd qword [ebx]
add ebx, eax
fadd qword [ebx]
add ebx, eax
sub edx, 9
cmp edx, 8
fstp st(1)
jg 0x4c861f
test edx, edx
jle 0x4c865c
fadd qword [ebx]
add ebx, eax
dec edx
test edx, edx
jg 0x4c8653
cmp dword [esp + 0x54], 0
jle 0x4c8677
mov eax, 0
fld st(0)
fcomp qword [0x596948]
fnstsw ax
and ah, 5
jp 0x4c8685
fst qword [0x596948]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x54], ebx
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x78]
add ebp, edx
mov esi, dword [esp + 0x10]
add edi, eax
inc esi
dec ecx
mov dword [esp + 0x10], esi
test ecx, ecx
mov esi, dword [esp + 0x98]
jg 0x4c85b2
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0xb0]
inc esi
add edi, dword [esp + 0x9c]
mov ebp, dword [esp + 0x24]
mov dword [eax], edx
mov dword [esp + 0x98], esi
mov eax, dword [esp + 0x2c]
add ebp, dword [esp + 0xa0]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x9c], edi
add eax, dword [esp + 0xa4]
mov ebx, dword [esp + 0x24]
add esi, dword [esp + 0xa8]
mov edi, dword [esp + 0x44]
add ebx, dword [esp + 0xac]
add edi, dword [esp + 0xb0]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0xa0], ebp
dec ecx
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], edi
mov dword [esp + 0x94], ecx
test ecx, ecx
jg 0x4c832f
mov eax, dword [esp + 0x80]
mov esi, dword [esp + 0x84]
inc eax
mov edi, dword [esp + 0x2c]
add esi, 4
mov ebp, dword [esp + 0x20]
add edi, dword [esp + 0x88]
mov edx, dword [esp + 0x40]
add ebp, dword [esp + 0x8c]
add edx, dword [esp + 0x90]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x80], eax
dec ebx
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], edx
mov dword [esp + 0x7c], ebx
test ebx, ebx
jg 0x4c8242
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
inc ecx
mov esi, dword [esp + 0x64]
add eax, 8
mov edi, dword [esp + 0x58]
add esi, 4
dec edi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], esi
mov dword [esp + 0x58], edi
test edi, edi
jg 0x4c81fb
ffree st(0)
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xbc
ret 0x2c