Function at 0x10108e40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x174
mov eax, dword [0x101f90c0]
xor eax, esp
mov dword [esp + 0x170], eax
mov eax, dword [0x10214408]
push ebx
push esi
push edi
cmp byte [eax + 0x326d], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], 0
je 0x1010997c
mov eax, dword [0x10215cf4]
cmp dword [eax], 0
je 0x1010997c
mov eax, dword [0x10214410]
mov ecx, edx
push 0
push str.userid
mov edi, dword [eax + 0x18]
mov esi, dword [eax + 0x10]
mov eax, dword [edx]
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [esi]
push eax
mov edx, dword [ecx + 0x24]
mov ecx, esi
call edx
mov ecx, dword [edi]
push eax
mov edx, dword [ecx + 0xc]
mov ecx, edi
call edx
mov edi, eax
test edi, edi
je 0x1010997c
xorps xmm0, xmm0
mov dword [esp + 0x40], 0
movups xmmword [esp + 0x30], xmm0
mov dword [esp + 0x44], 0xf
mov ecx, edi
mov byte [esp + 0x30], 0
mov eax, dword [edi]
mov eax, dword [eax + 0x160]
call eax
mov ecx, dword [edi]
mov esi, eax
mov dword [esp + 0x20], esi
mov edx, dword [ecx + 0x270]
mov ecx, edi
call edx
mov ecx, dword [edi + 8]
mov byte [esp + 0x16], al
mov edx, dword [ecx + 0x24]
lea ecx, [edi + 8]
call edx
mov byte [esp + 0x17], al
test al, al
je 0x10108f49
mov ecx, dword [0x10214404]
mov ecx, dword [ecx + 0xb4]
mov ecx, dword [ecx]
test ecx, ecx
je 0x10108f49
mov eax, dword [edi + 8]
lea esi, [ecx + 0x9d8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [esi]
push eax
mov edx, dword [ecx + 0x14]
mov ecx, esi
call edx
mov esi, dword [esp + 0x20]
mov byte [esp + 0x16], al
mov eax, dword [0x101e3348]
xor ebx, ebx
mov dword [esp + 0x48], eax
mov al, byte [0x101e334c]
mov byte [esp + 0x4c], al
nop dword [eax]
mov eax, 0x5397829d
mov cl, bl
mul ebx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x48], cl
inc ebx
cmp ebx, 5
jl 0x10108f60
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x48]
push 0x101c448e
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov ecx, 0x3d96e080
mov dword [esp + 0x18], eax
call fcn.100c68e0
add eax, edi
mov ecx, edi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xf8]
push eax
call fcn.101823a0
xorps xmm0, xmm0
mov dword [esp + 0x90], 0
lea ecx, [esp + 0xf8]
mov dword [esp + 0x94], 0
movups xmmword [esp + 0x80], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10108fe4
sub ecx, edx
lea eax, [esp + 0xf8]
push ecx
push eax
lea ecx, [esp + 0x88]
call fcn.10026930
mov eax, dword [0x10215cf4]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x160]
call eax
cmp esi, eax
je 0x10109912
mov dl, byte [esp + 0x16]
test dl, dl
jne 0x10109083
cmp esi, 1
je case.0x1010908e.1
test esi, esi
je case.0x1010908e.0
mov edx, dword [esp + 0x44]
mov eax, edx
mov ecx, dword [esp + 0x40]
sub eax, ecx
push 7
push str.DEAD
cmp eax, 7
jb 0x10109070
cmp edx, 0xf
lea esi, [esp + 0x38]
lea eax, [ecx + 7]
cmova esi, dword [esp + 0x38]
add esi, ecx
mov dword [esp + 0x48], eax
push esi
call fcn.1018f8f0
mov byte [esi + 7], 0
add esp, 0xc
mov esi, dword [esp + 0x20]
jmp 0x1010907f
push dword [esp + 0x20]
lea ecx, [esp + 0x3c]
push 7
call fcn.10027540
mov dl, byte [esp + 0x16]
mov bl, dl
cmp esi, 3
ja case.default.0x1010908e
jmp dword [esi*4 + 0x101099a0]
cmp dword [esp + 0x44], 0xf
lea ecx, [esp + 0x30]
mov eax, dword [esp + 0x40]
mov bl, dl
cmova ecx, dword [esp + 0x30]
mov byte [ecx + eax], 0
jmp case.default.0x1010908e
cmp byte [str._wvepwfrNXy_4__f_0___H], 0
mov bl, dl
mov eax, dword [0x101e37e0]
mov ecx, dword [0x101e37e4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
je 0x1010920f
xor ebx, ebx
cmp dword [0x10215510], 2
jl 0x101091df
movaps xmm2, xmmword [0x101eb880]
mov bl, dl
movaps xmm3, xmmword [0x101ebc30]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101eb8e0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101eb8c0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101eb990]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.4444444444444444]
movd xmm0, eax
lea eax, [esp + 0x20]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x20], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
push eax
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101eb8e0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101eb990]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.4444444444444444]
movd xmm0, ecx
lea ecx, [esp + 0x34]
xorps xmm1, xmm0
movd dword [esp + 0x28], xmm1
call fcn.1001f970
jmp case.default.0x1010908e
mov byte [esp + 0x16], dl
mov eax, 0x5397829d
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x20], cl
inc ebx
cmp ebx, 8
jl 0x101091e3
mov bl, byte [esp + 0x16]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
call fcn.1001f970
jmp case.default.0x1010908e
mov eax, dword [0x101e3bb8]
xor ebx, ebx
cmp dword [0x10215510], 2
movups xmm0, xmmword [0x101e3ba8]
mov dword [esp + 0x60], eax
mov al, byte [0x101e3bbc]
movups xmmword [esp + 0x50], xmm0
mov byte [esp + 0x64], al
mov byte [esp + 0x16], dl
jl 0x10109380
movaps xmm0, xmmword [str.4444444444444444]
lea esi, [esp + 0x54]
movaps xmm4, xmmword [0x101eb880]
movaps xmm3, xmmword [0x101ebc30]
movaps xmm5, xmmword [0x101eb8e0]
movaps xmmword [esp + 0x20], xmm0
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x16], dl
movd xmm0, ebx
lea eax, [ebx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101eb990]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x50]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ebx + 0x50], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101eb990]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebx + esi]
xorps xmm1, xmm0
movd dword [ebx + esi], xmm1
add ebx, 8
cmp ebx, 0x10
jl 0x10109280
cmp ebx, 0x15
jge 0x101093a8
nop word [eax + eax]
mov eax, 0x5397829d
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x50], cl
inc ebx
cmp ebx, 0x15
jl 0x10109380
lea eax, [esp + 0x50]
jmp 0x1010950c
mov eax, dword [0x101e35ec]
xor ebx, ebx
cmp dword [0x10215510], 2
movq xmm0, qword [0x101e35e4]
mov dword [esp + 0x28], eax
mov al, byte [0x101e35f0]
movq qword [esp + 0x20], xmm0
mov byte [esp + 0x2c], al
mov byte [esp + 0x16], dl
jl 0x101094e0
movaps xmm2, xmmword [0x101eb880]
mov ebx, 8
movaps xmm4, xmmword [0x101ebc30]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
mov eax, dword [str.4444444444444444]
movaps xmm0, xmm1
mov byte [esp + 0x16], dl
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101eb8e0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101eb8c0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101eb990]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x101e35e4]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x20], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101eb8e0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101eb990]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x24]
xorps xmm1, xmm0
movd dword [esp + 0x24], xmm1
nop
mov eax, 0x5397829d
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x20], cl
inc ebx
cmp ebx, 0xd
jl 0x101094e0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
call fcn.1001f970
mov bl, byte [esp + 0x16]
cmp byte [esp + 0x17], 0
jne 0x10109589
test bl, bl
je 0x10109589
mov esi, dword [esp + 0x1c]
xorps xmm0, xmm0
mov ecx, esi
mov dword [esp + 0xc0], 0
movups xmmword [esp + 0xb0], xmm0
mov dword [esp + 0xc4], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10109550
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0xb8]
call fcn.10026930
lea eax, [esp + 0xb0]
mov edx, 0x101e2e10
push eax
lea ecx, [esp + 0xcc]
call fcn.100237c0
mov edi, eax
mov ebx, 3
jmp 0x101095be
xorps xmm0, xmm0
mov dword [esp + 0xa8], 0
movups xmmword [esp + 0x98], xmm0
mov dword [esp + 0xac], 0xf
lea edi, [esp + 0x98]
mov byte [esp + 0x98], 0
mov ebx, 4
mov edx, dword [esp + 0x40]
mov eax, 0x7fffffff
mov esi, dword [esp + 0x90]
sub eax, edx
cmp eax, esi
jb 0x10109991
cmp dword [esp + 0x44], 0xf
lea ecx, [esp + 0x30]
push esi
cmova ecx, dword [esp + 0x34]
lea eax, [esp + 0x84]
cmp dword [esp + 0x98], 0xf
cmova eax, dword [esp + 0x84]
push eax
push edx
push ecx
push ecx
push dword [esp + 0x2c]
lea ecx, [esp + 0xf8]
call fcn.10028b10
push edi
lea eax, [esp + 0xe4]
push eax
push dword [esp + 0x20]
lea ecx, [esp + 0x5c]
call fcn.10028920
mov ecx, dword [esp + 0x64]
mov eax, ecx
mov edi, dword [esp + 0x60]
sub eax, edi
push 3
push 0x101e2dfc
cmp eax, 3
jb 0x1010966a
cmp ecx, 0xf
lea esi, [esp + 0x58]
lea eax, [edi + 3]
cmova esi, dword [esp + 0x58]
mov dword [esp + 0x68], eax
lea eax, [esi + edi]
push eax
call fcn.1018f8f0
add esp, 0xc
mov byte [esi + edi + 3], 0
lea eax, [esp + 0x50]
jmp 0x10109679
push dword [esp + 0x20]
lea ecx, [esp + 0x5c]
push 3
call fcn.10027540
push dword [esp + 0x18]
mov dword [esp + 0x7c], 0
lea ecx, [esp + 0x6c]
mov dword [esp + 0x80], 0
xorps xmm0, xmm0
movups xmmword [esp + 0x6c], xmm0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x6c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x7c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.1001f970
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
movups xmmword [esp + 0x20], xmm0
movq qword [esp + 0x48], xmm1
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x1010972a
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10109715
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10109996
push ecx
push edx
call fcn.1018e3c3
movups xmm0, xmmword [esp + 0x28]
add esp, 8
movq xmm1, qword [esp + 0x48]
mov ecx, dword [esp + 0x7c]
movq qword [esp + 0x40], xmm1
movups xmmword [esp + 0x30], xmm0
cmp ecx, 0xf
jbe 0x1010976b
mov edx, dword [esp + 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10109761
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10109996
push ecx
push edx
call fcn.1018e3c3
add esp, 8
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0xf
mov byte [esp + 0x68], 0
cmp ecx, 0xf
jbe 0x101097b6
mov edx, dword [esp + 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101097ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10109996
push ecx
push edx
call fcn.1018e3c3
add esp, 8
mov ecx, dword [esp + 0xf4]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0xf
mov byte [esp + 0x50], 0
cmp ecx, 0xf
jbe 0x10109807
mov edx, dword [esp + 0xe0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101097fd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10109996
push ecx
push edx
call fcn.1018e3c3
add esp, 8
test bl, 4
je 0x1010984b
mov ecx, dword [esp + 0xac]
and ebx, 0xfffffffb
cmp ecx, 0xf
jbe 0x1010984b
mov edx, dword [esp + 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10109841
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10109996
push ecx
push edx
call fcn.1018e3c3
add esp, 8
test bl, 2
je 0x101098aa
mov ecx, dword [esp + 0xdc]
cmp ecx, 0xf
jbe 0x1010988c
mov edx, dword [esp + 0xc8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10109882
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10109996
push ecx
push edx
call fcn.1018e3c3
add esp, 8
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0xf
mov byte [esp + 0xc8], 0
test bl, 1
je 0x101098eb
mov ecx, dword [esp + 0xc4]
cmp ecx, 0xf
jbe 0x101098eb
mov edx, dword [esp + 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101098e1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10109996
push ecx
push edx
call fcn.1018e3c3
add esp, 8
mov eax, dword [0x10214404]
lea ecx, [esp + 0x30]
cmp dword [esp + 0x44], 0xf
cmova ecx, dword [esp + 0x30]
mov eax, dword [eax + 8]
push ecx
push 0
mov edx, dword [eax + 0x1c]
push edx
mov eax, dword [edx]
mov eax, dword [eax + 0x68]
call eax
add esp, 0xc
mov ecx, dword [esp + 0x94]
cmp ecx, 0xf
jbe 0x1010994a
mov edx, dword [esp + 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10109940
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010999b
push ecx
push edx
call fcn.1018e3c3
add esp, 8
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x1010997c
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10109972
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010999b
push ecx
push edx
call fcn.1018e3c3
add esp, 8
mov ecx, dword [esp + 0x17c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1018e0ca
mov esp, ebp
pop ebp
ret
call fcn.10003270
call fcn.101934f6
call fcn.101934f6
xchg ebp, eax
nop
adc byte [eax], dl
mov dl, 0x90
adc byte [eax], dl
mov cl, 0x93
adc byte [eax], dl
and dl, byte [edx - 0x74aaeff0]
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x101f90c0]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [0x1021551c]
mov dword [esp + 0x10], eax
mov eax, dword fs:[0x2c]
push edi
mov edi, edx
mov dword [esp + 0xc], ecx
mov esi, dword [eax + esi*4]
mov eax, dword [0x103dc154]
cmp eax, dword [esi + 4]
jle 0x10109a89
push 0x103dc154
call fcn.1018e65d
add esp, 4
cmp dword [0x103dc154], 0xffffffff
jne 0x10109a89
mov eax, dword [0x10214410]
xor edx, edx
movq xmm0, qword [str.GCiPJXLRHD_]
mov dword [esp + 8], edx
mov esi, dword [eax + 8]
mov ax, word [0x101dc700]
mov word [esp + 0x20], ax
mov al, byte [0x101dc702]
movq qword [esp + 0x18], xmm0
mov byte [esp + 0x22], al
nop dword [eax]
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
mov edx, dword [esp + 8]
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x34
xor byte [esp + edx + 0x18], cl
inc edx
mov dword [esp + 8], edx
cmp edx, 0xb
jl 0x10109a40
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x3c]
call eax
push 0x103dc154
mov dword [0x103dc104], eax
call fcn.1018e60c
add esp, 4
mov ecx, dword [0x103dc104]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 8], eax
call dword [esp + 8]
mov eax, dword [esp + 0xc]
movss xmm1, dword [0x101eb744]
fstp dword [esp + 8]
movss xmm2, dword [eax + 8]
comiss xmm1, xmm2
jbe 0x10109b98
movss xmm0, dword [edi + 8]
comiss xmm0, xmm2
jbe 0x10109b98
comiss xmm1, xmm0
jbe 0x10109b98
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
xorps xmm1, xmm1
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x10109af8
sqrtsd xmm0, xmm0
jmp 0x10109afd
call fcn.101b6480
movss xmm1, dword [edi + 4]
cvtsd2ss xmm0, xmm0
mulss xmm1, xmm1
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edi]
mulss xmm0, xmm0
addss xmm0, xmm1
xorps xmm1, xmm1
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x10109b2e
sqrtsd xmm0, xmm0
jmp 0x10109b33
call fcn.101b6480
cvtsd2ss xmm0, xmm0
comiss xmm0, dword [esp + 0xc]
jb 0x10109b98
mov eax, dword [0x10214404]
movss xmm0, dword [esp + 8]
movss xmm1, dword [edi + 8]
push ecx
mov eax, dword [eax + 0x10]
mulss xmm0, dword [eax + 0x20]
subss xmm1, xmm0
movss dword [esp], xmm1
call fcn.1019eb76
mov eax, dword [esp + 0x18]
fstp dword [esp + 0x10]
movss xmm0, dword [eax + 8]
movss dword [esp], xmm0
call fcn.1019eb76
movss xmm0, dword [esp + 0x10]
add esp, 4
fstp dword [esp + 0x10]
ucomiss xmm0, dword [esp + 0x10]
lahf
test ah, 0x44
jnp 0x10109c6f
movss xmm1, dword [edi + 4]
movss xmm0, dword [edi]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
xorps xmm1, xmm1
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x10109bbf
sqrtsd xmm0, xmm0
jmp 0x10109bc4
call fcn.101b6480
mov eax, dword [esp + 0x14]
cvtsd2ss xmm0, xmm0
movss xmm1, dword [eax + 4]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [eax]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
xorps xmm1, xmm1
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x10109bf9
sqrtsd xmm0, xmm0
jmp 0x10109bfe
call fcn.101b6480
cvtsd2ss xmm0, xmm0
comiss xmm0, dword [esp + 0x10]
jb 0x10109c84
mov eax, dword [0x10214404]
movss xmm0, dword [esp + 8]
mulss xmm0, dword [0x101eb2e4]
mov eax, dword [eax + 0x10]
mulss xmm0, dword [eax + 0x20]
xorps xmm0, xmmword [0x101ebc70]
comiss xmm0, dword [edi + 8]
movss dword [esp + 0x10], xmm0
jbe 0x10109c84
mov eax, dword [esp + 0x14]
push ecx
fld dword [eax + 8]
fstp dword [esp]
call fcn.1019eb76
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.1019eb76
movss xmm0, dword [esp + 0x10]
add esp, 4
fstp dword [esp + 0x10]
ucomiss xmm0, dword [esp + 0x10]
lahf
test ah, 0x44
jp 0x10109c84
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.1018e0ca
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x24]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.1018e0ca
mov esp, ebp
pop ebp
ret 4