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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [0x1007a010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1007a700]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x28], eax
add eax, 0x4688
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x24], eax
cmp byte [edi + 0x67], 0
je 0x1003e2b4
movups xmm0, xmmword [eax]
mov esi, dword [eax + 0x10]
movaps xmmword [ebp - 0x70], xmm0
call fcn.1003d0a0
mov eax, dword [ebp - 0x24]
movaps xmm0, xmmword [ebp - 0x70]
mov edx, dword [ebp - 0x30]
movups xmmword [eax], xmm0
mov dword [eax + 0x10], esi
jmp 0x1003e2b7
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx + 0x3e28]
mov dword [ebp - 0x3c], eax
cmp byte [eax + 0xab], 0
je 0x1003e2e1
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004b324
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push ecx
mov ecx, edi
call fcn.1003dc00
mov ecx, eax
add esp, 4
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x1003e30c
mov edx, dword [edi]
xor eax, eax
test edx, edx
jle 0x1003e30c
mov esi, dword [edi + 8]
cmp dword [esi], ecx
je 0x1003e30e
inc eax
add esi, 0x2c
cmp eax, edx
jl 0x1003e300
xor esi, esi
mov byte [ebp - 0x19], 0
test esi, esi
jne 0x1003e3e2
mov ecx, dword [edi]
or eax, 0xffffffff
xorps xmm0, xmm0
mov dword [ebp - 0xa8], esi
mov esi, dword [edi + 4]
movlpd qword [ebp - 0xc0], xmm0
movlpd qword [ebp - 0xb0], xmm0
mov dword [ebp - 0xb4], 0xffffffff
mov dword [ebp - 0xb8], 0xffffffff
mov dword [ebp - 0xa4], 0xbf800000
mov dword [ebp - 0xa0], 0xffffffff
mov word [ebp - 0x9a], ax
mov word [ebp - 0x9c], ax
cmp ecx, esi
jne 0x1003e397
inc ecx
test esi, esi
je 0x1003e385
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x1003e38a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.1003f570
imul eax, dword [edi], 0x2c
movups xmm0, xmmword [ebp - 0xc0]
mov byte [ebp - 0x19], 1
add eax, dword [edi + 8]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0xb0]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [ebp - 0xa0]
movq qword [eax + 0x20], xmm0
mov dword [eax + 0x28], 0
inc dword [edi]
imul ecx, dword [edi], 0x2c
mov esi, dword [edi + 8]
mov eax, dword [ebp - 0x20]
add esi, 0xffffffd4
add esi, ecx
mov dword [esi], eax
mov byte [edi + 0x69], 1
jmp 0x1003e3ed
mov eax, dword [ebp - 0x28]
add eax, 0x4688
mov dword [ebp - 0x24], eax
mov ecx, esi
mov eax, 0x2e8ba2e9
sub ecx, dword [edi + 8]
imul ecx
push 0
sar edx, 3
lea ecx, [ebp - 0x50]
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x30]
mov word [edi + 0x6c], ax
call fcn.1003eba0
mov eax, dword [ebp - 0x24]
add esp, 4
mov edx, dword [ebp - 0x28]
mov dword [esi + 0x1c], 0xbf800000
test byte [eax], 1
je 0x1003e438
movss xmm1, dword [edx + 0x468c]
movss dword [esi + 0x1c], xmm1
jmp 0x1003e43d
movss xmm1, dword [ebp - 0x50]
cmp byte [ebp - 0x19], 0
movss xmm0, dword [0x10076698]
je 0x1003e454
maxss xmm0, xmm1
movss dword [esi + 0x14], xmm0
movss dword [esi + 0x18], xmm1
movzx ecx, word [edi + 0x6a]
lea eax, [ecx + 1]
mov word [edi + 0x6a], ax
mov word [esi + 0x24], cx
mov eax, dword [edi + 0x24]
mov ecx, dword [edx + 0x3dc8]
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [edi + 0xc]
shr eax, 0x15
and eax, 0xffffff01
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x74], eax
mov eax, dword [esi + 8]
mov dword [esi + 8], ecx
inc eax
mov dword [esi + 4], 0x100000
mov ecx, dword [edi + 0x84]
mov dword [ebp - 0x44], eax
lea eax, [ecx - 1]
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp - 0x30]
lea eax, [ecx + 1]
mov dword [ebp - 0x34], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003e4b2
sub ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
inc ecx
add ecx, eax
je 0x1003e4c8
sub ecx, eax
jmp 0x1003e4da
mov ecx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0x34], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003e4d0
sub ecx, dword [ebp - 0x34]
mov eax, dword [edi + 0x84]
mov edx, 1
test eax, eax
mov dword [ebp - 0x2c], ecx
cmovne edx, eax
mov eax, dword [edi + 0x88]
mov dword [ebp - 0x48], edx
add edx, ecx
mov dword [ebp - 0x24], edx
lea ecx, [edi + 0x84]
cmp edx, eax
jl 0x1003e51b
add eax, eax
cmp edx, eax
cmovg eax, edx
push eax
call fcn.1001b760
mov edx, dword [ebp - 0x24]
lea ecx, [edi + 0x84]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x34], eax
cmp edx, eax
jle 0x1003e559
test eax, eax
je 0x1003e538
cdq
sub eax, edx
mov edx, dword [ebp - 0x24]
mov ecx, eax
sar ecx, 1
add ecx, dword [ebp - 0x34]
jmp 0x1003e53d
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [edi + 0x84]
push eax
call fcn.1001b760
mov edx, dword [ebp - 0x24]
lea ecx, [edi + 0x84]
push dword [ebp - 0x2c]
mov dword [ecx], edx
mov eax, dword [ecx + 8]
mov ecx, dword [ebp - 0x48]
push dword [ebp - 0x30]
dec ecx
add eax, ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [edi + 0x8c]
add esp, 0xc
add eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov byte [eax + ecx - 1], 0
mov eax, dword [ebp - 0x54]
cmp edx, eax
jge 0x1003e5ab
test byte [edi + 0xc], 2
je 0x1003e5ab
cmp dword [edi + 0x18], 0
jne 0x1003e5ab
cmp dword [ebp - 0x40], eax
jge 0x1003e5a5
cmp dword [edi + 0x14], 0
jne 0x1003e5ab
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x18], eax
mov eax, dword [edi + 0x1c]
cmp eax, dword [ebp - 0x20]
sete dl
mov dword [ebp - 0x24], edx
mov byte [ebp - 0x48], dl
jne 0x1003e5c0
mov byte [edi + 0x68], 1
mov eax, dword [ebp - 0x40]
test dl, dl
jne 0x1003e5ec
cmp dword [edi + 0x14], 0
jne 0x1003e5ec
cmp eax, dword [ebp - 0x54]
jge 0x1003e5ec
cmp dword [edi], 1
jne 0x1003e5ec
test byte [edi + 0xc], 2
mov ecx, 1
movzx edx, dl
cmove edx, ecx
mov dword [ebp - 0x24], edx
mov byte [ebp - 0x48], dl
mov edx, dword [ebp - 0x54]
cmp dword [ebp - 0x44], edx
jge 0x1003e61c
cmp eax, edx
jge 0x1003e5fe
cmp byte [ebp - 0x19], 0
je 0x1003e61c
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x70]
xorps xmm0, xmm0
push 8
push 0
movups xmmword [ebp - 0x70], xmm0
call fcn.10013340
add esp, 8
jmp 0x1003eb87
mov eax, dword [ebp - 0x20]
cmp dword [edi + 0x14], eax
jne 0x1003e630
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x3dc8]
mov dword [esi + 0xc], eax
mov edx, dword [ebp - 0x3c]
mov eax, dword [esi + 4]
movss xmm4, dword [esi + 0x14]
and eax, 0xc0
movss xmm1, dword [esi + 0x10]
movss xmm0, dword [edx + 0xec]
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [edx + 0xf0]
movss dword [ebp - 0x34], xmm0
mov dword [ebp - 0x2c], eax
jne 0x1003e674
subss xmm1, dword [edi + 0x48]
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cmp dword [ebp - 0x2c], 0
mov eax, 4
addss xmm1, dword [edi + 0x28]
movss xmm3, dword [ebp - 0x4c]
xorps xmm0, xmm0
movss xmm2, dword [eax + edi + 0x28]
addss xmm2, xmm0
addss xmm4, xmm1
movss dword [edx + 0xec], xmm1
addss xmm3, xmm2
movss dword [edx + 0xf0], xmm2
movss dword [ebp - 0x18], xmm1
movss dword [ebp - 0x14], xmm2
movss dword [ebp - 0x10], xmm4
movss dword [ebp - 0xc], xmm3
jne 0x1003e854
movss xmm5, dword [edi + 0x58]
comiss xmm5, xmm1
ja 0x1003e6da
comiss xmm4, dword [edi + 0x5c]
jbe 0x1003e854
mov ecx, dword [0x1007a700]
maxss xmm1, xmm5
movss xmm0, dword [edi + 0x5c]
subss xmm2, dword [0x10076698]
mov byte [ebp - 0x19], 1
mov eax, dword [ecx + 0x3e28]
movss dword [ebp - 0x70], xmm1
movss dword [ebp - 0x68], xmm0
movss dword [ebp - 0x6c], xmm2
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x3e28]
mov dword [ebp - 0x4c], eax
movss dword [ebp - 0x64], xmm3
mov eax, dword [eax + 0x260]
mov dword [ebp - 0x5c], eax
movups xmm4, xmmword [eax + 0x60]
comiss xmm4, xmm1
movaps xmmword [ebp - 0x90], xmm4
jbe 0x1003e740
movaps xmm1, xmm4
movss dword [ebp - 0x70], xmm1
movss xmm4, dword [ebp - 0x8c]
comiss xmm4, xmm2
jbe 0x1003e755
movaps xmm2, xmm4
movss dword [ebp - 0x6c], xmm2
movss xmm4, dword [ebp - 0x88]
comiss xmm0, xmm4
jbe 0x1003e76a
movaps xmm0, xmm4
movss dword [ebp - 0x68], xmm0
movss xmm4, dword [ebp - 0x84]
comiss xmm3, xmm4
jbe 0x1003e77f
movaps xmm3, xmm4
movss dword [ebp - 0x64], xmm3
comiss xmm1, xmm0
jb 0x1003e789
movss dword [ebp - 0x68], xmm1
comiss xmm2, xmm3
jb 0x1003e793
movss dword [ebp - 0x64], xmm2
mov ecx, dword [eax + 0x40]
lea edx, [eax + 0x3c]
mov eax, dword [edx]
mov dword [ebp - 0x2c], edx
cmp eax, ecx
jne 0x1003e7d6
lea edx, [eax + 1]
mov dword [ebp - 0x84], edx
test ecx, ecx
je 0x1003e7c0
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x84]
sar eax, 1
add eax, ecx
jmp 0x1003e7c5
mov eax, 8
mov ecx, dword [ebp - 0x2c]
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1001ba80
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov edx, dword [edx + 8]
add eax, eax
movaps xmm0, xmmword [ebp - 0x70]
mov ecx, dword [ebp - 0x5c]
movups xmmword [edx + eax*8], xmm0
mov eax, dword [ebp - 0x2c]
inc dword [eax]
movups xmmword [ecx + 0x60], xmm0
call fcn.10023840
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x260]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
movss xmm0, dword [eax + ecx*8 - 0xc]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [edx + 0x20c], eax
movss dword [edx + 0x210], xmm0
movss dword [edx + 0x214], xmm1
movss dword [edx + 0x218], xmm2
movss xmm3, dword [ebp - 0xc]
movss xmm4, dword [ebp - 0x10]
movss xmm2, dword [ebp - 0x14]
movss xmm1, dword [ebp - 0x18]
mov edx, dword [ebp - 0x3c]
jmp 0x1003e858
mov byte [ebp - 0x19], 0
movss xmm0, dword [edx + 0x104]
subss xmm4, xmm1
mov eax, dword [ebp - 0x28]
subss xmm3, xmm2
movss dword [ebp - 0x4c], xmm0
lea ecx, [ebp - 0x88]
movss xmm0, dword [edx + 0x108]
movss dword [ebp - 0x5c], xmm0
movss xmm1, dword [eax + 0x37d8]
movss dword [ebp - 0x88], xmm4
movss dword [ebp - 0x84], xmm3
call fcn.100131e0
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x18]
movss xmm0, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x20]
push 0
movss dword [eax + 0x104], xmm0
movss xmm0, dword [ebp - 0x5c]
push 0
movss dword [eax + 0x108], xmm0
call fcn.10013340
add esp, 8
test al, al
jne 0x1003e8ff
cmp byte [ebp - 0x19], al
je 0x1003e8dd
call fcn.1000a060
mov eax, dword [ebp - 0x3c]
movss xmm0, dword [ebp - 0x40]
movss dword [eax + 0xec], xmm0
movss xmm0, dword [ebp - 0x34]
movss dword [eax + 0xf0], xmm0
jmp 0x1003eb87
mov ecx, dword [ebp - 0x28]
mov edx, 0x1010
mov eax, 0x1210
cmp byte [ecx + 0x4930], 0
lea ecx, [ebp - 0x18]
cmove eax, edx
mov edx, dword [ebp - 0x20]
push eax
lea eax, [ebp - 5]
push eax
lea eax, [ebp - 6]
push eax
call fcn.1002cc20
add esp, 0xc
test al, al
mov eax, dword [ebp - 0x20]
je 0x1003e937
mov dword [edi + 0x18], eax
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + 0x3e74], eax
mov eax, dword [0x1007a700]
je 0x1003e96b
mov edx, dword [eax + 0x469c]
cmp dword [eax + 0x3e60], edx
jne 0x1003e95c
mov byte [eax + 0x3e68], 1
cmp dword [eax + 0x3e74], edx
jne 0x1003e96b
mov byte [eax + 0x3e81], 1
cmp byte [ebp - 5], 0
je 0x1003e9fd
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp - 0x54]
jl 0x1003e9fd
cmp byte [eax + 0xdc0], 0
je 0x1003e9fd
movss xmm1, dword [eax + 0x30]
movss xmm0, dword [eax + 0x3750]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test al, al
je 0x1003e9fd
cmp byte [ecx + 0x4930], 0
jne 0x1003e9fd
test byte [edi + 0xc], 1
je 0x1003e9fd
movss xmm1, dword [ecx + 0xb4]
xorps xmm2, xmm2
comiss xmm2, xmm1
jbe 0x1003e9d2
movss xmm0, dword [ebp - 0x18]
comiss xmm0, dword [ecx + 0xdb8]
ja 0x1003e9e5
comiss xmm1, xmm2
jbe 0x1003e9fd
movss xmm0, dword [ecx + 0xdb8]
comiss xmm0, dword [ebp - 0x10]
jbe 0x1003e9fd
push dword [ecx + 0xdbc]
mov edx, esi
push dword [ecx + 0xdb8]
mov ecx, edi
call fcn.1003dcc0
add esp, 8
cmp byte [ebp - 5], 0
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x260]
mov dword [ebp - 0x44], eax
jne 0x1003ea40
cmp byte [ebp - 6], 0
jne 0x1003ea40
cmp byte [ebp - 0x24], 0
je 0x1003ea2d
mov eax, dword [ebp - 0x74]
movzx eax, al
xor eax, 1
lea ecx, [eax*2 + 0x23]
jmp 0x1003ea45
cmp byte [ebp - 0x74], 0
mov ecx, 0x24
mov edx, 0x21
cmovne ecx, edx
jmp 0x1003ea45
mov ecx, 0x22
movss xmm1, dword [0x10076698]
call fcn.10005100
mov ecx, dword [ebp - 0x44]
lea edx, [ebp - 0x18]
push eax
push 0x100000
call fcn.1003eca0
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
push 1
call fcn.10005f10
add esp, 0xc
mov ecx, 0x20
call fcn.10007f70
test al, al
je 0x1003eaae
mov ecx, 1
call fcn.10011690
test al, al
jne 0x1003eaa6
mov eax, dword [0x1007a700]
cmp byte [eax + 0x3717], 0
je 0x1003eaae
cmp byte [eax + 0x44d0], 0
jne 0x1003eaae
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x18], eax
jmp 0x1003eab1
mov eax, dword [ebp - 0x20]
movss xmm0, dword [edi + 0x74]
lea ecx, [ebp - 0x35]
movss dword [ebp - 0x50], xmm0
lea edx, [ebp - 0x18]
movss xmm0, dword [edi + 0x78]
movss dword [ebp - 0x4c], xmm0
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x55]
push ecx
push dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
push 0
push eax
mov eax, dword [edi + 0xc]
push dword [ebp - 0x30]
and eax, 8
or eax, 0x200000
shr eax, 1
push eax
call fcn.1003f0f0
add esp, 0x24
cmp byte [ebp - 0x19], 0
je 0x1003eb03
call fcn.1000a060
cmp byte [ebp - 0x35], 0
mov eax, dword [ebp - 0x3c]
movss xmm0, dword [ebp - 0x40]
movss dword [eax + 0xec], xmm0
movss xmm0, dword [ebp - 0x34]
movss dword [eax + 0xf0], xmm0
je 0x1003eb87
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
cmp dword [ecx + 0x3e60], eax
jne 0x1003eb87
cmp byte [ebp - 5], 0
jne 0x1003eb87
test byte [edi + 0xc], 0x20
jne 0x1003eb87
test byte [esi + 4], 0x10
jne 0x1003eb87
mov ecx, 0x800
call fcn.10007f70
test al, al
je 0x1003eb87
mov eax, dword [ebp - 0x30]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x1003eb76
nop
mov dl, byte [ecx]
test dl, dl
je 0x1003eb76
cmp dl, 0x23
jne 0x1003eb70
cmp byte [ecx + 1], dl
je 0x1003eb76
inc ecx
cmp ecx, 0xffffffff
jb 0x1003eb60
push eax
sub ecx, eax
push ecx
push str._.s
call fcn.100141f0
add esp, 0xc
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x24]
xor ecx, ebp
pop edi
pop esi
call fcn.1004b324
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret