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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d5f30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [0x6b3ed0]
mov dword [esp + 4], eax
mov eax, dword [0x6b3ed4]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x57c]
mov dword [ebx + 0x174], eax
mov eax, dword [esi + 0x580]
mov dword [ebx + 0x178], eax
movzx eax, word [esi + 0x584]
push edi
mov dword [ebx + 0x16c], eax
lea edi, [esi + 0x48]
mov eax, edi
mov dword [esp + 0xc], esi
call fcn.0043be6e
mov dword [ebx + 0x94], eax
mov eax, edi
call fcn.0043be3e
push 0
push 0xa
mov dword [ebx + 0x90], eax
push dword [esi + 0x1c4]
push dword [esi + 0x1c0]
call fcn.0057d0e0
push 0
push 0xa
mov dword [ebx + 0x9c], eax
push dword [esi + 0x84]
push dword [esi + 0x80]
call fcn.0057d0e0
mov edx, dword [esp + 0xc]
mov dword [ebx + 0x98], eax
push 5
pop ecx
add esi, 0x458
push 0x20
lea edi, [ebx + 0xb0]
rep movsd dword es:[edi], dword [esi]
lea esi, [edx + 0x3d0]
pop ecx
lea edi, [ebx + 0x10]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [edx + 0x578]
mov dword [ebx + 0x160], eax
mov eax, dword [edx + 0x40]
mov dword [ebx + 0x164], eax
mov eax, dword [edx + 0x44]
mov dword [ebx + 0x168], eax
mov eax, dword [edx + 0x534]
mov dword [ebx + 0x170], eax
mov eax, dword [edx + 0x4b8]
sub eax, dword [edx + 0x4b4]
push 0xc
cdq
pop ecx
idiv ecx
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x498d5e
or dword [ebx + 0xf4], 0xffffffff
jmp 0x498d96
mov eax, dword [edi + 0x328]
sub eax, dword [esp + 0x10]
mov ecx, dword [edi + 0x32c]
sbb ecx, dword [esp + 0x14]
mov esi, dword [edi + 0x2c8]
push ecx
push eax
add esi, 0x7d4
call fcn.00421228
add eax, dword [edi + 0x330]
pop ecx
add eax, dword [esi + 0x30]
pop ecx
mov dword [ebx + 0xf4], eax
push 0
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
call fcn.00494ad1
mov ecx, dword [eax]
mov dword [ebx + 0xe8], ecx
mov eax, dword [eax + 4]
mov dword [ebx + 0xec], eax
mov eax, dword [edi + 0x528]
mov dword [ebx + 0xf0], eax
mov al, byte [edi + 0x2ec]
mov byte [ebx + 0x10c], al
mov al, byte [edi + 0x2ed]
mov byte [ebx + 0x10d], al
mov eax, dword [edi + 0x1b8]
mov ecx, dword [edi + 0x1bc]
mov dword [ebx + 0xa0], eax
mov dword [ebx + 0xa4], ecx
mov eax, dword [edi + 0x78]
mov ecx, dword [edi + 0x7c]
mov dword [ebx + 0xa8], eax
mov dword [ebx + 0xac], ecx
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x498e13
or dword [ebx + 0xd0], 0xffffffff
jmp 0x498e19
mov dword [ebx + 0xd0], eax
mov eax, dword [edi + 0x38]
test eax, eax
jne 0x498e29
or dword [ebx + 0xd4], 0xffffffff
jmp 0x498e2f
mov dword [ebx + 0xd4], eax
mov eax, dword [edi + 0x358]
mov ecx, dword [edi + 0x35c]
mov dword [ebx + 0x110], eax
mov dword [ebx + 0x114], ecx
mov eax, dword [edi + 0x4a0]
sub eax, dword [edi + 0x49c]
push 0xc
cdq
pop ecx
idiv ecx
push 0xc
pop esi
mov ecx, eax
mov eax, dword [edi + 0x4b8]
sub eax, dword [edi + 0x4b4]
cdq
idiv esi
add ecx, eax
mov dword [ebx + 0x118], ecx
mov eax, dword [edi + 0x518]
sub eax, dword [edi + 0x514]
sar eax, 2
mov dword [ebx + 0x11c], eax
test byte [edi + 0x58b], 0x80
je 0x498e98
xor eax, eax
inc eax
jmp 0x498e9f
movzx eax, byte [edi + 0x587]
mov dword [ebx + 0x120], eax
mov eax, dword [edi + 0x488]
sub eax, dword [edi + 0x484]
push 0xc
cdq
pop ecx
idiv ecx
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
mov dword [ebx + 0x124], eax
mov eax, dword [edi]
call dword [eax + 0x14]
xor eax, eax
mov dword [esp + 0x44], eax
movzx ecx, byte [esp + 0x24]
neg ecx
sbb ecx, ecx
test ecx, 0x4a2c3d
je 0x498f17
lea esi, [esp + 0x24]
call fcn.004832b2
mov eax, dword [eax]
mov dword [ebx + 0x12c], eax
call fcn.004832b2
mov eax, dword [eax + 4]
mov dword [ebx + 0x130], eax
call fcn.004832b2
mov eax, dword [eax + 8]
mov dword [ebx + 0x134], eax
call fcn.004832b2
mov eax, dword [eax + 0xc]
jmp 0x498f2b
or dword [ebx + 0x12c], 0xffffffff
or dword [ebx + 0x130], 0xffffffff
mov dword [ebx + 0x134], eax
mov dword [ebx + 0x138], eax
or dword [esp + 0x44], 0xffffffff
lea eax, [esp + 0x24]
push eax
call fcn.004a2b97
lea ecx, [ebx + 0xc4]
lea eax, [edi + 0x46c]
push ecx
call fcn.004717ed
mov ecx, dword [edi + 0x300]
mov edx, dword [edi + 0x304]
mov eax, dword [esp + 0x10]
sub eax, ecx
mov ecx, dword [esp + 0x14]
sbb ecx, edx
lea esi, [edi + 0x318]
add edi, 0x320
mov dword [ebx + 0xd8], eax
mov dword [ebx + 0xdc], ecx
call fcn.004857ae
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x14]
sbb ecx, edx
mov dword [ebx + 0xe4], ecx
xor edi, edi
mov dword [ebx + 0xe0], eax
mov dword [ebx], edi
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x28]
mov ecx, esi
call fcn.0049be92
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x400
or dword [ebx], eax
movzx eax, byte [esi + 0x58b]
mov ecx, dword [ebx]
and eax, 0x10
shl eax, 8
or eax, ecx
mov dword [ebx], eax
movzx ecx, byte [esi + 0x58b]
and ecx, 8
shl ecx, 0xa
or ecx, eax
mov dword [ebx], ecx
movzx eax, byte [esi + 0x58b]
and eax, 0x80
shl eax, 7
or eax, ecx
mov dword [ebx], eax
mov eax, dword [esi + 0x560]
cmp eax, edi
je 0x49904a
mov ecx, dword [eax + 0x30]
shr ecx, 8
and ecx, 0x3f
mov dword [ebx + 4], ecx
mov ecx, dword [eax + 0x28]
and ecx, 0x1f
mov dword [ebx + 0x128], ecx
movzx ecx, byte [eax + 0x24]
mov dword [ebx + 0x108], ecx
movzx ecx, byte [eax + 0x34]
and ecx, 2
shl ecx, 8
or dword [ebx], ecx
movzx eax, byte [eax + 0x2c]
mov ecx, dword [ebx]
and eax, 2
shl eax, 0xa
or eax, ecx
mov dword [ebx], eax
jmp 0x499059
mov dword [ebx + 4], edi
mov dword [ebx + 0x128], edi
mov dword [ebx + 0x108], edi
mov eax, dword [esi + 0x574]
mov dword [ebx + 0x15c], eax
mov eax, dword [esi + 0x3a8]
mov dword [ebx + 0xf8], eax
mov eax, dword [esi + 0x3a4]
mov dword [ebx + 0xfc], eax
mov ecx, dword [esi + 0x548]
lea eax, [esi + 0x370]
add ecx, dword [eax + 8]
sub ecx, dword [eax]
mov dword [ebx + 0x100], ecx
mov eax, dword [esi + 0x544]
mov dword [ebx + 0x104], eax
mov al, byte [esi + 0xc]
mov byte [ebx + 9], al
mov al, byte [esi + 0xd]
mov esi, dword [ebx + 0xc8]
add esi, esi
sar esi, 1
mov byte [ebx + 8], al
jne 0x4990c8
fldz
mov dword [ebx + 0x180], edi
fstp dword [ebx + 0x17c]
jmp 0x499110
lea edi, [ebx + 0xc4]
mov eax, edi
call fcn.00492015
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
mov eax, esi
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
test eax, eax
jge 0x4990f1
fadd dword [0x635c20]
fdivp st(1)
mov eax, edi
fstp dword [ebx + 0x17c]
call fcn.00492015
imul eax, eax, 0xf4240
xor edx, edx
div esi
mov dword [ebx + 0x180], eax
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4