Function at 0x4c4220
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c038
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x559024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x24c], edi
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x244], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x23c], ebx
mov dword [ebp - method.CUseDll.virtual_0], vtable.CUseDll.0
mov dword [ebp - 0x238], ebx
mov byte [ebp - 0x234], bl
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
mov byte [ebp - 4], 1
mov eax, dword [0x559ef0]
mov edx, dword [eax + 0xc]
mov ecx, 0x559ef0
call edx
add eax, 0x10
mov dword [ebp - 0x268], eax
mov byte [ebp - 4], 2
push 0x18
mov byte [ebp - 0x26c], bl
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x260], ebx
mov dword [ebp - 0x270], ebx
call fcn.005134b2
add esp, 4
cmp eax, ebx
je 0x4c42f8
mov dword [eax + 4], ebx
mov dword [eax], vtable.CUseDll.0
mov dword [eax + 8], ebx
mov byte [eax + 0xc], bl
mov dword [eax + 0x10], ebx
mov byte [eax + 0x14], bl
jmp 0x4c42fa
xor eax, eax
mov dword [ebp - 0x270], eax
lea ecx, [ebp - 0x220]
push ecx
xor eax, eax
mov byte [ebp - 4], 3
push 0x104
mov word [ebp - 0x220], ax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4c4414
push 1
lea esi, [ebp - 0x240]
call fcn.004a6460
test al, al
je 0x4c4414
mov eax, dword [ebp - 0x22c]
xor esi, esi
mov dword [ebp - 0x250], eax
cmp eax, ebx
jle 0x4c43e1
lea edx, [ebp - 0x25c]
push edx
mov ecx, esi
lea edi, [ebp - 0x240]
call fcn.004a6520
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 4
call fcn.004fce50
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x25c]
cmp eax, ebx
je 0x4c439e
push eax
call fcn.005134a7
add esp, 4
mov dword [ebp - 0x25c], ebx
mov dword [ebp - 0x258], ebx
mov dword [ebp - 0x254], ebx
mov edi, dword [ebp - 0x24c]
cmp dword [ebp - 0x248], ebx
jle 0x4c43d4
mov eax, edi
cmp edi, ebx
jne 0x4c43b7
mov eax, 0x538640
lea ecx, [ebp - 0x220]
push ecx
push eax
lea ecx, [ebp - 0x270]
call fcn.00401170
test al, al
je 0x4c43d4
inc dword [ebp - 0x224]
inc esi
cmp esi, dword [ebp - 0x250]
jl 0x4c4352
mov eax, dword [ebp - 0x228]
cmp eax, ebx
je 0x4c4414
mov edx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.004fc190
push edx
push 0xc
push eax
call fcn.00513b17
push esi
call fcn.005134a7
add esp, 4
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x22c], ebx
lea eax, [ebp - 0x270]
push eax
mov byte [ebp - 4], 1
call fcn.004010b0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x228]
cmp eax, ebx
je 0x4c445b
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.004fc190
push ecx
push 0xc
push eax
call fcn.00513b17
push esi
call fcn.005134a7
add esp, 4
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x22c], ebx
lea edx, [ebp - 0x240]
push edx
mov byte [ebp - 4], bl
call fcn.00438f60
mov dword [ebp - 4], 0xffffffff
cmp edi, ebx
je 0x4c447e
push edi
call fcn.005134a7
add esp, 4
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00513498
mov esp, ebp
pop ebp
ret