Function at 0x1004b1eb
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.100322e8
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 [0x1018b394]
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 0x1004b251
mov byte [esp + 0x35], 0x5d
sub ecx, edx
mov byte [esp + 0x36], 0x47
mov byte [esp + 0x37], 0x70
mov byte [esp + 0x38], 0x6f
mov byte [esp + 0x39], 0x75
mov byte [esp + 0x3a], 0x74
mov byte [esp + 0x3b], 0x5d
mov byte [esp + 0x3c], 0x6e
mov byte [esp + 0x3d], 0x6a
mov byte [esp + 0x3e], 0x64
mov byte [esp + 0x3f], 0x73
mov byte [esp + 0x40], 0x70
mov byte [esp + 0x41], 0x74
mov byte [esp + 0x42], 0x74
mov byte [esp + 0x43], 0x2f
mov byte [esp + 0x44], 0x75
mov byte [esp + 0x45], 0x75
mov byte [esp + 0x46], 0x67
mov byte [esp + 0x47], bl
mov al, byte [esp + 0x35]
mov dword [esp + 0x4c], ecx
mov eax, ebx
dec byte [esp + eax + 0x35]
inc eax
cmp eax, 0x12
jb 0x1004b2c2
lea edx, [esp + 0x35]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1004b2d2
lea edi, [esp + 0xc8]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1004b2e3
mov ecx, edx
movss xmm2, dword [0x100b7a54]
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.1003280b
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x8c], 1
mov byte [esp + eax + 0xc8], bl
mov byte [esp + 0x11], 0x67
mov byte [esp + 0x12], 0x51
mov byte [esp + 0x13], 0x7a
mov byte [esp + 0x14], 0x79
mov byte [esp + 0x15], 0x7f
mov byte [esp + 0x16], 0x7e
mov byte [esp + 0x17], 0x67
mov byte [esp + 0x18], 0x7e
mov byte [esp + 0x19], 0x74
mov byte [esp + 0x1a], 0x78
mov byte [esp + 0x1b], 0x7e
mov byte [esp + 0x1c], 0x80
mov byte [esp + 0x1d], 0x79
mov byte [esp + 0x1e], 0x39
mov byte [esp + 0x1f], 0x7f
mov byte [esp + 0x20], 0x7f
mov byte [esp + 0x21], 0x6e
mov byte [esp + 0x22], bl
mov al, byte [esp + 0x11]
mov eax, ebx
sub byte [esp + eax + 0x11], 0xb
inc eax
cmp eax, 0x11
jb 0x1004b38d
lea edx, [esp + 0x11]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1004b39e
lea edi, [esp + 0xc8]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1004b3af
mov ecx, edx
movss xmm2, dword [0x100b7a54]
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.1003280b
mov eax, dword [esp + 0x4c]
mov byte [esp + eax + 0xc8], bl
mov byte [esp + 0x23], 0x5e
mov byte [esp + 0x24], 0x48
mov byte [esp + 0x25], 0x71
mov byte [esp + 0x26], 0x70
mov byte [esp + 0x27], 0x76
mov byte [esp + 0x28], 0x75
mov byte [esp + 0x29], 0x5e
mov byte [esp + 0x2a], 0x6f
mov byte [esp + 0x2b], 0x63
mov byte [esp + 0x2c], 0x6e
mov byte [esp + 0x2d], 0x69
mov byte [esp + 0x2e], 0x77
mov byte [esp + 0x2f], 0x70
mov byte [esp + 0x30], 0x30
mov byte [esp + 0x31], 0x76
mov byte [esp + 0x32], 0x76
mov byte [esp + 0x33], 0x68
mov byte [esp + 0x34], bl
mov al, byte [esp + 0x23]
sub byte [esp + ebx + 0x23], 2
inc ebx
cmp ebx, 0x11
jb 0x1004b44f
lea edx, [esp + 0x23]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1004b460
lea edi, [esp + 0xc8]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1004b471
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 [0x100b7a54]
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.1003280b
mov ecx, dword [ebx + 0x48]
call fcn.10032ba0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret