Function at 0x1002b39
Capabilities:
Get system information on windows

Disassembly:
push 1
mov ecx, edi
call fcn.010024f4
push dword [ebp - 0x48]
push dword [ebx + 0xc]
call dword [sym.imp.COMCTL32.dll_DPA_DeletePtr]
jmp 0x100287c
cmp dword [esi + 4], eax
je 0x1002c39
jmp 0x1002c04
push eax
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
mov edi, eax
test edi, edi
je 0x1002714
mov dword [esi + 0x40], edi
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x1002cbf
jmp 0x1002c9a
mov dword [esi + 0x40], 0x4000
jmp 0x1002cbf
mov eax, dword [ebx + 0xc]
mov eax, dword [eax]
jmp 0x1003724
push esi
call dword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
jmp 0x100c334
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 0x100c322
mov ecx, dword [edi + 4]
cmp ecx, dword [0x101e124]
jne 0x100c322
jmp 0x1003724
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 0x100c22c
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 0x100c236
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.0100255f
mov dword [ebp - 0x54], eax
test eax, eax
jge 0x100c240
jmp 0x100c33c
push eax
push dword [ebx + 0xc]
call fcn.01002d04
test eax, eax
jne 0x100c25a
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 0x1006703
cmp dword [esi], 0
jne 0x100c244
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 0x100c29a
jmp 0x100c2b5
push eax
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x1002704
mov eax, dword [esi + 0x40]
cmp eax, 4
jle 0x100c2d5
cmp eax, 6
jle 0x100272a
cmp eax, 8
jg 0x10033a7
mov dword [esi + 0x40], 0x20
push dword [esi + 0x44]
push dword [ebx + 0xc]
call fcn.01002d04
test eax, eax
je 0x1003a1f
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.010028d7
mov dword [ebp - 0x54], eax
test eax, eax
jge 0x100c30a
jmp 0x100c33c
cmp eax, 0xa
jle 0x10033c6
xor ecx, ecx
cmp eax, 0xd
setg cl
dec ecx
and ecx, 0xffffff80
add ecx, 0x100
mov dword [esi + 0x40], ecx
jmp 0x1002cbf
mov dword [esi + 0x40], 0x8000
jmp 0x1002cbf
push 0
push 0x10025a6
push dword [ebx + 0xc]
call dword [sym.imp.COMCTL32.dll_DPA_Sort]
jmp 0x100c34e
add dword [0x101e120], 1
mov eax, dword [ebp - 0x54]
adc dword [0x101e124], 0
jmp 0x100c35a
test eax, eax
jne 0x1002c81
jmp 0x1002cbf
dec eax
mov dword [ebp - 0x48], eax
js 0x100c33c
jmp 0x1002888
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 0x100389c
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 0x100388f
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 0x1003841
jmp 0x100c2b5
push 0xd8
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
test eax, eax
je 0x100c2e1
mov ecx, eax
call fcn.010038e9
mov dword [ebp - 0x48], eax
jmp 0x100c2e5
push 0
push ebx
push dword [0x101e124]
push dword [0x101e120]
push esi
push dword [ebp - 0x60]
push dword [ebp - 0x64]
call fcn.010028d7
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 0x100c2f2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esi + 0x44], eax
jne 0x1002c4b
mov eax, dword [esi + 0x50]
mov dword [0x101e084], eax
jmp 0x1002c4b
mov eax, 0x80004005
jmp 0x1003733
mov eax, 0x80004005
jmp 0x100c35a
and dword [ebp - 0x50], 0
mov esi, dword [ebx + 0x10]
add esi, dword [ebp - 0x50]
mov eax, dword [esi + 0x44]
test eax, eax
je 0x10026f6
jmp 0x1002c04
mov ecx, dword [esi + 0x20]
cmp ecx, dword [eax + 0x28]
jne 0x100c280
mov ecx, dword [esi + 0x24]
cmp ecx, dword [eax + 0x2c]
jne 0x100c280
cmp dword [esi + 0x44], 0
jne 0x100c289
mov ecx, dword [esi + 0x30]
or ecx, dword [esi + 0x34]
jne 0x100c289
mov ecx, dword [esi + 0x28]
or ecx, dword [esi + 0x2c]
jne 0x100c289
or dword [eax + 8], 0xffffffff
jmp 0x1002c39
mov ecx, dword [eax + 0x18]
add dword [ebp - 0x4c], ecx
mov eax, dword [eax + 0x1c]
adc dword [ebp - 0x48], eax
jmp 0x1002c15
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 0x1003841
and dword [ebp - 0x50], 0
mov esi, dword [ebx + 0x10]
add esi, dword [ebp - 0x50]
mov eax, dword [esi + 0x44]
test eax, eax
jne 0x1002c81
cmp dword [esi + 4], eax
jne 0x1003717
jmp 0x100c30a
mov dword [esi + 0x40], 0x40
jmp 0x1002cbf
and dword [ebp - 0x48], 0
mov ecx, dword [ebp - 0x48]
test ecx, ecx
jne 0x1003a41
jmp 0x100c319
cmp dword [ebp - 0x54], 0
jl 0x100c2fe
cmp dword [ebp - 0x58], 0
jne 0x100c30a
mov ecx, dword [ebp - 0x48]
push 1
call fcn.010024f4
jmp 0x100c33c
mov esi, dword [esi]
add dword [ebp - 0x50], esi
test esi, esi
je 0x1002872
jmp 0x100c2b9
mov dword [ebp - 0x54], 0x8007000e
jmp 0x100c33c
lea esi, [ebx + 0x260]
push esi
call dword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
jmp 0x1002540
mov eax, dword [ebp - 0x48]
jmp 0x1003724
lea esi, [ebx + 0x260]
push esi
call dword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
jmp 0x10036ec
push esi
call dword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
jmp 0x1003701
pop esi
jmp 0x1003733