Function at 0x407a90
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42926d
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
push esi
push edi
mov eax, dword [0x438040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 2
cmp byte [0x439a08], 0
push 0x18
sete byte [ebp - 0x1d]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call fcn.0040ee95
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 3
lea edi, [ebp - 0x3c]
mov ecx, dword [ebp + 8]
mov esi, esp
mov dword [ebp - 0x18], esi
lea ecx, [ecx - 0x10]
call fcn.0040ce30
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.004063e0
add esp, 4
movzx ecx, ax
or edi, 0xffffffff
mov dword [ebp - 0x4c], ecx
test ax, ax
jne 0x407b30
mov esi, 0x80004005
jmp 0x40829b
mov eax, dword [ebp + 0xc]
mov edi, dword [eax - 0xc]
lea ecx, [edi - 1]
test ecx, ecx
js 0x4083cd
cmp ecx, edi
jg 0x4083cd
cmp word [eax + ecx*2], 0x5c
je 0x407b94
mov ecx, dword [eax - 8]
lea esi, [edi + 1]
mov edx, 1
sub ecx, esi
sub edx, dword [eax - 4]
or ecx, edx
jge 0x407b70
push esi
lea ecx, [ebp + 0xc]
call fcn.0040d840
mov eax, dword [ebp + 0xc]
mov ecx, 0x5c
mov word [eax + edi*2], cx
mov eax, dword [ebp + 0xc]
cmp esi, dword [eax - 8]
jg 0x4083cd
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp + 0xc]
mov word [eax + esi*2], cx
mov eax, dword [ebp + 0xc]
push ecx
mov esi, esp
lea ecx, [eax - 0x10]
mov dword [ebp - 0x18], esi
call fcn.0040ce30
add eax, 0x10
lea ecx, [ebp - 0x30]
mov dword [esi], eax
call fcn.004074e0
add esp, 4
mov byte [ebp - 4], 4
cmp dword [ebp - 0x2c], 0
jne 0x407bc6
mov esi, 0x80004005
jmp 0x40827a
mov ecx, dword [ebp + 0x10]
mov edi, dword [ecx - 0xc]
lea eax, [edi - 1]
test eax, eax
js 0x4083cd
cmp eax, edi
jg 0x4083cd
cmp word [ecx + eax*2], 0x5c
je 0x407c2a
mov eax, dword [ecx - 8]
lea esi, [edi + 1]
mov edx, 1
sub eax, esi
sub edx, dword [ecx - 4]
or eax, edx
jge 0x407c06
push esi
lea ecx, [ebp + 0x10]
call fcn.0040d840
mov ecx, dword [ebp + 0x10]
mov eax, 0x5c
mov word [ecx + edi*2], ax
mov eax, dword [ebp + 0x10]
cmp esi, dword [eax - 8]
jg 0x4083cd
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp + 0x10]
mov word [eax + esi*2], cx
mov ecx, dword [ebp + 0x10]
call fcn.0040dee0
mov eax, dword [ebp - 0x30]
mov byte [ebp - 0x11], 0
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
cmp byte [eax + 0xd], 0
jne 0x407c5e
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [eax + 0x14]
call fcn.004067e0
lea ecx, [ebp - 0x1c]
call fcn.004095c0
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0xd], 0
je 0x407c41
mov eax, 0x435084
mov dword [ebp - 0x24], eax
mov edi, dword [eax]
call fcn.0040db30
mov ecx, eax
test ecx, ecx
je 0x4083c3
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 5
test edi, edi
je 0x407cc4
test edi, 0xffff0000
jne 0x407cae
movzx edi, di
mov ecx, edi
call fcn.0040d010
test eax, eax
je 0x407cd3
push edi
push eax
lea ecx, [ebp - 0x10]
call fcn.0040d1a0
jmp 0x407cd0
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407cb3
sub ecx, edx
sar ecx, 1
jmp 0x407cc6
xor ecx, ecx
push ecx
push edi
lea ecx, [ebp - 0x10]
call fcn.0040d240
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 6
mov edi, dword [esi - 0xc]
test edi, edi
js 0x4083cd
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x407cff
push edi
lea ecx, [ebp - 0x10]
call fcn.0040d840
mov esi, dword [ebp - 0x10]
lea eax, [edi + 1]
push eax
push esi
call fcn.00417d0b
add esp, 8
cmp edi, dword [esi - 8]
jg 0x4083cd
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040bea0
mov edi, dword [ebp - 0x50]
mov dword [ebp - 0x1c], edi
cmp byte [edi + 0xd], 0
jne 0x407d4b
lea eax, [edi + 0x10]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040c7e0
test al, al
je 0x407d51
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 4
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x407d6d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp edi, dword [ebp - 0x30]
je 0x407e10
mov word [edi + 0x34], 0x101
mov esi, dword [ebp - 0x3c]
mov byte [ebp - 0x11], 0
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x407e10
nop
cmp byte [esi + 0x14], 0
lea eax, [esi + 0x10]
jne 0x407dc9
mov ecx, dword [edi + 0x2c]
mov dword [ebp - 0x28], ecx
cmp ecx, dword [edi + 0x30]
je 0x407dbc
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.0040d4d0
mov ecx, dword [ebp - 0x28]
add eax, 0x10
mov dword [ecx], eax
add dword [edi + 0x2c], 4
jmp 0x407dc6
push eax
push ecx
lea ecx, [edi + 0x28]
call fcn.0040c070
mov edi, dword [ebp - 0x1c]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x407df4
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x407df0
nop dword [eax + eax]
cmp esi, dword [eax + 8]
jne 0x407df0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x407de0
mov esi, eax
jmp 0x407e0a
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x407e0a
nop
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x407e00
cmp byte [esi + 0xd], 0
je 0x407d90
mov eax, dword [ebp - 0x24]
add eax, 4
mov dword [ebp - 0x24], eax
cmp eax, str.Unknown_exception
jne 0x407c66
cmp byte [ebp - 0x1d], 0
je 0x4080b8
mov eax, 0x435078
mov dword [ebp - 0x28], eax
mov edi, dword [eax]
call fcn.0040db30
mov ecx, eax
test ecx, ecx
je 0x4083c3
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 7
test edi, edi
je 0x407e94
test edi, 0xffff0000
jne 0x407e7e
movzx edi, di
mov ecx, edi
call fcn.0040d010
test eax, eax
je 0x407ea3
push edi
push eax
lea ecx, [ebp - 0x10]
call fcn.0040d1a0
jmp 0x407ea0
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407e83
sub ecx, edx
sar ecx, 1
jmp 0x407e96
xor ecx, ecx
push ecx
push edi
lea ecx, [ebp - 0x10]
call fcn.0040d240
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 8
mov edi, dword [esi - 0xc]
test edi, edi
js 0x4083cd
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x407ecf
push edi
lea ecx, [ebp - 0x10]
call fcn.0040d840
mov esi, dword [ebp - 0x10]
lea eax, [edi + 1]
push eax
push esi
call fcn.00417d0b
add esp, 8
cmp edi, dword [esi - 8]
jg 0x4083cd
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.0040bea0
mov edi, dword [ebp - 0xac]
mov dword [ebp - 0x1c], edi
cmp byte [edi + 0xd], 0
jne 0x407f21
lea eax, [edi + 0x10]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040c7e0
test al, al
je 0x407f27
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 4
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x407f43
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp edi, dword [ebp - 0x30]
je 0x4080a4
mov edi, dword [edi + 0x18]
mov byte [ebp - 0x11], 0
mov edi, dword [edi]
mov dword [ebp - 0x48], edi
cmp byte [edi + 0xd], 0
jne 0x4080a4
mov esi, dword [edi + 0x14]
push 0xb
push str.api_ms_win_
push esi
call fcn.004120c3
add esp, 0xc
test eax, eax
je 0x407f91
push 0xb
push str.ext_ms_win_
push esi
call fcn.004120c3
add esp, 0xc
test eax, eax
jne 0x40808f
mov ecx, dword [edi + 0x10]
sub ecx, 0x10
call fcn.0040d4d0
mov esi, dword [ebp - 0x30]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x11], 0
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x408077
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [esi + 0x18]
call fcn.0040c300
mov eax, dword [ebp - 0x50]
cmp byte [eax + 0xd], 0
jne 0x40802a
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4083c3
push eax
push dword [ebp - 0x10]
call fcn.00418134
add esp, 8
test eax, eax
js 0x40802a
mov eax, dword [ebp - 0x50]
cmp eax, dword [esi + 0x18]
je 0x40802a
add eax, 0x14
push 0xb
mov dword [ebp - 0x18], eax
push str.api_ms_win_
mov eax, dword [eax]
push eax
mov dword [ebp - 0x24], eax
call fcn.004120c3
add esp, 0xc
test eax, eax
je 0x40802a
push 0xb
push str.ext_ms_win_
push dword [ebp - 0x24]
call fcn.004120c3
add esp, 0xc
test eax, eax
jne 0x408327
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x408054
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x408050
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x408050
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x408040
mov esi, eax
jmp 0x40806a
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x40806a
nop
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x408060
cmp byte [esi + 0xd], 0
je 0x407fb5
mov eax, dword [ebp - 0x10]
lea edx, [eax - 0x10]
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40808f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x48]
call fcn.004095c0
mov edi, dword [ebp - 0x48]
cmp byte [edi + 0xd], 0
je 0x407f62
mov eax, dword [ebp - 0x28]
add eax, 4
mov dword [ebp - 0x28], eax
cmp eax, 0x435084
jne 0x407e36
mov dword [ebp - 0x88], 0xffffffff
xorps xmm0, xmm0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
movlpd qword [ebp - 0x78], xmm0
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0xd8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0xc4]
push 0
push 1
push 0
add eax, eax
mov dword [ebp - 0x44], 0
push 0
mov dword [ebp - 0x84], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x40], eax
xorps xmm0, xmm0
mov dword [ebp - 0x70], 0xffffffff
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
movlpd qword [ebp - 0x60], xmm0
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0xc4]
add eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
cmp byte [eax + 0xd], 0
jne 0x40824f
nop dword [eax]
cmp byte [eax + 0x34], 0
lea esi, [eax + 0x10]
je 0x40823a
cmp dword [ebp - 0x34], 0
jl 0x40824f
mov eax, 1
lock xadd dword [ebp - 0x44], eax
inc eax
cmp eax, 1
jne 0x4081a0
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp - 0x44]
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0xa4], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0xa0], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x98], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x8c], eax
push 0x28
mov byte [ebp - 4], 9
call fcn.0040ee95
movups xmm0, xmmword [ebp - 0xa8]
mov edi, eax
lea ecx, [ebp - 0x88]
add esp, 4
mov dword [edi + 4], 1
lea esi, [edi + 4]
mov edx, edi
movups xmmword [edi + 8], xmm0
mov dword [edi], vtable.._AVTaskLambda__1____PostTask_V_lambda_f51f7f5499f402ac5a8261b0813e219a____ParallelTaskRunner__QAIX__QAV_lambda_f51f7f5499f402ac5a8261b0813e219a____Z_.0
movups xmm0, xmmword [ebp - 0x98]
movups xmmword [edi + 0x18], xmm0
call fcn.00401050
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
jne 0x40823a
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
lea ecx, [ebp - 0x28]
call fcn.004095c0
mov eax, dword [ebp - 0x28]
cmp byte [eax + 0xd], 0
je 0x408170
push 0xffffffffffffffff
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [ebp - 0x34]
test esi, esi
js 0x408271
push 0x431d18
call fcn.0040cf10
mov esi, dword [ebp - 0x34]
add esp, 4
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x30]
push dword [eax + 4]
lea eax, [ebp - 0x30]
push eax
mov ecx, eax
call fcn.0040bf30
push 0x38
push dword [ebp - 0x30]
call fcn.0040e95e
add esp, 8
or edi, 0xffffffff
mov eax, dword [ebp - 0x3c]
push dword [eax + 4]
lea eax, [ebp - 0x3c]
push eax
mov ecx, eax
call fcn.0040b9e0
push 0x18
push dword [ebp - 0x3c]
call fcn.0040e95e
mov byte [ebp - 4], 1
add esp, 8
mov edx, dword [ebp + 8]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4082d7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4082f5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x408314
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408342
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x40808f
mov edx, dword [esi]
lea ecx, [edi + 0x14]
mov edi, dword [ecx]
sub edi, 0x10
mov dword [ebp - 0x24], ecx
lea eax, [edx - 0x10]
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x4083ab
cmp dword [edi + 0xc], 0
jl 0x40839f
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x40839f
mov ecx, dword [ebp - 0x18]
call fcn.0040d4d0
mov dword [ebp - 0x18], eax
or ecx, 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x408392
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [ecx], eax
jmp 0x4083ab
push dword [edx - 0xc]
push edx
call fcn.0040d380
mov ecx, dword [ebp - 0x24]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x34], 1
jmp 0x40808f
push 0x80004005
call fcn.0040d910
push 0x80070057
call fcn.0040d910
int3