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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x100ae380]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
mov dword [ebp - 0x38], edi
cmp byte [esi + 0x66], 0
je 0x1003e038
call fcn.1003cf10
mov eax, dword [0x100af570]
mov dword [ebp - 0x2c], eax
mov eax, dword [eax + 0x1b94]
mov dword [ebp - 0x28], eax
cmp byte [eax + 0x8f], 0
je 0x1003e065
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10087516
mov esp, ebp
pop ebp
ret
mov edx, edi
mov ecx, esi
call fcn.1003d9b0
mov ebx, eax
lea ecx, [ebp - 0x58]
push 0
mov edx, edi
mov dword [ebp - 0x20], ebx
call fcn.1003e970
add esp, 4
test ebx, ebx
je 0x1003e09d
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
jle 0x1003e09d
mov edi, dword [esi + 8]
cmp dword [edi], ebx
je 0x1003e09f
inc eax
add edi, 0x24
cmp eax, ecx
jl 0x1003e091
xor edi, edi
mov byte [ebp - 0x15], 0
test edi, edi
jne 0x1003e175
mov ecx, dword [esi]
xor eax, eax
xorps xmm0, xmm0
mov dword [ebp - 0x94], edi
mov edi, dword [esi + 4]
mov word [ebp - 0x8a], ax
or eax, 0xffffffff
movlpd qword [ebp - 0xac], xmm0
movlpd qword [ebp - 0x9c], xmm0
mov dword [ebp - 0xa0], 0xffffffff
mov dword [ebp - 0xa4], 0xffffffff
mov word [ebp - 0x8c], ax
mov word [ebp - 0x8e], ax
mov word [ebp - 0x90], ax
cmp ecx, edi
jne 0x1003e124
inc ecx
test edi, edi
je 0x1003e112
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1003e117
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1001c5f0
mov eax, dword [esi]
mov ecx, dword [esi + 8]
movups xmm0, xmmword [ebp - 0xac]
mov byte [ebp - 0x15], 1
lea edx, [eax + eax*8]
mov eax, dword [ebp - 0x8c]
movups xmmword [ecx + edx*4], xmm0
movups xmm0, xmmword [ebp - 0x9c]
movups xmmword [ecx + edx*4 + 0x10], xmm0
mov dword [ecx + edx*4 + 0x20], eax
inc dword [esi]
mov eax, dword [esi]
movss xmm0, dword [ebp - 0x58]
lea edi, [eax + eax*8]
mov eax, dword [esi + 8]
lea edi, [edi - 9]
mov dword [eax + edi*4], ebx
movss dword [eax + edi*4 + 0x14], xmm0
lea edi, [eax + edi*4]
mov byte [esi + 0x68], 1
jmp 0x1003e17a
movss xmm0, dword [ebp - 0x58]
mov ecx, edi
mov eax, 0x38e38e39
sub ecx, dword [esi + 8]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x38]
mov word [esi + 0x6c], ax
movss dword [edi + 0x18], xmm0
movzx ecx, word [esi + 0x6a]
lea eax, [ecx + 1]
mov word [esi + 0x6a], ax
mov word [edi + 0x1e], cx
mov eax, dword [esi + 0x24]
mov ecx, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0xc]
shr eax, 0x15
mov ecx, dword [ecx + 0x1b38]
and eax, 0xffffff01
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x50], eax
mov eax, dword [edi + 8]
mov dword [edi + 8], ecx
inc eax
mov dword [edi + 4], 0x100000
mov ecx, dword [esi + 0x84]
mov dword [ebp - 0x44], eax
lea eax, [ecx - 1]
neg ecx
sbb ecx, ecx
and ecx, eax
mov word [edi + 0x1c], cx
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003e1f5
sub ecx, ebx
lea ebx, [edx + 1]
add ebx, ecx
je 0x1003e209
sub ebx, edx
jmp 0x1003e219
mov ebx, edx
lea ecx, [ebx + 1]
nop
mov al, byte [ebx]
inc ebx
test al, al
jne 0x1003e210
sub ebx, ecx
mov eax, dword [esi + 0x84]
lea ecx, [esi + 0x84]
test eax, eax
mov edx, 1
cmovne edx, eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x24], edx
add edx, ebx
mov dword [ebp - 0x30], edx
cmp edx, eax
jl 0x1003e254
add eax, eax
cmp edx, eax
cmovg eax, edx
push eax
call fcn.1001c420
mov edx, dword [ebp - 0x30]
lea ecx, [esi + 0x84]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x34], eax
cmp edx, eax
jle 0x1003e292
test eax, eax
je 0x1003e271
cdq
sub eax, edx
mov edx, dword [ebp - 0x30]
mov ecx, eax
sar ecx, 1
add ecx, dword [ebp - 0x34]
jmp 0x1003e276
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [esi + 0x84]
push eax
call fcn.1001c420
mov edx, dword [ebp - 0x30]
lea ecx, [esi + 0x84]
mov dword [ecx], edx
mov eax, dword [ecx + 8]
mov ecx, dword [ebp - 0x24]
push ebx
push dword [ebp - 0x38]
dec ecx
add eax, ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x24]
add esp, 0xc
mov eax, dword [esi + 0x8c]
add ecx, ebx
mov edx, dword [ebp - 0x1c]
mov byte [ecx + eax - 1], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x44], eax
jge 0x1003e2e3
test byte [esi + 0xc], 2
je 0x1003e2e3
cmp dword [esi + 0x18], 0
jne 0x1003e2e3
cmp edx, eax
jge 0x1003e2db
cmp dword [esi + 0x14], 0
jne 0x1003e2e3
mov ebx, dword [ebp - 0x20]
mov dword [esi + 0x18], ebx
jmp 0x1003e2e6
mov ebx, dword [ebp - 0x20]
cmp dword [esi + 0x1c], ebx
lea eax, [esi + 0x14]
sete byte [ebp - 0x1c]
jne 0x1003e2f8
mov byte [esi + 0x67], 1
jmp 0x1003e31e
cmp dword [esi + 0x14], 0
jne 0x1003e31e
lea eax, [esi + 0x14]
cmp edx, dword [ebp - 0x3c]
jge 0x1003e31e
cmp dword [esi], 1
lea eax, [esi + 0x14]
jne 0x1003e31e
test byte [esi + 0xc], 2
lea eax, [esi + 0x14]
jne 0x1003e31e
mov byte [ebp - 0x1c], 1
lea eax, [esi + 0x14]
mov ecx, dword [ebp - 0x3c]
cmp dword [ebp - 0x44], ecx
jge 0x1003e3ec
cmp edx, ecx
jge 0x1003e338
cmp byte [ebp - 0x15], 0
je 0x1003e3ec
mov ecx, dword [0x100af570]
lea esi, [ecx + 0x1cbc]
mov eax, dword [ecx + 0x1b94]
mov edx, dword [eax + 0x1b0]
or edx, 0x18
mov dword [eax + 0x1b0], edx
mov edi, dword [esi + 4]
mov ecx, dword [esi]
mov dword [ebp - 0x34], edx
cmp ecx, edi
jne 0x1003e38a
inc ecx
test edi, edi
je 0x1003e375
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1003e37a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1001c0a0
mov edx, dword [ebp - 0x34]
mov ecx, dword [esi]
xorps xmm0, xmm0
mov eax, dword [esi + 8]
push 0
movups xmmword [ebp - 0x88], xmm0
mov dword [eax + ecx*4], edx
mov edx, ebx
inc dword [esi]
lea ecx, [ebp - 0x88]
call fcn.10016800
mov ecx, dword [0x100af570]
add esp, 4
mov al, byte [ebp - 0x1c]
mov esi, dword [ecx + 0x1b94]
dec dword [ecx + 0x1cbc]
mov edx, dword [ecx + 0x1cbc]
mov ecx, dword [ecx + 0x1cc4]
mov ecx, dword [ecx + edx*4 - 4]
mov dword [esi + 0x1b0], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10087516
mov esp, ebp
pop ebp
ret
cmp dword [eax], ebx
jne 0x1003e3fc
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x1b38]
mov dword [edi + 0xc], eax
mov ecx, dword [ebp - 0x28]
mov eax, dword [edi + 4]
movss xmm1, dword [edi + 0x14]
and eax, 0xc0
mov dword [ebp - 0x48], eax
movss xmm0, dword [ecx + 0xcc]
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [ecx + 0xd0]
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [edi + 0x10]
jne 0x1003e443
subss xmm0, dword [esi + 0x48]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [ebp - 0x48]
cvtdq2ps xmm0, xmm0
mov ebx, 4
xorps xmm2, xmm2
addss xmm0, dword [esi + 0x28]
movss dword [ebp - 0x24], xmm0
movss xmm4, dword [esi + ebx + 0x28]
mov ebx, dword [ebp - 0x20]
addss xmm4, xmm2
movaps xmm2, xmm0
addss xmm2, xmm1
movss dword [ebp - 0x4c], xmm4
movss dword [ecx + 0xcc], xmm0
movss dword [ecx + 0xd0], xmm4
movss xmm3, dword [ebp - 0x54]
movss xmm6, dword [0x100a3628]
addss xmm3, xmm4
movss dword [ebp - 0x6c], xmm2
movss dword [ebp - 0x14], xmm0
movss dword [ebp - 0x10], xmm4
movss dword [ebp - 0xc], xmm2
movss dword [ebp - 0x54], xmm3
movss dword [ebp - 8], xmm3
test eax, eax
jne 0x1003e633
movss xmm5, dword [esi + 0x58]
comiss xmm5, xmm0
movss xmm1, dword [esi + 0x5c]
ja 0x1003e4cd
comiss xmm2, xmm1
jbe 0x1003e633
mov ecx, dword [0x100af570]
movaps xmm2, xmm0
maxss xmm2, xmm5
mov byte [ebp - 0x17], 1
movaps xmm0, xmm4
movss dword [ebp - 0x60], xmm1
subss xmm0, xmm6
movaps xmm5, xmm3
mov eax, dword [ecx + 0x1b94]
movss dword [ebp - 0x5c], xmm5
movss dword [ebp - 0x68], xmm2
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1b94]
mov dword [ebp - 0x78], eax
movss dword [ebp - 0x64], xmm0
mov eax, dword [eax + 0x288]
mov dword [ebp - 0x74], eax
movups xmm4, xmmword [eax + 0x60]
comiss xmm4, xmm2
movups xmmword [ebp - 0x88], xmm4
jbe 0x1003e533
movaps xmm2, xmm4
movss dword [ebp - 0x68], xmm2
movss xmm4, dword [ebp - 0x84]
comiss xmm4, xmm0
jbe 0x1003e548
movaps xmm0, xmm4
movss dword [ebp - 0x64], xmm0
movss xmm4, dword [ebp - 0x80]
comiss xmm1, xmm4
movss dword [ebp - 0x60], xmm1
jbe 0x1003e55f
movaps xmm1, xmm4
movss dword [ebp - 0x60], xmm1
movss xmm4, dword [ebp - 0x7c]
comiss xmm3, xmm4
jbe 0x1003e571
movaps xmm5, xmm4
movss dword [ebp - 0x5c], xmm5
comiss xmm2, xmm1
jb 0x1003e57b
movss dword [ebp - 0x60], xmm2
comiss xmm0, xmm5
jb 0x1003e585
movss dword [ebp - 0x5c], xmm0
mov edx, dword [eax + 0x3c]
lea ecx, [eax + 0x3c]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x20], ecx
cmp edx, eax
jne 0x1003e5bd
inc edx
mov dword [ebp - 0x48], edx
test eax, eax
je 0x1003e5aa
cdq
sub eax, edx
mov edx, dword [ebp - 0x48]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1003e5af
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1002c040
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx]
movups xmm0, xmmword [ebp - 0x68]
shl eax, 4
add eax, dword [ecx + 8]
movups xmmword [eax], xmm0
inc dword [ecx]
mov ecx, dword [ebp - 0x74]
movups xmmword [ecx + 0x60], xmm0
call fcn.10024b20
mov edx, dword [ebp - 0x78]
mov eax, dword [edx + 0x288]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm2, dword [eax + ecx*8 - 4]
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
mov eax, dword [eax + ecx*8 - 0x10]
mov ecx, dword [ebp - 0x28]
mov dword [edx + 0x234], eax
movss dword [edx + 0x238], xmm0
movss dword [edx + 0x23c], xmm1
movss dword [edx + 0x240], xmm2
movss xmm3, dword [ebp - 0x54]
movss xmm2, dword [ebp - 0x6c]
movss xmm4, dword [ebp - 0x4c]
jmp 0x1003e637
mov byte [ebp - 0x17], 0
subss xmm2, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
subss xmm3, xmm4
movss xmm0, dword [ecx + 0xe4]
movss xmm7, dword [ecx + 0xe8]
lea ecx, [ebp - 0x70]
movss dword [ebp - 0x4c], xmm0
movss xmm1, dword [eax + 0x1554]
movss dword [ebp - 0x70], xmm2
movss dword [ebp - 0x6c], xmm3
call fcn.100166d0
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x14]
movss xmm0, dword [ebp - 0x4c]
mov edx, ebx
push 0
movss dword [eax + 0xe4], xmm0
movss dword [eax + 0xe8], xmm7
call fcn.10016800
add esp, 4
test al, al
jne 0x1003e6d8
cmp byte [ebp - 0x17], al
je 0x1003e6a7
call fcn.100103f0
mov eax, dword [ebp - 0x28]
movss xmm0, dword [ebp - 0x30]
movss dword [eax + 0xcc], xmm0
movss xmm0, dword [ebp - 0x34]
movss dword [eax + 0xd0], xmm0
mov al, byte [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10087516
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x2c]
mov edx, 0x1010
mov eax, 0x1210
cmp byte [ecx + 0x1e3c], 0
lea ecx, [ebp - 0x14]
cmove eax, edx
mov edx, ebx
push eax
lea eax, [ebp - 0x15]
push eax
lea eax, [ebp - 0x16]
push eax
call fcn.10035490
add esp, 0xc
test al, al
je 0x1003e70c
mov dword [esi + 0x18], ebx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [0x100af570]
cmp dword [edx + 0x1bb4], ebx
sete al
or byte [ebp - 0x16], al
cmp dword [edx + 0x1bc8], ebx
je 0x1003e753
mov eax, dword [ecx + 0x1b94]
mov eax, dword [eax + 0x118]
cmp dword [ecx + 0x1bb4], eax
jne 0x1003e744
mov byte [ecx + 0x1bbc], 1
cmp dword [ecx + 0x1bc8], eax
jne 0x1003e753
mov byte [ecx + 0x1bd5], 1
cmp byte [ebp - 0x15], 0
je 0x1003e7da
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x3c]
jl 0x1003e7da
cmp byte [ecx + 0xec], 0
je 0x1003e7da
movss xmm1, dword [ecx + 0x30]
movss xmm0, dword [ecx + 0x444]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test al, al
je 0x1003e7da
cmp byte [edx + 0x1e3c], 0
jne 0x1003e7da
test byte [esi + 0xc], 1
je 0x1003e7da
movss xmm1, dword [edx + 0x374]
xorps xmm2, xmm2
comiss xmm2, xmm1
jbe 0x1003e7be
movss xmm0, dword [ebp - 0x14]
comiss xmm0, dword [edx + 0xe4]
jbe 0x1003e7be
mov eax, dword [edi]
mov byte [esi + 0x64], 0xff
jmp 0x1003e7d7
comiss xmm1, xmm2
jbe 0x1003e7da
movss xmm0, dword [edx + 0xe4]
comiss xmm0, dword [ebp - 0xc]
jbe 0x1003e7da
mov eax, dword [edi]
mov byte [esi + 0x64], 1
mov dword [esi + 0x60], eax
cmp byte [ebp - 0x15], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x288]
mov dword [ebp - 0x24], eax
jne 0x1003e81d
cmp byte [ebp - 0x16], 0
jne 0x1003e81d
cmp byte [ebp - 0x1c], 0
je 0x1003e80a
mov eax, dword [ebp - 0x50]
movzx eax, al
xor eax, 1
lea ecx, [eax*2 + 0x23]
jmp 0x1003e822
cmp byte [ebp - 0x50], 0
mov ecx, 0x24
mov edx, 0x21
cmovne ecx, edx
jmp 0x1003e822
mov ecx, 0x22
movss xmm1, dword [0x100a3628]
call fcn.1000b480
mov ecx, dword [ebp - 0x24]
lea edx, [ebp - 0x14]
push eax
push 0x100000
call fcn.1003ea70
push 1
mov edx, ebx
lea ecx, [ebp - 0x14]
call fcn.1000c350
add esp, 0xc
mov ecx, 8
call fcn.1000d0d0
test al, al
je 0x1003e884
mov ecx, dword [0x100af570]
movss xmm0, dword [ecx + 0x3f8]
ucomiss xmm0, dword [0x100a3578]
lahf
test ah, 0x44
jnp 0x1003e881
cmp byte [ecx + 0x3e3], 0
je 0x1003e884
mov dword [esi + 0x18], ebx
push dword [esi + 0x78]
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x16]
push dword [esi + 0x74]
lea edx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x3d]
push eax
push dword [ebp - 0x1c]
mov eax, dword [esi + 0xc]
push 0
and eax, 8
push ebx
push dword [ebp - 0x38]
or eax, 0x200000
shr eax, 1
push eax
call fcn.1003eec0
add esp, 0x24
cmp byte [ebp - 0x17], 0
je 0x1003e8c2
call fcn.100103f0
cmp byte [ebp - 0x16], 0
mov eax, dword [ebp - 0x28]
movss xmm0, dword [ebp - 0x30]
movss dword [eax + 0xcc], xmm0
movss xmm0, dword [ebp - 0x34]
movss dword [eax + 0xd0], xmm0
je 0x1003e94f
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x1bb4], ebx
jne 0x1003e94f
cmp byte [ebp - 0x15], 0
jne 0x1003e94f
movss xmm0, dword [eax + 0x1bc4]
comiss xmm0, dword [eax + 0x2e64]
jbe 0x1003e94f
xor ecx, ecx
call fcn.1000d0d0
test al, al
je 0x1003e94f
test byte [esi + 0xc], 0x20
jne 0x1003e94f
test byte [edi + 4], 0x10
jne 0x1003e94f
mov eax, dword [ebp - 0x38]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x1003e93e
mov dl, byte [ecx]
test dl, dl
je 0x1003e93e
cmp dl, 0x23
jne 0x1003e938
cmp byte [ecx + 1], dl
je 0x1003e93e
inc ecx
cmp ecx, 0xffffffff
jb 0x1003e928
push eax
sub ecx, eax
push ecx
push str._.s
call fcn.10017270
add esp, 0xc
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x1c]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10087516
mov esp, ebp
pop ebp
ret