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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov esi, esp
mov dword [esi + 0x78], ebp
mov edi, dword [ebp + 8]
mov dword [esi + 0x7c], esp
mov dword [esi + 0x88], 0xffffffff
lea eax, [esi + 0x80]
mov dword [esi + 0x84], 0x1003afb0
mov ecx, dword fs:[0]
mov dword [esi + 0x80], ecx
mov dword fs:[0], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x260]
test al, al
je 0x1003940f
mov eax, dword [0x1035678c]
mov eax, dword [eax + 0x20]
mov ecx, dword [eax + edi]
mov eax, dword [0x10356a48]
test al, 1
je 0x10039425
test al, 2
je 0x100394f7
test al, 4
je 0x100395c9
test al, 8
je 0x1003969b
cmp ecx, 3
mov eax, 0x10356a44
mov ecx, 0x10356a4c
cmove ecx, eax
mov eax, 0x10356a50
mov ebx, 0x10356a54
cmove ebx, eax
mov ecx, dword [ecx]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esi + 0x88], 0xffffffff
call eax
fstp dword [esi + 0x74]
movss xmm0, dword [esi + 0x74]
movss dword [esi + 0xc], xmm0
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x30]
fstp dword [esi + 0x70]
mov eax, dword [0x1035678c]
mov edx, dword [eax + 0x134]
mov ecx, dword [eax + 0x138]
mov edi, dword [ebp + 8]
movzx ebx, byte [ecx + edi]
test bl, bl
setne cl
cmp dword [edx + edi], 0
jle 0x100391ae
mov dl, 1
mov dword [esi + 0x3c], edx
mov edx, dword [ebp + 0x18]
mov edi, edx
add edx, 0xfffffffe
cmp edx, 4
jb 0x100391bd
cmp edi, 1
jne 0x100391ba
mov ecx, dword [eax + 0x13c]
mov edx, dword [ebp + 8]
movzx ecx, byte [ecx + edx]
or cl, bl
setne cl
jmp 0x100391ba
mov edi, dword [ebp + 0x18]
mov dword [esi + 0x3c], 0
jmp 0x100391bd
mov dword [esi + 0x3c], ecx
movss xmm0, dword [esi + 0x70]
movss dword [esi + 0x6c], xmm0
mov ecx, dword [eax]
mov eax, dword [eax + 0x11c]
mov edx, dword [ecx]
mov ecx, dword [0x10356824]
mov eax, dword [eax + edx]
mov edx, dword [ecx]
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 4
mov ecx, dword [0x1035678c]
test eax, eax
je 0x10039236
mov eax, dword [ecx]
mov edx, dword [ecx + 0x11c]
mov eax, dword [eax]
mov ecx, dword [0x10356824]
mov eax, dword [edx + eax]
mov edx, dword [ecx]
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 4
mov ecx, dword [0x1035678c]
mov edx, dword [ecx + 0xb0]
mov ecx, dword [ecx + 0x134]
movzx eax, word [edx + eax]
test bl, bl
je 0x1003924f
movss xmm2, dword [esi + 0xc]
mulss xmm2, dword [0x10154044]
jmp 0x10039254
mov eax, dword [ecx + 0x134]
test bl, bl
je 0x10039264
movss xmm2, dword [esi + 0xc]
mulss xmm2, dword [0x10154044]
jmp 0x10039269
movss xmm2, dword [esi + 0xc]
mov edx, dword [ebp + 8]
cvtsi2ss xmm1, dword [ecx + edx]
cmp ax, 0x1f
jne 0x10039271
jmp 0x100392b3
movss xmm2, dword [esi + 0xc]
mov ecx, dword [ebp + 8]
cvtsi2ss xmm1, dword [eax + ecx]
lea eax, [edi - 6]
cmp eax, 2
jb 0x1003928d
cmp edi, 1
je 0x1003929c
cmp edi, 3
jne 0x100392b3
movss xmm0, dword [0x10156138]
jmp 0x10039295
movss xmm0, dword [0x10156134]
movss xmm2, dword [esi + 0x6c]
jmp 0x100392a4
movss xmm0, dword [0x101560a0]
mov eax, dword [ebp + 0x14]
mulss xmm0, dword [eax]
mulss xmm0, xmm2
movss dword [eax], xmm0
movss dword [esi + 0xc], xmm1
mov eax, dword [0x1035678c]
mov ecx, dword [eax]
mov edx, dword [ecx]
test edx, edx
je 0x1003940f
mov ecx, dword [0x10356824]
mov eax, dword [eax + 0x11c]
mov eax, dword [eax + edx]
mov edx, dword [ecx]
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 4
test eax, eax
je 0x1003940f
mov eax, dword [0x1035678c]
mov ecx, dword [eax]
mov eax, dword [eax + 0x11c]
mov edx, dword [ecx]
mov ecx, dword [0x10356824]
mov eax, dword [eax + edx]
mov edx, dword [ecx]
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 4
mov edx, dword [0x1035678c]
mov ecx, dword [edx + 4]
mov edx, dword [edx + 0xb0]
mov edi, dword [ecx]
movzx eax, word [edx + eax]
mov dword [esp], eax
call dword [edi + 8]
sub esp, 4
test eax, eax
je 0x1003940f
mov eax, dword [0x1035678c]
mov ecx, dword [eax]
mov eax, dword [eax + 0x11c]
mov edx, dword [ecx]
mov ecx, dword [0x10356824]
mov eax, dword [eax + edx]
mov edx, dword [ecx]
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 4
mov edx, dword [0x1035678c]
mov ecx, dword [edx + 4]
mov edx, dword [edx + 0xb0]
mov edi, dword [ecx]
movzx eax, word [edx + eax]
mov dword [esp], eax
call dword [edi + 8]
sub esp, 4
cmp byte [esi + 0x3c], 0
je 0x100393af
movss xmm0, dword [eax + 0xf0]
test bl, bl
mov edi, dword [ebp + 0x14]
je 0x100393b8
mulss xmm0, dword [0x1015613c]
movss xmm1, dword [edi]
mulss xmm0, xmm1
mulss xmm0, dword [0x10156140]
movss xmm3, dword [0x10156144]
movaps xmm2, xmm3
jmp 0x100393d4
mov edi, dword [ebp + 0x14]
movss xmm0, dword [edi]
jmp 0x100393ff
movss xmm2, dword [0x10154044]
mulss xmm0, xmm2
movss xmm1, dword [edi]
mulss xmm0, xmm1
movss xmm3, dword [0x10154df4]
movaps xmm4, xmm1
subss xmm4, xmm0
mulss xmm3, xmm2
mulss xmm3, xmm4
movss xmm4, dword [esi + 0xc]
ucomiss xmm3, xmm4
jbe 0x100393fb
movaps xmm3, xmm4
divss xmm3, xmm2
subss xmm1, xmm3
movaps xmm0, xmm1
movss dword [edi], xmm0
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp dword [edi]
mov eax, dword [esi + 0x80]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
mov dword [esi + 0xc], ecx
or eax, 1
mov dword [0x10356a48], eax
mov eax, 0x616b13c8
mov ecx, 0x8aa4d116
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], eax
mov eax, 0x828a45db
mov ecx, 0xccfe3eb3
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x18], eax
mov eax, 0x1c4a0404
mov ecx, 0x6df94ef0
mov dword [esi + 0x24], ecx
mov dword [esi + 0x20], eax
mov eax, 0x4b3a6a48
mov ecx, 0x6ce1aba8
mov edx, 0x53463a5
mov edi, 0xedc5bc77
mov dword [esi + 0x44], edi
mov dword [esi + 0x40], edx
mov edx, 0xe1f91abe
mov edi, 0x939b52d2
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], edx
mov edx, 0x74157067
mov edi, 0x6d9d2f95
mov dword [esi + 0x54], edi
mov dword [esi + 0x50], edx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x28], eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x58], eax
lea eax, [esi + 0x40]
xor ecx, ecx
mov ecx, dword [0x1035684c]
movaps xmm0, xmmword [esi + 0x10]
xorps xmm0, xmmword [eax]
movaps xmmword [esi + 0x10], xmm0
movaps xmm0, xmmword [esi + 0x20]
xorps xmm0, xmmword [eax + 0x10]
movaps xmmword [esi + 0x20], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
mov dword [esi + 0x88], 0
lea edx, [esi + 0x10]
mov dword [esp], edx
call eax
sub esp, 4
mov dword [0x10356a44], eax
mov eax, dword [0x10356a48]
mov ecx, dword [esi + 0xc]
test al, 2
jne 0x10039109
mov dword [esi + 0xc], ecx
or eax, 2
mov dword [0x10356a48], eax
mov eax, 0x616b13c8
mov ecx, 0x8aa4d116
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], eax
mov eax, 0x828a45db
mov ecx, 0xccfe3eb3
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x18], eax
mov eax, 0x117d2f13
mov ecx, 0x6d9d4bf4
mov dword [esi + 0x24], ecx
mov dword [esi + 0x20], eax
mov eax, 0x4b3a6a48
mov ecx, 0x6ce1aba8
mov edx, 0x53463a5
mov edi, 0xedc5bc77
mov dword [esi + 0x44], edi
mov dword [esi + 0x40], edx
mov edx, 0xe1f91abe
mov edi, 0x939b52d2
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], edx
mov edx, 0x74157067
mov edi, 0x6d9d2f95
mov dword [esi + 0x54], edi
mov dword [esi + 0x50], edx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x28], eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x58], eax
lea eax, [esi + 0x40]
xor ecx, ecx
mov ecx, dword [0x1035684c]
movaps xmm0, xmmword [esi + 0x10]
xorps xmm0, xmmword [eax]
movaps xmmword [esi + 0x10], xmm0
movaps xmm0, xmmword [esi + 0x20]
xorps xmm0, xmmword [eax + 0x10]
movaps xmmword [esi + 0x20], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
mov dword [esi + 0x88], 1
lea edx, [esi + 0x10]
mov dword [esp], edx
call eax
sub esp, 4
mov dword [0x10356a4c], eax
mov eax, dword [0x10356a48]
mov ecx, dword [esi + 0xc]
test al, 4
jne 0x10039111
mov dword [esi + 0xc], ecx
or eax, 4
mov dword [0x10356a48], eax
mov eax, 0x616b13c8
mov ecx, 0x8aa4d116
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], eax
mov eax, 0x828a45db
mov ecx, 0xccfe3eb3
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x18], eax
mov eax, 0x164a0404
mov ecx, 0x6de44bfa
mov dword [esi + 0x24], ecx
mov dword [esi + 0x20], eax
mov eax, 0x4b3a6a48
mov ecx, 0x6ce1aba8
mov edx, 0x53463a5
mov edi, 0xedc5bc77
mov dword [esi + 0x44], edi
mov dword [esi + 0x40], edx
mov edx, 0xe1f91abe
mov edi, 0x939b52d2
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], edx
mov edx, 0x74157067
mov edi, 0x6d9d2f95
mov dword [esi + 0x54], edi
mov dword [esi + 0x50], edx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x28], eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x58], eax
lea eax, [esi + 0x40]
xor ecx, ecx
mov ecx, dword [0x1035684c]
movaps xmm0, xmmword [esi + 0x10]
xorps xmm0, xmmword [eax]
movaps xmmword [esi + 0x10], xmm0
movaps xmm0, xmmword [esi + 0x20]
xorps xmm0, xmmword [eax + 0x10]
movaps xmmword [esi + 0x20], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
mov dword [esi + 0x88], 2
lea edx, [esi + 0x10]
mov dword [esp], edx
call eax
sub esp, 4
mov dword [0x10356a50], eax
mov eax, dword [0x10356a48]
mov ecx, dword [esi + 0xc]
test al, 8
jne 0x10039119
mov dword [esi + 0xc], ecx
or eax, 8
mov dword [0x10356a48], eax
mov eax, 0x616b13c8
mov ecx, 0x8aa4d116
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], eax
mov eax, 0x828a45db
mov ecx, 0xccfe3eb3
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x18], eax
mov eax, 0x1b772f13
mov ecx, 0x6d9d56f1
mov dword [esi + 0x24], ecx
mov dword [esi + 0x20], eax
mov eax, 0x4b3a6a48
mov ecx, 0x6ce1aba8
mov edx, 0x53463a5
mov edi, 0xedc5bc77
mov dword [esi + 0x44], edi
mov dword [esi + 0x40], edx
mov edx, 0xe1f91abe
mov edi, 0x939b52d2
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], edx
mov edx, 0x74157067
mov edi, 0x6d9d2f95
mov dword [esi + 0x54], edi
mov dword [esi + 0x50], edx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x28], eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x58], eax
lea eax, [esi + 0x40]
xor ecx, ecx
mov ecx, dword [0x1035684c]
movaps xmm0, xmmword [esi + 0x10]
xorps xmm0, xmmword [eax]
movaps xmmword [esi + 0x10], xmm0
movaps xmm0, xmmword [esi + 0x20]
xorps xmm0, xmmword [eax + 0x10]
movaps xmmword [esi + 0x20], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
mov dword [esi + 0x88], 3
lea edx, [esi + 0x10]
mov dword [esp], edx
call eax
sub esp, 4
mov dword [0x10356a54], eax
mov ecx, dword [esi + 0xc]
jmp 0x10039119