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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c4
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0x4c]
push edi
call fcn.100327e6
xor eax, eax
mov dword [esp + 0x60], 0x41800000
inc eax
xor ebx, ebx
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], eax
mov byte [esp + 0x6c], al
mov eax, dword [esi + 0x40]
mov dword [esp + 0x80], eax
mov eax, dword [0x101883d4]
mov dword [esp + 0x48], eax
push 0x104
mov dword [eax + 0x20], ebx
lea eax, [esp + 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 0xc8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b9f7
mov byte [esp + 0x35], 0x62
sub ecx, edx
mov byte [esp + 0x36], 0x4c
mov byte [esp + 0x37], 0x75
mov byte [esp + 0x38], 0x74
mov byte [esp + 0x39], 0x7a
mov byte [esp + 0x3a], 0x79
mov byte [esp + 0x3b], 0x62
mov byte [esp + 0x3c], 0x73
mov byte [esp + 0x3d], 0x6f
mov byte [esp + 0x3e], 0x69
mov byte [esp + 0x3f], 0x78
mov byte [esp + 0x40], 0x75
mov byte [esp + 0x41], 0x79
mov byte [esp + 0x42], 0x79
mov byte [esp + 0x43], 0x34
mov byte [esp + 0x44], 0x7a
mov byte [esp + 0x45], 0x7a
mov byte [esp + 0x46], 0x6c
mov byte [esp + 0x47], bl
mov al, byte [esp + 0x35]
mov dword [esp + 0x4c], ecx
mov eax, ebx
sub byte [esp + eax + 0x35], 6
inc eax
cmp eax, 0x12
jb 0x1004ba68
lea edx, [esp + 0x35]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1004ba79
lea edi, [esp + 0xc8]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1004ba8a
mov ecx, edx
movss xmm2, dword [0x100b3d5c]
shr ecx, 2
lea eax, [esp + 0x50]
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 + 0x4c]
push eax
lea eax, [esp + 0xd0]
push eax
mov ecx, dword [ecx + 0x48]
call fcn.10032d09
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x8c], 1
mov byte [esp + eax + 0xc8], bl
mov byte [esp + 0x11], 0x66
mov byte [esp + 0x12], 0x50
mov byte [esp + 0x13], 0x79
mov byte [esp + 0x14], 0x78
mov byte [esp + 0x15], 0x7e
mov byte [esp + 0x16], 0x7d
mov byte [esp + 0x17], 0x66
mov byte [esp + 0x18], 0x7d
mov byte [esp + 0x19], 0x73
mov byte [esp + 0x1a], 0x77
mov byte [esp + 0x1b], 0x7d
mov byte [esp + 0x1c], 0x7f
mov byte [esp + 0x1d], 0x78
mov byte [esp + 0x1e], 0x38
mov byte [esp + 0x1f], 0x7e
mov byte [esp + 0x20], 0x7e
mov byte [esp + 0x21], 0x6d
mov byte [esp + 0x22], bl
mov al, byte [esp + 0x11]
mov eax, ebx
sub byte [esp + eax + 0x11], 0xa
inc eax
cmp eax, 0x11
jb 0x1004bb34
lea edx, [esp + 0x11]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1004bb45
lea edi, [esp + 0xc8]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1004bb56
mov ecx, edx
movss xmm2, dword [0x100b3d5c]
shr ecx, 2
lea eax, [esp + 0x50]
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 + 0xd0]
push eax
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x48]
call fcn.10032d09
mov eax, dword [esp + 0x4c]
mov byte [esp + eax + 0xc8], bl
mov byte [esp + 0x23], 0x63
mov byte [esp + 0x24], 0x4d
mov byte [esp + 0x25], 0x76
mov byte [esp + 0x26], 0x75
mov byte [esp + 0x27], 0x7b
mov byte [esp + 0x28], 0x7a
mov byte [esp + 0x29], 0x63
mov byte [esp + 0x2a], 0x74
mov byte [esp + 0x2b], 0x68
mov byte [esp + 0x2c], 0x73
mov byte [esp + 0x2d], 0x6e
mov byte [esp + 0x2e], 0x7c
mov byte [esp + 0x2f], 0x75
mov byte [esp + 0x30], 0x35
mov byte [esp + 0x31], 0x7b
mov byte [esp + 0x32], 0x7b
mov byte [esp + 0x33], 0x6d
mov byte [esp + 0x34], bl
mov al, byte [esp + 0x23]
sub byte [esp + ebx + 0x23], 7
inc ebx
cmp ebx, 0x11
jb 0x1004bbf6
lea edx, [esp + 0x23]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1004bc07
lea edi, [esp + 0xc8]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1004bc18
mov ecx, edx
mov ebx, dword [esp + 0x48]
shr ecx, 2
lea eax, [esp + 0x50]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
movss xmm2, dword [0x100b3d5c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ecx
mov ecx, dword [ebx + 0x48]
push eax
lea eax, [esp + 0xd0]
push eax
call fcn.10032d09
mov ecx, dword [ebx + 0x48]
call fcn.1003309e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret