Function at 0x43d690
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52732d
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x58e5a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x5c], esi
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x5c], esi
mov ecx, dword [eax]
mov eax, dword [0x59869c]
cmp eax, dword [ecx + 8]
jg 0x43d8f6
cmp dword [0x58f200], 0
jne 0x43d8cd
xor edi, edi
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov ecx, 0xffff
mov ax, word [0x58f0a8]
cmp ax, cx
jne 0x43d728
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [ebp - 0x58]
mov word [0x58f0a8], ax
mov ecx, 9
cmp cx, ax
jne 0x43d74a
push 0xb
push 0x566c24
lea ecx, [ebp - 0x28]
call fcn.00408af0
mov edi, dword [ebp - 0x18]
mov ax, word [0x58f0a8]
mov ecx, 0xffff
cmp ax, cx
jne 0x43d768
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [ebp - 0x58]
mov word [0x58f0a8], ax
xor ecx, ecx
cmp cx, ax
jne 0x43d787
push 0xe
push str.Windows_NT_x86
lea ecx, [ebp - 0x28]
call fcn.00408af0
mov edi, dword [ebp - 0x18]
mov ax, word [0x58f0a8]
mov ecx, 0xffff
cmp ax, cx
jne 0x43d7a5
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [ebp - 0x58]
mov word [0x58f0a8], ax
mov ecx, 0xc
cmp cx, ax
jne 0x43d7c1
push 0xd
push str.Windows_ARM64
lea ecx, [ebp - 0x28]
call fcn.00408af0
mov edi, dword [ebp - 0x18]
test edi, edi
jne 0x43d7fb
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi], edi
lea ecx, [ebp - 0x28]
mov dword [esi + 0x10], edi
xor eax, eax
mov dword [esi + 0x14], edi
movups xmmword [esi], xmm0
mov word [ebp - 0x28], ax
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 7
call fcn.00409020
jmp 0x43d8d9
mov eax, SysReAllocString
mov dword [ebp - 0x2c], 0
sub eax, edi
xorps xmm0, xmm0
movq qword [ebp - 0x34], xmm0
cmp eax, 0x34
jb 0x43d92c
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push edi
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x74]
push eax
push 0x34
push str.SYSTEMCurrentControlSetControlPrintEnvironments_
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x5c]
call fcn.004109a0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 8
push 1
cmovae eax, dword [ebp - 0x74]
push eax
lea eax, [ebp - 0x34]
push reloc.OLEAUT32.dll_SysReAllocString
push eax
call fcn.0042ec90
add esp, 0x10
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.00409020
cmp dword [ebp - 0x34], 0
jne 0x43d888
push 0x5629d0
mov ecx, esi
call fcn.004082e0
lea ecx, [ebp - 0x28]
call fcn.00409020
jmp 0x43d8d9
push str.Directory
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0042e130
add esp, 0xc
mov ecx, 0x58f1f0
push eax
call fcn.0040bfb0
lea ecx, [ebp - 0x4c]
call fcn.00409020
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x43d8be
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00409020
push 0x58f1f0
mov ecx, esi
call fcn.0041b5a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d2a60
mov esp, ebp
pop ebp
ret
push 0x59869c
call fcn.004d2972
add esp, 4
cmp dword [0x59869c], 0xffffffff
jne 0x43d6db
push 0x53e760
call fcn.004d282a
push 0x59869c
call fcn.004d2928
add esp, 8
jmp 0x43d6db
call fcn.00408560
int3