Function at 0x4a49a0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0xd4
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0xcc], eax
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov ebp, edx
push 0x402
push ebx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x24], ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4a49e6
push 0x604e8c
push 0
push 0xc
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp + 0x10]
lea eax, [esp + 0x2c]
push 0x400
push eax
call sym.SystemInformer.exe_Ordinal_1560
nop dword [eax + eax]
test eax, eax
js 0x4a4cfd
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x38]
call fcn.00486f20
mov dword ds:[esp + 0x20], eax
test eax, eax
js 0x4a4cec
push 0
push 0
lea eax, [esp + 0x34]
mov dword [esp + 0x38], 0
mov ebp, 0x64
push eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x38], ebp
call sym.SystemInformer.exe_Ordinal_1331
mov esi, eax
xor eax, eax
mov dword [esp + 0x18], esi
xor ebx, ebx
mov dword [esi], 0
mov ecx, dword [esi + 4]
mov word [ecx], ax
mov edx, dword [esp + ebx*4 + 0x38]
test edx, edx
je 0x4a4b35
push 0
lea eax, [esp + 0x28]
mov ecx, ebx
push eax
call fcn.00487420
nop dword [eax + eax]
test al, al
je 0x4a4b35
mov eax, dword [esp + 0x24]
mov edi, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x2c], ecx
test edi, edi
je 0x4a4ae1
mov eax, dword ds:[esi]
add eax, edi
cmp ebp, eax
jae 0x4a4ac0
lfence
mov edx, dword [esi]
lea ecx, [esp + 0x14]
add edx, edi
call fcn.005019c0
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4a4ad4
mov eax, dword [esi + 4]
add eax, dword [esi]
push edi
push ecx
push eax
call fcn.00586330
add esp, 0xc
add dword [esi], edi
xor edx, edx
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov word [ecx + eax], dx
mov eax, dword [esi]
add eax, 4
cmp ebp, eax
jae 0x4a4b03
lfence
mov edx, dword [esi]
lea ecx, [esp + 0x14]
add edx, 4
call fcn.005019c0
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
mov edx, dword [esi]
mov ecx, dword [esi + 4]
mov eax, dword [0x614b14]
mov dword [edx + ecx], eax
xor edx, edx
add dword [esi], 4
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov word [ecx + eax], dx
or eax, 0xffffffff
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff8
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4a4b35
call fcn.004fe1e0
inc ebx
cmp ebx, 0x14
jb 0x4a4a61
mov eax, dword [esp + 0x34]
cmp dword [eax + 0x10], 4
jne 0x4a4c4a
push 0
push 4
lea eax, [esp + 0x3c]
push eax
push 0xdd
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x4a4c4a
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x2c]
mov ecx, eax
and eax, 0x100
shr ecx, 4
and ecx, 0x30
or ecx, eax
lea eax, [esp + 0x24]
shr ecx, 4
push 0
mov dword [esp + 0x30], ecx
mov ecx, 0xf
push eax
call fcn.00487420
nop dword [eax]
test al, al
je 0x4a4c4a
mov eax, dword [esp + 0x24]
mov edi, dword [eax]
mov ebx, dword [eax + 4]
test edi, edi
je 0x4a4bf6
mov eax, dword [esi]
add eax, edi
cmp ebp, eax
jae 0x4a4bd5
lfence
mov edx, dword [esi]
lea ecx, [esp + 0x14]
add edx, edi
call fcn.005019c0
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
test ebx, ebx
je 0x4a4be9
mov eax, dword [esi + 4]
add eax, dword [esi]
push edi
push ebx
push eax
call fcn.00586330
add esp, 0xc
add dword [esi], edi
xor edx, edx
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov word [ecx + eax], dx
mov eax, dword [esi]
add eax, 4
cmp ebp, eax
jae 0x4a4c14
lfence
mov edx, dword [esi]
lea ecx, [esp + 0x14]
add edx, 4
call fcn.005019c0
mov esi, dword [esp + 0x18]
mov edx, dword [esi]
or ebx, 0xffffffff
mov ecx, dword [esi + 4]
mov eax, dword [0x614b14]
mov dword [edx + ecx], eax
xor edx, edx
add dword [esi], 4
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov word [ecx + eax], dx
mov eax, ebx
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff8
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4a4c4d
call fcn.004fe1e0
jmp 0x4a4c4d
or ebx, 0xffffffff
mov edi, dword [esi]
test edi, edi
je 0x4a4c9e
mov ecx, dword [esi + 4]
mov eax, edi
shr eax, 1
lea edx, [eax*2 - 4]
sub edi, edx
lea eax, [ecx + eax*2]
sub edi, 4
push edi
push eax
lea eax, [ecx + edx]
push eax
call fcn.00586330
add dword [esi], 0xfffffffc
add esp, 0xc
mov ecx, dword [esi]
xor edx, edx
mov eax, dword [esi + 4]
push 0x402
push dword [esp + 0x20]
mov word [ecx + eax], dx
mov edi, dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4a4cc6
push edi
jmp 0x4a4cb6
push 0x402
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4a4cc6
push str.None
push 0
push 0xc
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esi - 8]
lock xadd dword [ecx + 4], ebx
dec ebx
jne 0x4a4ce8
call fcn.004fe1e0
push dword ds:[esp + 0x28]
call dword [sym.imp.ntdll.dll_NtClose]
jmp 0x4a4d12
mov ebx, dword [esp + 0x1c]
push dword [esp + 0x28]
call dword [sym.imp.ntdll.dll_NtClose]
cmp dword [esp + 0x20], 0
jge 0x4a4d12
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 ds:[esp + 0xdc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00583f9f
add esp, 0xd4