Function at 0x4b0194
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x140], ebx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004041f8
xor eax, eax
push ebp
push 0x4b0527
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 4]
call fcn.00409bb4
mov edx, dword [ebp - 0x120]
lea eax, [ebp - 4]
call fcn.00403e30
mov eax, dword [0x5a8bdc]
call fcn.004056ac
mov esi, eax
test esi, esi
jl 0x4b0272
inc esi
xor edi, edi
mov eax, dword [0x5a8bdc]
lea ebx, [eax + edi*8]
lea edx, [ebp - 0x124]
mov eax, dword [ebp - 4]
call fcn.0040930c
mov eax, dword [ebp - 0x124]
push eax
lea edx, [ebp - 0x128]
mov eax, dword [ebx]
call fcn.0040930c
mov edx, dword [ebp - 0x128]
pop eax
call fcn.00404154
jne 0x4b026e
mov eax, dword [ebp - 0xc]
mov edx, dword [ebx + 4]
call fcn.00403dec
jmp 0x4b0501
inc edi
dec esi
jne 0x4b0226
xor eax, eax
push ebp
push 0x4b02a4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5a7c6c]
mov eax, dword [eax]
push eax
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x59ef8c]
call fcn.0059f098
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b02b3
cmp dword [ebp - 0x10], 0
jne 0x4b0387
lea edx, [ebp - 0x12c]
mov eax, dword [0x5a7580]
mov eax, dword [eax]
call fcn.0040cb6c
lea eax, [ebp - 0x12c]
push eax
lea edx, [ebp - 0x130]
mov eax, dword [ebp - 4]
call fcn.00409bb4
mov edx, dword [ebp - 0x130]
pop eax
call fcn.0040404c
mov eax, dword [ebp - 0x12c]
call fcn.00409838
test al, al
je 0x4b033a
lea edx, [ebp - 0x134]
mov eax, dword [ebp - 4]
call fcn.00409bb4
mov eax, dword [ebp - 0x134]
push eax
lea edx, [ebp - 0x138]
mov eax, dword [0x5a7580]
mov eax, dword [eax]
call fcn.0040cb6c
mov edx, dword [ebp - 0x138]
mov eax, dword [ebp - 0xc]
pop ecx
call fcn.00404090
jmp 0x4b0501
cmp byte [ebp - 5], 0
jne 0x4b034d
mov eax, dword [ebp - 0xc]
call fcn.00403d98
jmp 0x4b0501
mov eax, dword [0x5a7578]
cmp byte [eax], 0
je 0x4b0370
mov eax, dword [ebp - 4]
push eax
mov cl, 0xba
mov dl, 1
mov eax, dword [0x51ea70]
call fcn.0051f054
call fcn.004037e4
jmp 0x4b0387
mov eax, dword [ebp - 4]
push eax
mov cl, 0xbb
mov dl, 1
mov eax, dword [0x51ea70]
call fcn.0051f054
call fcn.004037e4
xor eax, eax
push ebp
push 0x4b04d0
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4b0471
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x119]
push eax
push 0x105
call sub.kernel32.dll_GetTempPathA
test eax, eax
jne 0x4b03bd
call fcn.0040be9c
mov eax, dword [ebp - 0xc]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00409bec
mov eax, dword [ebp - 0x13c]
push eax
lea eax, [ebp - 0x140]
lea edx, [ebp - 0x119]
mov ecx, 0x105
call fcn.00403fd8
mov eax, dword [ebp - 0x140]
mov edx, 0x4b0540
pop ecx
call fcn.004b00b4
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x4b040a
call fcn.0040be9c
push 0xffff
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x40ffec]
call fcn.004134f0
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4b0454
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.00413390
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b045b
mov eax, dword [ebp - 0x14]
call fcn.0040308c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b052e
lea eax, [ebp - 0x140]
mov edx, 9
call fcn.00403dbc
lea eax, [ebp - 4]
call fcn.00403d98
ret