Function at 0x481bb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe68
mov eax, 0x56c9b4
push ebx
push esi
push edi
call fcn.00535f7c
mov word [ebp - 0x50], 8
xor edx, edx
mov dword [ebp - 4], edx
lea edx, [ebp - 0x184]
inc dword [ebp - 0x44]
mov word [ebp - 0x50], 0x14
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x3e4]
push eax
push 0x5685bd
push edx
call fcn.005392b8
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x170]
push ecx
call sub.KERNEL32.DLL_GetWindowsDirectoryA
push 0x5685c0
lea eax, [ebp - 0x170]
push eax
call fcn.00535bec
add esp, 8
lea edx, [ebp - 0x184]
push edx
lea ecx, [ebp - 0x170]
push ecx
call fcn.00535bec
add esp, 8
push 0x5685cd
lea eax, [ebp - 0x170]
push eax
call fcn.00535bec
add esp, 8
push 0x15
push 0
mov edx, dword [ebp + 8]
add edx, 0x410
push edx
call fcn.00535b48
add esp, 0xc
push 0x100
push 0
mov ecx, dword [ebp + 8]
add ecx, 0x425
push ecx
call fcn.00535b48
add esp, 0xc
push 0x100
push 0
mov eax, dword [ebp + 8]
add eax, 0x525
push eax
call fcn.00535b48
mov word [ebp - 0x50], 0x20
add esp, 0xc
lea edx, [ebp - 0x170]
lea eax, [ebp - 8]
call fcn.00543bd8
mov edx, eax
inc dword [ebp - 0x44]
lea eax, [ebp - 4]
call fcn.00543d04
dec dword [ebp - 0x44]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00543cd4
mov dl, 1
mov eax, dword [0x51ef78]
call fcn.00406edc
mov dword [ebp - 0x64], eax
mov word [ebp - 0x50], 0x2c
xor ecx, ecx
mov dl, 1
mov dword [ebp - 0x6c], ecx
mov eax, dword [0x51f14c]
mov word [ebp - 0x50], 0x2c
mov word [ebp - 0x50], 0x38
push 0
mov ecx, dword [ebp - 4]
call fcn.005222dc
mov dword [ebp - 0x6c], eax
lea edx, [ebp - 0x198]
mov ecx, 4
mov eax, dword [ebp - 0x6c]
mov ebx, dword [eax]
call dword [ebx + 4]
mov byte [ebp - 0x194], 0
lea eax, [ebp - 0x198]
mov edx, 0x5685d2
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x481e29
test cl, cl
je 0x481d42
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x481e29
add eax, 2
add edx, 2
test cl, cl
jne 0x481d1e
jne 0x481e29
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x68]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 4]
mov dl, 1
mov eax, dword [case.0x47c6f4.0]
call fcn.0040366c
mov ebx, eax
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x6c]
mov eax, ebx
call fcn.0052217c
xor edx, edx
mov eax, ebx
call fcn.005220c8
mov edx, ebx
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov esi, ebx
mov dword [ebp - 0x10], esi
test esi, esi
je 0x481dad
mov eax, dword [esi]
mov dword [ebp - 0xc], eax
mov word [ebp - 0x50], 0x50
mov edx, 3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x50], 0x44
mov eax, dword [ebp - 0x6c]
call fcn.005220d4
mov ebx, eax
mov eax, dword [ebp - 0x6c]
call fcn.005220b8
sub ebx, eax
mov dword [ebp - 0x68], ebx
mov edx, dword [ebp - 0x68]
push edx
call fcn.00535344
mov ebx, eax
mov eax, dword [ebp - 0x6c]
pop ecx
mov edx, ebx
mov esi, dword [eax]
mov ecx, dword [ebp - 0x68]
call dword [esi + 4]
mov eax, dword [ebp + 8]
mov dword [eax + 0x800], ebx
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x68]
mov dword [edx + 0x804], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 0x7e4], 1
mov ebx, dword [ebp - 0x6c]
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x481e67
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
mov word [ebp - 0x50], 0x68
mov edx, 3
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x50], 0x5c
jmp 0x481e67
mov ebx, dword [ebp - 0x6c]
mov dword [ebp - 0x20], ebx
test ebx, ebx
je 0x481e51
mov eax, dword [ebx]
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x50], 0x80
mov edx, 3
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x50], 0x74
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [edx + 0x7e4], eax
mov word [ebp - 0x50], 0x2c
jmp 0x481ea8
mov word [ebp - 0x50], 0xa4
xor edx, edx
mov dword [ebp - 0x2c], edx
lea ecx, [ebp - 0x2c]
inc dword [ebp - 0x44]
mov edx, 1
mov eax, dword [ebp - 0x64]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0x2c], 0
je 0x481ed1
mov eax, dword [ebp - 0x2c]
jmp 0x481ed6
mov eax, 0x5685d7
mov edx, dword [ebp + 8]
mov edi, eax
xor eax, eax
add edx, 0x410
or ecx, 0xffffffff
mov esi, edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, 2
and ecx, 3
lea eax, [ebp - 0x2c]
rep movsb byte es:[edi], byte [esi]
dec dword [ebp - 0x44]
call fcn.00543cd4
mov word [ebp - 0x50], 0xb0
xor ecx, ecx
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x30]
inc dword [ebp - 0x44]
mov edx, 2
mov eax, dword [ebp - 0x64]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0x30], 0
je 0x481f39
invalid
mov eax, dword [ebp - 0x30]
jmp 0x481f3e
mov eax, 0x5685d8
mov edx, dword [ebp + 8]
mov edi, eax