Function at 0x4f2570
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x5cebdc]
sub esp, 0x9c
push ebx
push esi
push edi
mov edi, ecx
test al, 1
jne 0x4f25b8
or eax, 1
mov dword [0x5cebd8], 7
mov dword [0x5cebdc], eax
xor eax, eax
push 0x57ce40
mov dword [0x5cebd4], 0
mov word [0x5cebc4], ax
call fcn.0053634f
add esp, 4
xor eax, eax
cmp dword [0x5cebd4], eax
je 0x4f25ec
mov esi, dword [ebp + 8]
mov ecx, esi
push 0xffffffffffffffff
push eax
push 0x5cebc4
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], eax
mov word [esi], ax
call fcn.0040759d
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov word [ebp - 0x48], ax
mov dword [ebp - 0x68], eax
xor eax, eax
mov word [ebp - 0x78], ax
mov dword [ebp - 0x50], eax
mov word [ebp - 0x60], ax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x34], 7
push eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x64], 7
mov dword [ebp - 0x4c], 7
call fcn.004f3b00
sub esp, 0x10
push esp
call fcn.004f4880
add esp, 4
lea eax, [ebp - 0x30]
push eax
call fcn.004c1b70
add esp, 0x1c
mov ecx, eax
push 3
push 0x57f3b8
push 0
call fcn.00451eac
mov esi, eax
mov dword [ebp - 4], 7
xor eax, eax
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
cmp dword [esi + 0x14], 8
jae 0x4f2685
mov eax, dword [esi + 0x10]
inc eax
je 0x4f2690
add eax, eax
push eax
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.00536b40
add esp, 0xc
jmp 0x4f2690
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x48]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 4], eax
xor eax, eax
push 0xffffffffffffffff
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
push eax
mov word [esi], ax
lea eax, [ebp - 0x18]
push eax
call fcn.00409252
cmp dword [ebp - 4], 8
jb 0x4f26cf
push dword [ebp - 0x18]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 4], 7
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
jb 0x4f26f4
push dword [ebp - 0x30]
call fcn.00412895
add esp, 4
sub esp, 0x18
push esp
call fcn.004c2bf0
add esp, 4
lea eax, [ebp - 0x30]
push eax
call fcn.004c1b70
add esp, 0x1c
mov ecx, eax
push 3
push 0x57f3c0
push 0
call fcn.00451eac
mov esi, eax
mov dword [ebp - 4], 7
xor eax, eax
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
cmp dword [esi + 0x14], 8
jae 0x4f2750
mov eax, dword [esi + 0x10]
inc eax
je 0x4f275b
add eax, eax
push eax
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.00536b40
add esp, 0xc
jmp 0x4f275b
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x48]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 4], eax
xor eax, eax
push 0xffffffffffffffff
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
push eax
mov word [esi], ax
lea eax, [ebp - 0x18]
push eax
call fcn.00409252
cmp dword [ebp - 4], 8
jb 0x4f279a
push dword [ebp - 0x18]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 4], 7
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
jb 0x4f27bf
push dword [ebp - 0x30]
call fcn.00412895
add esp, 4
sub esp, 0x18
push esp
call fcn.004b2b20
add esp, 4
lea eax, [ebp - 0x30]
push eax
call fcn.004c1b70
add esp, 0x1c
mov ecx, eax
push 3
push 0x57f3c8
push 0
call fcn.00451eac
mov esi, eax
mov dword [ebp - 4], 7
xor eax, eax
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
cmp dword [esi + 0x14], 8
jae 0x4f281b
mov eax, dword [esi + 0x10]
inc eax
je 0x4f2826
add eax, eax
push eax
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.00536b40
add esp, 0xc
jmp 0x4f2826
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x48]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 4], eax
xor eax, eax
push 0xffffffffffffffff
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
push eax
mov word [esi], ax
lea eax, [ebp - 0x18]
push eax
call fcn.00409252
cmp dword [ebp - 4], 8
jb 0x4f2865
push dword [ebp - 0x18]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 4], 7
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
jb 0x4f288a
push dword [ebp - 0x30]
call fcn.00412895
add esp, 4
mov ecx, dword [edi + 0x90]
cmp ecx, 0xffffffff
jne 0x4f289f
xor ecx, ecx
cmp dword [edi + 0x24], 0xffffffff
cmovne ecx, dword [edi + 0x24]
sub esp, 0x18
mov eax, esp
push ecx
push eax
call fcn.004f8e50
add esp, 8
lea eax, [ebp - 0x30]
push eax
call fcn.004c1b70
add esp, 0x1c
mov ecx, eax
push 3
push 0x57f3d0
push 0
call fcn.00451eac
mov esi, eax
mov dword [ebp - 4], 7
xor eax, eax
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
cmp dword [esi + 0x14], 8
jae 0x4f28fe
mov eax, dword [esi + 0x10]
inc eax
je 0x4f2909
add eax, eax
push eax
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.00536b40
add esp, 0xc
jmp 0x4f2909
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x48]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 4], eax
xor eax, eax
push 0xffffffffffffffff
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
push eax
mov word [esi], ax
lea eax, [ebp - 0x18]
push eax
call fcn.00409252
cmp dword [ebp - 4], 8
jb 0x4f2948
push dword [ebp - 0x18]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 4], 7
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
jb 0x4f296d
push dword [ebp - 0x30]
call fcn.00412895
add esp, 4
lea eax, [ebp - 0x30]
push eax
call fcn.004f2440
add esp, 4
mov ecx, eax
push 3
push 0x57f3d8
push 0
call fcn.00451eac
mov esi, eax
mov dword [ebp - 4], 7
xor eax, eax
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
cmp dword [esi + 0x14], 8
jae 0x4f29bd
mov eax, dword [esi + 0x10]
inc eax
je 0x4f29c8
add eax, eax
push eax
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.00536b40
add esp, 0xc
jmp 0x4f29c8
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x48]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 4], eax
xor eax, eax
push 0xffffffffffffffff
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
push eax
mov word [esi], ax
lea eax, [ebp - 0x18]
push eax
call fcn.00409252
cmp dword [ebp - 4], 8
jb 0x4f2a07
push dword [ebp - 0x18]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 4], 7
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
jb 0x4f2a2c
push dword [ebp - 0x30]
call fcn.00412895
add esp, 4
lea eax, [ebp - 0x30]
push eax
call fcn.004f23d0
add esp, 4
mov ecx, eax
push 3
push 0x57f3e0
push 0
call fcn.00451eac
mov esi, eax
mov dword [ebp - 4], 7
xor eax, eax
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
cmp dword [esi + 0x14], 8
jae 0x4f2a7c
mov eax, dword [esi + 0x10]
inc eax
je 0x4f2a87
add eax, eax
push eax
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.00536b40
add esp, 0xc
jmp 0x4f2a87
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x48]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 4], eax
xor eax, eax
push 0xffffffffffffffff
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
push eax
mov word [esi], ax
lea eax, [ebp - 0x18]
push eax
call fcn.00409252
cmp dword [ebp - 4], 8
jb 0x4f2ac6
push dword [ebp - 0x18]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 4], 7
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
jb 0x4f2aeb
push dword [ebp - 0x30]
call fcn.00412895
add esp, 4
xorps xmm0, xmm0
mov dword [ebp - 0x9c], 0
lea eax, [ebp - 0x9c]
push eax
movdqu xmmword [ebp - 0x98], xmm0
movdqu xmmword [ebp - 0x88], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push dword [ebp - 0x88]
lea eax, [ebp - 0x30]
push eax
call fcn.004b8360
add esp, 8
lea ecx, [ebp - 0x30]
push 3
push 0x57f3e8
push 0
call fcn.00451eac
push eax
lea ecx, [ebp - 0x18]
call fcn.004408de
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x48]
call fcn.00409252
cmp dword [ebp - 4], 8
jb 0x4f2b62
push dword [ebp - 0x18]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 4], 7
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
jb 0x4f2b87
push dword [ebp - 0x30]
call fcn.00412895
add esp, 4
lea eax, [ebp - 0x30]
push eax
call fcn.004f38c0
add esp, 4
mov ecx, eax
push 3
push 0x57f3f0
push 0
call fcn.00451eac
push eax
lea ecx, [ebp - 0x18]
call fcn.004408de
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x48]
call fcn.00409252
cmp dword [ebp - 4], 8
jb 0x4f2bcd
push dword [ebp - 0x18]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 4], 7
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
jb 0x4f2bf2
push dword [ebp - 0x30]
call fcn.00412895
add esp, 4
lea eax, [ebp - 0x30]
push eax
call fcn.004f3070
push eax
lea eax, [ebp - 0x18]
push 0x57f3f8
push eax
call fcn.004b7860
add esp, 0x10
lea ecx, [ebp - 0x48]
push 0xffffffffffffffff
push 0
push eax
call fcn.00409252
cmp dword [ebp - 4], 8
jb 0x4f2c2b
push dword [ebp - 0x18]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 4], 7
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
jb 0x4f2c50
push dword [ebp - 0x30]
call fcn.00412895
add esp, 4
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x30]
push 0x57f400
push eax
call fcn.0044fdd8
add esp, 0xc
lea ecx, [ebp - 0x48]
push 0xffffffffffffffff
push 0
push eax
call fcn.00409252
cmp dword [ebp - 0x1c], 8
jb 0x4f2c83
push dword [ebp - 0x30]
call fcn.00412895
add esp, 4
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x60]
push eax
call fcn.0040759d
lea eax, [ebp - 0x30]
push eax
call fcn.004c1b70
push eax
lea eax, [ebp - 0x18]
push 0x57f408
push eax
call fcn.004b7860
add esp, 0x28
lea ecx, [ebp - 0x48]
push 0xffffffffffffffff
push 0
push eax
call fcn.00409252
cmp dword [ebp - 4], 8
jb 0x4f2ce0
push dword [ebp - 0x18]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 4], 7
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
jb 0x4f2d05
push dword [ebp - 0x30]
call fcn.00412895
add esp, 4
lea eax, [ebp - 0x30]
push eax
call fcn.004b20c0
push eax
lea eax, [ebp - 0x18]
push 0x57f410
push eax
call fcn.004b7860
add esp, 0x10
lea ecx, [ebp - 0x48]
push 0xffffffffffffffff
push 0
push eax
call fcn.00409252
cmp dword [ebp - 4], 8
jb 0x4f2d3e
push dword [ebp - 0x18]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 4], 7
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
jb 0x4f2d63
push dword [ebp - 0x30]
call fcn.00412895
add esp, 4
sub esp, 0x18
push esp
call fcn.004b2d40
add esp, 4
lea eax, [ebp - 0x30]
push eax
call fcn.004c1b70
push eax
lea eax, [ebp - 0x18]
push 0x57f418
push eax
call fcn.004b7860
add esp, 0x28
lea ecx, [ebp - 0x48]
push 0xffffffffffffffff
push 0
push eax
call fcn.00409252
cmp dword [ebp - 4], 8
jb 0x4f2da8
push dword [ebp - 0x18]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 4], 7
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
jb 0x4f2dcd
push dword [ebp - 0x30]
call fcn.00412895
add esp, 4
call fcn.004b1fb0
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004f8e50
push eax
lea eax, [ebp - 0x18]
push 0x57f420
push eax
call fcn.004b7860
add esp, 0x14
lea ecx, [ebp - 0x48]
push 0xffffffffffffffff
push 0
push eax
call fcn.00409252
cmp dword [ebp - 4], 8
jb 0x4f2e0c
push dword [ebp - 0x18]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 4], 7
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
jb 0x4f2e31
push dword [ebp - 0x30]
call fcn.00412895
add esp, 4
call fcn.004c3ac0
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004f8e50
push eax
lea eax, [ebp - 0x18]
push 0x57f428
push eax
call fcn.004b7860
add esp, 0x14
lea ecx, [ebp - 0x48]
push 0xffffffffffffffff
push 0
push eax
call fcn.00409252
cmp dword [ebp - 4], 8
jb 0x4f2e70
push dword [ebp - 0x18]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 4], 7
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
jb 0x4f2e95
push dword [ebp - 0x30]
call fcn.00412895
add esp, 4
push 0x57f430
lea ecx, [ebp - 0x48]
call fcn.00408ff9
cmp byte [edi + 0x310], 0
mov esi, 0x5a2350
mov ecx, 0x59fbd4
mov eax, esi
cmove eax, ecx
lea ecx, [ebp - 0x48]
push eax
call fcn.00408ff9
push 0x57f438
lea ecx, [ebp - 0x48]
call fcn.00408ff9
lea eax, [ebp - 0xc]
xor bl, bl
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
test eax, eax
je 0x4f2eed
cmp byte [ebp - 0xa], 0x64
mov eax, 1
movzx ebx, bl
cmovbe ebx, eax
test bl, bl
lea ecx, [ebp - 0x48]
mov eax, esi
mov ebx, 0x59fbd4
cmove eax, ebx
push eax
call fcn.00408ff9
call fcn.004f4950
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004f8e50
push eax
lea eax, [ebp - 0x18]
push 0x57f440
push eax
call fcn.004b7860
add esp, 0x14
lea ecx, [ebp - 0x48]
push 0xffffffffffffffff
push 0
push eax
call fcn.00409252
cmp dword [ebp - 4], 8
jb 0x4f2f41
push dword [ebp - 0x18]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 4], 7
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
jb 0x4f2f66
push dword [ebp - 0x30]
call fcn.00412895
add esp, 4
mov ecx, dword [edi + 0x94]
cmp ecx, 0xffffffff
jne 0x4f2f7b
xor ecx, ecx
cmp dword [edi + 0x28], 0xffffffff
cmovne ecx, dword [edi + 0x28]
xor eax, eax
test ecx, ecx
lea ecx, [ebp - 0x48]
setne al
lea eax, [eax*2 + 0x57f448]
test eax, eax
cmove esi, ebx
push esi
call fcn.00408ff9
push str.http:__go.browser.qq.com_
mov ecx, 0x5cebc4
call fcn.0041001f
mov ecx, dword [edi + 0xf0]
cmp ecx, 0xffffffff
jne 0x4f2fbf
mov eax, dword [edi + 0x84]
xor ecx, ecx
cmp eax, 0xffffffff
cmovne ecx, eax
test cl, 2
je 0x4f2fd3
push str.http:__go.sparta.html5.qq.com_
mov ecx, 0x5cebc4
call fcn.0041001f
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x48]
mov ecx, 0x5cebc4
push eax
call fcn.00409252
mov esi, dword [ebp + 8]
xor eax, eax
push 0xffffffffffffffff
push eax
push 0x5cebc4
mov dword [esi + 0x14], 7
mov ecx, esi
mov dword [esi + 0x10], 0
mov word [esi], ax
call fcn.0040759d
cmp dword [ebp - 0x4c], 8
jb 0x4f301b
push dword [ebp - 0x60]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 0x4c], 7
cmp dword [ebp - 0x64], 8
mov dword [ebp - 0x50], 0
mov word [ebp - 0x60], ax
jb 0x4f3040
push dword [ebp - 0x78]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 0x64], 7
cmp dword [ebp - 0x34], 8
mov dword [ebp - 0x68], 0
mov word [ebp - 0x78], ax
jb 0x4f3065
push dword [ebp - 0x48]
call fcn.00412895
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4