Function at 0x1002c5b
Capabilities:
Get system information on windows

Disassembly:
push 1
mov ecx, edi
call fcn.01002538
push dword [ebp - 0x48]
push dword [ebx + 0xc]
call dword [sym.imp.COMCTL32.dll_DPA_DeletePtr]
jmp 0x100299e
cmp dword [esi + 4], eax
je 0x1002d5b
jmp 0x1002d26
push eax
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
mov edi, eax
test edi, edi
je 0x100276d
mov dword [esi + 0x40], edi
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x1002de1
jmp 0x1002dbc
mov dword [esi + 0x40], 0x4000
jmp 0x1002de1
mov eax, dword [ebx + 0xc]
mov eax, dword [eax]
jmp 0x1003792
push esi
call dword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
jmp 0x100c34b
mov ecx, dword [ebx + 0xc]
mov ecx, dword [ecx + 4]
mov edi, dword [ecx + eax*4]
mov ecx, dword [edi]
cmp ecx, dword [0x101e120]
jne 0x100c339
mov ecx, dword [edi + 4]
cmp ecx, dword [0x101e124]
jne 0x100c339
jmp 0x1003792
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1f8
mov eax, dword [0x101e08c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 8
xor eax, eax
mov ebx, ecx
pop ecx
push eax
lea edi, [ebp - 0x84]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
push 0x2c
lea ecx, [ebp - 0xb0]
push ecx
push eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
call edi
test eax, eax
jl 0x100c243
push esi
mov esi, dword [ebp - 0xa8]
shr esi, 0xa
imul esi, dword [ebp - 0xa4]
push 0
push 0x148
lea eax, [ebp - 0x1f8]
push eax
push 2
mov dword [ebp - 0x78], esi
call edi
test eax, eax
jl 0x100c24d
mov eax, dword [0x101e490]
and dword [0x101e11c], 0
shr eax, 0xa
mov ecx, eax
imul ecx, dword [ebp - 0x1cc]
mov edi, eax
imul eax, dword [ebp - 0x184]
imul edi, dword [ebp - 0x188]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x74], ecx
add eax, edi
mov ecx, ebx
mov dword [ebp - 0x68], eax
mov dword [0x101e118], esi
call fcn.010025a3
mov dword [ebp - 0x54], eax
test eax, eax
jge 0x100c257
jmp 0x100c353
push eax
push dword [ebx + 0xc]
call fcn.01002e26
test eax, eax
jne 0x100c271
mov eax, dword [esi + 0x30]
add eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x34]
adc ecx, dword [esi + 0x2c]
add dword [ebp - 0x5c], eax
mov eax, dword [esi + 0x4c]
adc dword [ebp - 0x58], ecx
add dword [ebp - 0x84], eax
mov eax, dword [esi + 4]
add dword [ebp - 0x80], eax
inc dword [ebp - 0x7c]
mov eax, dword [esi]
add dword [ebp - 0x50], eax
cmp dword [0x101e084], 0xffffffff
je 0x100673b
cmp dword [esi], 0
jne 0x100c25b
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x58]
sbb ecx, dword [ebp - 0x48]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x7c]
xor esi, esi
mov dword [ebp - 0x60], ecx
mov dword [0x101e0f0], eax
cmp dword [0x101e554], esi
jne 0x100c2b1
jmp 0x100c2cc
push eax
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x100275d
mov eax, dword [esi + 0x40]
cmp eax, 4
jle 0x100c2ec
cmp eax, 6
jle 0x1002783
cmp eax, 8
jg 0x1003415
mov dword [esi + 0x40], 0x20
push dword [esi + 0x44]
push dword [ebx + 0xc]
call fcn.01002e26
test eax, eax
je 0x1003a7b
push 1
push ebx
push dword [0x101e124]
mov ecx, eax
push dword [0x101e120]
push esi
push dword [ebp - 0x60]
push dword [ebp - 0x64]
call fcn.010029f9
mov dword [ebp - 0x54], eax
test eax, eax
jge 0x100c321
jmp 0x100c353
cmp eax, 0xa
jle 0x1003434
xor ecx, ecx
cmp eax, 0xd
setg cl
dec ecx
and ecx, 0xffffff80
add ecx, 0x100
mov dword [esi + 0x40], ecx
jmp 0x1002de1
mov dword [esi + 0x40], 0x8000
jmp 0x1002de1
push 0
push 0x10025ea
push dword [ebx + 0xc]
call dword [sym.imp.COMCTL32.dll_DPA_Sort]
jmp 0x100c365
add dword [0x101e120], 1
mov eax, dword [ebp - 0x54]
adc dword [0x101e124], 0
jmp 0x100c371
test eax, eax
jne 0x1002da3
jmp 0x1002de1
dec eax
mov dword [ebp - 0x48], eax
js 0x100c353
jmp 0x10029aa
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.01001679
leave
ret
mov eax, dword [esi + 0x101f748]
lea ecx, [eax + ebx + 0x18]
mov eax, dword [ebp + eax - 0x84]
push eax
push 0x100390c
mov dword [ecx], eax
lea eax, [ebp - 0x44]
push 0x20
push eax
call fcn.0100196b
mov ecx, dword [0x101e554]
mov eax, dword [ecx]
add esp, 0x10
call dword [eax + 0x14]
test eax, eax
je 0x10038fd
lea ecx, [ebp - 0x44]
push ecx
push dword [esi + 0x101f74c]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
add esi, 8
cmp esi, 0x30
jb 0x10038af
jmp 0x100c2cc
push 0xd8
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
test eax, eax
je 0x100c2f8
mov ecx, eax
call fcn.01003959
mov dword [ebp - 0x48], eax
jmp 0x100c2fc
push 0
push ebx
push dword [0x101e124]
push dword [0x101e120]
push esi
push dword [ebp - 0x60]
push dword [ebp - 0x64]
call fcn.010029f9
lea edi, [ebx + 0x260]
push edi
mov dword [ebp - 0x54], eax
call dword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
push dword [ebp - 0x48]
mov ecx, dword [ebx + 0xc]
call fcn.01001f49
push edi
mov dword [ebp - 0x58], eax
call dword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
jmp 0x100c309
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esi + 0x44], eax
jne 0x1002d6d
mov eax, dword [esi + 0x50]
mov dword [0x101e084], eax
jmp 0x1002d6d
mov eax, 0x80004005
jmp 0x10037a1
mov eax, 0x80004005
jmp 0x100c371
and dword [ebp - 0x50], 0
mov esi, dword [ebx + 0x10]
add esi, dword [ebp - 0x50]
mov eax, dword [esi + 0x44]
test eax, eax
je 0x100274f
jmp 0x1002d26
mov ecx, dword [esi + 0x20]
cmp ecx, dword [eax + 0x28]
jne 0x100c297
mov ecx, dword [esi + 0x24]
cmp ecx, dword [eax + 0x2c]
jne 0x100c297
cmp dword [esi + 0x44], 0
jne 0x100c2a0
mov ecx, dword [esi + 0x30]
or ecx, dword [esi + 0x34]
jne 0x100c2a0
mov ecx, dword [esi + 0x28]
or ecx, dword [esi + 0x2c]
jne 0x100c2a0
or dword [eax + 8], 0xffffffff
jmp 0x1002d5b
mov ecx, dword [eax + 0x18]
add dword [ebp - 0x4c], ecx
mov eax, dword [eax + 0x1c]
adc dword [ebp - 0x48], eax
jmp 0x1002d37
shr dword [ebp - 0x74], 0xa
shr dword [ebp - 0x78], 0xa
shr dword [ebp - 0x6c], 0xa
shr edi, 0xa
shr dword [ebp - 0x68], 0xa
mov dword [ebp - 0x70], edi
jmp 0x10038af
and dword [ebp - 0x50], 0
mov esi, dword [ebx + 0x10]
add esi, dword [ebp - 0x50]
mov eax, dword [esi + 0x44]
test eax, eax
jne 0x1002da3
cmp dword [esi + 4], eax
jne 0x1003785
jmp 0x100c321
mov dword [esi + 0x40], 0x40
jmp 0x1002de1
and dword [ebp - 0x48], 0
mov ecx, dword [ebp - 0x48]
test ecx, ecx
jne 0x1003a9d
jmp 0x100c330
cmp dword [ebp - 0x54], 0
jl 0x100c315
cmp dword [ebp - 0x58], 0
jne 0x100c321
mov ecx, dword [ebp - 0x48]
push 1
call fcn.01002538
jmp 0x100c353
mov esi, dword [esi]
add dword [ebp - 0x50], esi
test esi, esi
je 0x1002994
jmp 0x100c2d0
mov dword [ebp - 0x54], 0x8007000e
jmp 0x100c353
lea esi, [ebx + 0x260]
push esi
call dword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
jmp 0x1002584
mov eax, dword [ebp - 0x48]
jmp 0x1003792
lea esi, [ebx + 0x260]
push esi
call dword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
jmp 0x100375a
push esi
call dword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
jmp 0x100376f
pop esi
jmp 0x10037a1