Function at 0x44e3ac
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd60
xor eax, eax
lea ecx, [ebp - 0xa4]
push ebx
push esi
push edi
mov dword [ebp - 4], pe_nt_image_headers32
xor ebx, ebx
xor edx, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xa4], 0x94
push ecx
lea esi, [ebp - 4]
call sub.KERNEL32.dll_GetVersionExA
mov eax, dword [ebp - 0x94]
cmp eax, 1
jne 0x44e4b9
push 0
call sub.KERNEL32.dll_SetLastError
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0xc]
push edx
push ecx
push 0
push 0
push 2
push 0
push 1
call sub.WINSPOOL.DRV_EnumPrintersA
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x44e422
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x44e429
xor eax, eax
jmp 0x44e5e8
mov edx, dword [ebp - 0xc]
push edx
push 0x40
call sub.KERNEL32.dll_GlobalAlloc
mov ebx, eax
test ebx, ebx
jne 0x44e441
xor eax, eax
jmp 0x44e5e8
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0xc]
push edx
push ecx
mov eax, dword [ebp - 0xc]
push eax
push ebx
push 2
push 0
push 1
call sub.WINSPOOL.DRV_EnumPrintersA
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
test edx, edx
jne 0x44e470
push ebx
call sub.KERNEL32.dll_GlobalFree
xor eax, eax
jmp 0x44e5e8
mov edx, dword [ebx + 4]
push edx
call sub.KERNEL32.dll_lstrlenA
mov ecx, dword [esi]
cmp eax, ecx
jb 0x44e498
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.dll_lstrlenA
inc eax
mov dword [esi], eax
push ebx
call sub.KERNEL32.dll_GlobalFree
xor eax, eax
jmp 0x44e5e8
mov edx, dword [ebx + 4]
push edx
lea ecx, [ebp - 0x2a0]
push ecx
call sub.KERNEL32.dll_lstrcpyA
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.dll_lstrlenA
inc eax
mov dword [esi], eax
jmp 0x44e5b1
mov edx, dword [ebp - 0x94]
cmp edx, 2
jne 0x44e5b1
mov ecx, dword [ebp - 0xa0]
cmp ecx, 5
jb 0x44e52b
push 0x5eccee
call sub.KERNEL32.dll_LoadLibraryA
mov edi, eax
test edi, edi
jne 0x44e4ea
xor eax, eax
jmp 0x44e5e8
push 0x5eccfb
push edi
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
jne 0x44e506
push edi
call sub.KERNEL32.dll_FreeLibrary
xor eax, eax
jmp 0x44e5e8
push esi
lea edx, [ebp - 0x2a0]
push edx
call eax
mov dword [ebp - 8], eax
push edi
call sub.KERNEL32.dll_FreeLibrary
mov ecx, dword [ebp - 8]
test ecx, ecx
jne 0x44e5b1
xor eax, eax
jmp 0x44e5e8
push 0xfa
lea edx, [ebp - 0x1a0]
push edx
push 0x5ecd1d
push 0x5ecd16
push 0x5ecd0e
call sub.KERNEL32.dll_GetProfileStringA
test eax, eax
ja 0x44e556
xor eax, eax
jmp 0x44e5e8
push 0x5ecd21
lea edx, [ebp - 0x1a0]
push edx
call fcn.004d327c
add esp, 8
lea ecx, [ebp - 0x1a0]
push ecx
call sub.KERNEL32.dll_lstrlenA
mov edx, dword [esi]
cmp eax, edx
jb 0x44e58f
lea eax, [ebp - 0x1a0]
push eax
call sub.KERNEL32.dll_lstrlenA
inc eax
mov dword [esi], eax
xor eax, eax
jmp 0x44e5e8
lea edx, [ebp - 0x1a0]
push edx
lea ecx, [ebp - 0x2a0]
push ecx
call sub.KERNEL32.dll_lstrcpyA
lea eax, [ebp - 0x1a0]
push eax
call sub.KERNEL32.dll_lstrlenA
inc eax
mov dword [esi], eax
test ebx, ebx
je 0x44e5bb
push ebx
call sub.KERNEL32.dll_GlobalFree
xor eax, eax
lea edi, [ebp - 0x2a0]
or ecx, 0xffffffff
mov edx, dword [ebp + 8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edx
xchg edi, esi
mov edx, ecx
mov eax, edi
shr ecx, 2
mov eax, 1
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret