Function at 0x404a40
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43008d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x240
push ebx
mov ebx, dword [0x44625c]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x24], edi
call fcn.00401ec0
mov ecx, eax
test ecx, ecx
je 0x405254
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
push 0x1ff
lea eax, [ebp - 0x228]
mov dword [ebp - 4], 0
push eax
push 0x7ef
push edi
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
lea eax, [ebp - 0x228]
push 0x43bef0
push eax
call fcn.004201a7
add esp, 8
test eax, eax
jne 0x404acd
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
jmp 0x404ade
lea eax, [ebp - 0x228]
push eax
call fcn.00409f90
add esp, 4
mov edi, edx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x23c]
jne 0x404b0b
test edi, edi
jne 0x404b0b
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebx + 0x10]
jne 0x404b15
cmp edi, dword [ebx + 0x14]
je 0x404b22
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edi
mov byte [0x446258], 1
push 0x438
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x147
push eax
mov dword [ebp - 0x10], eax
call edi
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x404bce
push 0
push eax
push 0x149
push dword [ebp - 0x10]
call edi
cmp eax, 0x1ff
jg 0x404bce
xor eax, eax
mov word [ebp - 0x228], ax
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x14]
push 0x148
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x404bce
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404b90
sub ecx, edx
sar ecx, 1
je 0x404bce
lea eax, [ebp - 0x228]
push eax
call fcn.00423f8c
mov ecx, eax
mov dword [ebp - 0x14], 0
cdq
add esp, 4
cmp dword [ebx + 0x20], eax
jne 0x404bc4
cmp dword [ebp - 0x14], edx
je 0x404bce
mov dword [ebx + 0x20], ecx
mov byte [0x446258], 1
push 0x437
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0x147
push eax
mov dword [ebp - 0x10], eax
call edi
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x404c73
push 0
push eax
push 0x149
push dword [ebp - 0x10]
call edi
cmp eax, 0x1ff
jg 0x404c73
xor eax, eax
mov word [ebp - 0x228], ax
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x14]
push 0x148
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x404c73
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404c35
sub ecx, edx
sar ecx, 1
je 0x404c73
lea eax, [ebp - 0x228]
push eax
call fcn.00423f8c
mov ecx, eax
mov dword [ebp - 0x14], 0
cdq
add esp, 4
cmp dword [ebx + 0x1c], eax
jne 0x404c69
cmp dword [ebp - 0x14], edx
je 0x404c73
mov dword [ebx + 0x1c], ecx
mov byte [0x446258], 1
push 0x43b
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0x147
push eax
mov dword [ebp - 0x10], eax
call edi
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x404d49
push 0
push eax
push 0x149
push dword [ebp - 0x10]
call edi
cmp eax, 0x1ff
jg 0x404d49
xor eax, eax
mov word [ebp - 0x228], ax
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x14]
push 0x148
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x404d49
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404ce0
sub ecx, edx
sar ecx, 1
je 0x404d49
cmp word [ebp - 0x228], ax
jne 0x404d03
mov eax, 0xffffffff
xor edx, edx
jmp 0x404d13
lea eax, [ebp - 0x228]
push eax
call fcn.00423f8c
add esp, 4
cdq
cmp byte [ebx + 0xd], 0
je 0x404d21
mov ecx, dword [ebx + 0x2c]
cmp ecx, 0xffffffff
jne 0x404d24
or ecx, 0xffffffff
mov dword [ebp - 0x14], 0
cmp ecx, eax
jne 0x404d34
cmp dword [ebp - 0x14], edx
je 0x404d49
cmp eax, 0xffffffff
jne 0x404d3f
mov byte [ebx + 0xd], 0
jmp 0x404d42
mov dword [ebx + 0x2c], eax
mov byte [0x446258], 1
push 0
lea eax, [ebp - 0x28]
push eax
push 0x436
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_GetDlgItemInt]
cmp dword [ebx + 0x18], eax
je 0x404d6c
mov dword [ebx + 0x18], eax
mov byte [0x446258], 1
push 0x439
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0x147
push eax
mov dword [ebp - 0x10], eax
call edi
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x404f03
push 0
push eax
push 0x149
push dword [ebp - 0x10]
call edi
cmp eax, 0x1ff
jg 0x404f03
xor eax, eax
mov word [ebp - 0x228], ax
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x14]
push 0x148
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x404f03
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404de0
sub ecx, edx
sar ecx, 1
je 0x404f03
mov edx, dword [ebx + 0x34]
lea ecx, [esi - 0x10]
mov dword [ebp - 0x10], ecx
lea eax, [edx - 0x10]
mov dword [ebp - 0x14], eax
cmp eax, ecx
je 0x404e56
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x404e47
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x404e47
push dword [ebp - 0x14]
call fcn.004025a0
add esp, 4
mov dword [ebp - 0x14], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x404e3f
mov esi, dword [ebp - 0x10]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x14]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
jmp 0x404e56
push dword [edx - 0xc]
lea ecx, [ebp - 0x18]
push edx
call fcn.00401840
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x228]
push eax
push esi
call fcn.004201a7
add esp, 8
test eax, eax
je 0x404f03
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404e77
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00401840
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x34]
sub ecx, 0x10
mov dword [ebp - 0x10], ecx
lea eax, [esi - 0x10]
cmp eax, ecx
je 0x404efc
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x14], eax
jl 0x404ef0
mov eax, dword [esi - 0x10]
cmp eax, dword [ecx]
jne 0x404ef0
lea eax, [esi - 0x10]
push eax
call fcn.004025a0
mov edx, dword [ebp - 0x14]
add esp, 4
mov dword [ebp - 0x1c], eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404ee8
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1c]
add eax, 0x10
mov dword [ebx + 0x34], eax
jmp 0x404efc
push dword [esi - 0xc]
lea ecx, [ebx + 0x34]
push esi
call fcn.00401840
mov byte [0x446258], 1
push 0x43a
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0x147
push eax
mov dword [ebp - 0x10], eax
call edi
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
je 0x40509c
push 0
push eax
push 0x149
push dword [ebp - 0x10]
call edi
cmp eax, 0x1ff
jg 0x40509c
xor eax, eax
mov word [ebp - 0x228], ax
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x1c]
push 0x148
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x40509c
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404f72
sub ecx, edx
sar ecx, 1
je 0x40509c
mov edx, dword [ebx + 0x38]
lea ecx, [esi - 0x10]
mov dword [ebp - 0x14], ecx
lea eax, [edx - 0x10]
mov dword [ebp - 0x1c], eax
cmp eax, ecx
je 0x404fe8
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x404fd9
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x404fd9
push dword [ebp - 0x1c]
call fcn.004025a0
add esp, 4
mov dword [ebp - 0x1c], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x404fd1
mov esi, dword [ebp - 0x14]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1c]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
jmp 0x404fe8
push dword [edx - 0xc]
lea ecx, [ebp - 0x18]
push edx
call fcn.00401840
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x228]
push eax
push esi
call fcn.004201a7
add esp, 8
test eax, eax
je 0x40509c
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405010
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00401840
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x38]
sub ecx, 0x10
mov dword [ebp - 0x14], ecx
lea eax, [esi - 0x10]
cmp eax, ecx
je 0x405095
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x1c], eax
jl 0x405089
mov eax, dword [esi - 0x10]
cmp eax, dword [ecx]
jne 0x405089
lea eax, [esi - 0x10]
push eax
call fcn.004025a0
mov edx, dword [ebp - 0x1c]
add esp, 4
mov dword [ebp - 0x10], eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405081
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [ebx + 0x38], eax
jmp 0x405095
push dword [esi - 0xc]
lea ecx, [ebx + 0x38]
push esi
call fcn.00401840
mov byte [0x446258], 1
push 0x3e9
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0x147
push eax
mov dword [ebp - 0x10], eax
call edi
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
je 0x405224
push 0
push eax
push 0x149
push dword [ebp - 0x10]
call edi
cmp eax, 0x1ff
jg 0x405224
xor eax, eax
mov word [ebp - 0x228], ax
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x1c]
push 0x148
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x405224
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405110
sub ecx, edx
sar ecx, 1
je 0x405224
mov ecx, dword [ebx + 0x30]
lea edi, [esi - 0x10]
lea edx, [ecx - 0x10]
cmp edx, edi
je 0x40517b
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x40516c
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x40516c
push edx
call fcn.004025a0
add esp, 4
mov dword [ebp - 0x1c], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x405164
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1c]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
jmp 0x40517b
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00401840
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x228]
push eax
push esi
call fcn.004201a7
add esp, 8
test eax, eax
je 0x405224
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4051a0
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00401840
mov esi, dword [ebp - 0x18]
lea ecx, [ebx + 0x30]
mov byte [ebx + 0xd], 1
mov edi, dword [ecx]
sub edi, 0x10
mov dword [ebp - 0x14], ecx
lea edx, [esi - 0x10]
cmp edx, edi
je 0x40521d
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x405214
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x405214
push edx
call fcn.004025a0
add esp, 4
mov dword [ebp - 0x1c], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x40520a
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
add eax, 0x10
mov dword [ecx], eax
jmp 0x40521d
push dword [esi - 0xc]
push esi
call fcn.00401840
mov byte [0x446258], 1
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x405243
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00401fc0
int3