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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x635a55
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
mov eax, dword [0x6b55d0]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x13c], eax
mov byte [esi + 0x2976], bl
call fcn.00401ca8
cmp dword [eax + 0x38c], 2
mov ecx, dword [esi + 0x7c]
mov eax, dword [ecx]
sete byte [esp + 0x1f]
call dword [eax + 0x3c]
test eax, eax
jne 0x4a4a5c
call fcn.00403760
mov eax, dword [eax + 0x2d0]
mov dword [esp + 0x30], eax
call fcn.00403760
mov eax, dword [eax + 0x2d4]
jmp 0x4a4a76
call fcn.00403760
mov eax, dword [eax + 0x2d8]
mov dword [esp + 0x30], eax
call fcn.00403760
mov eax, dword [eax + 0x2dc]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], ebx
call fcn.004012af
lea ecx, [eax + 0x3c]
call fcn.0044fbd0
test eax, eax
jle 0x4a4d02
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x64]
je 0x4a4ce7
push eax
call fcn.004012af
mov ecx, eax
call fcn.004a1c1a
mov edi, eax
cmp byte [edi + 0x84], bl
jne 0x4a4aff
cmp dword [edi + 0x48], 4
jne 0x4a4aff
push edi
push esi
call fcn.004012af
mov ecx, eax
call fcn.004a08e2
fcom dword [esp + 0x30]
fnstsw ax
test ah, 5
jp 0x4a4af4
cmp byte [esp + 0x1f], bl
fstp st(0)
je 0x4a4ae6
mov eax, dword [edi + 0x6c]
cmp eax, dword [esi + 0x6c]
je 0x4a4b0a
mov eax, dword [esp + 0x14]
mov byte [eax + esi + 0x2970], 1
jmp 0x4a4b0a
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x4a4b0a
mov eax, dword [esp + 0x14]
mov byte [eax + esi + 0x2970], bl
mov eax, dword [esp + 0x14]
lea eax, [eax + esi + 0x2970]
cmp byte [eax], bl
je 0x4a4cd1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
fld dword [eax + 4]
mov ecx, dword [eax + 8]
fadd dword [0x6431e4]
mov eax, dword [eax]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x34], eax
fstp dword [esp + 0x24]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
fld dword [eax + 8]
fst dword [esp + 0x20]
fld dword [eax + 4]
fadd dword [0x6431e4]
fst dword [esp + 0x18]
fld dword [eax]
mov eax, dword [esp + 0x34]
fst dword [esp + 0x78]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x24]
fldz
fstp dword [esp + 0x4c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x48], eax
fstp dword [esp + 0x50]
lea eax, [esp + 0x90]
push eax
fstp dword [esp + 0x58]
lea eax, [esp + 0x44]
push eax
fstp dword [esp + 0x60]
mov byte [esp + 0x68], bl
fldz
mov dword [esp + 0xb8], ebx
fstp dword [esp + 0x64]
fld1
fstp dword [esp + 0xac]
call fcn.0040617e
mov ecx, eax
call fcn.005dfbcd
mov ecx, eax
call fcn.00536c00
mov ecx, dword [esp + 0xb0]
cmp ecx, ebx
setne al
cmp al, bl
mov byte [esp + 0x13], bl
je 0x4a4cd1
fld dword [esp + 0xa4]
fcomp dword [0x653184]
fnstsw ax
test ah, 1
je 0x4a4cd1
cmp dword [ecx + 0x18], 1
jne 0x4a4bfe
mov edi, dword [ecx + 0x20]
jmp 0x4a4c00
xor edi, edi
cmp edi, ebx
je 0x4a4c3c
push dword [0x6a6018]
push edi
call fcn.0046dabe
test al, al
pop ecx
pop ecx
je 0x4a4c1b
mov byte [esp + 0x13], 1
push dword [0x6a41b8]
push edi
call fcn.0046dabe
test al, al
pop ecx
pop ecx
je 0x4a4c32
mov byte [esp + 0x13], 1
cmp byte [esp + 0x13], bl
jne 0x4a4cc4
fld1
mov dword [esp + 0xb0], ebx
fstp dword [esp + 0xa4]
fld dword [esp + 0x20]
fsub dword [esp + 0x28]
fstp dword [esp + 0x20]
fld dword [esp + 0x18]
fsub dword [esp + 0x24]
fstp dword [esp + 0x18]
fld dword [esp + 0x78]
fsub dword [esp + 0x34]
fld dword [0x6484bc]
fld dword [esp + 0x20]
fmul st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x18]
fmul st(1)
fstp dword [esp + 0x18]
fld st(1)
fmul st(1)
fstp dword [esp + 0x84]
fstp st(0)
fstp st(0)
fld dword [esp + 0x20]
fadd dword [esp + 0x28]
fld dword [esp + 0x18]
fadd dword [esp + 0x24]
fld dword [esp + 0x84]
fadd dword [esp + 0x34]
fstp dword [esp + 0x40]
fstp dword [esp + 0x44]
fstp dword [esp + 0x48]
fldz
fstp dword [esp + 0x4c]
jmp 0x4a4cd1
mov eax, dword [esp + 0x14]
lea eax, [eax + esi + 0x2970]
mov byte [eax], bl
mov eax, dword [esp + 0x14]
lea eax, [eax + esi + 0x2970]
cmp byte [eax], bl
je 0x4a4ce7
mov byte [esi + 0x2976], 1
inc dword [esp + 0x14]
call fcn.004012af
lea ecx, [eax + 0x3c]
call fcn.0044fbd0
cmp dword [esp + 0x14], eax
jl 0x4a4a93
cmp byte [esi + 0x2976], bl
je 0x4a4eb2
mov ecx, dword [esi + 0x7c]
mov eax, dword [ecx]
call dword [eax + 0x3c]
test eax, eax
jne 0x4a4eb2
mov eax, dword [esi + 0x48]
cmp eax, 5
je 0x4a4eb2
cmp eax, 4
je 0x4a4eb2
mov ecx, esi
call fcn.00432116
test al, al
je 0x4a4eb2
mov ecx, esi
call fcn.004a35b5
test al, al
jne 0x4a4eb2
mov eax, dword [esi + 0x64]
push 0xd
push eax
lea eax, [esp + 0xf0]
push eax
call fcn.00406252
mov ecx, eax
call fcn.004c4487
push ebx
lea eax, [esp + 0xd0]
push 0xc82
push eax
mov dword [esp + 0x158], ebx
call fcn.00403795
mov ecx, eax
call fcn.0048d781
mov edi, eax
lea ecx, [esp + 0xe8]
mov byte [esp + 0x14c], 1
call fcn.004935c3
push eax
mov ecx, edi
call fcn.00493639
push eax
lea eax, [esp + 0x128]
push eax
call fcn.00493ef3
add esp, 0xc
lea ecx, [esp + 0xcc]
mov byte [esp + 0x14c], 3
call fcn.00402a58
call fcn.004061e8
fld dword [eax + 8]
fmul dword [0x648448]
push ecx
push ecx
fstp qword [esp]
call fcn.00602454
fmul dword [0x643218]
pop ecx
pop ecx
fadd dword [0x64526c]
lea ecx, [esp + 0x120]
fstp dword [esp + 0x18]
call fcn.004935c3
fld dword [esp + 0x18]
push eax
push ecx
push ecx
fstp qword [esp]
lea eax, [esp + 0x110]
push str._scale__f__s__scale_
push eax
call fcn.00493ef3
add esp, 0x14
fld dword [0x643218]
mov edi, dword [esi + 0x64]
push ebx
push ebx
push 7
push ebx
push ecx
lea ecx, [esp + 0x118]
fstp dword [esp]
mov byte [esp + 0x160], 4
call fcn.00493639
push eax
push edi
call fcn.00401d7c
mov ecx, eax
call fcn.0041bfaf
add esi, 0x29dc
cmp byte [esi], bl
jne 0x4a4e72
call fcn.00405e98
push str.jack_this
call fcn.00486566
pop ecx
lea ecx, [esp + 0x104]
mov byte [esi], 1
mov byte [esp + 0x14c], 3
call fcn.00402a58
lea ecx, [esp + 0x120]
mov byte [esp + 0x14c], bl
call fcn.00402a58
or dword [esp + 0x14c], 0xffffffff
lea ecx, [esp + 0xe8]
call fcn.00402a58
jmp 0x4a4eb8
mov byte [esi + 0x29dc], bl
mov ecx, dword [esp + 0x144]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x13c]
call fcn.006009d4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret