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

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0xebc
push ebx
push ebp
mov ebp, dword [esp + 0xec8]
push esi
push edi
xor ebx, ebx
push 0x5c
push ebp
mov dword [eax], ebx
call fcn.1001a1b0
add esp, 8
test eax, eax
jne 0x10018cf5
lea ecx, [esp + 0xcc]
push 0x200
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, 0x100296d0
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xcc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0xcc]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
jmp 0x10018d16
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xcc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov al, 0x65
rep movsb byte es:[edi], byte [esi]
mov cl, 0x6c
mov dl, 0x69
mov byte [esp + 0x20], 0x6e
mov byte [esp + 0x21], 0x74
mov byte [esp + 0x22], 0x64
mov byte [esp + 0x23], cl
mov byte [esp + 0x24], cl
mov byte [esp + 0x25], 0x2e
mov byte [esp + 0x26], 0x64
mov byte [esp + 0x27], cl
mov byte [esp + 0x28], cl
mov byte [esp + 0x29], bl
mov byte [esp + 0x38], 0x5a
mov byte [esp + 0x39], 0x77
mov byte [esp + 0x3a], 0x43
mov byte [esp + 0x3b], 0x72
mov byte [esp + 0x3c], al
mov byte [esp + 0x3d], 0x61
mov byte [esp + 0x3e], 0x74
mov byte [esp + 0x3f], al
mov byte [esp + 0x40], 0x46
mov byte [esp + 0x41], dl
mov byte [esp + 0x42], cl
mov byte [esp + 0x43], al
mov byte [esp + 0x44], bl
mov byte [esp + 0x60], 0x5a
mov byte [esp + 0x61], 0x77
mov byte [esp + 0x62], 0x51
mov byte [esp + 0x63], 0x75
mov byte [esp + 0x64], al
mov byte [esp + 0x65], 0x72
mov byte [esp + 0x66], 0x79
mov byte [esp + 0x67], 0x49
mov byte [esp + 0x68], 0x6e
mov byte [esp + 0x69], 0x66
mov byte [esp + 0x6a], 0x6f
mov byte [esp + 0x6b], 0x72
mov byte [esp + 0x6c], 0x6d
mov byte [esp + 0x6d], 0x61
mov byte [esp + 0x6e], 0x74
mov byte [esp + 0x6f], dl
mov byte [esp + 0x70], 0x6f
mov byte [esp + 0x71], 0x6e
mov byte [esp + 0x72], 0x46
mov byte [esp + 0x73], dl
mov byte [esp + 0x74], cl
mov byte [esp + 0x75], al
mov byte [esp + 0x76], bl
mov byte [esp + 0x2c], 0x5a
mov byte [esp + 0x2d], 0x77
mov byte [esp + 0x2e], 0x52
mov byte [esp + 0x2f], al
mov byte [esp + 0x30], 0x61
mov byte [esp + 0x31], 0x64
mov byte [esp + 0x32], 0x46
mov byte [esp + 0x33], dl
mov byte [esp + 0x34], cl
mov byte [esp + 0x35], al
mov byte [esp + 0x36], bl
mov byte [esp + 0x18], 0x5a
mov byte [esp + 0x19], 0x77
mov byte [esp + 0x1a], 0x43
mov byte [esp + 0x1b], cl
mov byte [esp + 0x1c], 0x6f
mov byte [esp + 0x1d], 0x73
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], bl
mov byte [esp + 0x48], 0x52
mov byte [esp + 0x49], 0x74
mov byte [esp + 0x4a], cl
mov byte [esp + 0x4b], 0x49
mov byte [esp + 0x4c], 0x6e
mov byte [esp + 0x4d], dl
mov byte [esp + 0x4e], 0x74
mov byte [esp + 0x4f], 0x55
mov byte [esp + 0x50], 0x6e
mov byte [esp + 0x51], dl
mov byte [esp + 0x52], 0x63
lea ecx, [esp + 0x20]
mov byte [esp + 0x53], 0x6f
push ecx
mov byte [esp + 0x58], 0x64
mov byte [esp + 0x59], al
mov byte [esp + 0x5a], 0x53
mov byte [esp + 0x5b], 0x74
mov byte [esp + 0x5c], 0x72
mov byte [esp + 0x5d], dl
mov byte [esp + 0x5e], 0x6e
mov byte [esp + 0x5f], 0x67
mov byte [esp + 0x60], bl
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea edx, [esp + 0x38]
mov esi, eax
push edx
push esi
call fcn.10018a80
mov ebp, eax
lea eax, [esp + 0x68]
push eax
push esi
call fcn.10018a80
lea ecx, [esp + 0x3c]
mov dword [esp + 0xb8], eax
push ecx
push esi
call fcn.10018a80
lea edx, [esp + 0x30]
mov dword [esp + 0xbc], eax
push edx
push esi
call fcn.10018a80
mov dword [esp + 0x34], eax
lea eax, [esp + 0x68]
push eax
push esi
call fcn.10018a80
xor ecx, ecx
mov esi, eax
mov dword [esp + 0xb8], ecx
mov eax, 0x3f
mov dword [esp + 0xbc], ecx
mov word [esp + 0xaa], ax
mov dword [esp + 0xc0], ecx
mov word [esp + 0xac], ax
mov dword [esp + 0xc4], ecx
xor eax, eax
mov dword [esp + 0xc8], ecx
mov ecx, 0x5c
mov word [esp + 0xa8], cx
mov word [esp + 0xae], cx
mov ecx, 0x100
lea edi, [esp + 0x2f4]
rep stosd dword es:[edi], eax
add esp, 0x28
lea eax, [esp + 0x2cc]
lea edi, [esp + 0xcc]
or ecx, 0xffffffff
push 0x200
push eax
xor eax, eax
xor edx, edx
repne scasb al, byte es:[edi]
mov dword [esp + 0xb8], edx
mov dword [esp + 0x94], ebx
not ecx
mov dword [esp + 0xbc], edx
dec ecx
mov dword [esp + 0xc0], edx
push ecx
lea ecx, [esp + 0xd8]
mov dword [esp + 0xc8], edx
push ecx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xd0], edx
mov word [esp + 0x98], bx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea edx, [esp + 0x80]
lea eax, [esp + 0x6cc]
push edx
push eax
call fcn.1001a0b3
lea ecx, [esp + 0x2d4]
lea edx, [esp + 0x6d4]
push ecx
push edx
call fcn.1001a089
add esp, 0x10
lea eax, [esp + 0x6cc]
lea ecx, [esp + 0xc4]
push eax
push ecx
call esi
push ebx
push ebx
push 0x20
push 1
push 1
lea edx, [esp + 0xd8]
push 0x80
lea eax, [esp + 0x90]
push ebx
lea ecx, [esp + 0xa8]
mov dword [esp + 0xb0], edx
push eax
push ecx
lea edx, [esp + 0x34]
push 0x100001
push edx
mov dword [esp + 0xb8], 0x18
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc4], 0x40
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
call ebp
test eax, eax
jge 0x1001909b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xebc
ret
mov edx, dword [esp + 0x10]
push 5
lea eax, [esp + 0xb0]
push 0x18
lea ecx, [esp + 0x80]
push eax
push ecx
push edx
call dword [esp + 0xbc]
test eax, eax
jge 0x100190d5
mov eax, dword [esp + 0x10]
push eax
call dword [esp + 0x18]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xebc
ret
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.10019f32
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x10019101
mov edx, dword [esp + 0x10]
push edx
call dword [esp + 0x18]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xebc
ret
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0x10]
push ebx
push ebx
push eax
lea ecx, [esp + 0x84]
push esi
push ecx
push ebx
push ebx
push ebx
push edx
call dword [esp + 0xc8]
test eax, eax
jge 0x10019146
push esi
call fcn.10019e49
mov eax, dword [esp + 0x14]
add esp, 4
push eax
call dword [esp + 0x18]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xebc
ret
mov edx, dword [esp + 0xed4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xb4]
push eax
mov dword [edx], ecx
call dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xebc
ret