Function at 0x1b469650
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a8
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
cmp dword [0x1b4beb5c], 0
jne 0x1b469a13
mov dword [ebp - 0x14], 0x1b4beb60
mov eax, dword [ebp - 0x14]
cmp dword [eax + 8], 0
je 0x1b46968e
mov eax, 0xfffffbfa
jmp 0x1b469a1e
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
mov dword [ecx + 8], edx
call fcn.1b487f70
test eax, eax
je 0x1b4696e1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shl eax, 1
push eax
call fcn.1b48a1a3
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1b4696ce
mov eax, 0xfffffc0d
jmp 0x1b469a1e
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [ebp - 8], eax
jmp 0x1b46971e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call fcn.1b48a1a3
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1b46970d
mov eax, 0xfffffc0d
jmp 0x1b469a1e
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov dword [ebp - 8], eax
push 0x18
call fcn.1b4896d0
add esp, 4
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x1b469741
mov ecx, dword [ebp - 0x24]
call fcn.1b466bd0
mov dword [ebp - 0x394], eax
jmp 0x1b46974b
mov dword [ebp - 0x394], 0
mov eax, dword [ebp - 0x394]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [0x1b4beb54], ecx
cmp dword [0x1b4beb54], 0
jne 0x1b469794
cmp dword [ebp - 0xc], 0
je 0x1b469778
mov edx, dword [ebp - 0xc]
push edx
call fcn.1b489915
add esp, 4
cmp dword [ebp - 4], 0
je 0x1b46978a
mov eax, dword [ebp - 4]
push eax
call fcn.1b489915
add esp, 4
mov eax, 0xfffffc0d
jmp 0x1b469a1e
mov ecx, dword [0x1b4beb54]
mov edx, dword [ecx]
mov ecx, dword [0x1b4beb54]
mov eax, dword [edx]
call eax
test eax, eax
jne 0x1b4697fc
mov ecx, dword [0x1b4beb54]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0
je 0x1b4697e8
mov ecx, dword [ebp - 0x28]
call fcn.1b469310
mov eax, 1
and eax, 1
je 0x1b4697dd
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.1b4896e0
add esp, 4
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x398], edx
jmp 0x1b4697f2
mov dword [ebp - 0x398], 0
mov dword [0x1b4beb54], 0
push 0x38
call fcn.1b4896d0
add esp, 4
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x1b46981f
mov ecx, dword [ebp - 0x34]
call fcn.1b465490
mov dword [ebp - 0x39c], eax
jmp 0x1b469829
mov dword [ebp - 0x39c], 0
mov eax, dword [ebp - 0x39c]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [0x1b4beb50], ecx
cmp dword [0x1b4beb50], 0
jne 0x1b4698c8
mov edx, dword [0x1b4beb54]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x1b469886
mov ecx, dword [ebp - 0x38]
call fcn.1b469310
mov ecx, 1
and ecx, 1
je 0x1b46987b
mov edx, dword [ebp - 0x38]
push edx
call fcn.1b4896e0
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3a0], eax
jmp 0x1b469890
mov dword [ebp - 0x3a0], 0
mov dword [0x1b4beb54], 0
cmp dword [ebp - 0xc], 0
je 0x1b4698ac
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.1b489915
add esp, 4
cmp dword [ebp - 4], 0
je 0x1b4698be
mov edx, dword [ebp - 4]
push edx
call fcn.1b489915
add esp, 4
mov eax, 0xfffffc0d
jmp 0x1b469a1e
mov eax, dword [0x1b4beb50]
mov edx, dword [eax]
mov ecx, dword [0x1b4beb50]
mov eax, dword [edx]
call eax
test eax, eax
jne 0x1b469934
mov ecx, dword [0x1b4beb50]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x40], 0
je 0x1b46991b
mov ecx, dword [ebp - 0x40]
call fcn.1b4693a0
mov eax, 1
and eax, 1
je 0x1b469910
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.1b4896e0
add esp, 4
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x3a4], edx
jmp 0x1b469925
mov dword [ebp - 0x3a4], 0
mov dword [0x1b4beb50], 0
jmp 0x1b4699dc
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 1
mov eax, dword [0x1b4beb50]
mov dword [ebp - 0x370], eax
mov ecx, dword [ebp - 0x370]
cmp dword [ecx + 0x10], 0
je 0x1b46996f
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x370]
mov ecx, dword [eax + 0x10]
call ecx
mov dword [ebp - 0x10], eax
jmp 0x1b469976
mov dword [ebp - 0x10], 0x80040605
cmp dword [ebp - 0x10], 0
jge 0x1b4699d0
mov edx, dword [0x1b4beb50]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x1b4699ba
mov ecx, dword [ebp - 0x48]
call fcn.1b4693a0
mov ecx, 1
and ecx, 1
je 0x1b4699af
mov edx, dword [ebp - 0x48]
push edx
call fcn.1b4896e0
add esp, 4
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x3a8], eax
jmp 0x1b4699c4
mov dword [ebp - 0x3a8], 0
mov dword [0x1b4beb50], 0
jmp 0x1b4699dc
mov ecx, dword [0x1b4beb50]
mov dword [0x1b4beb4c], ecx
call fcn.1b487f70
test eax, eax
je 0x1b4699fd
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 4]
push eax
call fcn.1b489915
add esp, 4
jmp 0x1b469a13
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov edx, dword [ebp - 0xc]
push edx
call fcn.1b489915
add esp, 4
mov eax, dword [ebp + 0xc]
mov dword [eax], section..data
xor eax, eax
mov esp, ebp
pop ebp
ret 8