Function at 0x44f590
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58110c
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x5eb6e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ebx
call fcn.00453e50
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x44f5dd
push 0x80004005
call fcn.004038e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov edi, 1
mov dword [ebp - 4], edi
call fcn.00453e50
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x44f60e
push 0x80004005
call fcn.004038e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp + 8]
add eax, 0x10
mov dword [ecx], eax
mov eax, dword [esi - 8]
mov ecx, edi
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov dword [ebp - 0x24], edi
jge 0x44f643
push 0x104
lea ecx, [ebp - 0x14]
call fcn.00403620
mov esi, dword [ebp - 0x14]
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00551122
add esp, 8
cmp eax, ebx
jl 0x44f8be
cmp eax, dword [esi - 8]
jg 0x44f8be
xor edx, edx
mov dword [esi - 0xc], eax
lea edi, [ebp - 0xb4]
mov word [esi + eax*2], dx
call fcn.00401eb0
push 0x5f399c
mov ebx, edi
mov byte [ebp - 4], 2
call fcn.00401000
mov eax, dword [ebp - 0x88]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x18], esp
mov edi, esp
push eax
call fcn.00403760
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x1c]
add esp, 4
push eax
call fcn.004121f0
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x44f817
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.DriverType
call fcn.00403320
push ecx
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.VersionInformation
call fcn.00403320
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov esi, esp
push eax
call fcn.00403760
add eax, 0x10
lea edx, [ebp - 0x20]
add esp, 4
mov dword [esi], eax
push edx
mov byte [ebp - 4], 3
call fcn.00413730
mov bl, 6
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x20]
push eax
call fcn.00552f48
mov esi, eax
push esi
push str.This_Driver_Type___d__r_n
mov eax, 0x5f38b8
call fcn.004053d0
add esp, 0x1c
call fcn.004120a0
lea ecx, [ebp - 0x14]
test eax, eax
je 0x44f789
push str.System32_spooldriversX643_
call fcn.00405a10
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x18]
cmp esi, 2
jne 0x44f774
push str.E_WATO46.EXE
push ecx
push edx
call fcn.004024e0
add esp, 0xc
mov byte [ebp - 4], 7
jmp 0x44f7c6
push str.E_GATO46.EXE
push ecx
push edx
call fcn.004024e0
add esp, 0xc
mov byte [ebp - 4], 8
jmp 0x44f7c6
push str.System32_spooldriversW32X863_
call fcn.00405a10
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x18]
cmp esi, 2
jne 0x44f7b3
push str.E_JATO46.EXE
push ecx
push edx
call fcn.004024e0
add esp, 0xc
mov byte [ebp - 4], 9
jmp 0x44f7c6
push str.E_DATO46.EXE
push ecx
push edx
call fcn.004024e0
add esp, 0xc
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp + 8]
push eax
call fcn.004037d0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44f7f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44f814
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44f83a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44f85d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44f87c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x90]
call fcn.00401fa0
add esi, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44f8a7
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.004038e0
int3