Function at 0x1004b95b
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.100327bb
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 [0x101883cc]
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 0x1004b9c1
mov byte [esp + 0x35], 0x5f
sub ecx, edx
mov byte [esp + 0x36], 0x49
mov byte [esp + 0x37], 0x72
mov byte [esp + 0x38], 0x71
mov byte [esp + 0x39], 0x77
mov byte [esp + 0x3a], 0x76
mov byte [esp + 0x3b], 0x5f
mov byte [esp + 0x3c], 0x70
mov byte [esp + 0x3d], 0x6c
mov byte [esp + 0x3e], 0x66
mov byte [esp + 0x3f], 0x75
mov byte [esp + 0x40], 0x72
mov byte [esp + 0x41], 0x76
mov byte [esp + 0x42], 0x76
mov byte [esp + 0x43], 0x31
mov byte [esp + 0x44], 0x77
mov byte [esp + 0x45], 0x77
mov byte [esp + 0x46], 0x69
mov byte [esp + 0x47], bl
mov al, byte [esp + 0x35]
mov dword [esp + 0x4c], ecx
mov eax, ebx
sub byte [esp + eax + 0x35], 3
inc eax
cmp eax, 0x12
jb 0x1004ba32
lea edx, [esp + 0x35]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1004ba43
lea edi, [esp + 0xc8]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1004ba54
mov ecx, edx
movss xmm2, dword [0x100b3d64]
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.10032cde
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x8c], 1
mov byte [esp + eax + 0xc8], bl
mov byte [esp + 0x11], 0x65
mov byte [esp + 0x12], 0x4f
mov byte [esp + 0x13], 0x78
mov byte [esp + 0x14], 0x77
mov byte [esp + 0x15], 0x7d
mov byte [esp + 0x16], 0x7c
mov byte [esp + 0x17], 0x65
mov byte [esp + 0x18], 0x7c
mov byte [esp + 0x19], 0x72
mov byte [esp + 0x1a], 0x76
mov byte [esp + 0x1b], 0x7c
mov byte [esp + 0x1c], 0x7e
mov byte [esp + 0x1d], 0x77
mov byte [esp + 0x1e], 0x37
mov byte [esp + 0x1f], 0x7d
mov byte [esp + 0x20], 0x7d
mov byte [esp + 0x21], 0x6c
mov byte [esp + 0x22], bl
mov al, byte [esp + 0x11]
mov eax, ebx
sub byte [esp + eax + 0x11], 9
inc eax
cmp eax, 0x11
jb 0x1004bafe
lea edx, [esp + 0x11]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1004bb0f
lea edi, [esp + 0xc8]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1004bb20
mov ecx, edx
movss xmm2, dword [0x100b3d64]
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.10032cde
mov eax, dword [esp + 0x4c]
mov byte [esp + eax + 0xc8], bl
mov byte [esp + 0x23], 0x67
mov byte [esp + 0x24], 0x51
mov byte [esp + 0x25], 0x7a
mov byte [esp + 0x26], 0x79
mov byte [esp + 0x27], 0x7f
mov byte [esp + 0x28], 0x7e
mov byte [esp + 0x29], 0x67
mov byte [esp + 0x2a], 0x78
mov byte [esp + 0x2b], 0x6c
mov byte [esp + 0x2c], 0x77
mov byte [esp + 0x2d], 0x72
mov byte [esp + 0x2e], 0x80
mov byte [esp + 0x2f], 0x79
mov byte [esp + 0x30], 0x39
mov byte [esp + 0x31], 0x7f
mov byte [esp + 0x32], 0x7f
mov byte [esp + 0x33], 0x71
mov byte [esp + 0x34], bl
mov al, byte [esp + 0x23]
sub byte [esp + ebx + 0x23], 0xb
inc ebx
cmp ebx, 0x11
jb 0x1004bbc0
lea edx, [esp + 0x23]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1004bbd1
lea edi, [esp + 0xc8]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1004bbe2
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 [0x100b3d64]
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.10032cde
mov ecx, dword [ebx + 0x48]
call fcn.10033073
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret