Function at 0xd91d96
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0xc8
push ebx
push ebp
push esi
mov esi, dword [esp + 0xd8]
push edi
push 0x64
pop edi
push edi
xor ebx, ebx
push ebx
push esi
call fcn.00d9ee2a
add esp, 0xc
lea eax, [esp + 0x3c]
push eax
mov dword [esi], edi
mov dword [esp + 0x40], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0xd91de0
mov al, byte [esp + 0x40]
shl al, 4
add al, byte [esp + 0x44]
mov byte [esi + 0x41], al
jmp 0xd91de3
mov byte [esi + 0x41], bl
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov al, byte [esp + 0x2c]
push str.IsWow64Process
push str.kernel32
mov byte [esi + 0x3f], al
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
pop edi
cmp edi, ebx
je 0xd91e24
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
push ebx
push str.lid_file_upd
mov edi, str.localcfg
xor ebp, ebp
push edi
inc ebp
push ebp
mov byte [esi + 0x40], 2
call fcn.00d9e819
push ebx
mov ebx, str.flags_upd
push ebx
push edi
push ebp
mov dword [esi + 0x24], eax
call fcn.00d9e819
or dword [esi + 4], eax
mov eax, dword [esi + 4]
add esp, 0x20
test al, 8
je 0xd91e7a
and eax, 0xfffffff7
push str.work_srv
push ebp
mov dword [esi + 4], eax
call fcn.00d9df70
push str.start_srv
push ebp
call fcn.00d9df70
add esp, 0x10
push 0
push ebx
push edi
push ebp
call fcn.00d9ea84
sub ebx, ebx
push ebx
push str.net_type
push edi
push ebp
call fcn.00d9e819
add esp, 0x20
mov dword [esi + 0x14], eax
call fcn.00d9199c
or eax, eax
je 0xd91ea8
or dword [esi + 0x14], 0x20
jmp 0xd91eac
or dword [esi + 0x14], 0x10
push ebx
push str.born_date
push edi
push ebp
call fcn.00d9e819
add esp, 0x10
mov dword [esi + 0x30], ebx
cmp eax, ebx
jne 0xd91ee0
push ebx
call fcn.00d9f04e
push eax
pop ebx
push ebx
push str.born_date
push edi
push ebp
call fcn.00d9ea84
add esp, 0x14
mov dword [esi + 0x30], ebx
sub ebx, ebx
push ebx
mov ebx, 0xda0324
push ebx
push edi
push ebp
call fcn.00d9e819
add esp, 0x10
mov dword [esi + 0xc], eax
or eax, eax
jne 0xd91f14
call fcn.00d91b71
push eax
push ebx
push edi
push ebp
mov dword [esp + 0x20], eax
call fcn.00d9ea84
mov eax, dword [esp + 0x20]
add esp, 0x10
mov dword [esi + 0xc], eax
push 0
mov ebx, str.hi_id
push ebx
push edi
push ebp
call fcn.00d9e819
add esp, 0x10
mov dword [esi + 0x10], eax
test eax, eax
jne 0xd91f49
call fcn.00d91bdf
push eax
push ebx
push edi
push ebp
mov dword [esp + 0x20], eax
call fcn.00d9ea84
mov eax, dword [esp + 0x20]
add esp, 0x10
mov dword [esi + 0x10], eax
push 0
push str.loader_id
push edi
push ebp
mov dword [esi + 8], 0x55
call fcn.00d9e819
mov ebx, eax
add esp, 0x10
or ebx, ebx
jne 0xd91f79
push ebp
push str.loader_id
push edi
push ebp
mov ebx, ebp
call fcn.00d9ea84
add esp, 0x10
mov dword [esi + 0x1c], ebx
call fcn.00d930b5
mov dword [esi + 0x34], eax
cmp byte [0xda201d], 0
je 0xd91f92
mov dword [esi + 0x18], ebp
jmp 0xd91fba
cmp byte [0xda201f], 0
je 0xd91fb6
call fcn.00d96ec3
or eax, eax
jne 0xd91fad
mov dword [esi + 0x18], 0x10
jmp 0xd91fba
mov dword [esi + 0x18], 2
jmp 0xd91fba
and dword [esi + 0x18], 0
cmp dword [esp + 0x14], 0
je 0xd91fc8
or dword [esi + 0x18], 0x200
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub edx, edx
mov ecx, 0x3e8
div ecx
pop edi
mov dword [0xda2110], eax
mov dword [esi + 0x28], eax
pop esi
pop ebp
pop ebx
add esp, 0xc8
ret