Function at 0x7d239ae0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
push ebx
push esi
xor al, al
mov dword [esp + 0x10], 0
push edi
mov ebx, 0x40
mov byte [esp + 0xf], al
xor edi, edi
push ebx
call fcn.7d221505
lea ecx, [esp + 0x2c]
mov dword [esp + 0x10], eax
push ecx
push ebx
push eax
push 0x10
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov esi, eax
test esi, esi
jns 0x7d239b4f
mov eax, dword [esp + 0x10]
push eax
call fcn.7d221537
mov ebx, dword [esp + 0x2c]
add ebx, 0x40
cmp esi, 0x80000005
je 0x7d239b49
cmp esi, 0xc0000004
je 0x7d239b49
cmp esi, 0xc0000023
jne 0x7d239b4f
inc edi
cmp edi, 5
jb 0x7d239b01
cmp byte [0x7d2b7356], 0
jne 0x7d239b8e
cmp esi, 0xc0000022
jne 0x7d239b8e
lea eax, [esp + 0x48]
mov dword [esp + 0x48], 8
push eax
mov dword [esp + 0x50], 0x1704
call sym.SbieDll.dll_SbieDll_CallServer
mov dword [esp + 0x14], eax
test eax, eax
je 0x7d239e36
xor eax, eax
mov dword [esp + 0x10], eax
jmp 0x7d239b96
test esi, esi
js 0x7d239e36
push 0x400
call fcn.7d221505
mov esi, dword [0x7d2ddf6c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], esi
test esi, esi
je 0x7d239e14
cmp byte [ebp + 8], 0
mov eax, dword [esi]
mov dword [esp + 0x3c], eax
jne 0x7d239d8e
mov eax, dword [ebp + 0xc]
sub eax, dword [esi + 8]
cmp eax, 0x3e8
jb 0x7d239dfe
mov edx, dword [esp + 0x10]
lea eax, [esi + 0x10]
xor ebx, ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], ebx
test edx, edx
je 0x7d239cb7
xor ecx, ecx
mov dword [esp + 0x18], ecx
cmp dword [edx], ecx
jbe 0x7d239d8e
lea esi, [edx + 8]
mov eax, dword [esi - 4]
cmp eax, dword [0x7d2b7340]
jne 0x7d239ca2
mov bh, byte [esp + 0xf]
movzx edi, word [esi + 2]
mov bl, byte [esi]
test bh, bh
je 0x7d239c24
cmp bl, bh
je 0x7d239c33
jmp 0x7d239c96
push edi
call fcn.7d221aaa
cmp eax, 2
jne 0x7d239c8e
mov byte [esp + 0xf], bl
mov ebx, dword [esp + 0x24]
push ebx
push 0x3e8
push edi
call sym.SbieDll.dll_SbieApi_GetFileName
test eax, eax
js 0x7d239c8e
push ebx
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
push 0
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x5c]
push eax
push 0
call sym.SbieDll.dll__File_GetName_20
test eax, eax
js 0x7d239c8e
push dword [esp + 0x30]
push dword [esp + 0x2c]
call sub.ntdll.dll__wcsicmp
mov ecx, dword [esp + 0x20]
add esp, 8
mov edx, dword [esp + 0x10]
neg eax
sbb eax, eax
inc eax
jmp 0x7d239c98
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
xor eax, eax
mov ebx, dword [esp + 0x1c]
add ebx, eax
mov dword [esp + 0x1c], ebx
inc ecx
add esi, 0x10
mov dword [esp + 0x18], ecx
cmp ecx, dword [edx]
jb 0x7d239c01
jmp 0x7d239d86
mov eax, dword [esp + 0x14]
test eax, eax
je 0x7d239d8e
xor edi, edi
cmp dword [eax + 8], ebx
jbe 0x7d239d8e
mov ecx, dword [esp + 0x14]
add eax, 0xc
mov dword [esp + 0x18], eax
nop dword [eax]
mov esi, dword [eax]
mov ebx, esi
mov al, byte [esp + 0xf]
and esi, 0xffffff
shr ebx, 0x18
test al, al
je 0x7d239cfb
cmp bl, al
je 0x7d239d0a
jmp 0x7d239d65
push esi
call fcn.7d221aaa
cmp eax, 2
jne 0x7d239d61
mov byte [esp + 0xf], bl
mov ebx, dword [esp + 0x24]
push ebx
push 0x3e8
push esi
call sym.SbieDll.dll_SbieApi_GetFileName
test eax, eax
js 0x7d239d61
push ebx
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
push 0
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x64]
push eax
push 0
call sym.SbieDll.dll__File_GetName_20
test eax, eax
js 0x7d239d61
push dword [esp + 0x34]
push dword [esp + 0x2c]
call sub.ntdll.dll__wcsicmp
mov ecx, dword [esp + 0x1c]
add esp, 8
neg eax
sbb eax, eax
inc eax
jmp 0x7d239d67
mov ecx, dword [esp + 0x14]
xor eax, eax
mov ebx, dword [esp + 0x1c]
inc edi
add ebx, eax
mov eax, dword [esp + 0x18]
add eax, 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
cmp edi, dword [ecx + 8]
jb 0x7d239ce0
test ebx, ebx
jne 0x7d239dfe
mov esi, dword [esp + 0x20]
add esi, 0x10
push 0x3a
push esi
call sub.ntdll.dll_wcschr
add esp, 8
test eax, eax
jne 0x7d239df0
push esi
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
push 0
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x6c]
push eax
push 0
call sym.SbieDll.dll__File_GetName_20
mov eax, dword [0x7d2b730c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x68]
push eax
push 0x897
mov dword [esp + 0x74], esi
mov dword [esp + 0x7c], 0
call sym.SbieDll.dll__SbieApi_LogMsgExt_8
push dword [esp + 0x20]
push 0x7d2ddf6c
call fcn.7d22193d
mov eax, dword [esp + 0x3c]
mov esi, eax
mov dword [esp + 0x20], eax
test eax, eax
jne 0x7d239bb6
mov eax, dword [esp + 0x24]
push eax
call fcn.7d221537
mov eax, dword [esp + 0x10]
test eax, eax
je 0x7d239e28
push eax
call fcn.7d221537
mov eax, dword [esp + 0x14]
test eax, eax
je 0x7d239e36
push eax
call fcn.7d221537
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8