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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x434a0e
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x434a0e
mov edx, dword [ebp + 0x14]
test edx, edx
jle 0x434a0e
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x434a0e
mov ecx, dword [ebp + 0x28]
test ecx, ecx
jle 0x434a0e
mov eax, dword [ebp + 0x2c]
test eax, eax
jle 0x434a0e
fld qword [ebp + 0x38]
fld st(0)
fmul qword [0x4c5bd8]
fstp qword [esp + 0x48]
fcom qword [0x4c4a78]
fnstsw ax
test ah, 0x40
jne 0x4340a6
fcom qword [0x4c4c98]
fnstsw ax
test ah, 0x40
jne 0x4340a6
fcom qword [0x4c5bd0]
fnstsw ax
test ah, 0x40
je 0x434079
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0xbff00000
jmp 0x4340b6
fcom qword [0x4c5bc8]
fnstsw ax
test ah, 0x40
je 0x434098
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0x3ff00000
jmp 0x4340b6
fld qword [esp + 0x48]
fsin
fchs
fstp qword [esp + 0x68]
jmp 0x4340b6
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
fcom qword [0x4c5bd0]
fnstsw ax
test ah, 0x40
jne 0x43411c
fcom qword [0x4c5bc8]
fnstsw ax
test ah, 0x40
jne 0x43411c
fcom qword [0x4c4a78]
fnstsw ax
test ah, 0x40
je 0x4340f1
fstp st(0)
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0x3ff00000
jmp 0x43412e
fcomp qword [0x4c4c98]
fnstsw ax
test ah, 0x40
je 0x434110
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0xbff00000
jmp 0x43412e
fld qword [esp + 0x48]
fcos
fstp qword [esp + 0x70]
jmp 0x43412e
fstp st(0)
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea eax, [ecx + ecx*2]
mov ecx, dword [ebp + 0xc]
test edx, edx
mov byte [esp + 0x14], 0xff
mov byte [esp + 0x15], 0xff
mov byte [esp + 0x16], 0xff
mov dword [esp + 0xa4], eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x94], 0
jle 0x434a03
fild dword [ebp + 0x30]
mov ebx, dword [esp + 0x10]
fstp qword [esp + 0x118]
fild dword [ebp + 0x34]
fstp qword [esp + 0x128]
mov edx, dword [esp + 0x94]
mov ecx, dword [ebp + 0x1c]
sub edx, ecx
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x84], 0
fild dword [esp + 0x1c]
test eax, eax
fld st(0)
fmul qword [esp + 0x68]
fsubr qword [esp + 0x118]
fstp qword [esp + 0x120]
fmul qword [esp + 0x70]
fadd qword [esp + 0x128]
fstp qword [esp + 0x130]
jle 0x4349e9
mov eax, dword [esp + 0x84]
mov ecx, dword [ebp + 0x18]
sub eax, ecx
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fld st(0)
fmul qword [esp + 0x70]
fadd qword [esp + 0x120]
fstp qword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
fmul qword [esp + 0x68]
push ecx
push edx
fadd qword [esp + 0x138]
fstp qword [esp + 0x80]
call fcn.0049ac00
call fcn.004989f0
mov ecx, dword [esp + 0x80]
mov esi, eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x24], esi
push eax
push ecx
call fcn.0049ac00
add esp, 0x10
call fcn.004989f0
fild dword [esp + 0x1c]
mov dword [esp + 0x64], eax
test esi, esi
fsubr qword [esp + 0x48]
fld qword [0x4c4a80]
fsub st(1)
fild dword [esp + 0x64]
fsubr qword [esp + 0x78]
fstp qword [esp + 0x50]
fld qword [0x4c4a80]
fsub qword [esp + 0x50]
fld st(0)
fmul st(2)
fstp qword [esp + 0x48]
fmul st(2)
fstp qword [esp + 0x78]
fld qword [esp + 0x50]
fmul st(1)
fstp qword [esp + 0xb0]
fstp st(0)
fmul qword [esp + 0x50]
fld qword [0x4c4a78]
jl 0x434343
test eax, eax
jl 0x434343
mov edx, dword [ebp + 0x28]
cmp esi, edx
jge 0x434343
cmp eax, dword [ebp + 0x2c]
jge 0x434343
mov ecx, eax
mov edi, dword [ebp + 0x24]
imul ecx, edx
fstp st(0)
mov edx, dword [ebp + 0x20]
add ecx, esi
lea ecx, [ecx + ecx*2]
add edx, ecx
test edi, edi
je 0x4342cc
add ecx, edi
jmp 0x4342d0
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x38], ecx
xor ecx, ecx
mov cl, byte [edx]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0xbc], ecx
xor ecx, ecx
mov cl, byte [edx + 1]
mov dword [esp + 0x1c], 1
mov dword [esp + 0xdc], ecx
xor ecx, ecx
mov cl, byte [edx + 2]
mov dword [esp + 0x3c], edi
fld qword [esp + 0x48]
mov dword [esp + 0xfc], ecx
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x434351
mov edi, dword [esp + 0x18]
xor ecx, ecx
mov cl, byte [edi]
mov dword [esp + 0xc8], ecx
xor ecx, ecx
mov cl, byte [edi + 1]
mov dword [esp + 0xd8], ecx
xor ecx, ecx
mov cl, byte [edi + 2]
mov dword [esp + 0xe8], ecx
jmp 0x434351
xor edx, edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
inc esi
js 0x43441b
test eax, eax
jl 0x43441b
cmp esi, dword [ebp + 0x28]
jge 0x43441b
cmp eax, dword [ebp + 0x2c]
jge 0x43441b
test edx, edx
je 0x434389
mov ecx, dword [ebp + 0x24]
lea edi, [edx + 3]
test ecx, ecx
je 0x4343a4
mov ecx, dword [esp + 0x18]
add ecx, 3
jmp 0x4343a8
mov ecx, eax
mov edi, dword [ebp + 0x20]
imul ecx, dword [ebp + 0x28]
mov ebx, dword [ebp + 0x24]
add ecx, esi
lea ecx, [ecx + ecx*2]
add edi, ecx
test ebx, ebx
je 0x4343a4
add ecx, ebx
jmp 0x4343a8
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x28], ecx
xor ecx, ecx
mov cl, byte [edi]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0xf0], ecx
xor ecx, ecx
mov cl, byte [edi + 1]
mov dword [esp + 0x64], 1
mov dword [esp + 0xd4], ecx
xor ecx, ecx
mov cl, byte [edi + 2]
mov dword [esp + 0x2c], ebx
fadd qword [esp + 0x78]
mov dword [esp + 0xf4], ecx
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x43442b
mov ebx, dword [esp + 0x10]
xor ecx, ecx
mov cl, byte [ebx]
mov dword [esp + 0x114], ecx
xor ecx, ecx
mov cl, byte [ebx + 1]
mov dword [esp + 0x110], ecx
xor ecx, ecx
mov cl, byte [ebx + 2]
mov dword [esp + 0x10c], ecx
jmp 0x43442f
xor edi, edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
jmp 0x43442f
mov ebx, dword [esp + 0x10]
dec esi
inc eax
test esi, esi
jl 0x434547
test eax, eax
jl 0x434547
cmp esi, dword [ebp + 0x28]
jge 0x434547
cmp eax, dword [ebp + 0x2c]
jge 0x434547
test edx, edx
je 0x43446d
mov ecx, dword [esp + 0xa4]
mov ebx, dword [ebp + 0x24]
add edx, ecx
test ebx, ebx
je 0x434488
add dword [esp + 0x18], ecx
jmp 0x434490
mov ecx, eax
mov edx, dword [ebp + 0x20]
imul ecx, dword [ebp + 0x28]
mov ebx, dword [ebp + 0x24]
add ecx, esi
lea ecx, [ecx + ecx*2]
add edx, ecx
test ebx, ebx
je 0x434488
add ecx, ebx
jmp 0x43448c
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0x20], ecx
xor ecx, ecx
mov cl, byte [edx]
mov dword [esp + 0xa8], 1
mov dword [esp + 0x108], ecx
xor ecx, ecx
mov cl, byte [edx + 1]
mov dword [esp + 0x24], ebx
mov dword [esp + 0xcc], ecx
xor ecx, ecx
mov cl, byte [edx + 2]
fadd qword [esp + 0xb0]
mov dword [esp + 0xec], ecx
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x434509
mov ecx, dword [esp + 0x18]
xor ebx, ebx
mov bl, byte [ecx]
mov dword [esp + 0xb8], ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov dword [esp + 0xd0], ebx
xor ebx, ebx
mov bl, byte [ecx + 2]
mov dword [esp + 0xe0], ebx
mov ebx, dword [esp + 0x10]
inc esi
js 0x4345f4
test eax, eax
jl 0x4345f4
mov ecx, dword [ebp + 0x28]
cmp esi, ecx
jge 0x4345f4
cmp eax, dword [ebp + 0x2c]
jge 0x4345f4
test edx, edx
je 0x43455a
mov eax, dword [ebp + 0x24]
lea edi, [edx + 3]
test eax, eax
je 0x43458a
mov edx, dword [esp + 0x18]
lea ebx, [edx + 3]
jmp 0x43458e
xor edx, edx
mov dword [esp + 0xa8], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edx
jmp 0x43450d
test edi, edi
je 0x434572
mov eax, dword [esp + 0xa4]
mov ecx, dword [ebp + 0x24]
add edi, eax
test ecx, ecx
je 0x43458a
add ebx, eax
jmp 0x43458e
imul eax, ecx
mov ecx, dword [ebp + 0x20]
add eax, esi
lea eax, [eax + eax*2]
lea edi, [eax + ecx]
mov ecx, dword [ebp + 0x24]
test ecx, ecx
lea ebx, [eax + ecx]
jne 0x43458e
lea ebx, [esp + 0x14]
xor eax, eax
xor edx, edx
mov al, byte [edi + 1]
mov dl, byte [edi]
fld st(1)
mov dword [esp + 0xc4], eax
mov eax, dword [ebp + 0xc]
fstp qword [esp + 0x58]
xor ecx, ecx
mov dword [esp + 0x10], ebx
mov cl, byte [edi + 2]
mov dword [esp + 0xac], 1
test eax, eax
fadd st(1)
mov dword [esp + 0xc0], edx
mov dword [esp + 0xe4], ecx
je 0x43460f
xor edx, edx
xor eax, eax
mov dl, byte [ebx]
mov al, byte [ebx + 1]
xor ecx, ecx
mov dword [esp + 0x104], edx
mov cl, byte [ebx + 2]
mov dword [esp + 0xf8], eax
mov dword [esp + 0x100], ecx
jmp 0x43460f
mov dword [esp + 0xac], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
fcom qword [0x4c4a78]
fnstsw ax
test ah, 0x40
jne 0x434644
fld qword [esp + 0x38]
fdiv st(1)
fstp qword [esp + 0x38]
fld qword [esp + 0x28]
fdiv st(1)
fstp qword [esp + 0x28]
fld qword [esp + 0x20]
fdiv st(1)
fstp qword [esp + 0x20]
fld qword [esp + 0x58]
fdiv st(1)
fstp qword [esp + 0x58]
fstp st(0)
fild dword [esp + 0xc0]
fmul qword [esp + 0x58]
fild dword [esp + 0x108]
fmul qword [esp + 0x20]
faddp st(1)
fild dword [esp + 0xf0]
fmul qword [esp + 0x28]
faddp st(1)
fild dword [esp + 0xbc]
fmul qword [esp + 0x38]
faddp st(1)
fadd qword [0x4c4a88]
fstp qword [esp + 0x98]
fild dword [esp + 0xc4]
fmul qword [esp + 0x58]
fild dword [esp + 0xcc]
fmul qword [esp + 0x20]
faddp st(1)
fild dword [esp + 0xd4]
fmul qword [esp + 0x28]
faddp st(1)
fild dword [esp + 0xdc]
fmul qword [esp + 0x38]
faddp st(1)
fadd qword [0x4c4a88]
fstp qword [esp + 0x88]
fild dword [esp + 0xe4]
fmul qword [esp + 0x58]
fild dword [esp + 0xec]
fmul qword [esp + 0x20]
faddp st(1)
fild dword [esp + 0xf4]
fmul qword [esp + 0x28]
faddp st(1)
fild dword [esp + 0xfc]
fmul qword [esp + 0x38]
faddp st(1)
fadd qword [0x4c4a88]
fstp qword [esp + 0x50]
fld qword [esp + 0x98]
fcomp qword [0x4c4a78]
fnstsw ax
test ah, 0x41
je 0x434718
xor eax, eax
jmp 0x434744
fld qword [esp + 0x98]
fcomp qword [0x4c4a90]
fnstsw ax
test ah, 1
jne 0x434733
mov eax, 0xff
jmp 0x434744
fld qword [esp + 0x98]
call fcn.004989f0
and eax, 0xff
fld qword [esp + 0x88]
fcomp qword [0x4c4a78]
mov edx, dword [esp + 0x44]
mov byte [edx], al
fnstsw ax
test ah, 0x41
je 0x434762
xor eax, eax
jmp 0x43478e
fld qword [esp + 0x88]
fcomp qword [0x4c4a90]
fnstsw ax
test ah, 1
jne 0x43477d
mov eax, 0xff
jmp 0x43478e
fld qword [esp + 0x88]
call fcn.004989f0
and eax, 0xff
fld qword [esp + 0x50]
fcomp qword [0x4c4a78]
mov ecx, dword [esp + 0x44]
mov byte [ecx + 1], al
fnstsw ax
test ah, 0x41
je 0x4347aa
xor eax, eax
jmp 0x4347d0
fld qword [esp + 0x50]
fcomp qword [0x4c4a90]
fnstsw ax
test ah, 1
jne 0x4347c2
mov eax, 0xff
jmp 0x4347d0
fld qword [esp + 0x50]
call fcn.004989f0
and eax, 0xff
mov edx, dword [esp + 0x44]
mov byte [edx + 2], al
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4349b4
fimul dword [esp + 0xac]
fild dword [esp + 0xa8]
fmul qword [esp + 0xb0]
faddp st(1)
fild dword [esp + 0x64]
fmul qword [esp + 0x78]
faddp st(1)
fild dword [esp + 0x1c]
fmul qword [esp + 0x48]
faddp st(1)
fild dword [esp + 0x104]
fmul qword [esp + 0x58]
fild dword [esp + 0xb8]
fmul qword [esp + 0x20]
faddp st(1)
fild dword [esp + 0x114]
fmul qword [esp + 0x28]
faddp st(1)
fild dword [esp + 0xc8]
fmul qword [esp + 0x38]
faddp st(1)
fmul st(1)
fadd qword [0x4c4a88]
fstp qword [esp + 0x98]
fild dword [esp + 0xf8]
fmul qword [esp + 0x58]
fild dword [esp + 0xd0]
fmul qword [esp + 0x20]
faddp st(1)
fild dword [esp + 0x110]
fmul qword [esp + 0x28]
faddp st(1)
fild dword [esp + 0xd8]
fmul qword [esp + 0x38]
faddp st(1)
fmul st(1)
fadd qword [0x4c4a88]
fstp qword [esp + 0x88]
fild dword [esp + 0x100]
fmul qword [esp + 0x58]
fild dword [esp + 0xe0]
fmul qword [esp + 0x20]
faddp st(1)
fild dword [esp + 0x10c]
fmul qword [esp + 0x28]
faddp st(1)
fild dword [esp + 0xe8]
fmul qword [esp + 0x38]
faddp st(1)
fmul st(1)
fadd qword [0x4c4a88]
fstp qword [esp + 0x50]
fstp st(0)
fld qword [esp + 0x98]
fcomp qword [0x4c4a78]
fnstsw ax
test ah, 0x41
je 0x4348e7
xor eax, eax
jmp 0x434913
fld qword [esp + 0x98]
fcomp qword [0x4c4a90]
fnstsw ax
test ah, 1
jne 0x434902
mov eax, 0xff
jmp 0x434913
fld qword [esp + 0x98]
call fcn.004989f0
and eax, 0xff
fld qword [esp + 0x88]
fcomp qword [0x4c4a78]
mov ecx, dword [esp + 0x34]
mov byte [ecx], al
fnstsw ax
test ah, 0x41
je 0x434931
xor eax, eax
jmp 0x43495d
fld qword [esp + 0x88]
fcomp qword [0x4c4a90]
fnstsw ax
test ah, 1
jne 0x43494c
mov eax, 0xff
jmp 0x43495d
fld qword [esp + 0x88]
call fcn.004989f0
and eax, 0xff
fld qword [esp + 0x50]
fcomp qword [0x4c4a78]
mov edx, dword [esp + 0x34]
mov byte [edx + 1], al
fnstsw ax
test ah, 0x41
je 0x43497e
mov ecx, edx
xor eax, eax
mov byte [ecx + 2], al
jmp 0x4349b6
fld qword [esp + 0x50]
fcomp qword [0x4c4a90]
fnstsw ax
test ah, 1
jne 0x43499d
mov ecx, dword [esp + 0x34]
mov eax, 0xff
mov byte [ecx + 2], al
jmp 0x4349b6
fld qword [esp + 0x50]
call fcn.004989f0
mov ecx, dword [esp + 0x34]
and eax, 0xff
mov byte [ecx + 2], al
jmp 0x4349b6
fstp st(0)
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x34]
mov ecx, dword [ebp + 0x10]
mov eax, 3
add edi, eax
add esi, eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x44], edi
inc eax
mov dword [esp + 0x34], esi
cmp eax, ecx
mov dword [esp + 0x84], eax
jl 0x4341cd
mov eax, dword [esp + 0x94]
mov ecx, dword [ebp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x94], eax
jl 0x43417d
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x38
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x38