Function at 0x463290
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 8], eax
lea ebx, [ebp - 4]
xor eax, eax
push ebp
push 0x46350f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x530900], 0
jne 0x4632e1
push 0x463520
push 0x46353c
call sub.kernel32.dll_GetModuleHandleW
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x530900], eax
cmp dword [0x530904], 0
jne 0x463304
push 0x463550
push 0x463568
call sub.kernel32.dll_LoadLibraryW
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x530904], eax
cmp dword [0x530908], 0
jne 0x463327
push 0x46357c
push 0x46358c
call sub.kernel32.dll_GetModuleHandleW
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x530908], eax
xor eax, eax
mov dword [ebx], eax
push ebx
push 0
push 0
push 5
call dword [0x530900]
xor esi, esi
cmp dword [ebx], 0
jne 0x463379
mov dword [ebx], 0x10000
mov eax, dword [ebx]
add eax, eax
mov dword [ebx], eax
push esi
call sub.kernel32.dll_LocalFree_1
mov eax, dword [ebx]
push eax
push 0x40
call sub.kernel32.dll_LocalAlloc_2
mov esi, eax
push 0
mov eax, dword [ebx]
push eax
push esi
push 5
call dword [0x530900]
test eax, eax
je 0x463399
cmp dword [ebx], 0x400000
jne 0x463345
jmp 0x463399
mov eax, dword [ebx]
add eax, eax
mov dword [ebx], eax
mov eax, dword [ebx]
push eax
push 0x40
call sub.kernel32.dll_LocalAlloc_2
mov esi, eax
push 0
mov eax, dword [ebx]
push eax
push esi
push 5
call dword [0x530900]
test eax, eax
jne 0x4634e3
mov ebx, esi
cmp word [ebx + 0x38], 0
jbe 0x4634c1
lea eax, [ebp - 8]
mov edx, dword [ebx + 0x3c]
call fcn.0040506c
cmp dword [0x530904], 0
je 0x4634ac
mov eax, dword [ebx + 0x44]
push eax
push 0
push 0x410
call sub.kernel32.dll_OpenProcess
mov edi, eax
test edi, edi
je 0x4634ac
push 0x104
lea eax, [ebp - 0x212]
push eax
push 0
push edi
call dword [0x530904]
test eax, eax
jbe 0x4634a6
lea eax, [ebp - 8]
lea edx, [ebp - 0x212]
mov ecx, 0x105
call fcn.004050cc
mov ecx, dword [0x533644]
mov ecx, dword [ecx]
mov edx, dword [ebp - 8]
mov eax, 0x4635a8
call ecx
test al, al
je 0x46347e
push 0x104
lea eax, [ebp - 0x212]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
lea eax, [ebp - 0x218]
push eax
mov ecx, 0x7fffffff
mov edx, 0x15
mov eax, dword [ebp - 8]
call fcn.004052a4
mov eax, dword [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
lea edx, [ebp - 0x212]
mov ecx, 0x105
call fcn.004050cc
mov edx, dword [ebp - 0x21c]
lea eax, [ebp - 8]
pop ecx
call fcn.00405174
jmp 0x4634a6
mov ecx, dword [0x532ef8]
mov ecx, dword [ecx]
mov edx, dword [ebp - 8]
mov eax, 0x4635d8
call ecx
test al, al
je 0x4634a6
lea eax, [ebp - 8]
mov ecx, 4
mov edx, 1
call fcn.004052f0
push edi
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebx + 0x50]
mov edx, dword [ebx + 0x44]
mov eax, dword [ebp - 8]
call fcn.00462f60
pop ecx
jmp 0x4634d6
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebx + 0x50]
mov edx, dword [ebx + 0x44]
mov eax, 0x4635e8
call fcn.00462f60
pop ecx
mov eax, dword [ebx]
test eax, eax
je 0x4634e3
add ebx, eax
jmp 0x4633a3
push esi
call sub.kernel32.dll_LocalFree_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463516
lea eax, [ebp - 0x21c]
mov edx, 2
call fcn.00404f5c
lea eax, [ebp - 8]
call fcn.00404f44
ret