Function at 0x4195d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf070
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x958
push esi
push edi
push 0x800
lea eax, [ebp - 0x964]
mov edi, ecx
push 0
push eax
call fcn.0049edb0
add esp, 0xc
lea eax, [ebp - 0x964]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [ebp - 0x964], ax
jne 0x419649
xor ecx, ecx
jmp 0x419661
lea ecx, [ebp - 0x964]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419652
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x964]
push eax
lea ecx, [ebp - 0x28]
call fcn.004096c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 0xc
push str.qa_test.txt
call fcn.00416670
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x40
cmovae eax, dword [ebp - 0x28]
push 0x4d5710
push eax
call fcn.004a781f
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4198a1
mov ecx, dword [edi + 0x134]
add edi, 0x134
push dword [ecx + 4]
mov ecx, edi
call fcn.00415f80
mov eax, dword [edi]
mov dword [eax + 4], eax
mov eax, dword [edi]
mov dword [eax], eax
mov eax, dword [edi]
mov dword [eax + 8], eax
lea eax, [ebp - 0x10]
push eax
push 0x80
lea eax, [ebp - 0x164]
mov dword [edi + 4], 0
push eax
push str._ls___d
push esi
mov dword [ebp - 0x10], 0
call fcn.00419a90
add esp, 0x14
cmp eax, 0xffffffff
je 0x419898
nop word [eax + eax]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp word [ebp - 0x164], ax
je 0x419753
lea eax, [ebp - 0x164]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419744
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x40]
call fcn.004096c0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00411860
add esp, 0xc
mov byte [ebp - 4], 2
mov ecx, edi
push eax
call fcn.00410860
push eax
add eax, 0x10
mov ecx, edi
push eax
push 0
lea eax, [ebp - 0x64]
push eax
call fcn.00411490
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x4197f0
mov ecx, dword [ebp - 0x5c]
inc eax
cmp eax, 0x7fffffff
ja 0x4198e1
add eax, eax
cmp eax, 0x1000
jb 0x4197e7
test cl, 0x1f
jne 0x4198e1
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x4198e1
sub ecx, eax
cmp ecx, 4
jb 0x4198e1
cmp ecx, 0x23
ja 0x4198e1
mov ecx, eax
push ecx
call fcn.0042400a
add esp, 4
xor eax, eax
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x41985a
mov ecx, dword [ebp - 0x40]
inc eax
cmp eax, 0x7fffffff
ja 0x4198e1
add eax, eax
cmp eax, 0x1000
jb 0x419851
test cl, 0x1f
jne 0x4198e1
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x4198e1
sub ecx, eax
cmp ecx, 4
jb 0x4198e1
cmp ecx, 0x23
ja 0x4198e1
mov ecx, eax
push ecx
call fcn.0042400a
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0x80
lea eax, [ebp - 0x164]
mov dword [ebp - 0x30], 0
push eax
push str._ls___d
push esi
call fcn.00419a90
add esp, 0x14
cmp eax, 0xffffffff
jne 0x419710
push esi
call fcn.004b1ad9
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
pop edi
pop esi
cmp eax, 8
jb 0x4198bf
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409d20
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.004a3100
int3