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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ac2d0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x759990]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
call fcn.004a8c30
mov dword [ebp - 0x44], eax
push 0x12c
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x44]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
push edx
mov ecx, dword [ebp - 0x38]
call fcn.004a1970
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.004a18c0
movzx edx, al
test edx, edx
jne 0x4a0b81
xor al, al
jmp 0x4a100e
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.004a1930
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x78]
test eax, eax
je 0x4a0ba3
mov ecx, dword [ebp - 0x38]
call fcn.004a0370
mov ecx, dword [ebp - 0x38]
call fcn.004a34e0
test eax, eax
je 0x4a0c5f
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x50]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x57
call fcn.004a02d0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x40], eax
cvtsi2sd xmm0, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x40]
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x719470]
movsd qword [ebp - 0x6c], xmm0
cvtsd2ss xmm0, qword [ebp - 0x6c]
push ecx
movss dword [esp], xmm0
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x4c], edx
cvtsi2sd xmm0, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x719470]
movsd qword [ebp - 0x60], xmm0
cvtsd2ss xmm0, qword [ebp - 0x60]
push ecx
movss dword [esp], xmm0
call fcn.004a6970
add esp, 8
fstp dword [ebp - 0x54]
push ecx
movss xmm0, dword [ebp - 0x54]
movss dword [esp], xmm0
mov ecx, dword [ebp + 8]
cvtsi2ss xmm0, dword [ecx + 0x2c]
push ecx
movss dword [esp], xmm0
mov edx, dword [ebp + 8]
cvtsi2ss xmm0, dword [edx + 0x28]
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x34]
call fcn.004a8090
push eax
mov ecx, dword [ebp - 0x38]
call fcn.004b4390
jmp 0x4a0c83
mov eax, dword [ebp + 8]
cvtsi2ss xmm0, dword [eax + 0x2c]
push ecx
movss dword [esp], xmm0
mov ecx, dword [ebp + 8]
cvtsi2ss xmm0, dword [ecx + 0x28]
push ecx
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x38]
call fcn.004b43b0
mov edx, dword [ebp + 8]
cmp dword [edx + 0x50], 0
je 0x4a0c9b
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x50]
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.004a0a10
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x34]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.004a1ad0
mov ecx, dword [ebp - 0x38]
call fcn.004a32f0
test eax, eax
je 0x4a0d00
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x3c]
push edx
mov ecx, dword [ebp - 0x38]
call fcn.004a1be0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x4c]
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.004a1c30
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.004a1d20
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x48]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x40]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.004a2020
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.004a3f20
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x4c], ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov dword [edx + 0x58], ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [edx + 0x54], ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x50], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.004a1950
mov ecx, dword [ebp + 8]
push ecx
movss xmm0, dword [ecx + 0x30]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x38]
call fcn.004b4530
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x54]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.004a1990
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x7c]
push edx
mov ecx, dword [ebp - 0x38]
call fcn.004a3860
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x56]
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.004a19c0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.004b35e0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x24]
push edx
mov ecx, dword [ebp - 0x38]
call fcn.004b3570
mov ecx, dword [ebp - 0x38]
call fcn.004a30b0
test eax, eax
jne 0x4a0e00
push ecx
movss xmm0, dword [0x6bff04]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x38]
add ecx, 0x1fc
call fcn.005d9210
push ecx
movss xmm0, dword [0x6bff1c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x6bff20]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x38]
add ecx, 0x1fc
call fcn.005d91d0
mov ecx, dword [ebp - 0x38]
call fcn.004a34e0
test eax, eax
jne 0x4a0e1b
mov eax, dword [ebp + 8]
add eax, 0x57
push eax
mov ecx, dword [ebp - 0x38]
call fcn.004ad800
mov ecx, dword [ebp - 0x38]
call fcn.004ace80
mov ecx, dword [ebp - 0x38]
call fcn.004ad280
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
and edx, 2
je 0x4a0e79
push 2
mov ecx, dword [ebp - 0x38]
call fcn.004a9a50
movzx eax, al
test eax, eax
je 0x4a0e51
push 9
mov ecx, dword [ebp - 0x38]
call fcn.004acb80
mov ecx, dword [ebp - 0x38]
call fcn.004a32f0
test eax, eax
je 0x4a0e6b
push 1
push 1
mov ecx, dword [ebp - 0x38]
call fcn.004a39a0
jmp 0x4a0e77
push 0
push 0x19
mov ecx, dword [ebp - 0x38]
call fcn.004a39a0
jmp 0x4a0e85
push 1
push 1
mov ecx, dword [ebp - 0x38]
call fcn.004a39a0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
mov ecx, dword [ebp - 0x38]
call fcn.004ae160
mov ecx, dword [ebp - 0x38]
call fcn.004a1830
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
and ecx, 1
je 0x4a0eb5
mov ecx, dword [ebp - 0x38]
add ecx, 0x1fc
call fcn.005d0780
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.004a1a80
mov ecx, 4
shl ecx, 1
mov edx, dword [ecx + 0x76a768]
push edx
mov ecx, dword [ebp - 0x38]
add ecx, 0x1fc
call fcn.005d30a0
mov ecx, dword [ebp - 0x38]
call fcn.004a32f0
test eax, eax
jne 0x4a0f28
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
push ecx
call fcn.004a8c60
mov ecx, eax
call fcn.004d4c50
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x4a0f28
mov ecx, dword [ebp - 0x38]
call fcn.004a38f0
mov edx, dword [ebp - 0x48]
push edx
lea ecx, [ebp - 0x7c]
call fcn.004a8000
lea eax, [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.004a3930
mov ecx, dword [ebp - 0x38]
call fcn.004a4630
mov ecx, dword [ebp - 0x38]
call fcn.004a23a0
push eax
call fcn.004a8b80
add esp, 4
fstp dword [ebp - 0x3c]
movss xmm0, dword [ebp - 0x3c]
ucomiss xmm0, dword [0x6bff04]
lahf
test ah, 0x44
jnp 0x4a0f99
movss xmm0, dword [ebp - 0x3c]
divss xmm0, dword [0x6bff28]
movss dword [ebp - 0x3c], xmm0
push 1
push ecx
movss xmm0, dword [ebp - 0x3c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x3c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x3c]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x38]
add ecx, 0x1fc
call fcn.0058e6b0
mov dword [ebp - 0x64], 0x3778
mov ecx, dword [ebp - 0x38]
call fcn.004a23a0
cmp eax, 0x3778
jne 0x4a100c
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x58]
push edx
call fcn.00569210
add esp, 4
push eax
lea ecx, [ebp - 0x28]
call fcn.0045fe90
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00460200
push eax
call fcn.0057ee30
add esp, 4
movzx eax, al
test eax, eax
je 0x4a0ffd
lea ecx, [ebp - 0x28]
call fcn.00460200
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x1fc
call fcn.005d1f40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00460780
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00622d3e
mov esp, ebp
pop ebp
ret 4