Function at 0x44bfc5
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x154
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea ecx, [esi + 0x10]
push 3
mov byte [esp + 0x1b], 0
mov dword [esp + 0x1c], ecx
call fcn.00453642
test eax, eax
je 0x44c052
lea edi, [eax + 4]
add esi, 0x20
push edi
mov ebx, esi
mov dword [esp + 0x14], esi
call fcn.0044f448
lea eax, [esp + 0x28]
push eax
mov esi, edi
call fcn.004432f0
pop ecx
mov edi, 0x4da8b8
call fcn.00407ece
lea ecx, [esp + 0x28]
call fcn.00403833
mov eax, edi
call fcn.00442ef0
call fcn.0044dcfd
push dword [eax]
mov eax, dword [ebp + 8]
add eax, 0xd4
push eax
call fcn.0044bc61
mov eax, esi
mov edi, 0x4da8a0
call fcn.00407ece
mov esi, dword [ebp + 8]
mov byte [esp + 0x17], 1
jmp 0x44c064
lea ebx, [esi + 0x20]
mov dword [esp + 0x10], ebx
call fcn.0044dcfd
push eax
call fcn.0044f448
lea eax, [esi + 0x1c]
lea edi, [esi + 0x7c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
call fcn.00407ece
lea edi, [esi + 0x110]
add esi, 0x70
mov eax, esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x40], esi
call fcn.00407ece
push 1
mov eax, edi
call fcn.0045326c
lea eax, [esp + 0x30]
push eax
call fcn.004432f0
pop ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [esp + 0x30]
call fcn.00403833
mov edi, dword [esp + 0x10]
call fcn.0044f5b3
xor esi, esi
cmp eax, esi
je 0x44c0d7
mov esi, dword [ebp + 8]
call fcn.0044dce6
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push edi
lea edi, [esp + 0x9c]
call fcn.0044eb93
mov ebx, dword [ebp + 8]
test byte [ebx + 0x60], 2
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
je 0x44c138
lea eax, [esp + 0x34]
push eax
mov ecx, ebx
call fcn.0044c6eb
lea eax, [esp + 0x34]
push eax
mov eax, edi
push eax
call fcn.0044eefd
mov esi, edi
call fcn.0044eebe
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
je 0x44c12b
push eax
mov eax, dword [esp + 0x14]
call fcn.0044f4e4
push ebx
lea ecx, [esp + 0xd8]
call fcn.0044d3a1
mov ecx, dword [esp + 0x18]
push 6
call fcn.00453642
mov esi, eax
test esi, esi
je 0x44c150
mov ecx, str.qhbxu
jmp 0x44c166
mov ecx, dword [esp + 0x18]
push 7
call fcn.00453642
mov esi, eax
test esi, esi
je 0x44c1a1
mov ecx, 0x4b8b8c
lea eax, [esp + 0x18]
push eax
call fcn.0043d5e0
lea eax, [esp + 0x18]
lea ecx, [esp + 0x98]
call fcn.0044ee6b
test al, al
jne 0x44c198
mov eax, dword [esp + 0x18]
push dword [eax - 0xc]
push eax
lea eax, [esp + 0xb4]
call fcn.0043164c
lea ecx, [esp + 0x18]
call fcn.00403833
cmp byte [ebp + 0xc], 0
je 0x44c210
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x44c1f1
and dword [esp + 0x15c], 0
lea eax, [esp + 0x9c]
push eax
lea eax, [edi + 4]
call fcn.0044e271
lea esi, [edi + 0x10]
lea ebx, [esp + 0xa8]
call fcn.0044c50d
lea esi, [edi + 0x50]
lea ebx, [esp + 0xe8]
call fcn.0044c5b7
mov eax, dword [esp + 0x15c]
mov dword [edi + 0xc4], eax
xor esi, esi
lea edi, [esp + 0x34]
call fcn.0044e891
lea eax, [esp + 0x98]
push eax
call fcn.00431da4
mov eax, esi
jmp 0x44c0ce
lea eax, [esp + 0x98]
push eax
call fcn.0044ed86
test al, al
mov byte [ebx + 0x164], al
sete al
mov byte [0x4d88cc], al
push str.Advinst_
lea eax, [esp + 0x20]
push eax
call fcn.00411bf8
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x14]
call fcn.0044f605
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [esp + 0x24]
call fcn.0043164c
lea ecx, [esp + 0x30]
call fcn.00403833
push dword [esp + 0x1c]
mov eax, 0x4da8a4
call fcn.0042d6fb
test esi, esi
jne 0x44c2a3
cmp byte [0x4da8ac], 0
je 0x44c2a3
inc esi
push esi
push 0xcc
mov dword [ebx + 0x98], 3
call fcn.00453f26
pop ecx
pop ecx
lea ecx, [esp + 0x1c]
call fcn.00403833
jmp 0x44c1f3
mov esi, dword [esp + 0x24]
mov edi, 0xdc
push edi
call fcn.004532dd
test byte [ebx + 0x60], 2
je 0x44c2db
lea eax, [esp + 0x98]
mov dword [esp + 0x74], eax
push edi
lea edi, [esp + 0x70]
mov eax, ebx
mov dword [esp + 0x70], 0x4b8b74
mov dword [esp + 0x74], ebx
call fcn.0044cc0c
push 0x8a
lea edi, [esp + 0x64]
mov eax, ebx
mov dword [esp + 0x64], 0x4b8b78
mov dword [esp + 0x68], ebx
call fcn.0044cc0c
cmp byte [esp + 0x68], 0
je 0x44c30f
lea ecx, [esp + 0x1c]
call fcn.00403833
xor esi, esi
inc esi
jmp 0x44c1f3
lea eax, [esp + 0x98]
push eax
push ebx
call fcn.0044d557
test al, al
jne 0x44c2fe
cmp byte [esp + 0x17], al
jne 0x44c341
push ebx
call fcn.0044d3da
test al, al
je 0x44c341
push dword [esp + 0x28]
call fcn.0044d47a
mov esi, eax
jmp 0x44c295
lea eax, [esp + 0x98]
push eax
mov esi, ebx
call fcn.0044ce73
mov esi, eax
test esi, esi
jne 0x44c295
mov eax, dword [esp + 0x24]
and dword [esp + 0x80], esi
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
mov al, byte [ebx + 0x164]
mov byte [esp + 0x84], al
lea eax, [esp + 0x78]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0xe8]
mov dword [esp + 0x90], eax
push 0xec
lea edi, [esp + 0x8c]
mov eax, ebx
mov dword [esp + 0x8c], 0x4b8b7c
call fcn.0044cc0c
cmp byte [esp + 0x94], 0
je 0x44c2fe
mov eax, dword [esp + 0x40]
mov esi, 0x4da8bc
mov edi, esi
call fcn.00407ece
mov eax, dword [esp + 0x2c]
mov edi, 0x4da8c0
call fcn.00407ece
lea eax, [esp + 0x98]
push eax
push ebx
call fcn.0044c722
cmp byte [ebx + 0x15c], 0
mov dword [esp + 0x10], eax
je 0x44c40d
lea ecx, [esp + 0x1c]
call fcn.00403833
or esi, 0xffffffff
jmp 0x44c1f3
push dword [esp + 0x28]
lea eax, [esp + 0x24]
push eax
call fcn.00418dc7
mov eax, dword [esp + 0x20]
xor edi, edi
cmp dword [eax - 0xc], edi
jne 0x44c455
lea eax, [esp + 0xa8]
lea edi, [esp + 0x20]
call fcn.00407ece
mov eax, edi
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00453736
pop ecx
pop ecx
call fcn.00407ece
lea ecx, [esp + 0x2c]
call fcn.00403833
xor edi, edi
mov eax, dword [esp + 0x24]
call fcn.0045332e
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov byte [esp + 0x48], 0
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov byte [esp + 0x49], 0
mov byte [esp + 0x54], 0
call fcn.004548ca
test byte [ebx + 0x60], 2
je 0x44c4b9
cmp dword [esp + 0x10], edi
jne 0x44c4b9
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x48]
call fcn.0045456a
push ebx
lea edi, [esp + 0x48]
call fcn.0044cb29
mov dword [esp + 0x10], eax
xor edi, edi
cmp dword [esp + 0x10], 0xffffffff
jne 0x44c4c6
push esi
call fcn.00454092
cmp dword [esp + 0x10], edi
jne 0x44c4e9
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x28]
push eax
mov eax, ebx
call fcn.0044cc3c
mov dword [esp + 0x10], eax
lea edi, [esp + 0x54]
call fcn.0044e859
lea ecx, [esp + 0x20]
call fcn.00403833
lea ecx, [esp + 0x1c]
call fcn.00403833
mov esi, dword [esp + 0x10]
jmp 0x44c1f3