Function at 0x4b0100
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eeb99
mov eax, dword fs:[0]
push eax
sub esp, 0x4ac
mov eax, dword [0x5392a4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4b0], ecx
mov dword [ebp - 0x4ac], 0
movzx eax, byte [ebp + 0xc]
test eax, eax
jne 0x4b0184
movzx ecx, word [0x599a3c]
mov edx, dword [ebp + 8]
movzx eax, word [edx]
cmp ecx, eax
jne 0x4b0184
movzx ecx, word [0x599a3e]
mov edx, dword [ebp + 8]
movzx eax, word [edx + 2]
cmp ecx, eax
jne 0x4b0184
movzx ecx, word [0x599a42]
mov edx, dword [ebp + 8]
movzx eax, word [edx + 6]
cmp ecx, eax
jne 0x4b0184
mov dword [ebp - 0x4b4], 0
jmp 0x4b018e
mov dword [ebp - 0x4b4], 1
mov cl, byte [ebp - 0x4b4]
mov byte [ebp - 0xd], cl
mov edx, dword [0x59a3a4]
and edx, 1
jne 0x4b01e0
mov eax, dword [0x59a3a4]
or eax, 1
mov dword [0x59a3a4], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x465]
call fcn.0040b800
push eax
mov ecx, 0x59a384
call fcn.004148f0
push 0x4fc970
call fcn.0044ab9e
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x489]
call fcn.0040b800
push eax
push 0x50c3b0
lea ecx, [ebp - 0x488]
call fcn.00414c40
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x488]
push ecx
mov ecx, 0x59a384
call fcn.00415500
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x488]
call fcn.00414a10
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x4b0565
lea ecx, [ebp - 0x48a]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x34]
call fcn.004148f0
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x4b0]
add eax, 0x294
push eax
mov ecx, dword [ebp - 0x4b0]
add ecx, 0x496
push ecx
mov ecx, dword [ebp - 0x4b0]
add ecx, 0x4bc
call fcn.00413e50
push eax
mov edx, dword [ebp + 8]
movzx eax, word [edx]
cdq
mov ecx, 0x64
idiv ecx
push edx
mov edx, dword [ebp + 8]
movzx eax, word [edx + 2]
push eax
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 6]
push edx
push str._d__02d__02d_v_ls__ls_ls
lea eax, [ebp - 0x34]
push eax
call fcn.00413900
add esp, 0x20
mov ecx, dword [ebp - 0x4b0]
movzx edx, byte [ecx + 0x50]
neg edx
sbb edx, edx
add edx, reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x38], edx
movzx eax, word [0x599a3c]
test eax, eax
jne 0x4b040f
lea ecx, [ebp - 0x40]
call fcn.00419540
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x4b0]
add ecx, 0x4dc
call fcn.00413930
movzx ecx, al
test ecx, ecx
jne 0x4b03dd
push 0x20019
mov ecx, dword [ebp - 0x4b0]
add ecx, 0x4dc
call fcn.00413e50
push eax
mov edx, dword [ebp - 0x38]
push edx
lea ecx, [ebp - 0x40]
call fcn.00419460
test eax, eax
jne 0x4b03dd
mov dword [ebp - 0x250], 0x104
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x24c]
push ecx
mov edx, dword [str.LastHeaderInfo]
push edx
lea ecx, [ebp - 0x40]
call fcn.004193a0
test eax, eax
jne 0x4b03d5
movzx eax, byte [ebp + 0xc]
test eax, eax
jne 0x4b039e
lea ecx, [ebp - 0x24c]
push ecx
lea ecx, [ebp - 0x4a8]
call fcn.00417b20
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x4ac]
or edx, 1
mov dword [ebp - 0x4ac], edx
push 0
lea eax, [ebp - 0x4a8]
push eax
lea ecx, [ebp - 0x34]
call fcn.004323c0
test eax, eax
jne 0x4b039e
mov dword [ebp - 0x4b8], 0
jmp 0x4b03a8
mov dword [ebp - 0x4b8], 1
mov cl, byte [ebp - 0x4b8]
mov byte [ebp - 0xd], cl
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0x4ac]
and edx, 1
je 0x4b03d5
and dword [ebp - 0x4ac], 0xfffffffe
lea ecx, [ebp - 0x4a8]
call fcn.00414bf0
lea ecx, [ebp - 0x40]
call fcn.004194d0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [0x599a3c], ecx
mov edx, dword [eax + 4]
mov dword [0x599a40], edx
mov ecx, dword [eax + 8]
mov dword [0x599a44], ecx
mov edx, dword [eax + 0xc]
mov dword [0x599a48], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00419520
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x4b0556
lea ecx, [ebp - 0x258]
call fcn.00419540
mov byte [ebp - 4], 5
mov cx, word [0x50c3ec]
mov word [ebp - 0x464], cx
push 0x206
push 0
lea edx, [ebp - 0x462]
push edx
call fcn.0044aec0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x464]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [ebp - 0x464]
push ecx
mov edx, dword [ebp - 0x4b0]
add edx, 0x294
push edx
mov eax, dword [ebp - 0x4b0]
add eax, 0x496
push eax
mov ecx, dword [ebp - 0x4b0]
add ecx, 0x4bc
call fcn.00413e50
push eax
mov ecx, dword [ebp + 8]
movzx eax, word [ecx]
cdq
mov ecx, 0x64
idiv ecx
push edx
mov edx, dword [ebp + 8]
movzx eax, word [edx + 2]
push eax
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 6]
push edx
push str._r_n______________d__02d__02d___running_v_s_on__s__user:_s_______________r_n__Windows_Path:__s_r_n
push 0x59a384
call fcn.00413900
add esp, 0x24
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [0x599a3c], ecx
mov edx, dword [eax + 4]
mov dword [0x599a40], edx
mov ecx, dword [eax + 8]
mov dword [0x599a44], ecx
mov edx, dword [eax + 0xc]
mov dword [0x599a48], edx
mov ecx, dword [ebp - 0x4b0]
add ecx, 0x4dc
call fcn.00413930
movzx eax, al
test eax, eax
jne 0x4b0547
push 2
mov ecx, dword [ebp - 0x4b0]
add ecx, 0x4dc
call fcn.00413e50
push eax
mov ecx, dword [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x258]
call fcn.00419460
test eax, eax
jne 0x4b0547
push 1
mov ecx, 0x59a388
call fcn.00413e50
push eax
mov edx, dword [str.LastHeaderInfo]
push edx
lea ecx, [ebp - 0x258]
call fcn.0041cfc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x258]
call fcn.00419520
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00414a10
mov ecx, 0x59a388
call fcn.00413e50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004489b2
mov esp, ebp
pop ebp
ret 8