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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov esi, ecx
mov eax, dword [0x1035678c]
mov ecx, dword [eax]
mov ecx, dword [ecx]
test ecx, ecx
je 0x10036e07
mov edx, dword [eax + 0x128]
cmp byte [edx + ecx], 0
je 0x10036e11
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov eax, dword [eax + 0x1c]
cmp dword [eax + ecx], 0
jle 0x10036e07
cmp byte [esi + 0x24], 0
je 0x10036e07
mov ecx, dword [0x10356790]
mov eax, dword [0x103567bc]
add eax, 0x14
mov dword [esp], eax
call fcn.10015610
sub esp, 4
test al, al
jne 0x10036e07
mov ecx, dword [0x10356790]
lea eax, [esi + 0x78]
mov dword [esp], eax
call fcn.10015610
sub esp, 4
test al, al
jne 0x10036e07
mov ecx, dword [0x10356790]
lea eax, [esi + 0x54]
mov dword [esp], eax
call fcn.10015610
sub esp, 4
mov ecx, 2
mov bl, 1
test al, al
jne 0x10036eab
mov ecx, dword [0x10356790]
lea eax, [esi + 0x60]
mov dword [esp], eax
call fcn.10015610
sub esp, 4
mov ecx, 1
test al, al
jne 0x10036eab
mov ecx, dword [0x10356790]
lea eax, [esi + 0x6c]
mov dword [esp], eax
call fcn.10015610
sub esp, 4
mov ebx, eax
movzx ecx, al
dec ecx
cmp byte [0x10356a24], bl
je 0x10036ed0
test bl, bl
je 0x10036eca
cmp ecx, dword [0x10356a20]
mov eax, 0xffffffff
cmovne eax, ecx
mov dword [0x10356a20], eax
mov byte [0x10356a24], bl
mov eax, dword [0x10356a20]
lea ecx, [eax + 1]
cmp ecx, 2
jb 0x10036ef9
cmp eax, 2
je 0x10036ffb
cmp eax, 1
jne 0x10036e07
mov eax, 2
jmp 0x10037000
mov eax, dword [0x103567d8]
mov dword [eax + 0x157c], 0
mov eax, dword [0x10356a0c]
test al, 1
je 0x100374f6
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
movss xmm0, dword [edx + 0x20]
addss xmm0, dword [0x10356a08]
movss dword [0x10356a08], xmm0
mov dword [esp + 0x10], 0x7a96b823
mov eax, dword [esp + 0x10]
bswap eax
mov dword [esp + 0x10], eax
add dword [esp + 0x10], 0x14c76987
mov eax, dword [esp + 0x10]
rol eax, 0xd
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
cvtsi2ss xmm1, eax
mov dword [esp + 0x10], 0xe106bf1c
mov eax, dword [esp + 0x10]
bswap eax
mov dword [esp + 0x10], eax
add dword [esp + 0x10], 0x1bc0f920
mov eax, dword [esp + 0x10]
rol eax, 0xd
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
cvtsi2ss xmm2, eax
divss xmm1, xmm2
ucomiss xmm0, xmm1
jb 0x10036fae
mov dword [0x10356a08], 0
mov eax, dword [0x10356a0c]
test al, 2
je 0x10037527
mov eax, dword [0x1035678c]
mov ecx, dword [eax]
mov eax, dword [eax + 0x30]
mov ecx, dword [ecx]
movss xmm0, dword [eax + ecx]
movss xmm1, dword [eax + ecx + 4]
mulss xmm0, xmm0
xorps xmm2, xmm2
addss xmm2, xmm0
mulss xmm1, xmm1
addss xmm1, xmm2
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jb 0x10037011
sqrtsd xmm0, xmm0
jmp 0x10037025
mov eax, 1
mov ecx, dword [0x103567d8]
mov dword [ecx + 0x157c], eax
jmp 0x10036e07
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
fstp qword [esp + 0x28]
movsd xmm0, qword [esp + 0x28]
cvtsd2ss xmm0, xmm0
mov dword [esp + 0x10], 0x7f96b805
mov eax, dword [esp + 0x10]
bswap eax
mov dword [esp + 0x10], eax
add dword [esp + 0x10], 0x14c76987
mov eax, dword [esp + 0x10]
rol eax, 0xd
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mov dword [esp + 0x10], 0xe106bf1c
mov eax, dword [esp + 0x10]
bswap eax
mov dword [esp + 0x10], eax
add dword [esp + 0x10], 0x1bc0f920
mov eax, dword [esp + 0x10]
rol eax, 0xd
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
xorps xmm2, xmm2
cvtsi2ss xmm2, eax
divss xmm1, xmm2
ucomiss xmm0, xmm1
ja 0x10036e07
movss xmm2, dword [esi + 0x38]
mulss xmm2, dword [0x10154d80]
mov dword [esp + 0x10], 0xf39638fd
mov eax, dword [esp + 0x10]
bswap eax
mov dword [esp + 0x10], eax
add dword [esp + 0x10], 0x14c76987
mov eax, dword [esp + 0x10]
rol eax, 0xd
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mov dword [esp + 0x10], 0xe106bf1c
mov eax, dword [esp + 0x10]
bswap eax
mov dword [esp + 0x10], eax
add dword [esp + 0x10], 0x1bc0f920
mov eax, dword [esp + 0x10]
rol eax, 0xd
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
divss xmm0, xmm1
divss xmm2, xmm0
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
movss xmm0, dword [edx + 0x10]
movss dword [esp + 0x18], xmm2
mulss xmm0, xmm2
mulss xmm0, dword [0x10155fdc]
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
fstp dword [esp + 0x24]
movss xmm0, dword [esp + 0x24]
movss xmm1, dword [esi + 0x3c]
mov dword [esp + 0x10], 0xf39638fd
mov eax, dword [esp + 0x10]
bswap eax
mov dword [esp + 0x10], eax
add dword [esp + 0x10], 0x14c76987
mov eax, dword [esp + 0x10]
rol eax, 0xd
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x10], 0xe106bf1c
mov eax, dword [esp + 0x10]
bswap eax
mov dword [esp + 0x10], eax
add dword [esp + 0x10], 0x1bc0f920
mov eax, dword [esp + 0x10]
rol eax, 0xd
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
mov dword [esp + 0x10], 0xb973867
mov eax, dword [esp + 0x10]
bswap eax
mov dword [esp + 0x10], eax
add dword [esp + 0x10], 0x14c76987
mov eax, dword [esp + 0x10]
rol eax, 0xd
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x10], 0xe106bf1c
mov eax, dword [esp + 0x10]
bswap eax
mov dword [esp + 0x10], eax
add dword [esp + 0x10], 0x1bc0f920
mov eax, dword [esp + 0x10]
rol eax, 0xd
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
cmp byte [esi + 0x23], 0
je 0x100372b7
mov dword [esp + 0x14], eax
mov eax, dword [esi + 4]
cmp dword [esi + 0xc], eax
je 0x1003721f
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
inc eax
mov dword [esi + 8], eax
cmp eax, dword [esi + 0x4c]
jge 0x10037228
movzx eax, byte [0x10356a10]
jmp 0x1003723d
mov dword [esi + 8], 0
movzx eax, byte [0x10356a10]
xor al, 1
mov byte [0x10356a10], al
movss xmm2, dword [esi + 0x40]
mov dword [esp + 0x10], 0xf39638fd
mov edi, dword [esp + 0x10]
bswap edi
mov dword [esp + 0x10], edi
add dword [esp + 0x10], 0x14c76987
mov edi, dword [esp + 0x10]
rol edi, 0xd
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x10]
cvtsi2ss xmm3, edi
mov dword [esp + 0x10], 0xe106bf1c
mov edi, dword [esp + 0x10]
bswap edi
mov dword [esp + 0x10], edi
add dword [esp + 0x10], 0x1bc0f920
mov edi, dword [esp + 0x10]
rol edi, 0xd
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x10]
cvtsi2ss xmm4, edi
divss xmm3, xmm4
divss xmm2, xmm3
test al, al
jne 0x100372af
xorps xmm2, xmmword [0x101540d0]
mov eax, dword [esp + 0x14]
addss xmm0, xmm2
mov edi, dword [ebp + 8]
cmp byte [esi + 0x22], 0
je 0x1003742f
movss xmm0, dword [esp + 0x18]
mulss xmm0, dword [0x10356a08]
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_exp
fstp dword [esp + 0x20]
movss xmm1, dword [esi + 0x3c]
mov dword [esp + 0x10], 0xb973867
mov eax, dword [esp + 0x10]
bswap eax
mov dword [esp + 0x10], eax
add dword [esp + 0x10], 0x14c76987
mov eax, dword [esp + 0x10]
rol eax, 0xd
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mov dword [esp + 0x10], 0xe106bf1c
mov eax, dword [esp + 0x10]
bswap eax
mov dword [esp + 0x10], eax
add dword [esp + 0x10], 0x1bc0f920
mov eax, dword [esp + 0x10]
rol eax, 0xd
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
xorps xmm2, xmm2
cvtsi2ss xmm2, eax
mov dword [esp + 0x10], 0xf39638fd
mov eax, dword [esp + 0x10]
bswap eax
mov dword [esp + 0x10], eax
add dword [esp + 0x10], 0x14c76987
mov eax, dword [esp + 0x10]
rol eax, 0xd
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
xorps xmm3, xmm3
cvtsi2ss xmm3, eax
mov dword [esp + 0x10], 0xe106bf1c
mov eax, dword [esp + 0x10]
bswap eax
mov dword [esp + 0x10], eax
add dword [esp + 0x10], 0x1bc0f920
mov eax, dword [esp + 0x10]
rol eax, 0xd
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
xorps xmm4, xmm4
cvtsi2ss xmm4, eax
divss xmm0, xmm2
mulss xmm0, xmm1
divss xmm3, xmm4
divss xmm0, xmm3
mulss xmm0, dword [esp + 0x20]
cmp byte [0x10356a10], 0
je 0x10037466
mov dword [esp + 0x10], 0xc2963829
mov eax, dword [esp + 0x10]
bswap eax
mov dword [esp + 0x10], eax
add dword [esp + 0x10], 0x14c76987
mov eax, dword [esp + 0x10]
rol eax, 0xd
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
xorps xmm2, xmm2
cvtsi2ss xmm2, eax
mov dword [esp + 0x10], 0xe106bf1c
mov eax, dword [esp + 0x10]
bswap eax
mov dword [esp + 0x10], eax
add dword [esp + 0x10], 0x1bc0f920
mov eax, dword [esp + 0x10]
rol eax, 0xd
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
cvtsi2ss xmm1, eax
divss xmm2, xmm1
jmp 0x10037475
xorps xmm2, xmm2
cvtsi2ss xmm2, ecx
xorps xmm3, xmm3
cvtsi2ss xmm3, edx
divss xmm2, xmm3
divss xmm1, xmm2
xorps xmm2, xmm2
cvtsi2ss xmm2, ebx
xorps xmm3, xmm3
cvtsi2ss xmm3, eax
divss xmm2, xmm3
mulss xmm2, xmm1
mulss xmm2, xmm0
addss xmm2, dword [edi + 0x10]
jmp 0x1003747e
xorps xmm0, xmmword [0x101540d0]
movss xmm2, dword [0x1015608c]
addss xmm2, dword [edi + 0x10]
addss xmm2, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm2
movsd qword [esp], xmm0
mov dword [esp + 0xc], 0x40768000
mov dword [esp + 8], 0
call sub.api_ms_win_crt_math_l1_1_0.dll_fmod
fstp dword [esp + 0x1c]
movss xmm1, dword [esp + 0x1c]
movss xmm2, dword [0x10154db0]
addss xmm2, xmm1
movss xmm0, dword [0x10154dac]
cmpltss xmm0, xmm1
andps xmm2, xmm0
andnps xmm0, xmm1
orps xmm0, xmm2
movss xmm1, dword [0x10154da8]
addss xmm1, xmm0
movaps xmm2, xmm0
cmpltss xmm2, dword [0x10154da4]
andps xmm1, xmm2
andnps xmm2, xmm0
orps xmm2, xmm1
movss dword [edi + 0x10], xmm2
jmp 0x10036e07
or eax, 1
mov dword [0x10356a0c], eax
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
movss xmm0, dword [edx + 0x20]
movss dword [0x10356a08], xmm0
jmp 0x10036f15
or eax, 2
mov dword [0x10356a0c], eax
jmp 0x10036fbb