Function at 0x44f580
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x224
mov esi, dword [sym.imp.kernel32.dll_GetWindowsDirectoryW]
mov dword [esp + 4], 0
mov dword [esp], 0
call esi
sub esp, 8
mov ebx, eax
test eax, eax
jne 0x44f5bc
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 0x78
je 0x44f83c
call fcn.0057d110
lea edi, [ebp - 0x214]
mov dword [eax], 0x594e33
mov dword [eax + 4], 0x5b
xor eax, eax
cmp ebx, 0x104
setbe al
mov dword [esp + 4], 0x594e3f
mov dword [esp], eax
call fcn.0044df00
xor eax, eax
lea esi, [esi]
movzx edx, word [eax + 0x59577c]
mov word [edi + eax], dx
add eax, 2
test dx, dx
jne 0x44f5f8
mov dword [esp + 4], 1
mov dword [esp], edi
call esi
sub esp, 8
mov dword [ebp - 0x21c], eax
call fcn.0057d110
mov dword [eax], 0x594e33
mov dword [eax + 4], 0x5f
mov eax, dword [sym.imp.kernel32.dll_lstrcmpW]
mov dword [esp + 4], 0x59577c
mov dword [esp], edi
mov dword [ebp - 0x218], eax
call eax
sub esp, 8
test eax, eax
sete al
mov dword [esp + 4], 0x594e5d
movzx eax, al
mov dword [esp], eax
call fcn.0044df00
call fcn.0057d110
mov dword [eax], 0x594e33
mov dword [eax + 4], 0x60
xor eax, eax
mov dword [esp + 0xc], ebx
mov ecx, dword [ebp - 0x21c]
mov dword [esp + 4], str.GetWindowsDirectoryW_returned__d__expected__d_n
cmp ebx, ecx
mov dword [esp + 8], ecx
sete al
mov dword [esp], eax
call fcn.0044df00
xor eax, eax
nop
movzx edx, word [eax + 0x59577c]
mov word [edi + eax], dx
add eax, 2
test dx, dx
jne 0x44f6a0
lea eax, [ebx - 1]
mov dword [ebp - 0x21c], eax
mov dword [esp + 4], eax
mov dword [esp], edi
call esi
sub esp, 8
mov dword [ebp - 0x220], eax
call fcn.0057d110
mov dword [eax], 0x594e33
mov dword [eax + 4], 0x65
mov dword [esp + 4], 0x59577c
mov dword [esp], edi
mov eax, dword [ebp - 0x218]
call eax
sub esp, 8
test eax, eax
sete al
mov dword [esp + 4], 0x594e5d
movzx eax, al
mov dword [esp], eax
call fcn.0044df00
call fcn.0057d110
mov dword [eax], 0x594e33
mov dword [eax + 4], 0x66
xor eax, eax
mov dword [esp + 0xc], ebx
mov ecx, dword [ebp - 0x220]
mov dword [esp + 4], str.GetWindowsDirectoryW_returned__d__expected__d_n
cmp ebx, ecx
mov dword [esp + 8], ecx
sete al
mov dword [esp], eax
call fcn.0044df00
xor eax, eax
lea esi, [esi]
nop
movzx edx, word [eax + 0x59577c]
mov word [edi + eax], dx
add eax, 2
test dx, dx
jne 0x44f750
mov dword [esp + 4], ebx
mov dword [esp], edi
call esi
sub esp, 8
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x594e33
mov dword [eax + 4], 0x6b
mov dword [esp + 4], 0x59577c
mov dword [esp], edi
mov eax, dword [ebp - 0x218]
call eax
sub esp, 8
test eax, eax
setne al
mov dword [esp + 4], 0x594eab
movzx eax, al
mov dword [esp], eax
call fcn.0044df00
call fcn.0057d110
mov dword [eax], 0x594e33
cmp word [ebp - 0x214], 0
mov dword [eax + 4], 0x6c
je 0x44f838
mov eax, edi
nop
add eax, 2
cmp word [eax], 0
jne 0x44f7d0
sub eax, edi
sar eax, 1
cmp ebx, eax
mov dword [esp + 4], 0x594ec4
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0044df00
call fcn.0057d110
mov dword [eax], 0x594e33
mov dword [eax + 4], 0x6d
mov eax, dword [ebp - 0x21c]
mov dword [esp + 8], ebx
cmp eax, ebx
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 4], str.GetWindowsDirectoryW_returned__d__expected__d_n
movzx eax, al
mov dword [esp], eax
call fcn.0044df00
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
jmp 0x44f7dd
call fcn.0057d110
mov dword [eax], 0x594e33
mov dword [eax + 4], 0x58
mov dword [esp], str.GetWindowsDirectoryW_is_not_implemented_n
call fcn.0044e730
jmp 0x44f82d