Function at 0x446800
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ee69
mov eax, dword fs:[0]
push eax
mov eax, 0x2060
call fcn.0041c3d0
mov eax, dword [0x467034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x2051], cl
push 0x1000
lea eax, [ebp - 0x2020]
push 0
push eax
call fcn.0041d050
push 0x1000
lea eax, [ebp - 0x1020]
push 0
push eax
call fcn.0041d050
add esp, 0x18
lea eax, [ebp - 0x2020]
push 0x800
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x800
lea eax, [ebp - 0x1020]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0
push 0
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x1020]
mov word [ebp - 0x14], 0
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x20], xmm0
call fcn.0042805e
lea edi, [ebp - 0x20]
add esp, 0x14
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x4468c0
mov eax, dword [0x45d9e8]
lea ecx, [ebp - 0x1020]
xorps xmm0, xmm0
mov dword [edi], eax
movups xmmword [ebp - 0x2038], xmm0
mov dword [ebp - 0x2028], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x2024], 0
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446900
sub ecx, edx
lea eax, [ebp - 0x1020]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2038]
call fcn.00401db5
mov dword [ebp - 4], 0
mov edx, SysReAllocString
mov esi, dword [ebp - 0x2024]
mov eax, esi
mov ecx, dword [ebp - 0x2028]
sub eax, ecx
mov dword [ebp - 0x2058], ecx
mov dword [ebp - 0x2060], esi
mov dword [ebp - 0x205c], edx
cmp eax, 1
jb 0x44697a
lea eax, [ecx + 1]
cmp esi, 8
mov dword [ebp - 0x2028], eax
lea eax, [ebp - 0x2038]
cmovae eax, dword [ebp - 0x2038]
mov dword [eax + ecx*2], 0x5c
jmp 0x446ae1
mov eax, edx
sub eax, ecx
cmp eax, 1
jb 0x446e74
lea edi, [ecx + 1]
or edi, 7
cmp edi, edx
jbe 0x44699c
mov eax, SysReAllocString
mov edi, edx
add eax, eax
jmp 0x4469e1
mov eax, esi
shr eax, 1
mov dword [ebp - 0x2064], eax
mov eax, edx
mov edx, dword [ebp - 0x2064]
sub eax, edx
cmp esi, eax
jbe 0x4469c2
mov eax, SysReAllocString
mov edi, SysReAllocString
add eax, eax
jmp 0x4469e1
lea eax, [edx + esi]
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x446e6f
add eax, eax
cmp eax, 0x1000
jb 0x446a0e
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x446e6f
push ecx
call fcn.0041b349
add esp, 4
test eax, eax
je 0x446e83
mov ecx, dword [ebp - 0x2058]
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x446a27
test eax, eax
je 0x446a25
push eax
call fcn.0041b349
mov ecx, dword [ebp - 0x2058]
add esp, 4
mov esi, eax
jmp 0x446a27
xor esi, esi
cmp dword [ebp - 0x2060], 8
lea eax, [ecx + 1]
mov dword [ebp - 0x2028], eax
lea eax, [ecx + ecx]
lea ecx, [ecx + 1]
mov dword [ebp - 0x2024], edi
lea edi, [eax + esi]
lea ecx, [esi + ecx*2]
mov dword [ebp - 0x2064], edi
mov dword [ebp - 0x2058], ecx
push eax
jb 0x446ab8
mov edi, dword [ebp - 0x2038]
push edi
push esi
call fcn.0041cad0
mov eax, dword [ebp - 0x2064]
mov ecx, 0x5c
add esp, 0xc
mov word [eax], cx
xor ecx, ecx
mov eax, dword [ebp - 0x2058]
mov word [eax], cx
mov eax, dword [ebp - 0x2060]
lea ecx, [eax*2 + 2]
cmp ecx, 0x1000
jb 0x446aac
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x446e83
mov edi, edx
push ecx
push edi
call fcn.0041b318
add esp, 8
jmp 0x446adb
lea eax, [ebp - 0x2038]
push eax
push esi
call fcn.0041cad0
mov eax, 0x5c
add esp, 0xc
mov word [edi], ax
xor ecx, ecx
mov eax, dword [ebp - 0x2058]
mov word [eax], cx
mov dword [ebp - 0x2038], esi
push 0x59
lea eax, [ebp - 0x2050]
mov ecx, 0x46b100
push eax
call fcn.00407b27
mov edi, eax
mov dword [ebp - 0x2068], eax
mov byte [ebp - 4], 1
cmp dword [edi + 0x14], 8
mov edx, dword [edi + 0x10]
mov dword [ebp - 0x2058], edx
jb 0x446b17
mov edi, dword [edi]
mov dword [ebp - 0x2068], edi
mov eax, dword [ebp - 0x2024]
mov ecx, dword [ebp - 0x2028]
mov dword [ebp - 0x2064], eax
sub eax, ecx
mov dword [ebp - 0x2060], ecx
cmp edx, eax
ja 0x446b7a
cmp dword [ebp - 0x2064], 8
lea eax, [ecx + edx]
lea esi, [ebp - 0x2038]
mov dword [ebp - 0x2028], eax
cmovae esi, dword [ebp - 0x2038]
lea eax, [edx + edx]
push eax
push edi
lea ecx, [esi + ecx*2]
push ecx
call fcn.0041cad0
mov eax, dword [ebp - 0x2060]
add esp, 0xc
add eax, dword [ebp - 0x2058]
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x446d4d
mov eax, dword [ebp - 0x205c]
sub eax, ecx
cmp eax, edx
jb 0x446e79
lea esi, [edx + ecx]
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x446bab
mov eax, SysReAllocString
mov dword [ebp - 0x205c], connect
add eax, eax
jmp 0x446c10
mov eax, dword [ebp - 0x2064]
mov edi, eax
shr edi, 1
sub dword [ebp - 0x205c], edi
mov dword [ebp - 0x206c], edi
mov edi, dword [ebp - 0x2068]
cmp eax, dword [ebp - 0x205c]
jbe 0x446be2
mov eax, SysReAllocString
mov dword [ebp - 0x205c], connect
add eax, eax
jmp 0x446c10
add eax, dword [ebp - 0x206c]
mov edi, dword [ebp - 0x2068]
cmp esi, eax
cmovb esi, eax
mov dword [ebp - 0x205c], esi
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x446e6f
add eax, eax
cmp eax, 0x1000
jb 0x446c43
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x446e6f
push ecx
call fcn.0041b349
add esp, 4
test eax, eax
je 0x446e7e
mov ecx, dword [ebp - 0x2060]
lea esi, [eax + 0x23]
mov edx, dword [ebp - 0x2058]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x446c62
test eax, eax
je 0x446c60
push eax
call fcn.0041b349
mov ecx, dword [ebp - 0x2060]
add esp, 4
mov edx, dword [ebp - 0x2058]
mov esi, eax
jmp 0x446c62
xor esi, esi
lea eax, [edx + ecx]
mov dword [ebp - 0x2028], eax
mov eax, dword [ebp - 0x205c]
mov dword [ebp - 0x2024], eax
lea eax, [ecx + ecx]
mov dword [ebp - 0x206c], eax
add eax, esi
cmp dword [ebp - 0x2064], 8
mov dword [ebp - 0x2060], eax
lea eax, [edx + edx]
mov dword [ebp - 0x2058], eax
lea eax, [ecx + edx]
lea eax, [esi + eax*2]
mov dword [ebp - 0x205c], eax
jb 0x446d13
mov edi, dword [ebp - 0x2038]
lea eax, [ecx + ecx]
push eax
push edi
push esi
call fcn.0041cad0
push dword [ebp - 0x2058]
push dword [ebp - 0x2068]
push dword [ebp - 0x2060]
call fcn.0041cad0
mov eax, dword [ebp - 0x205c]
xor ecx, ecx
add esp, 0x18
mov word [eax], cx
mov eax, dword [ebp - 0x2064]
lea ecx, [eax*2 + 2]
cmp ecx, 0x1000
jb 0x446d07
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x446e7e
mov edi, edx
push ecx
push edi
call fcn.0041b318
add esp, 8
jmp 0x446d47
mov eax, dword [ebp - 0x206c]
push eax
lea eax, [ebp - 0x2038]
push eax
push esi
call fcn.0041cad0
push dword [ebp - 0x2058]
push edi
push dword [ebp - 0x2060]
call fcn.0041cad0
mov eax, dword [ebp - 0x205c]
add esp, 0x18
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 0x2038], esi
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x203c]
cmp ecx, 8
jb 0x446d91
mov edx, dword [ebp - 0x2050]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x446d87
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x446e7e
push ecx
push edx
call fcn.0041b318
add esp, 8
mov dl, byte [ebp - 0x2051]
lea ecx, [ebp - 0x20]
push 0
call fcn.0040e594
add esp, 4
test al, al
jne 0x446e0b
mov dl, byte [ebp - 0x2051]
lea ecx, [ebp - 0x1020]
push 0
call fcn.0040e594
add esp, 4
test al, al
jne 0x446e0b
cmp dword [ebp - 0x2024], 8
lea ecx, [ebp - 0x2038]
mov dl, byte [ebp - 0x2051]
cmovae ecx, dword [ebp - 0x2038]
push 1
call fcn.0040e594
add esp, 4
test al, al
jne 0x446e0b
mov dl, byte [ebp - 0x2051]
lea ecx, [ebp - 0x2020]
push 1
call fcn.0040e594
add esp, 4
mov byte [ebp - 0x2051], 1
test al, al
je 0x446e12
mov byte [ebp - 0x2051], 0
mov ecx, dword [ebp - 0x2024]
cmp ecx, 8
jb 0x446e4e
mov edx, dword [ebp - 0x2038]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x446e44
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x446e83
push ecx
push edx
call fcn.0041b318
add esp, 8
mov al, byte [ebp - 0x2051]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041b30a
mov esp, ebp
pop ebp
ret
call fcn.00402397
call fcn.00402241
call fcn.00402241
call fcn.004204cf
call fcn.004204cf
int3