Function at 0x10018490
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cf095
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x3d0
mov eax, dword [0x10105230]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x301], cl
push 0x208
lea eax, [ebp - 0x228]
push 0
push eax
call fcn.10097780
add esp, 0xc
lea eax, [ebp - 0x228]
push 0
push 0x25
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xorps xmm0, xmm0
mov dword [ebp - 0x2c0], 0
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x2bc], 0
movups xmmword [ebp - 0x2d0], xmm0
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10018530
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2d0]
call fcn.10017a20
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x228]
xorps xmm0, xmm0
mov dword [ebp - 0x2a8], 0
movups xmmword [ebp - 0x2b8], xmm0
mov dword [ebp - 0x2a4], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10018580
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2b8]
call fcn.10017a20
cmp byte [ebp - 0x301], 0
je 0x1001876a
mov edx, 0x45
mov dword [ebp - 0x280], 0x190045
mov dword [ebp - 0x27c], 0x370021
mov dword [ebp - 0x278], 0x33002c
mov dword [ebp - 0x274], 0x370020
mov dword [ebp - 0x270], 0x190036
mov dword [ebp - 0x26c], 0x310020
mov dword [ebp - 0x268], 0x190026
mov dword [ebp - 0x264], 0x2a002d
mov dword [ebp - 0x260], 0x310036
mov dword [ebp - 0x25c], 0x36
mov byte [ebp - 4], 3
xor ecx, ecx
nop
mov ax, word [ebp + ecx*2 - 0x27e]
xor ax, dx
mov word [ebp + ecx*2 - 0x258], ax
inc ecx
cmp ecx, 0x12
jae 0x10018642
mov dx, word [ebp - 0x280]
jmp 0x10018620
xor eax, eax
lea ecx, [ebp - 0x258]
mov word [ebp - 0x234], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10018654
sub ecx, edx
lea eax, [ebp - 0x258]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2d0]
call fcn.10021910
xor eax, eax
mov dword [ebp - 0x2a0], 0x77002b
mov edx, 0x2b
mov dword [ebp - 0x29c], 0x59004f
mov dword [ebp - 0x298], 0x5d0042
mov dword [ebp - 0x294], 0x59004e
mov dword [ebp - 0x290], 0x770058
mov dword [ebp - 0x28c], 0x5f004e
mov dword [ebp - 0x288], 0x770048
mov dword [ebp - 0x284], 0x440043
mov dword [ebp - 0x280], 0x5f0058
mov dword [ebp - 0x27c], 0x580058
mov dword [ebp - 0x278], 0x4e005b
mov dword [ebp - 0x274], 0x4f004e
mov dword [ebp - 0x270], 0x440048
mov dword [ebp - 0x26c], 0x4e0059
mov word [ebp - 0x268], ax
mov byte [ebp - 4], 4
xor ecx, ecx
nop word [eax + eax]
mov ax, word [ebp + ecx*2 - 0x29e]
xor ax, dx
mov word [ebp + ecx*2 - 0x266], ax
inc ecx
cmp ecx, 0x1b
jae 0x10018742
mov dx, word [ebp - 0x2a0]
jmp 0x10018720
xor eax, eax
lea ecx, [ebp - 0x266]
mov word [ebp - 0x230], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10018754
lea eax, [ebp - 0x266]
jmp 0x10018915
mov edi, 0x5f
mov dword [ebp - 0x29e], 0x3b0003
mov dx, di
mov dword [ebp - 0x29a], 0x36002d
mov word [ebp - 0x2a0], dx
mov dword [ebp - 0x296], 0x3a0029
lea esi, [edi - 0x32]
mov dword [ebp - 0x292], 0x2c002d
mov dword [ebp - 0x28e], 0x3a0003
mov dword [ebp - 0x28a], 0x3c002b
mov dword [ebp - 0x286], 0x370003
mov dword [ebp - 0x282], 0x2c0030
mov dword [ebp - 0x27e], 0x2c002b
mov dword [ebp - 0x27a], 0x2f002c
mov dword [ebp - 0x276], 0x3a003a
mov dword [ebp - 0x272], 0x3c003b
mov dword [ebp - 0x26e], 0x2d0030
mov dword [ebp - 0x26a], 0x3a
mov byte [ebp - 4], 5
xor ecx, ecx
nop
mov ax, word [ebp + ecx*2 - 0x29e]
xor ax, dx
mov word [ebp + ecx*2 - 0x266], ax
inc ecx
cmp ecx, 0x1b
jae 0x10018832
mov dx, word [ebp - 0x2a0]
jmp 0x10018810
xor eax, eax
lea ecx, [ebp - 0x266]
mov word [ebp - 0x230], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10018844
sub ecx, edx
lea eax, [ebp - 0x266]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2d0]
call fcn.10021910
mov dword [ebp - 0x280], 0x71002d
mov dword [ebp - 0x27c], 0x5f0049
mov dword [ebp - 0x278], 0x5b0044
mov dword [ebp - 0x274], 0x5f0048
mov dword [ebp - 0x270], 0x71005e
mov dword [ebp - 0x26c], 0x590048
mov dword [ebp - 0x268], 0x71004e
mov dword [ebp - 0x264], 0x420045
mov dword [ebp - 0x260], 0x59005e
mov dword [ebp - 0x25c], 0x5e
mov byte [ebp - 4], 6
xor ecx, ecx
mov ax, word [ebp + ecx*2 - 0x27e]
xor ax, si
mov word [ebp + ecx*2 - 0x258], ax
inc ecx
cmp ecx, 0x12
jae 0x100188f2
mov si, word [ebp - 0x280]
jmp 0x100188d0
xor eax, eax
lea ecx, [ebp - 0x258]
mov word [ebp - 0x234], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10018904
lea eax, [ebp - 0x258]
sub ecx, edx
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2b8]
call fcn.10021910
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2d0]
cmp dword [ebp - 0x2bc], 8
lea edx, [ebp - 0x308]
mov byte [ebp - 0x30c], 0
lea ecx, [ebp - 0x2e8]
cmovae eax, dword [ebp - 0x2d0]
push dword [ebp - 0x30c]
mov dword [ebp - 0x308], eax
call fcn.10020af0
add esp, 4
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 4], 7
call fcn.10021690
test al, al
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2d4]
sete al
mov byte [ebp - 0x30d], al
cmp ecx, 8
jb 0x100189c9
mov edx, dword [ebp - 0x2e8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100189b9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018f51
push ecx
push edx
call fcn.1009517b
mov al, byte [ebp - 0x30d]
add esp, 8
test al, al
je 0x10018a75
mov ecx, dword [ebp - 0x2a4]
cmp ecx, 8
jb 0x10018a11
mov edx, dword [ebp - 0x2b8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10018a07
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018f56
push ecx
push edx
call fcn.1009517b
add esp, 8
mov ecx, dword [ebp - 0x2bc]
xor eax, eax
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 7
mov word [ebp - 0x2b8], ax
cmp ecx, 8
jb 0x10018a6e
mov edx, dword [ebp - 0x2d0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10018a64
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018f56
push ecx
push edx
call fcn.1009517b
add esp, 8
xor al, al
jmp 0x10018f33
cmp dword [ebp - 0x2a4], 8
lea eax, [ebp - 0x2b8]
mov byte [ebp - 0x308], 0
lea edx, [ebp - 0x30c]
cmovae eax, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2e8]
push dword [ebp - 0x308]
mov dword [ebp - 0x30c], eax
call fcn.10020af0
add esp, 4
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 4], 8
call fcn.10020ac0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2d4]
cmp ecx, 8
jb 0x10018b03
mov edx, dword [ebp - 0x2e8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10018af9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018f5b
push ecx
push edx
call fcn.1009517b
add esp, 8
cmp dword [ebp - 0x2a4], 8
lea eax, [ebp - 0x2b8]
mov byte [ebp - 0x308], 0
lea edx, [ebp - 0x30c]
cmovae eax, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2e8]
push dword [ebp - 0x308]
mov dword [ebp - 0x30c], eax
call fcn.10020af0
add esp, 4
mov byte [ebp - 4], 9
lea eax, [ebp - 0x2d0]
cmp dword [ebp - 0x2bc], 8
lea edx, [ebp - 0x30c]
mov byte [ebp - 0x308], 0
lea ecx, [ebp - 0x300]
cmovae eax, dword [ebp - 0x2d0]
push dword [ebp - 0x308]
mov dword [ebp - 0x30c], eax
call fcn.10020af0
add esp, 4
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2e8]
cmp dword [ebp - 0x2d4], 8
lea eax, [ebp - 0x300]
cmovae ecx, dword [ebp - 0x2e8]
cmp dword [ebp - 0x2ec], 8
push ecx
cmovae eax, dword [ebp - 0x300]
push eax
call fcn.10093352
test eax, eax
jne 0x10018f60
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x2ec]
cmp ecx, 8
jb 0x10018bfc
mov edx, dword [ebp - 0x300]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10018bf2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018f75
push ecx
push edx
call fcn.1009517b
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2d4]
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x2ec], 7
mov word [ebp - 0x300], ax
cmp ecx, 8
jb 0x10018c5d
mov edx, dword [ebp - 0x2e8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10018c53
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018f75
push ecx
push edx
call fcn.1009517b
add esp, 8
cmp byte [ebp - 0x301], 0
lea eax, [ebp - 0x2d0]
je 0x10018cde
cmp dword [ebp - 0x2bc], 8
lea ecx, [ebp - 0x3e0]
cmovae eax, dword [ebp - 0x2d0]
sub esp, 0xc
push eax
call fcn.1001e520
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x37c], 0
je 0x10018cce
lea ecx, [ebp - 0x3c8]
call fcn.1001f260
test eax, eax
jne 0x10018cce
mov eax, dword [ebp - 0x3e0]
lea ecx, [ebp - 0x3e0]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10008380
lea ecx, [ebp - 0x3e0]
call fcn.10018fa0
jmp 0x10018e98
cmp dword [ebp - 0x2bc], 8
lea edx, [ebp - 0x30c]
mov byte [ebp - 0x308], 0
lea ecx, [ebp - 0x2e8]
cmovae eax, dword [ebp - 0x2d0]
push dword [ebp - 0x308]
mov dword [ebp - 0x30c], eax
call fcn.10020af0
add esp, 4
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 4], 0xc
call fcn.10020ac0
mov ecx, dword [ebp - 0x2d4]
cmp ecx, 8
jb 0x10018e98
mov edx, dword [ebp - 0x2e8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10018d5c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018f7a
push ecx
push edx
call fcn.1009517b
add esp, 8
jmp 0x10018e98
mov ecx, dword [ebp - 0x2a4]
cmp ecx, 8
jb 0x10018ed8
mov edx, dword [ebp - 0x2b8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10018ece
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018f7f
push ecx
push edx
call fcn.1009517b
add esp, 8
mov ecx, dword [ebp - 0x2bc]
xor eax, eax
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 7
mov word [ebp - 0x2b8], ax
cmp ecx, 8
jb 0x10018f31
mov edx, dword [ebp - 0x2d0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10018f27
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018f7f
push ecx
push edx
call fcn.1009517b
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10094e23
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100a129f
call fcn.100a129f
call fcn.100a129f
lea ecx, [ebp - 0x2e8]
mov edx, eax
push ecx
lea ecx, [ebp - 0x300]
push ecx
call fcn.10020a10
call fcn.100a129f
call fcn.100a129f
call fcn.100a129f
int3