Function at 0x47b0e0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ec02
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x168], edi
lea eax, [edi + 0x34]
mov dword [ebp - 0x170], 1
push eax
mov dword [ebp - 0x174], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
cmp dword [edi + 0x1c], 0
je 0x47b3c3
cmp dword [edi + 0x30], 0
jne 0x47b3c3
push 0x70
call fcn.004de42a
add esp, 4
mov dword [ebp - 0x16c], eax
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00479830
mov byte [ebp - 4], 0
mov ecx, dword [edi + 0x18]
mov dword [edi + 0x30], eax
mov dword [eax + 0x20], ecx
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov dword [eax + 0x18], ecx
mov ecx, edi
mov dword [eax + 0x1c], edx
call fcn.0047c660
mov ecx, dword [edi + 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x53677c
push 0x535960
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], edx
mov dword [ebp - 0x164], 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x16c], eax
test eax, eax
je 0x47b1de
lea eax, [ebp - 0x164]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x16c]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x164]
jmp 0x47b1e4
mov eax, dword [ebp - 0x164]
mov ecx, dword [edi + 0x30]
cdq
push str.RtlGetVersion
push str.ntdll.dll
mov dword [ecx + 0x50], eax
mov dword [ecx + 0x54], edx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x118
mov esi, eax
lea eax, [ebp - 0x15c]
push 0
push eax
call fcn.004e0230
add esp, 0xc
mov dword [ebp - 0x160], 0x11c
test esi, esi
je 0x47b234
lea eax, [ebp - 0x160]
push eax
call esi
test eax, eax
je 0x47b288
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x160]
push eax
mov dword [ebp - 0x160], 0x11c
call esi
test eax, eax
jne 0x47b288
lea eax, [ebp - 0x160]
mov dword [ebp - 0x160], 0x114
push eax
call esi
test eax, eax
jne 0x47b288
mov eax, dword [edi + 0x30]
xor ecx, ecx
mov word [eax + 0x30], cx
mov eax, dword [edi + 0x30]
mov word [eax + 0x32], cx
mov eax, dword [edi + 0x30]
mov word [eax + 0x36], cx
mov eax, dword [edi + 0x30]
mov word [eax + 0x34], cx
jmp 0x47b2bd
mov ecx, dword [edi + 0x30]
movzx eax, word [ebp - 0x15c]
mov word [ecx + 0x30], ax
mov ecx, dword [edi + 0x30]
movzx eax, word [ebp - 0x158]
mov word [ecx + 0x32], ax
mov ecx, dword [edi + 0x30]
movzx eax, word [ebp - 0x4c]
mov word [ecx + 0x36], ax
mov ecx, dword [edi + 0x30]
movzx eax, word [ebp - 0x154]
mov word [ecx + 0x34], ax
xorps xmm0, xmm0
mov dword [ebp - 0x178], 0
push 0x537454
push 0x535960
movups xmmword [ebp - 0x198], xmm0
movups xmmword [ebp - 0x188], xmm0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47b2fe
lea ecx, [ebp - 0x198]
push ecx
call eax
jmp 0x47b30b
lea eax, [ebp - 0x198]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [edi + 0x30]
mov ax, word [ebp - 0x198]
mov word [ecx + 0x38], ax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ecx, dword [edi + 0x30]
mov word [ecx + 0x3a], ax
mov ecx, edi
call fcn.0047c2f0
mov ecx, dword [edi + 0x30]
xorps xmm0, xmm0
movups xmmword [ebp - 0x20], xmm0
mov dword [ecx + 0x40], eax
mov dword [ecx + 0x44], edx
lea ecx, [ebp - 0x20]
movups xmmword [ebp - 0x44], xmm0
mov word [ebp - 0x24], 0
movups xmmword [ebp - 0x34], xmm0
call fcn.0044bdc0
test eax, eax
je 0x47b3a9
xor esi, esi
lea edi, [ebp - 0x44]
nop dword [eax]
movzx eax, byte [ebp + esi - 0x20]
push eax
push str._02x
push 0xffffffffffffffff
push 3
push edi
call fcn.0044ab40
inc esi
add esp, 0x14
add edi, 2
cmp esi, 0x10
jb 0x47b360
mov edi, dword [ebp - 0x168]
lea ecx, [ebp - 0x44]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47b390
sub ecx, edx
lea eax, [ebp - 0x44]
push ecx
mov ecx, dword [edi + 0x30]
push eax
add ecx, 0x58
call fcn.0044c0b0
mov ecx, dword [edi + 0x30]
cmp dword [ecx + 0x68], 0x20
je 0x47b3c3
test ecx, ecx
je 0x47b3bc
push ecx
call fcn.0047b400
mov dword [edi + 0x30], 0
xor eax, eax
cmp dword [edi + 0x30], eax
setne al
mov dword [ebp - 0x168], eax
lea eax, [edi + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x168]
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.004de46d
mov esp, ebp
pop ebp
ret