Function at 0x81d96
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.0008ee2a
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 0x81de0
mov al, byte [esp + 0x40]
shl al, 4
add al, byte [esp + 0x44]
mov byte [esi + 0x41], al
jmp 0x81de3
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]
mov edi, eax
cmp edi, ebx
je 0x81e24
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.0008e819
push ebx
mov ebx, str.flags_upd
push ebx
push edi
push ebp
mov dword [esi + 0x24], eax
call fcn.0008e819
or dword [esi + 4], eax
mov eax, dword [esi + 4]
add esp, 0x20
test al, 8
je 0x81e7a
and eax, 0xfffffff7
push str.work_srv
push ebp
mov dword [esi + 4], eax
call fcn.0008df70
push str.start_srv
push ebp
call fcn.0008df70
add esp, 0x10
push 0
push ebx
push edi
push ebp
call fcn.0008ea84
xor ebx, ebx
push ebx
push str.net_type
push edi
push ebp
call fcn.0008e819
add esp, 0x20
mov dword [esi + 0x14], eax
call fcn.0008199c
test eax, eax
je 0x81ea8
or dword [esi + 0x14], 0x20
jmp 0x81eac
or dword [esi + 0x14], 0x10
push ebx
push str.born_date
push edi
push ebp
call fcn.0008e819
add esp, 0x10
mov dword [esi + 0x30], ebx
cmp eax, ebx
jne 0x81ee0
push ebx
call fcn.0008f04e
mov ebx, eax
push ebx
push str.born_date
push edi
push ebp
call fcn.0008ea84
add esp, 0x14
mov dword [esi + 0x30], ebx
xor ebx, ebx
push ebx
mov ebx, 0x90324
push ebx
push edi
push ebp
call fcn.0008e819
add esp, 0x10
mov dword [esi + 0xc], eax
test eax, eax
jne 0x81f14
call fcn.00081b71
push eax
push ebx
push edi
push ebp
mov dword [esp + 0x20], eax
call fcn.0008ea84
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.0008e819
add esp, 0x10
mov dword [esi + 0x10], eax
test eax, eax
jne 0x81f49
call fcn.00081bdf
push eax
push ebx
push edi
push ebp
mov dword [esp + 0x20], eax
call fcn.0008ea84
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.0008e819
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x81f7a
push 2
pop ebx
push ebx
push str.loader_id
push edi
push ebp
call fcn.0008ea84
add esp, 0x10
mov dword [esi + 0x1c], ebx
call fcn.000830b5
mov dword [esi + 0x34], eax
cmp byte [0x9201d], 0
je 0x81f93
mov dword [esi + 0x18], ebp
jmp 0x81fbb
cmp byte [0x9201f], 0
je 0x81fb7
call fcn.00086ec3
test eax, eax
jne 0x81fae
mov dword [esi + 0x18], 0x10
jmp 0x81fbb
mov dword [esi + 0x18], 2
jmp 0x81fbb
and dword [esi + 0x18], 0
cmp dword [esp + 0x14], 0
je 0x81fc9
or dword [esi + 0x18], 0x200
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
pop edi
mov dword [0x92110], eax
mov dword [esi + 0x28], eax
pop esi
pop ebp
pop ebx
add esp, 0xc8
ret