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

Disassembly:
push 0xffffffffffffffff
push 0x53d638
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x598c90]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xe4]
mov ebp, dword [esp + 0xe0]
mov esi, dword [esp + 0xe8]
mov edx, ebx
mov eax, esi
call fcn.004de990
test al, al
je 0x490fb8
mov esi, ebx
call fcn.0048ff50
jmp 0x491012
mov edx, dword [esi]
test edx, edx
jne 0x490fc2
xor esi, esi
jmp 0x490fc5
mov esi, dword [edx + 0xc]
mov ecx, dword [ebx]
test ecx, ecx
jne 0x490fcf
xor eax, eax
jmp 0x490fd2
mov eax, dword [ecx + 0xc]
cmp esi, eax
jne 0x4914ca
test edx, edx
jne 0x490fe2
xor esi, esi
jmp 0x490fe5
mov esi, dword [edx + 0x10]
test ecx, ecx
jne 0x490fed
xor eax, eax
jmp 0x490ff0
mov eax, dword [ecx + 0x10]
cmp esi, eax
jne 0x4914ca
test edx, edx
je 0x490fff
mov edx, dword [edx + 8]
test ecx, ecx
jne 0x491007
xor eax, eax
jmp 0x49100a
mov eax, dword [ecx + 8]
cmp edx, eax
jne 0x4914ca
lea eax, [esp + 0xc0]
mov ecx, ebx
call fcn.0040ee40
mov edi, dword [esp + 0xec]
mov ecx, eax
lea eax, [esp + 0x8c]
call fcn.004ce0a0
mov eax, dword [esp + 0x94]
test eax, eax
jle 0x4914ca
mov ecx, dword [esp + 0x98]
test ecx, ecx
jle 0x4914ca
mov edx, dword [esp + 0x8c]
lea esi, [eax + edx]
push 1
push eax
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x98]
push esi
push edx
lea eax, [esp + 0xb4]
lea edi, [esi + ecx]
push eax
mov edx, ebx
mov dword [esp + 0x54], edi
call fcn.004901e0
lea ecx, [esp + 0x70]
push ecx
mov ecx, dword [esp + 0xec]
mov dword [esp + 0xdc], 0
mov ebx, dword [esp + 0xa8]
xor edi, edi
call fcn.004902c0
mov eax, dword [esp + 0xb0]
cmp eax, 4
jne 0x4912e0
cmp esi, dword [esp + 0x40]
mov ecx, esi
mov dword [esp + 0x38], esi
jge 0x4914aa
fldz
fld qword [0x572c30]
mov eax, dword [esp + 0x8c]
mov edx, ebx
add ebx, dword [esp + 0xac]
cmp eax, dword [esp + 0x44]
mov dword [esp + 0x34], edx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x28], eax
jge 0x4912ca
mov esi, dword [ebp + 8]
fxch st(1)
fst dword [esp + 0x2c]
fst dword [esp + 0x18]
fst dword [esp + 0x1c]
fst dword [esp + 0x20]
test esi, esi
jle 0x491237
mov edi, esi
sar edi, 1
mov eax, ecx
sub eax, edi
mov ebx, eax
imul eax, dword [esp + 0x78]
mov dword [esp + 0x50], eax
mov eax, edi
sub eax, ecx
mov dword [esp + 0x30], 0
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x24], eax
cmp ebx, dword [esp + 0x84]
jge 0x49122f
test ebx, ebx
jl 0x491213
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x7c]
sub ecx, edi
imul eax, ecx
add eax, dword [esp + 0x50]
add eax, dword [esp + 0x70]
xor edx, edx
cmp ecx, dword [esp + 0x80]
jge 0x49120b
test ecx, ecx
jl 0x4911fe
mov ebx, dword [esp + 0x30]
mov ebp, dword [ebp]
add ebx, edx
fld dword [ebp + ebx*4]
movzx ebx, byte [eax]
fstp dword [esp + 0x14]
mov dword [esp + 0x4c], ebx
movzx ebx, byte [eax + 1]
fild dword [esp + 0x4c]
fld dword [esp + 0x14]
inc eax
fld st(0)
mov dword [esp + 0x14], ebx
movzx ebx, byte [eax + 1]
fmulp st(2)
fld dword [esp + 0x2c]
faddp st(2)
inc eax
fxch st(1)
mov ebp, dword [esp + 0xe0]
inc eax
fstp dword [esp + 0x2c]
inc eax
fild dword [esp + 0x14]
mov dword [esp + 0x14], ebx
movzx ebx, byte [eax - 1]
fmul st(1)
fadd dword [esp + 0x18]
fstp dword [esp + 0x18]
fild dword [esp + 0x14]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x3c]
fmul st(1)
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fild dword [esp + 0x14]
fmulp st(1)
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
jmp 0x491201
add eax, 4
inc edx
inc ecx
cmp edx, esi
jl 0x491166
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x78]
add dword [esp + 0x50], ecx
add dword [esp + 0x30], esi
inc ebx
lea ecx, [eax + ebx]
cmp ecx, esi
mov dword [esp + 0x3c], ebx
jl 0x49113a
mov ebx, dword [esp + 0x48]
mov ecx, dword [esp + 0x38]
fld dword [esp + 0x2c]
fadd st(2)
fstp qword [esp + 0x9c]
mov eax, dword [esp + 0x9c]
cmp eax, 0xff
jl 0x491257
mov eax, 0xff
fld dword [esp + 0x18]
mov byte [edx], al
fadd st(2)
inc edx
fstp qword [esp + 0x54]
mov eax, dword [esp + 0x54]
cmp eax, 0xff
jl 0x491274
mov eax, 0xff
fld dword [esp + 0x1c]
mov byte [edx], al
fadd st(2)
inc edx
fstp qword [esp + 0x5c]
mov eax, dword [esp + 0x5c]
cmp eax, 0xff
jl 0x491291
mov eax, 0xff
fld dword [esp + 0x20]
mov byte [edx], al
fadd st(2)
inc edx
fstp qword [esp + 0x64]
mov eax, dword [esp + 0x64]
cmp eax, 0xff
jl 0x4912ae
mov eax, 0xff
mov byte [edx], al
fxch st(1)
mov eax, dword [esp + 0x28]
inc eax
inc edx
cmp eax, dword [esp + 0x44]
mov dword [esp + 0x34], edx
mov dword [esp + 0x28], eax
jl 0x4910f6
inc ecx
cmp ecx, dword [esp + 0x40]
mov dword [esp + 0x38], ecx
jl 0x4910d0
fstp st(0)
jmp 0x4914a8
cmp eax, 3
jne 0x4914aa
cmp esi, dword [esp + 0x40]
mov ecx, esi
mov dword [esp + 0x3c], esi
jge 0x4914aa
fldz
fld qword [0x572c30]
mov eax, dword [esp + 0x8c]
mov edx, ebx
add ebx, dword [esp + 0xac]
cmp eax, dword [esp + 0x44]
mov dword [esp + 0x34], edx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x30], eax
jge 0x491497
mov esi, dword [ebp + 8]
fxch st(1)
fst dword [esp + 0x1c]
fst dword [esp + 0x18]
fst dword [esp + 0x2c]
test esi, esi
jle 0x491445
mov edi, esi
sar edi, 1
mov eax, ecx
sub eax, edi
mov ebx, eax
imul eax, dword [esp + 0x78]
mov dword [esp + 0x28], eax
mov eax, edi
sub eax, ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x38], ebx
mov dword [esp + 0x4c], eax
cmp ebx, dword [esp + 0x84]
jge 0x49143d
test ebx, ebx
jl 0x491421
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x7c]
sub ecx, edi
imul eax, ecx
add eax, dword [esp + 0x28]
add eax, dword [esp + 0x70]
xor edx, edx
cmp ecx, dword [esp + 0x80]
jge 0x491419
test ecx, ecx
jl 0x49140c
mov ebx, dword [esp + 0x20]
mov ebp, dword [ebp]
add ebx, edx
fld dword [ebp + ebx*4]
movzx ebx, byte [eax]
fstp dword [esp + 0x14]
mov dword [esp + 0x24], ebx
movzx ebx, byte [eax + 1]
fild dword [esp + 0x24]
fld dword [esp + 0x14]
inc eax
fld st(0)
mov ebp, dword [esp + 0xe0]
fmulp st(2)
mov dword [esp + 0x24], ebx
fld dword [esp + 0x1c]
movzx ebx, byte [eax + 1]
faddp st(2)
fxch st(1)
inc eax
inc eax
fstp dword [esp + 0x1c]
fild dword [esp + 0x24]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x38]
fmul st(1)
fadd dword [esp + 0x18]
fstp dword [esp + 0x18]
fild dword [esp + 0x24]
fmulp st(1)
fadd dword [esp + 0x2c]
fstp dword [esp + 0x2c]
jmp 0x49140f
add eax, 3
inc edx
inc ecx
cmp edx, esi
jl 0x491393
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x78]
add dword [esp + 0x28], ecx
add dword [esp + 0x20], esi
inc ebx
lea ecx, [eax + ebx]
cmp ecx, esi
mov dword [esp + 0x38], ebx
jl 0x491367
mov ebx, dword [esp + 0x48]
mov ecx, dword [esp + 0x3c]
fld dword [esp + 0x1c]
inc edx
fadd st(2)
inc edx
inc edx
mov dword [esp + 0x34], edx
fstp qword [esp + 0x64]
fld dword [esp + 0x18]
movzx eax, byte [esp + 0x64]
fadd st(2)
mov byte [edx - 3], al
fstp qword [esp + 0x5c]
fld dword [esp + 0x2c]
movzx eax, byte [esp + 0x5c]
fadd st(2)
mov byte [edx - 2], al
fstp qword [esp + 0x54]
movzx eax, byte [esp + 0x54]
fxch st(1)
mov byte [edx - 1], al
mov eax, dword [esp + 0x30]
inc eax
cmp eax, dword [esp + 0x44]
mov dword [esp + 0x30], eax
jl 0x491327
inc ecx
cmp ecx, dword [esp + 0x40]
mov dword [esp + 0x3c], ecx
jl 0x491301
fstp st(1)
fstp st(0)
lea eax, [esp + 0x70]
call fcn.00490330
lea eax, [esp + 0xa4]
mov dword [esp + 0xd8], 0xffffffff
call fcn.00490330
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc8
ret 0x10