Function at 0x4bb4c0
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x60]
sub esp, 0x60
push 0xffffffffffffffff
push 0x4fd0b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov dword [ebp + 0x48], 0
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0
push 0
push 0
lea ecx, [ebp + 8]
call fcn.004769f0
mov dword [ebp - 4], 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [ebp + 0x58], eax
cmp dword [ebp + 0x58], 0
jbe 0x4bb68f
mov eax, dword [ebp + 0x58]
mov dword [ebp + 0x3c], eax
xor ecx, ecx
mov eax, dword [ebp + 0x58]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a012a
add esp, 4
mov dword [ebp + 0x30], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp + 0x40], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x40]
mov dword [ebp + 4], ecx
mov edx, dword [ebp + 4]
push edx
mov eax, dword [ebp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [ebp + 0x44], eax
cmp dword [ebp + 0x44], 0
jbe 0x4bb679
mov ecx, dword [ebp + 0x44]
cmp ecx, dword [ebp + 0x58]
ja 0x4bb679
mov edx, dword [ebp + 0x40]
mov dword [ebp + 0x38], edx
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp + 0x38]
push ecx
call fcn.004b5c40
add esp, 8
mov edx, dword [ebp + 0x18]
mov dword [ebp + 0x28], edx
cmp dword [ebp + 0x1c], 0x10
jb 0x4bb5ab
mov eax, dword [ebp]
mov dword [ebp + 0x50], eax
mov ecx, dword [ebp + 8]
mov dword [ebp + 0x50], ecx
jmp 0x4bb5b1
lea edx, [ebp + 8]
mov dword [ebp + 0x50], edx
mov eax, dword [ebp + 0x50]
add eax, dword [ebp + 0x28]
movsx ecx, byte [eax - 1]
cmp ecx, 0x5c
je 0x4bb616
movsx edx, byte [0x502c24]
test edx, edx
jne 0x4bb5d4
mov dword [ebp + 0x4c], 0
jmp 0x4bb605
mov dword [ebp + 0x54], 0x502c24
mov eax, dword [ebp + 0x54]
add eax, 1
mov dword [ebp + 0x20], eax
mov ecx, dword [ebp + 0x54]
mov dl, byte [ecx]
mov byte [ebp + 0x5f], dl
add dword [ebp + 0x54], 1
cmp byte [ebp + 0x5f], 0
jne 0x4bb5e4
mov eax, dword [ebp + 0x54]
sub eax, dword [ebp + 0x20]
mov dword [ebp + 0x24], eax
mov ecx, dword [ebp + 0x24]
mov dword [ebp + 0x4c], ecx
mov edx, dword [ebp + 0x4c]
push edx
push 0x502c24
lea ecx, [ebp + 8]
call fcn.00475930
mov eax, dword [ebp + 0x68]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp + 0x68]
mov dword [ecx + 0x14], 0
push 0
push 0
mov ecx, dword [ebp + 0x68]
call fcn.004769f0
lea edx, [ebp + 8]
push edx
mov ecx, dword [ebp + 0x68]
call fcn.00475b10
mov eax, dword [ebp + 0x48]
or eax, 1
mov dword [ebp + 0x48], eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 0x40]
mov dword [ebp + 0x2c], ecx
mov edx, dword [ebp + 0x2c]
push edx
call fcn.004ce339
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp + 8]
call fcn.004769f0
mov eax, dword [ebp + 0x68]
jmp 0x4bb6df
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x40]
mov dword [ebp + 0x34], eax
mov ecx, dword [ebp + 0x34]
push ecx
call fcn.004ce339
add esp, 4
push str.Cannot_get_current_directory
lea ecx, [ebp - 0x24]
call fcn.004763c0
mov byte [ebp - 4], 2
push 0
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x50]
call fcn.004a5010
push 0x548710
lea eax, [ebp - 0x50]
push eax
call fcn.004d0a2b
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x24]
call fcn.004769f0
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp + 8]
call fcn.004769f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
add ebp, 0x60
mov esp, ebp
pop ebp
ret