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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c4
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x449e26
mov esi, dword [0x500b94]
mov eax, dword [0x531970]
mov ecx, 6
lea edi, [esp + 0xf0]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x531974]
mov dl, byte [ebx + 4]
mov dword [esp + 0x18], eax
mov eax, dword [0x531978]
mov dword [esp + 0x1c], ecx
mov ecx, dword [0x53197c]
mov dword [esp + 0x20], eax
mov eax, dword [0x5006d0]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov eax, dword [eax]
test al, 1
mov byte [esp + 0xf], dl
je 0x4492e9
cmp dl, 1
jne 0x4492f2
mov ecx, dword [ebx + 0x74]
mov edx, dword [ebx + 0x70]
mov eax, dword [ebx + 0x6c]
lea esi, [ebx + 0x68]
push ecx
push edx
mov ecx, dword [esi]
mov edx, dword [0x53197c]
push eax
mov eax, dword [0x531978]
push ecx
mov ecx, dword [0x531974]
push edx
mov edx, dword [0x531970]
push eax
push ecx
push edx
call fcn.0041ae70
fcom qword [0x5318c0]
add esp, 0x20
fnstsw ax
test ah, 1
je 0x449e24
mov eax, dword [0x5007ec]
mov ecx, 6
fstp qword [0x5318c0]
mov edi, 0x531988
rep movsd dword es:[edi], dword [esi]
mov dword [eax], 1
mov ecx, dword [0x500b78]
mov dword [ecx], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dl, 1
je 0x449e26
test al, 2
je 0x4494c9
cmp dl, 2
je 0x449336
cmp dl, 4
je 0x449351
cmp dl, 7
je 0x44934c
cmp dl, 0x10
je 0x44934c
cmp dl, 0xf
jne 0x4494c9
fld qword [ebx + 0xe0]
fsub qword [ebx + 0xd8]
fcomp qword [0x5028a0]
fnstsw ax
test ah, 1
je 0x4494c9
jmp 0x449396
lea esi, [ebx + 0x68]
mov ecx, 6
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x80]
jmp 0x4493af
cmp dl, 4
jne 0x449387
lea edx, [esp + 0x98]
mov ecx, ebx
push edx
call dword [0x4ffde8]
mov ecx, 6
mov esi, eax
lea edi, [esp + 0x30]
lea eax, [esp + 0x98]
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, ebx
call dword [0x4ffde4]
mov ecx, 6
mov esi, eax
jmp 0x4493b4
cmp dl, 7
je 0x449396
cmp dl, 0x10
je 0x449396
cmp dl, 0xf
jne 0x4493bd
mov eax, dword [ebx + 0x6c]
mov ecx, 6
mov esi, eax
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x68]
lea ecx, [ecx + ecx*2]
lea esi, [eax + ecx*8]
mov ecx, 6
lea edi, [esp + 0x98]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
call fcn.0041ae70
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0xbc]
push ecx
mov ecx, dword [esp + 0xbc]
push edx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push eax
fstp qword [esp + 0xc0]
push ecx
push edx
call fcn.0041ae70
fcomp qword [esp + 0xc8]
add esp, 0x40
fnstsw ax
test ah, 1
je 0x44944d
mov ecx, 6
lea esi, [esp + 0x98]
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
call fcn.0041ae70
fld qword [0x5318c0]
fadd qword [0x502918]
fld st(1)
add esp, 0x20
fcompp
fnstsw ax
test ah, 1
je 0x4494c3
mov edx, dword [0x5007ec]
mov ecx, 6
fstp qword [0x5318c0]
lea esi, [esp + 0x30]
mov edi, 0x531988
rep movsd dword es:[edi], dword [esi]
mov dword [edx], 1
mov eax, dword [0x500b78]
mov dword [eax], 2
jmp 0x4494c5
fstp st(0)
mov dl, byte [esp + 0xf]
mov ecx, dword [0x5006d0]
test byte [ecx], 4
je 0x4495a2
cmp dl, 2
je 0x449512
cmp dl, 4
je 0x449512
cmp dl, 7
je 0x449512
cmp dl, 0x10
je 0x449512
cmp dl, 0xf
jne 0x4495a2
fld qword [ebx + 0xe0]
fsub qword [ebx + 0xd8]
fcomp qword [0x5028a0]
fnstsw ax
test ah, 1
je 0x4495a2
mov edx, dword [ebx]
lea eax, [esp + 0x98]
push eax
mov ecx, ebx
call dword [edx + 0x48]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
call fcn.0041ae70
fcom qword [0x5318c0]
add esp, 0x20
fnstsw ax
test ah, 1
je 0x44959c
mov eax, dword [0x5007ec]
mov ecx, 6
fstp qword [0x5318c0]
lea esi, [esp + 0x98]
mov edi, 0x531988
rep movsd dword es:[edi], dword [esi]
mov dword [eax], 1
mov ecx, dword [0x500b78]
mov dword [ecx], 3
jmp 0x44959e
fstp st(0)
mov dl, byte [esp + 0xf]
mov eax, dword [0x5006d0]
test byte [eax], 0x10
je 0x449808
cmp dl, 4
je 0x4495c5
cmp dl, 3
je 0x4495c5
cmp dl, 0xf
jne 0x449808
jmp 0x4495ca
cmp dl, 0xf
jne 0x449611
mov edx, dword [ebx + 0xcc]
mov eax, dword [ebx + 0xc0]
lea esi, [ebx + 0xa8]
mov ecx, 6
lea edi, [esp + 0x30]
mov dword [esp + 0x4c], edx
fld qword [ebx + 0xd0]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0xc8]
mov dword [esp + 0x90], eax
mov dword [esp + 0x48], ecx
mov ecx, dword [ebx + 0xc4]
mov dword [esp + 0x94], ecx
jmp 0x449638
mov edx, dword [0x500640]
lea esi, [ebx + 0x68]
mov ecx, 6
lea edi, [esp + 0x30]
fld qword [edx]
fld qword [ebx + 0xb0]
rep movsd dword es:[edi], dword [esi]
fst qword [esp + 0x48]
fstp qword [esp + 0x90]
fld st(0)
fcos
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0
mov dword [esp + 0x150], 0
mov dword [esp + 0x154], 0
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
lea ebx, [esp + 0x110]
fst qword [esp + 0xb8]
fmul qword [esp + 0x90]
fstp qword [esp + 0x10]
fsin
fld st(0)
fmul qword [esp + 0x90]
fld qword [esp + 0x30]
fadd qword [esp + 0x10]
fstp qword [esp + 0x110]
fld qword [esp + 0x38]
fadd st(1)
fstp qword [esp + 0x118]
fld qword [esp + 0x30]
fsub qword [esp + 0x10]
fstp qword [esp + 0x128]
fld qword [esp + 0x38]
fsub st(1)
fstp qword [esp + 0x130]
fstp st(0)
fld qword [esp + 0xb8]
fmul qword [esp + 0x48]
fstp qword [esp + 0x10]
fmul qword [esp + 0x48]
fld qword [esp + 0x30]
mov dword [esp + 0x48], 4
fadd st(1)
fstp qword [esp + 0x140]
fld qword [esp + 0x38]
fsub qword [esp + 0x10]
fstp qword [esp + 0x148]
fld qword [esp + 0x30]
fsub st(1)
fstp qword [esp + 0x158]
fstp st(0)
fld qword [esp + 0x38]
fadd qword [esp + 0x10]
fstp qword [esp + 0x160]
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 4]
push eax
mov eax, dword [ebx]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
call fcn.0041ae70
fstp qword [esp + 0x30]
lea edx, [esp + 0xd0]
lea eax, [esp + 0x70]
push edx
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x194]
push eax
push ecx
push edx
push ebx
call dword [0x500924]
fld qword [esp + 0xe4]
fcomp qword [0x502918]
add esp, 0x34
fnstsw ax
test ah, 1
je 0x4497f3
fld qword [esp + 0x10]
fcomp qword [0x5318c0]
fnstsw ax
test ah, 1
je 0x4497f3
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edx, dword [0x5007ec]
mov dword [0x5318c4], ecx
mov ecx, 6
mov esi, ebx
mov edi, 0x531988
mov dword [0x5318c0], eax
rep movsd dword es:[edi], dword [esi]
mov dword [edx], 1
mov eax, dword [0x500b78]
mov dword [eax], 5
mov eax, dword [esp + 0x48]
add ebx, 0x18
dec eax
mov dword [esp + 0x48], eax
jne 0x449747
mov ebx, dword [ebp + 8]
mov ecx, dword [0x5006d0]
test byte [ecx], 0x40
je 0x449b04
mov edx, dword [0x5005d0]
cmp dword [edx], 1
jne 0x449b04
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x50], eax
lea edx, [esp + 0x50]
lea eax, [esp + 0x70]
mov dword [esp + 0x54], ecx
push edx
push eax
lea ecx, [esp + 0xf8]
push ebx
push ecx
call dword [0x50091c]
mov edx, dword [0x500758]
mov dword [esp + 0x58], eax
mov esi, dword [0x500738]
lea edi, [esp + 0x198]
mov eax, dword [edx]
mov dword [esp + 0xc8], eax
mov ecx, dword [edx + 4]
mov edx, dword [0x50075c]
mov dword [esp + 0xcc], ecx
mov eax, dword [edx]
mov dword [esp + 0xe0], eax
mov ecx, dword [edx + 4]
mov edx, dword [0x500760]
mov dword [esp + 0xe4], ecx
mov eax, dword [edx]
mov dword [esp + 0xd8], eax
mov ecx, dword [edx + 4]
mov edx, dword [0x500750]
mov dword [esp + 0xdc], ecx
mov eax, dword [edx]
mov dword [esp + 0x98], eax
mov ecx, dword [edx + 4]
mov edx, dword [0x500754]
mov dword [esp + 0x9c], ecx
mov ecx, 0x12
mov eax, dword [edx]
mov edx, dword [esp + 0x88]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
call fcn.0041ae70
mov eax, dword [esp + 0x78]
add esp, 0x30
test eax, eax
je 0x449960
fcom qword [0x5318c0]
fnstsw ax
test ah, 1
je 0x449960
mov eax, dword [0x5007ec]
mov ecx, 6
fstp qword [0x5318c0]
lea esi, [esp + 0x70]
mov edi, 0x531988
rep movsd dword es:[edi], dword [esi]
mov dword [eax], 1
mov ecx, dword [0x500b78]
mov dword [ecx], 7
jmp 0x449962
fstp st(0)
mov al, byte [esp + 0xf]
cmp al, 4
je 0x449972
cmp al, 3
jne 0x449aa7
lea esi, [ebx + 0x68]
mov ecx, 6
lea edi, [esp + 0x30]
lea edx, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xfc]
lea eax, [esp + 0x70]
push edx
mov edx, dword [esp + 0xfc]
push eax
mov eax, dword [esp + 0xfc]
push ecx
mov ecx, dword [esp + 0xfc]
push edx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x9c]
push ecx
push edx
push eax
call fcn.0041bc60
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0xac]
push ecx
mov ecx, dword [esp + 0xac]
push edx
mov edx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x64]
push eax
push ecx
push edx
call fcn.0041ae70
add esp, 0x58
lea eax, [esp + 0xb0]
fstp qword [esp + 0x10]
lea ecx, [esp + 0x50]
push eax
lea edx, [esp + 0x174]
push ecx
push edx
lea eax, [esp + 0x7c]
push ebx
push eax
call dword [0x500924]
fld qword [esp + 0xc4]
fcomp qword [0x502918]
add esp, 0x14
fnstsw ax
test ah, 1
je 0x449aa7
fld qword [esp + 0x10]
fcomp qword [0x5318c0]
fnstsw ax
test ah, 1
je 0x449aa7
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [0x5007ec]
mov dword [0x5318c0], ecx
mov ecx, 6
lea esi, [esp + 0x70]
mov edi, 0x531988
mov dword [0x5318c4], edx
rep movsd dword es:[edi], dword [esi]
mov dword [eax], 1
mov ecx, dword [0x500b78]
mov dword [ecx], 7
fld qword [esp + 0xb8]
mov edx, dword [0x500758]
lea esi, [esp + 0x188]
fstp qword [edx]
fld qword [esp + 0xd0]
mov eax, dword [0x50075c]
fstp qword [eax]
fld qword [esp + 0xc8]
mov ecx, dword [0x500760]
fstp qword [ecx]
fld qword [esp + 0x88]
mov edx, dword [0x500750]
mov ecx, dword [esp + 0x90]
fstp qword [edx]
mov eax, dword [0x500754]
mov dword [eax], ecx
mov edi, dword [0x500738]
mov ecx, 0x12
rep movsd dword es:[edi], dword [esi]
mov edx, dword [0x5006d0]
test byte [edx], 0x80
je 0x449da1
mov eax, dword [0x5005d0]
cmp dword [eax], 1
jne 0x449da1
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x50], ecx
lea eax, [esp + 0x50]
lea ecx, [esp + 0x58]
mov dword [esp + 0x54], edx
push eax
push ecx
lea edx, [esp + 0xf8]
push ebx
push edx
call dword [0x500908]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov esi, eax
mov eax, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push ecx
call fcn.0041ae70
fstp qword [esp + 0x40]
add esp, 0x30
test esi, esi
je 0x449ca7
fld qword [esp + 0x10]
fcomp qword [0x5318c0]
fnstsw ax
test ah, 1
je 0x449ca7
mov al, byte [esp + 0xf]
cmp al, 2
jne 0x449c69
lea edx, [esp + 0x30]
lea eax, [esp + 0x98]
push edx
push eax
push ebx
call dword [0x500920]
lea ecx, [esp + 0x3c]
lea edx, [esp + 0xa4]
push ecx
push edx
call dword [0x50090c]
fstp qword [esp + 0xdc]
lea eax, [esp + 0x6c]
lea ecx, [esp + 0xac]
push eax
push ecx
call dword [0x50090c]
fstp qword [esp + 0xa4]
lea edx, [esp + 0x74]
lea eax, [esp + 0x4c]
push edx
push eax
call dword [0x50090c]
fadd qword [esp + 0xac]
add esp, 0x24
fsub qword [esp + 0xc8]
fcomp qword [0x502918]
fnstsw ax
test ah, 1
je 0x449da1
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [0x5007ec]
mov dword [0x5318c0], ecx
mov ecx, 6
lea esi, [esp + 0x58]
mov edi, 0x531988
mov dword [0x5318c4], edx
rep movsd dword es:[edi], dword [esi]
mov dword [eax], 1
mov ecx, dword [0x500b78]
mov dword [ecx], 8
jmp 0x449da1
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [0x5318c0], edx
mov edx, dword [0x5007ec]
mov dword [0x5318c4], ecx
mov ecx, 6
lea esi, [esp + 0x58]
mov edi, 0x531988
rep movsd dword es:[edi], dword [esi]
mov dword [edx], 1
mov ecx, dword [0x500b78]
mov dword [ecx], 8
jmp 0x449cab
mov al, byte [esp + 0xf]
cmp al, 4
je 0x449cb7
cmp al, 3
jne 0x449da1
lea esi, [ebx + 0x68]
mov ecx, 6
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
fld qword [esp + 0x30]
fsub qword [esp + 0x58]
fadd st(0), st(0)
fadd qword [esp + 0x58]
fstp qword [esp + 0x58]
fld qword [esp + 0x38]
fsub qword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
fadd st(0), st(0)
fadd qword [esp + 0x60]
fstp qword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
call fcn.0041ae70
fstp qword [esp + 0x30]
lea ecx, [esp + 0xd0]
lea edx, [esp + 0x70]
push ecx
lea eax, [esp + 0x194]
push edx
push eax
lea ecx, [esp + 0x84]
push ebx
push ecx
call dword [0x500924]
fld qword [esp + 0xe4]
fcomp qword [0x502918]
add esp, 0x34
fnstsw ax
test ah, 1
je 0x449da1
fld qword [esp + 0x10]
fcomp qword [0x5318c0]
fnstsw ax
test ah, 1
je 0x449da1
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, 6
lea esi, [esp + 0x58]
mov edi, 0x531988
mov dword [0x5318c0], edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x5007ec]
mov dword [0x5318c4], eax
mov dword [ecx], 1
mov edx, dword [0x500b78]
mov dword [edx], 8
mov eax, dword [0x5006d0]
mov ecx, dword [eax]
test ch, 1
je 0x449e26
mov ecx, dword [0x5007ec]
cmp dword [ecx], 0
jne 0x449e26
lea edx, [esp + 0x108]
lea eax, [esp + 0xc0]
push edx
lea ecx, [esp + 0xdc]
push eax
push ecx
lea edx, [esp + 0x24]
push ebx
push edx
call dword [0x500924]
fld qword [esp + 0x11c]
fcomp qword [0x5318c0]
add esp, 0x14
fnstsw ax
test ah, 1
je 0x449e26
mov eax, dword [0x5007ec]
mov ecx, 6
lea esi, [esp + 0xd8]
mov edi, 0x531988
rep movsd dword es:[edi], dword [esi]
mov dword [eax], 1
mov ecx, dword [0x500b78]
mov dword [ecx], 9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fstp st(0)
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret