Function at 0x44fd60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0c
mov eax, dword [0x4e20c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0xc04]
mov esi, ecx
push eax
push 0x400
mov edi, edx
mov dword [ebp - 0xc0c], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test esi, esi
jne 0x44fdc2
lea ecx, [ebp - 0xc04]
mov eax, ecx
sub edi, eax
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edi + ecx - 2], ax
test ax, ax
jne 0x44fda0
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ea75
mov esp, ebp
pop ebp
ret
movzx eax, word [esi]
push ebx
xor ebx, ebx
mov dword [ebp - 0xc08], 0
cmp eax, 0x5c
jne 0x44fe0b
cmp word [esi + 2], ax
je 0x44fe16
movzx eax, word [ebp - 0xc04]
lea ecx, [ebx + 2]
mov word [edi], ax
mov edx, 1
movzx eax, word [ebp - 0xc02]
mov word [edi + 2], ax
xor eax, eax
mov word [edi + 4], ax
mov dword [ebp - 0xc08], edx
jmp 0x44fead
cmp eax, 0x2f
jne 0x44fe2f
cmp word [esi + 2], ax
jne 0x44fe2f
mov edx, 2
mov dword [edi], 0x5c
mov dword [ebp - 0xc08], edx
lea ecx, [edx - 1]
jmp 0x44fead
cmp word [esi + 2], 0x3a
jne 0x44fe60
mov word [edi], ax
xor edx, edx
mov ax, word [esi + 2]
mov ecx, 2
mov word [edi + 2], ax
xor eax, eax
mov word [edi + 4], ax
cmp word [esi + 4], 0x5c
sete dl
add edx, ecx
mov dword [ebp - 0xc08], edx
jmp 0x44fead
lea ecx, [ebp - 0xc04]
mov edx, edi
mov eax, ecx
sub edx, eax
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x44fe70
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44fe85
sub ecx, edx
sar ecx, 1
movzx eax, word [edi + ecx*2 - 2]
cmp eax, 0x5c
je 0x44fea3
cmp eax, 0x2f
jne 0x44feab
xor eax, eax
mov word [edi + ecx*2 - 2], ax
dec ecx
xor edx, edx
movzx eax, word [esi + edx*2]
test eax, eax
je 0x450031
nop dword [eax]
cmp eax, 0x2f
je 0x44fef8
cmp eax, 0x5c
je 0x44fef8
mov ax, word [esi + edx*2]
mov word [ebp + ebx*2 - 0x404], ax
lea eax, [ebx*2 + 2]
cmp eax, 0x400
jae 0x450044
xor esi, esi
inc ebx
mov word [ebp + eax - 0x404], si
jmp 0x44ffef
test ebx, ebx
je 0x44fff5
mov edx, 0x4d07cc
lea eax, [ebp - 0x404]
nop dword [eax + eax]
mov si, word [eax]
cmp si, word [edx]
jne 0x44ff36
test si, si
je 0x44ff32
mov si, word [eax + 2]
cmp si, word [edx + 2]
jne 0x44ff36
add eax, 4
add edx, 4
test si, si
jne 0x44ff10
xor eax, eax
jmp 0x44ff3b
sbb eax, eax
or eax, 1
test eax, eax
je 0x44ffe7
mov edx, 0x4d07d0
lea eax, [ebp - 0x404]
nop
mov si, word [eax]
cmp si, word [edx]
jne 0x44ff76
test si, si
je 0x44ff72
mov si, word [eax + 2]
cmp si, word [edx + 2]
jne 0x44ff76
add eax, 4
add edx, 4
test si, si
jne 0x44ff50
xor eax, eax
jmp 0x44ff7b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x44ffbc
movzx eax, word [edi + ecx*2 - 2]
dec ecx
mov edx, eax
cmp eax, 0x5c
je 0x44ffaa
nop dword [eax]
movzx eax, dx
cmp eax, 0x2f
je 0x44ffaa
cmp eax, 0x3a
je 0x44ffaa
movzx eax, word [edi + ecx*2 - 2]
dec ecx
mov edx, eax
cmp eax, 0x5c
jne 0x44ff90
cmp word [edi + ecx*2], 0x3a
je 0x44ffb9
xor eax, eax
mov word [edi + ecx*2], ax
jmp 0x44ffe7
inc ecx
jmp 0x44ffe7
mov eax, 0x5c
lea edx, [ebp - 0x404]
mov word [edi + ecx*2], ax
inc ecx
mov eax, edx
lea esi, [ecx + ecx]
sub esi, eax
add esi, edi
movzx eax, word [edx]
lea edx, [edx + 2]
mov word [esi + edx - 2], ax
test ax, ax
jne 0x44ffd5
add ecx, ebx
mov edx, dword [ebp - 0xc08]
xor ebx, ebx
mov esi, dword [ebp - 0xc0c]
movzx eax, word [esi + edx*2 + 2]
inc edx
mov dword [ebp - 0xc08], edx
test eax, eax
jne 0x44fec0
test ebx, ebx
je 0x450031
lea edx, [edi + ecx*2]
mov eax, 0x5c
mov word [edx], ax
lea ecx, [ebp - 0x404]
mov eax, ecx
sub edx, eax
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx], ax
test ax, ax
jne 0x450022
pop ebx
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0046ea75
mov esp, ebp
pop ebp
ret
call fcn.0046ec8a
int3