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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b6f3
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x5fb61c]
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
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edi, edx
mov edx, dword [esi]
mov dword [ebp - 0x234], eax
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x23c], ecx
test eax, eax
je 0x45a538
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.005336c0
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x228]
push ecx
call fcn.00443050
lea edx, [ebp - 0x230]
push esi
push edx
mov dword [ebp - 4], 0
call fcn.00443210
add esp, 0x14
mov eax, dword [0x5fcb00]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcb00
mov byte [ebp - 4], 1
call edx
add eax, 0x10
mov dword [ebp - 0x220], eax
mov eax, dword [0x5fcb00]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcb00
mov byte [ebp - 4], 2
call edx
add eax, 0x10
mov dword [ebp - 0x224], eax
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
mov byte [ebp - 4], 3
test ecx, ecx
jne 0x45a23a
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x21c]
push ecx
call fcn.00442d80
add esp, 8
push eax
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 4
call fcn.004222b0
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45a21d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x228]
push ecx
lea ecx, [ebp - 0x224]
call fcn.004222b0
mov esi, dword [ebp - 0x224]
jmp 0x45a302
mov edx, dword [0x5ff1bc]
push eax
push edx
lea eax, [ebp - 0x21c]
push eax
call fcn.00443050
add esp, 0xc
push eax
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 5
call fcn.004222b0
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a287
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x599c4c
lea ecx, [ebp - 0x220]
call fcn.00459f60
mov ecx, dword [ebp - 0x230]
mov edx, dword [ebp - 0x220]
push ecx
push edx
lea eax, [ebp - 0x21c]
push eax
call fcn.00443050
add esp, 0xc
push eax
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 6
call fcn.004222b0
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a2ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x228]
push 0
push esi
push ecx
call fcn.004430d0
add esp, 0xc
mov edx, dword [0x5fcb00]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcb00
mov edi, 1
call eax
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov edx, dword [0x5fcb00]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcb00
mov byte [ebp - 4], 7
call eax
add eax, 0x10
mov dword [ebp - 0x22c], eax
push 4
lea ecx, [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 8
call fcn.00421e70
push eax
push str..msi
call fcn.00438950
mov bl, al
mov eax, dword [ebp - 0x238]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45a387
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x21c]
test bl, bl
je 0x45a3da
push 0xb
push str.msiexec.exe
xor edi, edi
call fcn.00422120
mov eax, dword [ebp - 0x234]
mov ecx, dword [eax]
push esi
cmp dword [ecx - 0xc], edi
jne 0x45a3c3
lea edx, [ebp - 0x22c]
push str._i___s_
push edx
call fcn.004237a0
add esp, 0xc
jmp 0x45a3f8
push ecx
lea ecx, [ebp - 0x22c]
push 0x599c08
push ecx
call fcn.004237a0
add esp, 0x10
jmp 0x45a3f8
lea edx, [ebp - 0x224]
push edx
call fcn.004222b0
mov eax, dword [ebp - 0x234]
push eax
lea ecx, [ebp - 0x22c]
call fcn.004222b0
mov ecx, dword [ebp - 0x220]
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push ecx
call esi
mov edx, dword [ebp - 0x23c]
push 1
push edi
push 0
push 1
push edx
push 0x595524
call fcn.00438950
mov edi, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x21c]
movzx eax, al
add esp, 8
neg eax
sbb eax, eax
push eax
push edi
push ecx
call fcn.00473560
add esp, 0x1c
lea edx, [ebp - 0x218]
push edx
mov ebx, eax
call esi
xor eax, eax
cmp ebx, 1
sete al
mov byte [ebp - 4], 7
or edx, 0xffffffff
mov esi, eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a475
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a49b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a4c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a4e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x230]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a50d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a536
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
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.005332ca
mov esp, ebp
pop ebp
ret