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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x19c
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0x24]
push edi
call fcn.100325b9
xor eax, eax
mov dword [esp + 0x38], 0x41800000
inc eax
xor ebx, ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], eax
mov byte [esp + 0x44], al
mov eax, dword [esi + 0x40]
mov dword [esp + 0x58], eax
mov eax, dword [0x10189494]
mov dword [esp + 0x20], eax
push 0x104
mov dword [eax + 0x20], ebx
lea eax, [esp + 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 0xa0]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b9eb
mov byte [esp + 0xd], 0x5e
sub ecx, edx
mov byte [esp + 0xe], 0x48
mov byte [esp + 0xf], 0x71
mov byte [esp + 0x10], 0x70
mov byte [esp + 0x11], 0x76
mov byte [esp + 0x12], 0x75
mov byte [esp + 0x13], 0x5e
mov byte [esp + 0x14], 0x6f
mov byte [esp + 0x15], 0x6b
mov byte [esp + 0x16], 0x65
mov byte [esp + 0x17], 0x74
mov byte [esp + 0x18], 0x71
mov byte [esp + 0x19], 0x75
mov byte [esp + 0x1a], 0x75
mov byte [esp + 0x1b], 0x30
mov byte [esp + 0x1c], 0x76
mov byte [esp + 0x1d], 0x76
mov byte [esp + 0x1e], 0x68
mov byte [esp + 0x1f], bl
mov al, byte [esp + 0xd]
mov dword [esp + 0x24], ecx
mov eax, ebx
sub byte [esp + eax + 0xd], 2
inc eax
cmp eax, 0x12
jb 0x1004ba5c
lea edx, [esp + 0xd]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1004ba6d
lea edi, [esp + 0xa0]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1004ba7e
mov ecx, edx
movss xmm2, dword [0x100b5144]
shr ecx, 2
lea eax, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ecx
mov ecx, dword [esp + 0x24]
push eax
lea eax, [esp + 0xa8]
push eax
mov ecx, dword [ecx + 0x48]
call fcn.10032adc
mov eax, dword [esp + 0x24]
mov byte [esp + 0x64], 1
mov byte [esp + eax + 0xa0], bl
mov byte [esp + 0xd], 0x65
mov byte [esp + 0xe], 0x4f
mov byte [esp + 0xf], 0x78
mov byte [esp + 0x10], 0x77
mov byte [esp + 0x11], 0x7d
mov byte [esp + 0x12], 0x7c
mov byte [esp + 0x13], 0x65
mov byte [esp + 0x14], 0x7c
mov byte [esp + 0x15], 0x72
mov byte [esp + 0x16], 0x76
mov byte [esp + 0x17], 0x7c
mov byte [esp + 0x18], 0x7e
mov byte [esp + 0x19], 0x77
mov byte [esp + 0x1a], 0x37
mov byte [esp + 0x1b], 0x7d
mov byte [esp + 0x1c], 0x7d
mov byte [esp + 0x1d], 0x6c
mov byte [esp + 0x1e], bl
mov al, byte [esp + 0xd]
mov eax, ebx
sub byte [esp + eax + 0xd], 9
inc eax
cmp eax, 0x11
jb 0x1004bb25
lea edx, [esp + 0xd]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1004bb36
lea edi, [esp + 0xa0]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1004bb47
mov ecx, edx
movss xmm2, dword [0x100b5144]
shr ecx, 2
lea eax, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ecx
push eax
lea eax, [esp + 0xa8]
push eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x48]
call fcn.10032adc
mov eax, dword [esp + 0x24]
mov byte [esp + eax + 0xa0], bl
mov byte [esp + 0xd], 0x64
mov byte [esp + 0xe], 0x4e
mov byte [esp + 0xf], 0x77
mov byte [esp + 0x10], 0x76
mov byte [esp + 0x11], 0x7c
mov byte [esp + 0x12], 0x7b
mov byte [esp + 0x13], 0x64
mov byte [esp + 0x14], 0x75
mov byte [esp + 0x15], 0x69
mov byte [esp + 0x16], 0x74
mov byte [esp + 0x17], 0x6f
mov byte [esp + 0x18], 0x7d
mov byte [esp + 0x19], 0x76
mov byte [esp + 0x1a], 0x36
mov byte [esp + 0x1b], 0x7c
mov byte [esp + 0x1c], 0x7c
mov byte [esp + 0x1d], 0x6e
mov byte [esp + 0x1e], bl
mov al, byte [esp + 0xd]
sub byte [esp + ebx + 0xd], 8
inc ebx
cmp ebx, 0x11
jb 0x1004bbe7
lea edx, [esp + 0xd]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1004bbf8
lea edi, [esp + 0xa0]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1004bc09
mov ecx, edx
mov ebx, dword [esp + 0x20]
shr ecx, 2
lea eax, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
movss xmm2, dword [0x100b5144]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ecx
mov ecx, dword [ebx + 0x48]
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.10032adc
mov ecx, dword [ebx + 0x48]
call fcn.10032e71
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret