Function at 0x44ab60
Capabilities:
Get system information on windows
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
push ebx
push esi
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
push edi
push 0x74
push 0
lea eax, [esi + 4]
mov byte [esp + 0x20], 0
push eax
movlpd qword [esp + 0x2c], xmm0
call fcn.004663d0
add esp, 0xc
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x50]
xor ecx, ecx
mov dword [esi + 0x64], eax
xor eax, eax
push ebx
cpuid
mov edi, ebx
pop ebx
lea ebx, [esp + 0x2c]
mov dword [ebx], eax
mov dword [ebx + 4], edi
xor edi, edi
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov edx, 0x4a2180
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x34]
mov ebx, eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 4]
cmp dword [edx - 4], eax
sete cl
cmp dword [edx + 4], ebx
sete al
and cl, al
mov eax, dword [esi + 8]
cmp dword [edx], eax
sete al
test al, cl
jne 0x44ac09
mov eax, dword [esi + 4]
inc edi
add edx, 0x10
cmp edi, 4
jb 0x44abe1
jmp 0x44ac15
shl edi, 4
mov eax, dword [edi + 0x4a2178]
mov dword [esi + 0x54], eax
mov ecx, 1
cmp dword [esp + 0x14], ecx
jb 0x44ae5c
mov eax, ecx
xor ecx, ecx
push ebx
cpuid
mov edi, ebx
pop ebx
lea ebx, [esp + 0x2c]
mov dword [ebx], eax
mov dword [ebx + 4], edi
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov edx, dword [esp + 0x2c]
mov ecx, edx
shr ecx, 8
mov edi, edx
shr edi, 4
and ecx, 0xf
mov eax, edx
mov dword [esi + 0x58], ecx
and edi, 0xf
and eax, 0xf
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], eax
cmp ecx, 0xf
jne 0x44ac80
mov eax, edx
shr eax, 0x14
movzx eax, al
add eax, ecx
mov dword [esi + 0x58], eax
mov eax, edx
shr eax, 0xc
and eax, 0xf0
add eax, edi
mov dword [esi + 0x5c], eax
mov eax, dword [esp + 0x30]
movzx ecx, al
mov dword [esi + 0x7c], ecx
mov ecx, eax
shr eax, 0x10
shr ecx, 8
movzx eax, al
shr edx, 0xc
movzx ecx, cl
and edx, 3
shl ecx, 3
mov dword [esi + 0x84], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x78], edx
mov dword [esi + 0x80], ecx
test al, 1
je 0x44acbf
or dword [esi + 0x68], 0x100000
test al, 2
je 0x44acca
or dword [esi + 0x68], 0x80000000
test al, 8
je 0x44acd5
or dword [esi + 0x68], 0x4000000
test eax, 0x200
je 0x44ace3
or dword [esi + 0x68], 0x200000
test eax, 0x2000
je 0x44acee
or dword [esi + 0x68], 0x40
test eax, 0x80000
je 0x44acfc
or dword [esi + 0x68], 0x800000
test eax, 0x100000
je 0x44ad0a
or dword [esi + 0x68], 0x1000000
test eax, 0x400000
je 0x44ad18
or dword [esi + 0x68], 0x8000000
test eax, 0x800000
je 0x44ad26
or dword [esi + 0x68], 0x10000000
test eax, 0x2000000
je 0x44ad34
or dword [esi + 0x68], 0x40000000
test eax, 0x4000000
je 0x44ad3f
or dword [esi + 0x6c], 8
test eax, 0x8000000
je 0x44ad4a
or dword [esi + 0x6c], 0x10
test eax, 0x40000000
je 0x44ad55
or dword [esi + 0x6c], 1
mov ecx, dword [esp + 0x38]
test cl, 0x10
je 0x44ad62
or dword [esi + 0x68], 4
test ecx, 0x100
je 0x44ad6e
or dword [esi + 0x68], 0x20
test ecx, 0x8000
je 0x44ad7a
or dword [esi + 0x68], 0x10
test ecx, 0x80000
je 0x44ad89
or dword [esi + 0x68], 0x80
test ecx, 0x800000
je 0x44ad98
or dword [esi + 0x68], 0x4000
test ecx, 0x1000000
je 0x44ada7
or dword [esi + 0x68], 0x1000
test ecx, 0x2000000
je 0x44adb6
or dword [esi + 0x68], 0x48000
test ecx, 0x4000000
je 0x44adc5
or dword [esi + 0x68], 0xc0000
and ecx, 0x10000000
je 0x44add1
or dword [esi + 0x68], 2
cmp dword [esi + 0x64], 1
jne 0x44ade8
cmp dword [esi + 0x54], 2
jne 0x44ade8
test ecx, ecx
je 0x44ade8
mov dword [esi + 0x64], 2
mov ecx, eax
and ecx, 0xc000000
cmp ecx, 0xc000000
jne 0x44ae05
xor ecx, ecx
xgetbv
mov ebx, eax
mov eax, dword [esp + 0x34]
jmp 0x44ae09
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x10], ebx
test eax, 0x10000000
je 0x44ae64
mov ecx, ebx
and ecx, 6
cmp cl, 6
jne 0x44ae64
or dword [esi + 0x6c], 0x20
test eax, 0x800
je 0x44ae30
or dword [esi + 0x6c], 0x400
test eax, 0x4000
je 0x44ae3e
or dword [esi + 0x6c], 0x100
test eax, 0x10000
je 0x44ae4c
or dword [esi + 0x6c], 0x200
test eax, 0x20000000
je 0x44ae64
or dword [esi + 0x6c], 0x80
jmp 0x44ae64
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x14], 7
jb 0x44afb1
mov eax, 7
xor ecx, ecx
push ebx
cpuid
mov edi, ebx
pop ebx
lea ebx, [esp + 0x2c]
mov dword [ebx], eax
mov dword [ebx + 4], edi
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov eax, dword [esp + 0x30]
test al, 1
je 0x44ae9a
or dword [esi + 0x6c], 0x20000
test al, 8
je 0x44aea5
or dword [esi + 0x6c], 0x800
test al, 0x10
je 0x44aeb0
or dword [esi + 0x6c], 0x2000
test eax, 0x100
je 0x44aebe
or dword [esi + 0x6c], 0x1000
test eax, 0x200
je 0x44aecc
or dword [esi + 0x6c], 0x40000
test eax, 0x800
je 0x44aeda
or dword [esi + 0x6c], 0x4000
mov ebx, dword [esp + 0x18]
test eax, 0x4000
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
test eax, 0x40000
je 0x44aef9
or dword [esi + 0x6c], 2
test eax, 0x80000
je 0x44af07
or dword [esi + 0x6c], 0x8000
test eax, 0x800000
je 0x44af15
or dword [esi + 0x68], 0x100
test eax, 0x20000000
je 0x44af20
or dword [esi + 0x6c], 4
test byte [esp + 0x34], cl
je 0x44af2d
or dword [esi + 0x68], 0x400
mov edx, dword [esi + 0x6c]
mov ecx, edx
shr ecx, 5
test cl, 1
je 0x44af44
test al, 0x20
je 0x44af44
or edx, 0x40
mov dword [esi + 0x6c], edx
test eax, 0x10000
je 0x44afb5
mov ecx, dword [esp + 0x10]
and ecx, 0x76
cmp cl, 0x76
jne 0x44afb5
or dword [esi + 0x6c], 0x80000
test eax, 0x20000
je 0x44af6c
or dword [esi + 0x6c], 0x800000
test eax, 0x4000000
je 0x44af7a
or dword [esi + 0x6c], 0x200000
test eax, 0x8000000
je 0x44af88
or dword [esi + 0x6c], 0x400000
test eax, 0x10000000
je 0x44af96
or dword [esi + 0x6c], 0x100000
test eax, 0x40000000
je 0x44afa4
or dword [esi + 0x6c], 0x1000000
test eax, eax
jns 0x44afb5
or dword [esi + 0x6c], 0x2000000
jmp 0x44afb5
mov ebx, dword [esp + 0x18]
cmp dword [esp + 0x14], 0xd
jb 0x44aff2
test bl, bl
je 0x44aff2
mov eax, 0xd
xor ecx, ecx
push ebx
cpuid
mov edi, ebx
pop ebx
lea ebx, [esp + 0x2c]
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
mov dword [ebx + 4], edi
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
and eax, dword [esp + 0x2c]
and eax, 0x18
cmp al, 0x18
jne 0x44aff2
or dword [esi + 0x6c], 0x10000
mov eax, closesocket
xor ecx, ecx
push ebx
cpuid
mov edi, ebx
pop ebx
lea ebx, [esp + 0x2c]
mov dword [ebx], eax
mov dword [ebx + 4], edi
mov dword [ebx + 8], ecx
lea ecx, [esi + 0x14]
mov dword [ebx + 0xc], edx
mov ebx, reloc.WS2_32.dll_connect
mov eax, dword [esp + 0x2c]
mov edx, closesocket
cmp eax, ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], ecx
cmovb ebx, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
cmp ebx, edx
jb 0x44b13f
nop dword [eax]
mov eax, edx
xor ecx, ecx
push ebx
cpuid
mov edi, ebx
pop ebx
lea ebx, [esp + 0x2c]
mov dword [ebx], eax
mov dword [ebx + 4], edi
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov edx, dword [esp + 0x14]
cmp edx, 0x80000001
je 0x44b09f
lea eax, [edx + 0x7ffffffe]
cmp eax, 2
ja 0x44b12c
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
mov dword [ecx], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 0xc], eax
add ecx, 0x10
mov dword [esp + 0x18], ecx
jmp 0x44b12c
mov eax, dword [esp + 0x34]
test al, 1
je 0x44b0ae
or dword [esi + 0x68], 0x800
test al, 0x20
je 0x44b0b9
or dword [esi + 0x68], 0x20000000
test al, 0x40
je 0x44b0c4
or dword [esi + 0x68], 0x400000
test al, al
jns 0x44b0cf
or dword [esi + 0x68], 0x2000000
test eax, 0x100
je 0x44b0dd
or dword [esi + 0x68], 0x200
mov eax, dword [esp + 0x38]
test eax, 0x100000
je 0x44b0ec
or dword [esi + 0x68], 1
test eax, 0x200000
je 0x44b0fa
or dword [esi + 0x68], 0x2000
test eax, 0x400000
je 0x44b108
or dword [esi + 0x68], 0x8000
test eax, 0x8000000
je 0x44b113
or dword [esi + 0x68], 8
test eax, 0x40000000
je 0x44b121
or dword [esi + 0x68], 0x28000
test eax, eax
jns 0x44b12c
or dword [esi + 0x68], 0x10000
inc edx
mov dword [esp + 0x14], edx
cmp edx, dword [esp + 0x1c]
jbe 0x44b040
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
xor ah, ah
mov byte [ecx], ah
mov edx, ecx
test al, al
je 0x44b175
nop dword [eax + eax]
cmp al, 0x20
jne 0x44b165
cmp ah, 0x40
je 0x44b16a
mov bl, byte [ecx + 1]
cmp bl, al
je 0x44b16a
cmp bl, 0x40
je 0x44b16a
mov byte [edx], al
mov ah, al
inc edx
mov al, byte [ecx + 1]
inc ecx
mov byte [ecx], 0
test al, al
jne 0x44b150
pop edi
pop esi
mov byte [edx], 0
pop ebx
mov esp, ebp
pop ebp
ret