Function at 0x48ab90
Capabilities:
Set current directory

Disassembly:
mov eax, 0x195c
call fcn.004a53e0
mov eax, dword [0x4cc3b0]
xor eax, esp
mov dword [esp + 0x1958], eax
push ebx
mov ecx, 0x4f0dd0
call fcn.00411650
mov bl, byte [esp + 0x1968]
mov dword [esp + 8], edx
test bl, bl
je 0x48abe5
and eax, 1
xor ecx, ecx
or eax, ecx
jne 0x48abe5
xor al, al
pop ebx
mov ecx, dword [esp + 0x1958]
xor ecx, esp
call fcn.004a4bb3
add esp, 0x195c
ret 0x10
push ebp
push esi
call fcn.0048cf30
mov ebp, eax
xor eax, eax
mov word [0x5107d0], ax
call fcn.00481960
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x4f0dd0
call fcn.004130d0
push 0x400
push 0x4f907c
mov ecx, 0x4f0dd0
call fcn.004130a0
mov edx, dword [esp + 0x94]
xor esi, esi
push 1
mov dword [0x4f701c], edx
mov byte [0x4f673a], bl
mov dword [0x4f6bfc], 1
mov dword [0x4f66dc], esi
mov dword [0x4f6700], esi
call fcn.00488fa0
cmp dword [esp + 0x138], esi
mov eax, dword [esp + 0x1978]
mov ebx, dword [esp + 0x196c]
push eax
setne cl
movzx edx, cl
push edx
push ebx
push 0x4f907c
push 0x4bad38
push 0x5107d0
call fcn.00489c30
test bl, bl
je 0x48ac95
push 1
call fcn.0048a9e0
test al, al
je 0x48afbf
push edi
push 0x400
lea eax, [esp + 0x96c]
push eax
mov ecx, 0x4f0dd0
call fcn.00413080
cmp word [esp + 0x968], si
jne 0x48ace4
mov ecx, 0x4f04a8
call fcn.00440650
mov ecx, 0x4f04a8
mov edi, eax
call fcn.004406b0
cmp edi, eax
jne 0x48ace4
cmp dword [esp + 0x13c], esi
je 0x48acee
cmp byte [esp + 0x15d], 0
jne 0x48acee
cmp byte [esp + 0x1978], 0
je 0x48ad5a
push esi
push 0x3ff
push esi
lea ecx, [esp + 0x174]
push ecx
mov ecx, dword [0x4f987c]
call fcn.0046b370
test al, al
je 0x48ad45
mov ecx, 0x4ba77c
lea eax, [esp + 0x168]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x48ad38
test dl, dl
je 0x48ad34
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x48ad38
add eax, 2
add ecx, 2
test dl, dl
jne 0x48ad18
xor eax, eax
jmp 0x48ad3d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
je 0x48ade7
mov ecx, dword [0x4f987c]
push 0x4ba77c
call fcn.0046b230
jmp 0x48ade7
mov edx, dword [0x4f987c]
push esi
push edx
mov ecx, 0x4f04a8
call fcn.00440870
test al, al
je 0x48aed7
mov eax, dword [0x4f987c]
cmp dword [eax + 0x20], esi
jne 0x48ade7
xor eax, eax
movzx ecx, word [esp + eax + 0x968]
mov word [esp + eax + 0x168], cx
add eax, 2
cmp cx, si
jne 0x48ad80
cmp word [esp + 0x168], si
je 0x48adaf
lea ecx, [esp + 0x168]
push ecx
call fcn.00451670
lea edi, [esp + 0x168]
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x48adc0
mov edx, dword [0x4baefc]
mov ecx, dword [0x4f987c]
lea eax, [esp + 0x168]
push eax
mov dword [edi], edx
call fcn.0046b250
cmp dword [esp + 0x13c], esi
je 0x48ae64
cmp byte [esp + 0x15d], 0
jne 0x48ae64
mov ecx, 0x4f04a8
call fcn.00440650
mov esi, eax
test esi, esi
je 0x48ae54
cmp word [esp + 0x968], 0
jne 0x48ae64
mov ecx, 0x4f04a8
call fcn.004406b0
cmp esi, eax
jne 0x48ae64
mov ecx, dword [0x4eacd4]
mov edx, dword [0x4d76b0]
push 0x4f907c
push 0x489b80
push ecx
push str.ASKPROCESSVOLDLG
push edx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 0xffffffff
je 0x48aed7
cmp eax, 1
jne 0x48ae64
mov ecx, dword [0x4f987c]
push 0x4ba77c
call fcn.0046b230
xor eax, eax
mov word [esp + 0x1168], ax
cmp byte [esp + 0x1974], al
jne 0x48aede
cmp word [0x5107d0], ax
je 0x48aede
cmp dword [0x4f6618], 4
je 0x48aede
push 0x400
lea ecx, [esp + 0x116c]
push ecx
call fcn.00485da0
push 0
push 0x5107d0
call fcn.00432220
push 0x5107d0
call fcn.00485d80
test al, al
jne 0x48aede
push 0x5107d0
push 0x1f7
call fcn.004612e0
push eax
call fcn.00493500
add esp, 8
mov ecx, 0x4d76b4
call fcn.00428fc0
xor al, al
jmp 0x48afbe
movzx edx, byte [0x4f8023]
push 0
push edx
mov ecx, 0x4f0dd0
call fcn.00417a70
cmp word [esp + 0x1168], 0
je 0x48af0b
lea eax, [esp + 0x1168]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
call fcn.0048cf30
cmp ebp, eax
jne 0x48af50
cmp byte [0x4e9b88], 0
jne 0x48af50
cmp byte [esp + 0x1974], 0
mov bl, 1
je 0x48af54
push 0x40
push 0x3a7
call fcn.004612e0
push eax
push 0x3a8
call fcn.004612e0
mov ecx, dword [0x4eacd4]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x48af85
xor bl, bl
jmp 0x48af85
cmp dword [0x4f8030], 0
je 0x48af85
push 0x4f907c
call fcn.00431770
test al, al
jne 0x48af85
mov ecx, 0x4f04a8
call fcn.00442a00
test al, al
je 0x48af85
push 0
mov ecx, 0x4f04a8
call fcn.004430b0
mov ecx, 0x4eacd8
mov byte [0x4ead04], 0
call fcn.0046a830
cmp byte [esp + 0x1974], 0
jne 0x48afbc
cmp byte [0x4e9b88], 0
jne 0x48afbc
cmp byte [0x5107cc], 0
je 0x48afbc
push 0x5107d0
call fcn.00489e70
mov al, bl
pop edi
mov ecx, dword [esp + 0x1964]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004a4bb3
add esp, 0x195c
ret 0x10