Function at 0x48cee0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d2a8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebp - 0x3c]
mov edi, str.office6kvprinterkvpins.exe
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [ebp - 0x3c]
cmp ax, 9
je 0x48cf29
cmp ax, 6
jne 0x48cf2e
mov edi, str.office6kvprinterKvpins64.exe
mov eax, dword [ebp + 8]
mov esi, 0x5b0144
test eax, eax
cmovne esi, eax
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x48d24d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test esi, esi
je 0x48cf91
test esi, 0xffff0000
jne 0x48cf76
movzx eax, si
lea ecx, [ebp - 0x14]
push eax
call fcn.00426130
jmp 0x48cf9d
mov ecx, esi
lea edx, [ecx + 2]
jmp 0x48cf80
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48cf80
sub ecx, edx
sar ecx, 1
jmp 0x48cf93
xor ecx, ecx
push ecx
push esi
lea ecx, [ebp - 0x14]
call fcn.004263f0
mov edx, dword [ebp - 0x14]
mov esi, 1
mov ecx, esi
mov dword [ebp - 4], 1
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x48cfcd
push 0x104
lea ecx, [ebp - 0x14]
call fcn.00426250
mov edx, dword [ebp - 0x14]
cmp dword [edx - 8], 0x104
jl 0x48d243
mov dword [edx - 0xc], 0x104
xor ecx, ecx
mov eax, dword [ebp - 0x14]
push edi
push edx
mov word [eax + 0x208], cx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [ebp - 0x14]
push dword [eax - 8]
push eax
call fcn.0054b2c2
mov edx, eax
add esp, 8
test edx, edx
js 0x48d243
mov ecx, dword [ebp - 0x14]
cmp edx, dword [ecx - 8]
jg 0x48d243
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov word [eax + edx*2], cx
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.00425f70
add esp, 4
lea edx, [eax + 0x10]
mov dword [ebp - 0x10], edx
mov eax, dword [edx - 8]
mov ecx, esi
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
mov byte [ebp - 4], 2
jge 0x48d060
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00426250
mov edx, dword [ebp - 0x10]
cmp dword [edx - 8], 0x104
jl 0x48d243
mov dword [edx - 0xc], 0x104
xor ecx, ecx
mov eax, dword [ebp - 0x10]
push str..inf
push edx
mov word [eax + 0x208], cx
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
mov eax, dword [ebp - 0x10]
push dword [eax - 8]
push eax
call fcn.0054b2c2
mov edx, eax
add esp, 8
test edx, edx
js 0x48d243
mov ecx, dword [ebp - 0x10]
cmp edx, dword [ecx - 8]
jg 0x48d243
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov word [eax + edx*2], cx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx - 8]
sub esi, dword [ecx - 4]
sub eax, 0x104
or eax, esi
jge 0x48d0df
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00426250
mov ecx, dword [ebp - 0x10]
cmp dword [ecx - 8], 0x104
jl 0x48d243
mov dword [ecx - 0xc], 0x104
xor edx, edx
mov eax, dword [ebp - 0x10]
push ecx
mov word [eax + 0x208], dx
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
mov eax, dword [ebp - 0x10]
push dword [eax - 8]
push eax
call fcn.0054b2c2
mov edx, eax
add esp, 8
test edx, edx
js 0x48d243
mov ecx, dword [ebp - 0x10]
cmp edx, dword [ecx - 8]
jg 0x48d243
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x10]
push 0x5c2c50
push ecx
mov word [eax + edx*2], cx
lea ecx, [ebp - 0x10]
call fcn.00486450
push 3
push 0x5c2c58
lea ecx, [ebp - 0x10]
call fcn.00425dc0
call fcn.0047b0a0
or esi, 0xffffffff
test eax, eax
jne 0x48d1da
push 0x5bc540
lea eax, [ebx + 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00425c00
push str.wps.exe
push eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 3
push eax
call fcn.00425c00
push 0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.004751d0
mov edx, dword [ebp + 8]
add esp, 0x28
mov byte [ebp - 4], 3
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48d1ba
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, esi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48d1f2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x48d1f2
push 0
push 1
push 0
push 1
push 0
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.00474e60
add esp, 0x1c
mov edx, dword [ebp - 0x10]
mov eax, esi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48d210
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x48d22f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.00425f50
push 0x80004005
call fcn.00425f50
int3