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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x100b6018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
mov dword [ebp - 0x34], edi
cmp byte [esi + 0x67], 0
je 0x100518d8
call fcn.10050630
mov eax, dword [0x100b9cf4]
mov dword [ebp - 0x30], eax
mov eax, dword [eax + 0x1b98]
mov dword [ebp - 0x2c], eax
cmp byte [eax + 0x8f], 0
je 0x10051905
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007dbea
mov esp, ebp
pop ebp
ret
mov edx, edi
mov ecx, esi
call fcn.10051110
mov ebx, eax
lea ecx, [ebp - 0x58]
push 0
mov edx, edi
mov dword [ebp - 0x20], ebx
call fcn.10052320
add esp, 4
test ebx, ebx
je 0x1005193d
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
jle 0x1005193d
mov edi, dword [esi + 8]
cmp dword [edi], ebx
je 0x1005193f
inc eax
add edi, 0x28
cmp eax, ecx
jl 0x10051931
xor edi, edi
mov byte [ebp - 0x15], 0
test edi, edi
jne 0x10051a19
mov ecx, dword [esi]
or eax, 0xffffffff
xorps xmm0, xmm0
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x8c], edi
mov edi, dword [esi + 4]
movlpd qword [ebp - 0xb0], xmm0
movlpd qword [ebp - 0xa0], xmm0
mov dword [ebp - 0xa4], 0xffffffff
mov dword [ebp - 0xa8], 0xffffffff
mov dword [ebp - 0x94], 0xffffffff
mov word [ebp - 0x8e], ax
mov word [ebp - 0x90], ax
cmp ecx, edi
jne 0x100519c4
inc ecx
test edi, edi
je 0x100519b2
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x100519b7
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1003c340
mov eax, dword [esi]
movups xmm0, xmmword [ebp - 0xb0]
mov byte [ebp - 0x15], 1
lea ecx, [eax + eax*4]
mov eax, dword [esi + 8]
movups xmmword [eax + ecx*8], xmm0
movups xmm0, xmmword [ebp - 0xa0]
movups xmmword [eax + ecx*8 + 0x10], xmm0
movq xmm0, qword [ebp - 0x90]
movq qword [eax + ecx*8 + 0x20], xmm0
inc dword [esi]
mov eax, dword [esi]
movss xmm0, dword [ebp - 0x58]
lea edi, [eax + eax*4]
mov eax, dword [esi + 8]
lea edi, [edi - 5]
mov dword [eax + edi*8], ebx
movss dword [eax + edi*8 + 0x14], xmm0
lea edi, [eax + edi*8]
mov byte [esi + 0x69], 1
jmp 0x10051a1e
movss xmm0, dword [ebp - 0x58]
mov ecx, edi
mov eax, 0x66666667
sub ecx, dword [esi + 8]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x34]
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 + 0x20], cx
mov eax, dword [esi + 0x24]
mov ecx, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0xc]
shr eax, 0x15
mov ecx, dword [ecx + 0x1b38]
and eax, 0xffffff01
mov dword [ebp - 0x38], 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 dword [edi + 0x1c], ecx
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10051a98
sub ecx, ebx
lea ebx, [edx + 1]
add ebx, ecx
je 0x10051aac
sub ebx, edx
jmp 0x10051aba
mov ebx, edx
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x10051ab1
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 - 0x1c], edx
cmp edx, eax
jl 0x10051af5
add eax, eax
cmp edx, eax
cmovg eax, edx
push eax
call fcn.1002bc70
mov edx, dword [ebp - 0x1c]
lea ecx, [esi + 0x84]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x3c], eax
cmp edx, eax
jle 0x10051b33
test eax, eax
je 0x10051b12
cdq
sub eax, edx
mov edx, dword [ebp - 0x1c]
mov ecx, eax
sar ecx, 1
add ecx, dword [ebp - 0x3c]
jmp 0x10051b17
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [esi + 0x84]
push eax
call fcn.1002bc70
mov edx, dword [ebp - 0x1c]
lea ecx, [esi + 0x84]
mov dword [ecx], edx
mov eax, dword [ecx + 8]
mov ecx, dword [ebp - 0x24]
push ebx
push dword [ebp - 0x34]
dec ecx
add eax, ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi + 0x8c]
add esp, 0xc
mov ecx, dword [ebp - 0x24]
add eax, ebx
mov byte [eax + ecx - 1], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x44], eax
jge 0x10051b82
test byte [esi + 0xc], 2
je 0x10051b82
cmp dword [esi + 0x18], 0
jne 0x10051b82
cmp dword [ebp - 0x28], eax
jge 0x10051b7a
cmp dword [esi + 0x14], 0
jne 0x10051b82
mov ebx, dword [ebp - 0x20]
mov dword [esi + 0x18], ebx
jmp 0x10051b85
mov ebx, dword [ebp - 0x20]
cmp dword [esi + 0x1c], ebx
lea eax, [esi + 0x14]
sete dl
mov byte [ebp - 0x1c], dl
jne 0x10051bde
mov byte [esi + 0x68], 1
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x38]
cmp dword [ebp - 0x44], ecx
jge 0x10051c0a
cmp edx, ecx
jge 0x10051bac
cmp byte [ebp - 0x15], 0
je 0x10051c0a
xorps xmm0, xmm0
lea ecx, [ebp - 0x88]
push 0x18
push 0
mov edx, ebx
movups xmmword [ebp - 0x88], xmm0
call fcn.10024bf0
mov al, byte [ebp - 0x1c]
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007dbea
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x14], 0
jne 0x10051b97
mov edx, dword [ebp - 0x28]
lea eax, [esi + 0x14]
cmp edx, dword [ebp - 0x38]
jge 0x10051b9a
cmp dword [esi], 1
lea eax, [esi + 0x14]
jne 0x10051b9a
test byte [esi + 0xc], 2
lea eax, [esi + 0x14]
jne 0x10051b9a
mov al, 1
mov byte [ebp - 0x1c], al
lea eax, [esi + 0x14]
jmp 0x10051b9a
cmp dword [eax], ebx
jne 0x10051c1a
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x1b38]
mov dword [edi + 0xc], eax
mov edx, dword [ebp - 0x2c]
mov eax, dword [edi + 4]
movss xmm1, dword [edi + 0x14]
and eax, 0xc0
mov dword [ebp - 0x48], eax
movss xmm0, dword [edx + 0xd0]
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [edx + 0xd4]
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [edi + 0x10]
jne 0x10051c61
subss xmm0, dword [esi + 0x48]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [ebp - 0x48]
cvtdq2ps xmm0, xmm0
movss xmm6, dword [0x100ae998]
mov ebx, 4
xorps xmm2, xmm2
addss xmm0, dword [esi + 0x28]
movss dword [ebp - 0x24], xmm0
addss xmm1, xmm0
movss xmm4, dword [esi + ebx + 0x28]
mov ebx, dword [ebp - 0x20]
addss xmm4, xmm2
movss xmm2, dword [ebp - 0x54]
movss dword [edx + 0xd0], xmm0
movss dword [ebp - 0x6c], xmm1
movss dword [ebp - 0x14], xmm0
movss dword [ebp - 0x4c], xmm4
addss xmm2, xmm4
movss dword [edx + 0xd4], xmm4
movss dword [ebp - 0x10], xmm4
movss dword [ebp - 0xc], xmm1
movss dword [ebp - 0x54], xmm2
movss dword [ebp - 8], xmm2
test eax, eax
jne 0x10051e4f
movss xmm5, dword [esi + 0x58]
comiss xmm5, xmm0
ja 0x10051ce4
comiss xmm1, dword [esi + 0x5c]
jbe 0x10051e4f
mov ecx, dword [0x100b9cf4]
movaps xmm3, xmm0
movss xmm1, dword [esi + 0x5c]
maxss xmm3, xmm5
movaps xmm0, xmm4
mov byte [ebp - 0x16], 1
subss xmm0, xmm6
movss dword [ebp - 0x60], xmm1
mov eax, dword [ecx + 0x1b98]
movaps xmm5, xmm2
movss dword [ebp - 0x5c], xmm5
movss dword [ebp - 0x68], xmm3
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1b98]
mov dword [ebp - 0x78], eax
movss dword [ebp - 0x64], xmm0
mov eax, dword [eax + 0x240]
mov dword [ebp - 0x74], eax
movups xmm4, xmmword [eax + 0x60]
comiss xmm4, xmm3
movups xmmword [ebp - 0x88], xmm4
jbe 0x10051d4f
movaps xmm3, xmm4
movss dword [ebp - 0x68], xmm3
movss xmm4, dword [ebp - 0x84]
comiss xmm4, xmm0
jbe 0x10051d64
movaps xmm0, xmm4
movss dword [ebp - 0x64], xmm0
movss xmm4, dword [ebp - 0x80]
comiss xmm1, xmm4
movss dword [ebp - 0x60], xmm1
jbe 0x10051d7b
movaps xmm1, xmm4
movss dword [ebp - 0x60], xmm1
movss xmm4, dword [ebp - 0x7c]
comiss xmm2, xmm4
jbe 0x10051d8d
movaps xmm5, xmm4
movss dword [ebp - 0x5c], xmm5
comiss xmm3, xmm1
jb 0x10051d97
movss dword [ebp - 0x60], xmm3
comiss xmm0, xmm5
jb 0x10051da1
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 0x10051dd9
inc edx
mov dword [ebp - 0x48], edx
test eax, eax
je 0x10051dc6
cdq
sub eax, edx
mov edx, dword [ebp - 0x48]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10051dcb
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1003c2c0
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx]
mov edx, dword [ecx + 8]
add eax, eax
movups xmm0, xmmword [ebp - 0x68]
movups xmmword [edx + eax*8], xmm0
inc dword [ecx]
mov ecx, dword [ebp - 0x74]
movups xmmword [ecx + 0x60], xmm0
call fcn.10034220
mov edx, dword [ebp - 0x78]
mov eax, dword [edx + 0x240]
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 + 0x1ec], eax
movss dword [edx + 0x1f0], xmm0
movss dword [edx + 0x1f4], xmm1
movss dword [edx + 0x1f8], xmm2
movss xmm2, dword [ebp - 0x54]
movss xmm1, dword [ebp - 0x6c]
movss xmm4, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x2c]
jmp 0x10051e53
mov byte [ebp - 0x16], 0
subss xmm1, dword [ebp - 0x24]
mov eax, dword [ebp - 0x30]
subss xmm2, xmm4
movss xmm0, dword [edx + 0xe8]
lea ecx, [ebp - 0x70]
movss xmm7, dword [edx + 0xec]
movss dword [ebp - 0x4c], xmm0
movss dword [ebp - 0x70], xmm1
movss xmm1, dword [eax + 0x1558]
movss dword [ebp - 0x6c], xmm2
call fcn.10024ac0
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x14]
movss xmm0, dword [ebp - 0x4c]
mov edx, ebx
push 0
push 0
movss dword [eax + 0xe8], xmm0
movss dword [eax + 0xec], xmm7
call fcn.10024bf0
add esp, 8
test al, al
jne 0x10051ef6
cmp byte [ebp - 0x16], al
je 0x10051ec5
call fcn.1001e350
mov eax, dword [ebp - 0x2c]
movss xmm0, dword [ebp - 0x28]
movss dword [eax + 0xd0], xmm0
movss xmm0, dword [ebp - 0x3c]
movss dword [eax + 0xd4], xmm0
mov al, byte [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007dbea
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x30]
mov edx, 0x1010
mov eax, 0x1210
cmp byte [ecx + 0x1e8c], 0
lea ecx, [ebp - 0x14]
cmove eax, edx
mov edx, ebx
push eax
lea eax, [ebp - 0x15]
push eax
lea eax, [ebp - 0x17]
push eax
call fcn.1003f5b0
add esp, 0xc
test al, al
je 0x10051f2a
mov dword [esi + 0x18], ebx
mov ecx, dword [ebp - 0x30]
mov eax, dword [0x100b9cf4]
cmp dword [ecx + 0x1bd0], ebx
je 0x10051f5e
mov edx, dword [eax + 0x1c38]
cmp dword [eax + 0x1bbc], edx
jne 0x10051f4f
mov byte [eax + 0x1bc4], 1
cmp dword [eax + 0x1bd0], edx
jne 0x10051f5e
mov byte [eax + 0x1bdd], 1
cmp byte [ebp - 0x15], 0
je 0x10051fec
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp - 0x38]
jl 0x10051fec
cmp byte [eax + 0xec], 0
je 0x10051fec
movss xmm1, dword [eax + 0x30]
movss xmm0, dword [eax + 0x450]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test al, al
je 0x10051fec
cmp byte [ecx + 0x1e8c], 0
jne 0x10051fec
test byte [esi + 0xc], 1
je 0x10051fec
movss xmm1, dword [ecx + 0x370]
xorps xmm2, xmm2
comiss xmm2, xmm1
jbe 0x10051fc1
movss xmm0, dword [ebp - 0x14]
comiss xmm0, dword [ecx + 0xe4]
ja 0x10051fd4
comiss xmm1, xmm2
jbe 0x10051fec
movss xmm0, dword [ecx + 0xe4]
comiss xmm0, dword [ebp - 0xc]
jbe 0x10051fec
push dword [ecx + 0xe8]
mov edx, edi
push dword [ecx + 0xe4]
mov ecx, esi
call fcn.100511f0
add esp, 8
cmp byte [ebp - 0x15], 0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x240]
mov dword [ebp - 0x24], eax
jne 0x1005202f
cmp byte [ebp - 0x17], 0
jne 0x1005202f
cmp byte [ebp - 0x1c], 0
je 0x1005201c
mov eax, dword [ebp - 0x50]
movzx eax, al
xor eax, 1
lea ecx, [eax*2 + 0x23]
jmp 0x10052034
cmp byte [ebp - 0x50], 0
mov ecx, 0x24
mov edx, 0x21
cmovne ecx, edx
jmp 0x10052034
mov ecx, 0x22
movss xmm1, dword [0x100ae998]
call fcn.10019190
mov ecx, dword [ebp - 0x24]
lea edx, [ebp - 0x14]
push eax
push 0x100000
call fcn.10052420
push 1
mov edx, ebx
lea ecx, [ebp - 0x14]
call fcn.10019ef0
mov ecx, dword [0x100b9cf4]
add esp, 0xc
cmp byte [ecx + 0x1d87], 0
mov edx, dword [ecx + 0x1b98]
je 0x100520b1
cmp byte [ecx + 0x1d86], 0
jne 0x100520b1
test byte [ecx + 0x1c3c], 4
jne 0x1005215b
mov eax, dword [ecx + 0x1d44]
cmp eax, dword [ecx + 0x1c38]
jne 0x100520a2
test eax, eax
je 0x100520a2
mov al, 1
jmp 0x100520a4
xor al, al
test al, al
je 0x1005215b
jmp 0x1005213a
mov eax, dword [ecx + 0x1c40]
test al, 1
je 0x1005215b
cmp dword [ecx + 0x1b9c], edx
je 0x100520cf
test al, al
jns 0x1005215b
mov eax, dword [ecx + 0x1bd0]
test eax, eax
je 0x100520ef
cmp eax, dword [ecx + 0x1c38]
je 0x100520ef
cmp byte [ecx + 0x1bdd], 0
jne 0x100520ef
cmp eax, dword [edx + 0x50]
jne 0x1005215b
mov eax, dword [ecx + 0x1d40]
test eax, eax
je 0x1005211d
mov eax, dword [eax + 0x2d8]
test eax, eax
je 0x1005211d
cmp byte [eax + 0x8b], 0
je 0x1005211d
cmp eax, dword [edx + 0x2d8]
je 0x1005211d
test dword [eax + 8], 0x8000000
jne 0x1005215b
test byte [ecx + 0x1c3c], 4
jne 0x1005215b
mov eax, dword [ecx + 0x1c38]
cmp eax, dword [edx + 0x50]
jne 0x1005213a
cmp byte [edx + 0x8c], 0
jne 0x1005215b
movss xmm0, dword [ecx + 0x404]
ucomiss xmm0, dword [0x100ae8bc]
lahf
test ah, 0x44
jnp 0x10052158
cmp byte [ecx + 0x3eb], 0
je 0x1005215b
mov dword [esi + 0x18], ebx
push dword [esi + 0x78]
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x17]
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 - 0x34]
or eax, 0x200000
shr eax, 1
push eax
call fcn.10052870
add esp, 0x24
cmp byte [ebp - 0x16], 0
je 0x10052199
call fcn.1001e350
cmp byte [ebp - 0x17], 0
mov eax, dword [ebp - 0x2c]
movss xmm0, dword [ebp - 0x28]
movss dword [eax + 0xd0], xmm0
movss xmm0, dword [ebp - 0x3c]
movss dword [eax + 0xd4], xmm0
je 0x10052308
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x1bbc], ebx
jne 0x10052308
cmp byte [ebp - 0x15], 0
jne 0x10052308
movss xmm0, dword [eax + 0x1bcc]
comiss xmm0, dword [eax + 0x2ef0]
jbe 0x10052308
mov eax, dword [0x100b9cf4]
cmp byte [eax + 0x1d87], 0
mov ecx, dword [eax + 0x1b98]
je 0x1005223d
cmp byte [eax + 0x1d86], 0
jne 0x1005223d
test byte [eax + 0x1c3c], 4
jne 0x10052308
mov ecx, dword [eax + 0x1d44]
cmp ecx, dword [eax + 0x1c38]
jne 0x1005222e
test ecx, ecx
je 0x1005222e
mov al, 1
jmp 0x10052230
xor al, al
test al, al
je 0x10052308
jmp 0x100522cb
mov edx, dword [eax + 0x1c40]
test dl, 1
je 0x10052308
cmp dword [eax + 0x1b9c], ecx
je 0x1005225c
test dl, dl
jns 0x10052308
mov edx, dword [eax + 0x1bd0]
test edx, edx
je 0x10052280
cmp edx, dword [eax + 0x1c38]
je 0x10052280
cmp byte [eax + 0x1bdd], 0
jne 0x10052280
cmp edx, dword [ecx + 0x50]
jne 0x10052308
mov edx, dword [eax + 0x1d40]
test edx, edx
je 0x100522ae
mov edx, dword [edx + 0x2d8]
test edx, edx
je 0x100522ae
cmp byte [edx + 0x8b], 0
je 0x100522ae
cmp edx, dword [ecx + 0x2d8]
je 0x100522ae
test dword [edx + 8], 0xc000000
jne 0x10052308
test byte [eax + 0x1c3c], 4
jne 0x10052308
mov eax, dword [eax + 0x1c38]
cmp eax, dword [ecx + 0x50]
jne 0x100522cb
cmp byte [ecx + 0x8c], 0
jne 0x10052308
test byte [esi + 0xc], 0x20
jne 0x10052308
test byte [edi + 4], 0x10
jne 0x10052308
mov eax, dword [ebp - 0x34]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x100522f7
mov dl, byte [ecx]
test dl, dl
je 0x100522f7
cmp dl, 0x23
jne 0x100522f1
cmp byte [ecx + 1], dl
je 0x100522f7
inc ecx
cmp ecx, 0xffffffff
jb 0x100522e1
push eax
sub ecx, eax
push ecx
push str._.s
call fcn.10025b10
add esp, 0xc
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x1c]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1007dbea
mov esp, ebp
pop ebp
ret