Function at 0x1000edf0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10136685
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x101b2070]
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 [0x101b8204], 1
mov dword [edi], vtable.CUdpServer.0
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], 0x2710
jne 0x1000ee7d
mov esi, dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
or dword [0x101b8204], 1
lea eax, [ebp - 0x34]
push eax
call esi
mov ecx, dword [ebp - 0x20]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1f4
jae 0x1000ee73
lea eax, [ebp - 0x58]
push eax
call esi
mov ecx, dword [ebp - 0x44]
lea edx, [ecx + ecx + 2]
mov dword [0x101b8200], edx
jmp 0x1000ee7d
mov dword [0x101b8200], 0x1f4
mov eax, dword [0x101b8200]
mov dword [edi + 0x10], eax
mov ecx, 0x258
mov eax, 0x400
lea esi, [edi + 0x3c]
mov dword [edi + 0x14], 0x4e20
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], 0x598
mov dword [edi + 0x2c], 0x12c
mov dword [edi + 0x30], 3
mov dword [edi + 0x34], 0xea60
mov dword [edi + 0x38], 1
call fcn.10014590
mov edx, dword [ebp + 0xc]
xor ecx, ecx
mov word [edi + 0x11c], cx
mov dword [edi + 0x120], edx
mov dword [edi + 0x124], 0xffffffff
mov dword [edi + 0x128], ebx
mov dword [edi + 0x12c], 3
mov dword [edi + 0x130], ebx
mov dword [edi + 0x134], ebx
mov dword [edi + 0x138], ebx
mov dword [edi + 0x13c], ebx
push ebx
mov byte [ebp - 4], 2
push ebx
push 4
mov dword [edi + 0x148], 4
mov dword [edi + 0x14c], ebx
mov dword [edi + 0x150], ebx
call dword [sym.imp.KERNEL32.dll_HeapCreate]
xor ecx, ecx
cmp eax, ebx
setne cl
mov dword [edi + 0x144], eax
cmp ecx, ebx
jne 0x1000ef50
push 0x80004005
call fcn.10002670
lea eax, [edi + 0x158]
push ebx
mov byte [ebp - 4], 3
push eax
mov dword [edi + 0x154], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
neg eax
sbb eax, eax
neg eax
jne 0x1000ef7a
push 0x80004005
call fcn.10002670
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_CreateTimerQueue]
xor edx, edx
cmp eax, ebx
setne dl
mov dword [edi + 0x170], eax
cmp edx, ebx
jne 0x1000ef9f
push 0x80004005
call fcn.10002670
lea eax, [edi + 0x174]
push eax
mov byte [ebp - 4], 5
call fcn.100146f0
mov esi, dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
push ebx
push closesocket
push ebx
mov dword [edi + 0x2bc], ebx
mov dword [edi + 0x2c0], ebx
mov dword [edi + 0x2c4], ebx
mov dword [edi + 0x2c8], ebx
push 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.10018320
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 0x1000f041
push eax
call fcn.1011bc28
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
mov dword [edi + 0x3c8], ebx
push 8
mov dword [edi + 0x3d4], ebx
call fcn.1011bb14
add esp, 4
cmp eax, ebx
je 0x1000f06c
mov dword [eax], ebx
mov dword [eax + 4], ebx
jmp 0x1000f06e
xor eax, eax
mov dword [edi + 0x3d0], eax
mov dword [edi + 0x3cc], eax
mov dword [edi + 0x3d8], 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