Function at 0x10128910
Capabilities:
Encode data using xor
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1031df73
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x1043900c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
mov dword [ebp - 4], 0
movups xmmword [ebp - 0xa0], xmm0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
push 0x10611d00
push 0
push 0
push 0x1a
push 0
mov byte [ebp - 4], 1
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x10128d5d
mov esi, dword [0x1060ba84]
mov edi, dword [0x1060ba88]
cmp esi, edi
je 0x101289cd
push ecx
mov ecx, esi
call fcn.1002d160
add esi, 0x18
cmp esi, edi
jne 0x101289b4
mov eax, dword [0x1060ba84]
mov dword [0x1060ba88], eax
cmp byte [0x104af8c0], 0
jne 0x10128a4a
mov byte [0x104af8c0], 1
xor edi, edi
nop
xor edx, edx
mov eax, edi
xor eax, dword [0x104af8d8]
xor edx, dword [0x104af8dc]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0xa4], eax
mov esi, dword [ebp - 0xa4]
mov ecx, edx
shld ecx, eax, 0xd
xor edx, ecx
shl eax, 0xd
xor esi, eax
mov ecx, edx
mov eax, esi
shrd eax, ecx, 7
shr ecx, 7
xor esi, eax
xor edx, ecx
mov dword [ebp - 0xa4], esi
mov ecx, esi
shld edx, ecx, 0x11
shl ecx, 0x11
xor cl, byte [edi + 0x104af8c1]
xor cl, byte [ebp - 0xa4]
mov byte [edi + 0x104af8c1], cl
inc edi
cmp edi, 0x12
jb 0x101289e0
push ecx
push 0x104af8d2
push 0x104af8c1
lea ecx, [ebp - 0x28]
call fcn.1001a620
mov byte [ebp - 4], 2
lea esi, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov ecx, 0x10611d00
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
cmovae esi, dword [ebp - 0x28]
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10128a90
sub ecx, edx
push ecx
push 0x10611d00
lea ecx, [ebp - 0x40]
call fcn.1001a920
push esi
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.1006d370
add esp, 4
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x10128af4
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10128aea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10128aea
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.102bb95a
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.10019dd0
cmp dword [0x1060ba44], 0x10
lea ecx, [ebp - 0x70]
mov eax, 0x1060ba30
mov dword [0x1060ba40], 0
cmovae eax, dword [0x1060ba30]
push 0
mov byte [eax], 0
cmp dword [ebp - 0x5c], 0x10
cmovae ecx, dword [ebp - 0x70]
call fcn.10128030
mov esi, dword [0x1060ba84]
add esp, 4
mov eax, dword [0x1060ba88]
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xac], eax
cmp esi, eax
je 0x10128d27
nop word [eax + eax]
cmp byte [0x104af090], 0
jne 0x10128c24
mov edi, dword [0x104af09c]
mov edx, edi
mov eax, dword [0x104af098]
xor edx, 0xd28f2c5
xor eax, 0x1de26cd5
mov byte [0x104af090], 1
mov dword [ebp - 0xa4], eax
mov ecx, edx
mov esi, dword [ebp - 0xa4]
xor edi, 0xd28f2c5
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor esi, eax
mov ecx, edx
mov eax, esi
shrd eax, ecx, 7
xor esi, eax
shr ecx, 7
xor edx, ecx
mov dword [ebp - 0xa4], esi
mov ecx, esi
mov esi, dword [ebp - 0xa8]
mov eax, ecx
shld edx, eax, 0x11
mov edx, dword [0x104af098]
shl eax, 0x11
xor edx, 0x1de26cd4
xor al, cl
mov ecx, edi
xor byte [0x104af091], al
mov eax, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edi, ecx
xor edx, eax
mov ecx, edi
mov eax, edx
shrd eax, ecx, 7
xor edx, eax
shr ecx, 7
xor edi, ecx
mov eax, edx
shld edi, eax, 0x11
shl eax, 0x11
xor al, dl
xor byte [0x104af092], al
push ecx
push 0x104af092
push 0x104af091
lea ecx, [ebp - 0x58]
call fcn.1001a620
mov byte [ebp - 4], 7
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
mov edi, dword [esi + 0x10]
cmovae edx, dword [ebp - 0x58]
mov eax, edx
lea ecx, [eax + 1]
mov dword [ebp - 0xa8], ecx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10128c54
sub eax, dword [ebp - 0xa8]
mov ecx, 0x7fffffff
sub ecx, edi
cmp ecx, eax
jb 0x10128d78
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x10128c7a
mov ecx, dword [esi]
push eax
push edx
push edi
push ecx
push ecx
push dword [ebp - 0xac]
lea ecx, [ebp - 0x28]
call fcn.1002cec0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov ecx, 0x1060ba30
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.1002bf00
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x10128cde
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10128cd4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10128d4d
push ecx
push edx
call fcn.102bb95a
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x10128d12
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10128d08
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10128d4d
push ecx
push edx
call fcn.102bb95a
add esp, 8
add esi, 0x18
mov dword [ebp - 0xa8], esi
cmp esi, dword [ebp - 0xac]
jne 0x10128b70
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0x10
jb 0x10128d5d
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10128d53
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10128d53
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.102bb95a
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102bb91c
mov esp, ebp
pop ebp
ret
call fcn.10014bf0
int3