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

Disassembly:
push 0xffffffffffffffff
push 0x4f92c2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x73c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
xor edi, edi
mov eax, dword [ebp + 0x50]
mov dword [esp + 0x1c], edi
cmp eax, edi
jne 0x48a4e0
mov eax, dword [0x5ad61c]
push edi
push edi
push eax
call fcn.004d47fc
jmp 0x48aa27
mov eax, dword [eax]
mov dword [esp + 0x18], edi
cmp eax, edi
mov dword [esp + 0x10], eax
jl 0x48a523
mov ecx, dword [0x5adc0c]
lea edx, [eax + 1]
add ecx, 8
mov ax, word [ecx]
cmp ax, 0x8a
je 0x48a515
cmp ax, 0x92
je 0x48a515
cmp ax, 0x90
je 0x48a515
cmp ax, 0x91
jne 0x48a516
inc edi
add ecx, 0x88
dec edx
jne 0x48a4fa
mov dword [esp + 0x18], edi
mov al, byte [ebp + 0x1b330]
test al, al
je 0x48a623
lea esi, [ebp + 0x1b334]
lea edx, [esp + 0x1c]
push 1
push edx
mov ecx, esi
call fcn.004bfb75
mov eax, dword [eax]
push 0x59d468
push eax
call fcn.004a629c
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
setne bl
call fcn.004c65ba
test bl, bl
je 0x48a573
push 0x59d468
mov ecx, esi
call fcn.004c6996
mov eax, dword [0x5a4404]
mov dword [esp + 0x18], eax
mov dword [esp + 0x754], 0
mov dword [esp + 0x20], eax
mov eax, dword [esi]
push edi
push eax
lea ecx, [esp + 0x20]
push str._sMB_02d.ZSH
push ecx
mov byte [esp + 0x764], 1
call fcn.004c0067
mov edx, dword [esi]
add esp, 0x10
lea eax, [esp + 0x20]
push edi
push edx
push str._sMC_02d.ZSH
push eax
call fcn.004c0067
add esp, 0x10
mov ecx, ebp
call fcn.0048d950
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
push 0
push ecx
push esi
mov ecx, ebp
call fcn.00489650
test al, al
je 0x48a5f9
mov edx, dword [esp + 0x20]
mov edi, 1
push edi
push edx
push esi
mov ecx, ebp
call fcn.00489650
test al, al
mov dword [esp + 0x754], edi
lea ecx, [esp + 0x20]
mov byte [esp + 0x754], 0
call fcn.004c65ba
lea ecx, [esp + 0x18]
mov dword [esp + 0x754], 0xffffffff
call fcn.004c65ba
jmp 0x48aa27
mov eax, dword [ebp + 0x1b17c]
mov ecx, dword [ebp + 0x1b178]
mov edx, dword [ebp + 0x1b174]
push 0
push eax
mov eax, dword [ebp + 0x1b170]
push ecx
lea edi, [ebp + 0x1b298]
push edx
push eax
push edi
mov ecx, ebp
call fcn.00486bb0
push eax
lea ecx, [esp + 0x4c]
call fcn.0040ab60
mov ecx, dword [ebp + 0x50]
mov dword [esp + 0x754], 4
mov edx, dword [ecx]
lea ecx, [esp + 0x30]
push edx
call fcn.0040b2d0
mov eax, dword [0x5a4404]
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x754], 5
push ecx
mov ecx, ebp
call fcn.00486a50
mov esi, eax
lea edx, [esp + 0x1c]
mov bl, 6
push 0x13bf
push edx
mov byte [esp + 0x75c], bl
call fcn.00401930
add esp, 8
mov ecx, dword [esi]
mov eax, dword [eax]
push ecx
lea edx, [esp + 0x30]
push eax
push edx
mov byte [esp + 0x760], 7
call fcn.004c0067
add esp, 0xc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x754], bl
call fcn.004c65ba
lea ecx, [esp + 0x10]
mov byte [esp + 0x754], 5
call fcn.004c65ba
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x2f0]
push eax
call fcn.004c6743
lea ecx, [esp + 0x30]
call fcn.004c5ee5
cmp eax, 1
je 0x48a779
lea ecx, [esp + 0x2c]
mov byte [esp + 0x754], 4
call fcn.004c65ba
lea ecx, [esp + 0x348]
mov dword [esp + 0x754], 0xc
call fcn.004c65ba
lea ecx, [esp + 0x344]
mov byte [esp + 0x754], 0xb
call fcn.004c65ba
lea ecx, [esp + 0x2f8]
mov byte [esp + 0x754], 0xa
call fcn.0041fe40
lea ecx, [esp + 0x2f0]
mov byte [esp + 0x754], 9
call fcn.004c65ba
mov byte [esp + 0x754], 8
jmp 0x48aa07
mov edx, dword [esp + 0xa0]
mov ecx, 0x24
lea esi, [esp + 0xb0]
lea eax, [esp + 0x34c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x9c]
mov edi, dword [esp + 0xac]
push eax
mov dword [ebp + 0x1b170], ecx
push 0x400
mov dword [ebp + 0x1b174], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0
push 0
call fcn.0049a592
cmp eax, 1
jne 0x48a98d
mov bl, 0xe
mov eax, dword [0x5a4404]
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x754], bl
push ecx
call fcn.0049a580
mov esi, dword [esp + 0x18]
mov edx, dword [eax]
push esi
push edx
lea eax, [esp + 0x1c]
push str._sMB_02d.ZSH
push eax
mov byte [esp + 0x764], 0xf
call fcn.004c0067
add esp, 0x10
lea ecx, [esp + 0x1c]
mov byte [esp + 0x754], bl
call fcn.004c65ba
lea ecx, [esp + 0x20]
push ecx
call fcn.0049a580
mov edx, dword [eax]
push esi
push edx
lea eax, [esp + 0x30]
push str._sMC_02d.ZSH
push eax
mov byte [esp + 0x764], 0x10
call fcn.004c0067
add esp, 0x10
lea ecx, [esp + 0x20]
mov byte [esp + 0x754], bl
call fcn.004c65ba
mov ecx, dword [esp + 0x14]
push 0
push ecx
call fcn.004a8242
add esp, 8
test eax, eax
jne 0x48a92e
lea edx, [esp + 0x10]
push 0x13d1
push edx
call fcn.00401930
add esp, 8
mov eax, dword [0x5a4404]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
lea edx, [edi + 1]
push ecx
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
mov byte [esp + 0x764], 0x12
call fcn.004c0067
mov edx, dword [esp + 0x34]
add esp, 0x10
push 0
push 0x101
push edx
call fcn.004d47fc
cmp eax, 2
mov byte [esp + 0x754], 0x11
lea ecx, [esp + 0x24]
jne 0x48a919
call fcn.004c65ba
lea ecx, [esp + 0x10]
mov byte [esp + 0x754], bl
call fcn.004c65ba
lea ecx, [esp + 0x28]
mov byte [esp + 0x754], 0xd
call fcn.004c65ba
lea ecx, [esp + 0x14]
mov byte [esp + 0x754], 5
call fcn.004c65ba
push 0
push 0
call fcn.0049a592
cmp eax, 1
je 0x48a7cf
jmp 0x48a98d
call fcn.004c65ba
lea ecx, [esp + 0x10]
mov byte [esp + 0x754], bl
call fcn.004c65ba
mov ecx, ebp
call fcn.0048d950
mov eax, dword [esp + 0x14]
push 0
push eax
push edi
mov ecx, ebp
call fcn.00489650
test al, al
je 0x48a96b
mov ecx, dword [esp + 0x28]
push 1
push ecx
push edi
mov ecx, ebp
call fcn.00489650
test al, al
je 0x48a96b
mov edx, dword [0x5ad4cc]
push 0
push 0x40
push edx
call fcn.004d47fc
lea ecx, [esp + 0x28]
mov byte [esp + 0x754], 0xd
call fcn.004c65ba
lea ecx, [esp + 0x14]
mov byte [esp + 0x754], 5
call fcn.004c65ba
lea eax, [esp + 0x34c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x754], 4
call fcn.004c65ba
lea ecx, [esp + 0x348]
mov dword [esp + 0x754], 0x17
call fcn.004c65ba
lea ecx, [esp + 0x344]
mov byte [esp + 0x754], 0x16
call fcn.004c65ba
lea ecx, [esp + 0x2f8]
mov byte [esp + 0x754], 0x15
call fcn.0041fe40
lea ecx, [esp + 0x2f0]
mov byte [esp + 0x754], 0x14
call fcn.004c65ba
mov byte [esp + 0x754], 0x13
lea ecx, [esp + 0x90]
call fcn.004c3155
lea ecx, [esp + 0x30]
mov dword [esp + 0x754], 0xffffffff
call fcn.004c5a2b
mov ecx, dword [esp + 0x74c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x748
ret