Function at 0x1000d130
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10127b7c
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x1019f010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
test byte [0x101a4e64], 1
mov dword [edi], vtable.CUdpServer.0
mov dword [edi + 4], ebx
mov dword [edi + 8], 0x2710
jne 0x1000d1ba
mov esi, dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
or dword [0x101a4e64], 1
lea eax, [ebp - 0x30]
push eax
call esi
mov ecx, dword [ebp - 0x1c]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1f4
jae 0x1000d1b0
lea eax, [ebp - 0x54]
push eax
call esi
mov ecx, dword [ebp - 0x40]
lea edx, [ecx + ecx + 2]
mov dword [0x101a4e60], edx
jmp 0x1000d1ba
mov dword [0x101a4e60], 0x1f4
mov eax, dword [0x101a4e60]
mov edx, dword [ebp + 0xc]
mov dword [edi + 0xc], eax
mov eax, 0x12c
mov dword [edi + 0x18], eax
mov dword [edi + 0x28], eax
mov eax, 3
mov dword [edi + 0x10], 0x3a98
mov dword [edi + 0x14], 0x96
mov dword [edi + 0x1c], 0x258
mov dword [edi + 0x20], 0x4b0
mov dword [edi + 0x24], 0x5c0
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], 0x1e
mov dword [edi + 0x34], 1
xor ecx, ecx
mov word [edi + 0x38], cx
mov dword [edi + 0x3c], edx
mov dword [edi + 0x40], 0xffffffff
mov dword [edi + 0x44], ebx
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], ebx
mov dword [edi + 0x50], ebx
mov dword [edi + 0x54], ebx
mov dword [edi + 0x58], ebx
mov dword [edi + 0x5c], ebx
push ebx
push ebx
push ebx
mov dword [edi + 0x68], ebx
mov dword [edi + 0x6c], ebx
mov dword [edi + 0x70], ebx
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [edi + 0x64], eax
lea esi, [edi + 0x74]
call fcn.10011370
lea eax, [edi + 0x158]
push 0x1000
mov dword [edi + 0x154], ebx
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [edi + 0x170], eax
lea eax, [edi + 0x174]
push eax
mov byte [ebp - 4], 5
call fcn.10011410
mov esi, dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push ebx
push closesocket
push ebx
mov dword [edi + 0x2bc], ebx
mov dword [edi + 0x2c0], ebx
mov dword [edi + 0x2c4], ebx
push ebx
mov dword [edi + 0x2c8], ebx
call esi
push ebx
push 1
push ebx
push ebx
mov dword [edi + 0x2cc], eax
call esi
mov dword [edi + 0x2d0], eax
lea ecx, [ebp + 0xe]
lea eax, [edi + 0x2d4]
push ecx
push eax
mov byte [ebp - 4], 7
call fcn.10014770
mov dword [edi + 0x304], ebx
mov eax, dword [edi + 0x304]
mov dword [edi + 0x300], ebx
mov dword [edi + 0x344], ebx
mov dword [edi + 0x384], ebx
cmp eax, ebx
je 0x1000d315
push eax
call fcn.1010ef42
mov dword [edi + 0x304], ebx
mov dword [edi + 0x300], ebx
mov dword [edi + 0x344], ebx
add esp, 4
mov dword [edi + 0x384], ebx
mov byte [ebp - 4], 9
mov dword [edi + 0x3c4], ebx
push 8
mov dword [edi + 0x3c8], ebx
call fcn.1010ee2e
add esp, 4
cmp eax, ebx
je 0x1000d33a
mov dword [eax], ebx
mov dword [eax + 4], ebx
jmp 0x1000d33c
xor eax, eax
mov dword [edi + 0x3d0], eax
mov dword [edi + 0x3cc], eax
mov dword [edi + 0x3d4], ebx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8