Function at 0x47bf80
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
mov eax, dword [0x5c7004]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push esi
push edi
mov ebx, ecx
mov esi, edx
push 0x402
push ebx
mov dword [esp + 0x48], esi
mov dword [esp + 0x20], ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x47bfc9
push 0x586ca8
push 0
push 0xc
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [0x5cd02b], 0
mov eax, dword [esi + 0x10]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 0
push eax
jne 0x47c044
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0x18
push eax
push 0x400
lea eax, [esp + 0x48]
mov dword [esp + 0x30], 0
push eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
call dword [sym.imp.ntdll.dll_NtOpenProcess]
cmp eax, 0xc0000022
jne 0x47c052
cmp byte [0x5cd02b], 0
je 0x47c302
lea eax, [esp + 0x10]
push eax
mov edx, 0x400
lea ecx, [esp + 0x40]
call fcn.004dd080
test eax, eax
js 0x47c302
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x48]
call fcn.00464560
mov dword [esp + 0x1c], eax
test eax, eax
js 0x47c2f1
push dword [0x5cd4f8]
mov dword [esp + 0x14], 0x64
push 0x6e
call sym.ProcessHacker.exe_PhCreateObject
mov esi, eax
xor ebx, ebx
lea ecx, [esi + 8]
mov dword [esp + 0x14], esi
xor eax, eax
or edi, 0xffffffff
mov dword [esi + 4], ecx
mov word [ecx + 0x64], ax
mov dword [esi], eax
mov ecx, dword [esi + 4]
mov word [ecx], ax
jmp 0x47c0b0
mov edx, dword [esp + ebx*4 + 0x48]
test edx, edx
je 0x47c148
push 0
lea eax, [esp + 0x3c]
mov ecx, ebx
push eax
call fcn.00464920
test al, al
je 0x47c148
push dword [esp + 0x38]
lea eax, [esp + 0x14]
push eax
call sym.ProcessHacker.exe_PhAppendStringBuilder
push 0x593268
call sym.ProcessHacker.exe_PhCountStringZ
mov esi, dword [esp + 0x14]
mov edi, eax
add edi, edi
je 0x47c12f
mov ecx, dword [esi]
add ecx, edi
cmp dword [esp + 0x10], ecx
jae 0x47c10e
lfence
mov edx, dword [esi]
lea ecx, [esp + 0x10]
add edx, edi
call fcn.004c5440
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
add eax, dword [esi + 4]
push edi
push 0x593268
push eax
call fcn.00537fe0
add dword [esi], edi
add esp, 0xc
mov ecx, dword [esi]
xor edx, edx
mov eax, dword [esi + 4]
mov word [ecx + eax], dx
mov ecx, dword [esp + 0x38]
or edi, 0xffffffff
add ecx, 0xfffffff8
mov eax, edi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x47c148
call fcn.004c1f60
inc ebx
cmp ebx, 0x11
jl 0x47c0b0
mov eax, dword ds:[esp + 0x40]
cmp dword [eax + 0x10], 4
jne 0x47c235
push 0
push 4
lea eax, [esp + 0x48]
push eax
push 0xdd
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
lea ebx, [ebx]
test eax, eax
js 0x47c235
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x44]
mov ecx, eax
and eax, 0x100
shr ecx, 4
and ecx, 0x30
or ecx, eax
lea eax, [esp + 0x38]
shr ecx, 4
push 0
mov dword [esp + 0x48], ecx
mov ecx, 0xf
push eax
call fcn.00464920
test al, al
je 0x47c235
push dword [esp + 0x38]
lea eax, [esp + 0x14]
push eax
call sym.ProcessHacker.exe_PhAppendStringBuilder
push 0x593268
call sym.ProcessHacker.exe_PhCountStringZ
mov esi, dword [esp + 0x14]
mov edi, eax
add edi, edi
je 0x47c21c
mov ecx, dword [esi]
add ecx, edi
cmp dword [esp + 0x10], ecx
jae 0x47c1fb
lfence
mov edx, dword [esi]
lea ecx, [esp + 0x10]
add edx, edi
call fcn.004c5440
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
add eax, dword [esi + 4]
push edi
push 0x593268
push eax
call fcn.00537fe0
add dword [esi], edi
add esp, 0xc
mov ecx, dword [esi]
xor edx, edx
mov eax, dword [esi + 4]
mov word [ecx + eax], dx
mov ecx, dword [esp + 0x38]
or edi, 0xffffffff
add ecx, 0xfffffff8
mov eax, edi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x47c235
call fcn.004c1f60
mov ebx, dword [esi]
test ebx, ebx
je 0x47c2cb
mov ecx, dword ds:[esi + 4]
mov eax, ebx
shr eax, 1
lea edx, [eax*2 - 4]
sub ebx, edx
lea eax, [ecx + eax*2]
sub ebx, 4
push ebx
push eax
lea eax, [ecx + edx]
push eax
call fcn.00537fe0
add dword [esi], 0xfffffffc
add esp, 0xc
mov ecx, dword [esi]
xor edx, edx
mov eax, dword [esi + 4]
push 0x402
push dword [esp + 0x1c]
mov word [ecx + eax], dx
mov ebx, dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x47c298
push ebx
push 0
push 0xc
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [esp + 0x18]
lea ecx, [esi - 8]
lock xadd dword [ecx + 4], edi
dec edi
jne 0x47c2f1
call fcn.004c1f60
push dword [esp + 0x3c]
call dword [sym.imp.ntdll.dll_NtClose]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.00534c91
mov esp, ebp
pop ebp
ret
mov ebx, dword [esp + 0x18]
push 0x402
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x47c29c
push str.None
push 0
push 0xc
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x47c29c
push dword [esp + 0x3c]
call dword [sym.imp.ntdll.dll_NtClose]
cmp dword [esp + 0x1c], 0
jge 0x47c317
push 0
push 0x438
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00534c91
mov esp, ebp
pop ebp
ret