Function at 0x446870
Capabilities:
Check os version
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x204
mov edi, 0x15
mov bl, 0x6a
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x18
mov dword [esp + 0xc], str.HASP_API
mov dword [esp + 8], str._s__d._02d
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], 0x80c4f8
call fcn.0064a2d0
mov dword [esp + 8], str.Unknown_OS
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], 0x80c578
call fcn.004959f0
mov dword [esp + 8], str.Unknown_OS_Version
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], 0x80c5f8
call fcn.004959f0
mov dword [esp + 8], str.Unknown_OS_Architecture
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], 0x80c678
call fcn.004959f0
mov dword [esp + 8], 0x7d526a
mov dword [esp + 4], 0x200
mov dword [esp], 0x80c6f8
call fcn.004959f0
mov dword [esp + 0x88], 0x94
lea eax, [esp + 0x88]
mov dword [esp], eax
call sub.KERNEL32.dll_GetVersionExA
sub esp, 4
lea eax, [esp + 0x9c]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
mov esi, dword [esp + 0x98]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 8], str.PlatformId:_08X_Version:_u._u_Info:_s
mov dword [esp + 4], 0x200
mov dword [esp], 0x80c6f8
call fcn.0064a2d0
mov eax, dword [esp + 0x98]
cmp eax, 3
je 0x4469d6
mov esi, 4
mov ecx, eax
and ecx, 1
inc ecx
xor ecx, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov byte [esp + 0x2b], al
mov byte [esp + 0x3b], al
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
jne 0x446ea6
jmp 0x446e66
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
mov byte [esp + 0x2b], al
mov byte [esp + 0x3b], al
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
jmp 0x446e66
mov ebx, 0x1e
add bl, 0x4c
add eax, esi
setne al
movzx eax, al
add esi, eax
mov dword [esp + 8], str.Windows_CE
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], 0x80c578
call fcn.004959f0
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._u._u
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], 0x80c5f8
call fcn.0064a2d0
mov eax, esi
not eax
and eax, 1
mov ecx, esi
add ecx, eax
setne cl
movzx ecx, cl
cmp esi, ecx
jb 0x446a10
jmp 0x447173
lea eax, [esp + 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp + 4], str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov dword [esp], 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
sub esp, 0x14
mov ecx, eax
imul ecx, ecx
and ecx, 3
cmp ecx, 2
sete cl
movzx ecx, cl
cmp eax, ecx
jne 0x446af6
mov dl, 0x5e
lea ebp, [esp + 0x11c]
mov eax, 4
mov ecx, 0x1f
movzx edx, dl
cmp edx, 0x5e
jne 0x446c34
jmp 0x447266
mov esi, 0xf
lea ebp, [esp + 0x11c]
jmp 0x4471ce
mov dword [esp + 8], ebp
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], 0x80c578
call fcn.004959f0
mov byte [ebp], 0
mov dword [esp + 0x19c], pe_nt_image_headers32
mov eax, dword [esp + 0x1a4]
lea ecx, [esp + 0x19c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ebp
lea esi, [esp + 0x1a0]
mov dword [esp + 0xc], esi
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.CurrentBuildNumber
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
sub esp, 0x18
test eax, eax
jne 0x447117
mov cl, 0x5d
mov eax, 0x11
movzx ecx, cl
cmp ecx, 0x5d
je 0x446c34
cmp ecx, 0x60
je 0x446d3e
cmp ecx, 0x76
jne 0x446dd3
mov edi, 0xb
mov dword [esp + 8], str.Build
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], 0x80c5f8
call fcn.004959f0
mov dword [esp + 8], ebp
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], 0x80c5f8
call fcn.00495b00
mov byte [ebp], 0
mov dword [esp + 0x19c], pe_nt_image_headers32
mov eax, dword [esp + 0x1a4]
lea ecx, [esp + 0x19c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], esi
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.CSDVersion
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
sub esp, 0x18
mov ecx, eax
imul ecx, ecx
and ecx, 3
cmp ecx, 3
sete cl
movzx ecx, cl
cmp eax, ecx
jne 0x446e8e
jmp 0x447566
cmp eax, 4
jne 0x446cac
mov ecx, eax
or ecx, 2
xor eax, 2
add eax, ecx
je 0x446cac
mov byte [ebp], 0
mov dword [esp + 0x19c], pe_nt_image_headers32
mov eax, dword [esp + 0x1a4]
lea ecx, [esp + 0x19c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ebp
lea ecx, [esp + 0x1a0]
mov dword [esp + 0xc], ecx
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x7d775a
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
sub esp, 0x18
mov ecx, eax
and ecx, 1
inc ecx
xor ecx, eax
sete cl
movzx ecx, cl
cmp eax, ecx
je 0x446b07
jmp 0x447117
mov edi, 0xb
mov dword [esp + 8], str.Build
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], 0x80c5f8
call fcn.004959f0
mov dword [esp + 8], ebp
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], 0x80c5f8
call fcn.00495b00
mov byte [ebp], 0
mov dword [esp + 0x19c], pe_nt_image_headers32
mov eax, dword [esp + 0x1a4]
lea ecx, [esp + 0x19c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ebp
lea ecx, [esp + 0x1a0]
mov dword [esp + 0xc], ecx
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.CSDVersion
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
sub esp, 0x18
test eax, eax
jne 0x446e8e
jmp 0x447832
mov dword [esp + 8], str.Build
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], 0x80c5f8
call fcn.004959f0
mov dword [esp + 8], ebp
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], 0x80c5f8
call fcn.00495b00
mov byte [ebp], 0
mov dword [esp + 0x19c], pe_nt_image_headers32
mov eax, dword [esp + 0x1a4]
lea ecx, [esp + 0x19c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], esi
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.CSDVersion
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
sub esp, 0x18
test eax, eax
je 0x446ec2
imul eax, eax
and eax, 3
cmp eax, 2
jne 0x446e8e
jmp 0x446ec2
mov edi, 5
mov dword [esp + 8], str.Build
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], 0x80c5f8
call fcn.004959f0
mov dword [esp + 8], ebp
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], 0x80c5f8
call fcn.00495b00
mov byte [ebp], 0
mov dword [esp + 0x19c], pe_nt_image_headers32
mov eax, dword [esp + 0x1a4]
lea ecx, [esp + 0x19c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], esi
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.CSDVersion
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
sub esp, 0x18
mov ecx, eax
imul ecx, ecx
and ecx, 3
cmp ecx, 3
sete cl
movzx ecx, cl
cmp eax, ecx
jne 0x446e8e
cmp edi, 5
je 0x446ec2
mov esi, 4
movzx eax, bl
cmp eax, 0x3b
jne 0x446f42
xor esi, esi
lea eax, [esp + 0x11c]
mov dword [esp + 0x34], eax
jmp 0x446a70
mov esi, 0xe
mov eax, dword [esp + 0x1a4]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 4
cmp esi, 4
mov esi, dword [esp + 0x34]
je 0x446a8a
xor eax, eax
test al, al
je 0x44712a
jmp 0x446a8a
movzx eax, byte [ebp]
mov ecx, eax
and ecx, 1
inc ecx
xor ecx, eax
sete cl
movzx ecx, cl
cmp eax, ecx
je 0x447039
mov al, 0x26
movzx eax, al
cmp eax, 0x1b
je 0x446f03
mov esi, 5
cmp eax, 0x26
jne 0x446fea
mov dword [esp + 0x1c], ebx
mov al, 0x49
mov dword [esp + 0x3c], eax
jmp 0x44751a
mov al, 0x49
mov dword [esp + 0x3c], eax
mov esi, 8
mov dword [esp + 8], 0x7d5930
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], 0x80c5f8
call fcn.00495b00
mov dword [esp + 8], ebp
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], 0x80c5f8
call fcn.00495b00
cmp esi, 4
mov ecx, dword [esp + 0x3c]
jne 0x44703b
mov eax, esi
not eax
and eax, 1
add eax, esi
je 0x44703b
xor esi, esi
lea eax, [esp + 0x11c]
mov dword [esp + 0x34], eax
jmp 0x446fd0
mov ebx, 0x78
add bl, 0xc3
xor eax, esi
setne al
movzx eax, al
add esi, eax
mov dword [esp + 8], str.Windows_CE
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], 0x80c578
call fcn.004959f0
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._u._u
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], 0x80c5f8
call fcn.0064a2d0
mov eax, 3
sub eax, esi
mov ecx, esi
xor ecx, eax
setne cl
movzx ecx, cl
cmp esi, ecx
jb 0x446f70
jmp 0x447173
xor esi, esi
jmp 0x447025
inc esi
mov dword [esp + 8], 0x7d5930
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], 0x80c5f8
call fcn.00495b00
mov dword [esp + 8], ebp
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], 0x80c5f8
call fcn.00495b00
mov eax, esi
imul eax, eax
and eax, 3
cmp eax, 2
sbb eax, eax
and eax, 1
cmp esi, eax
jb 0x446ff0
mov cl, 0x49
movzx eax, cl
cmp eax, 0x49
je 0x44704c
cmp eax, 0x65
jne 0x4470a3
mov al, 0x49
jmp 0x4470a5
mov dword [esp + 0x3c], ecx
xor esi, esi
jmp 0x44708a
mov ecx, 0x13
add cl, 0xf3
mov dword [esp + 0x3c], ecx
cmp eax, 0xffffffff
setne al
movzx eax, al
add esi, eax
mov eax, dword [esp + 0x1a4]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 4
mov eax, esi
and eax, 1
xor eax, esi
cmp eax, 0xffffffff
setne cl
movzx ecx, cl
cmp esi, ecx
jb 0x447060
jmp 0x44712a
mov al, 0x65
mov dword [esp + 0x3c], eax
jmp 0x447117
mov edi, 0xa0
xor edi, 0xb2
add eax, ebx
setne al
movzx eax, al
add ebx, eax
mov dword [esp + 8], 0x7d5930
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], 0x80c5f8
call fcn.00495b00
mov dword [esp + 8], ebp
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], 0x80c5f8
call fcn.00495b00
mov eax, ebx
not eax
and eax, 1
mov ecx, ebx
add ecx, eax
setne cl
movzx ecx, cl
cmp ebx, ecx
jb 0x4470b0
mov ebx, dword [esp + 0x1c]
jmp 0x4477de
mov eax, dword [esp + 0x1a4]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 4
xor eax, eax
mov edi, 0x5a
add edi, 0xffffffb3
jmp 0x447150
mov ecx, eax
imul ecx, ecx
and ecx, 3
cmp ecx, 2
adc eax, 0
mov esi, ebp
mov ecx, eax
or ecx, 2
mov edx, eax
xor edx, 2
add edx, ecx
setne cl
movzx ecx, cl
cmp eax, ecx
jb 0x447140
mov dword [esp + 0x34], esi
cmp edi, 0xd
jne 0x447612
mov edi, 0x10
mov esi, 7
lea eax, [esp + 0x1b0]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp + 4], str.HARDWAREDESCRIPTIONSystemCentralProcessor0
mov dword [esp], 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
sub esp, 0x14
mov ecx, eax
and ecx, 1
inc ecx
xor ecx, eax
sete cl
movzx ecx, cl
cmp eax, ecx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], eax
jne 0x447949
cmp esi, 7
je 0x4471e6
mov eax, esi
and eax, 1
inc eax
xor eax, esi
je 0x4471e6
mov esi, dword [esp + 0x34]
jmp 0x44712a
mov esi, 0xe
mov edx, dword [esp + 0x44]
mov byte [edx], 0
mov dword [esp + 0x1a8], pe_nt_image_headers32
mov eax, dword [esp + 0x1b0]
lea ecx, [esp + 0x1a8]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
lea ecx, [esp + 0x1ac]
mov dword [esp + 0xc], ecx
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.Identifier
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
sub esp, 0x18
mov ecx, eax
imul ecx, ecx
and ecx, 3
cmp ecx, 2
sete cl
movzx ecx, cl
cmp eax, ecx
jne 0x447750
mov al, 0x46
mov ecx, 0x10
movzx eax, al
cmp eax, 0x46
jne 0x4472fb
cmp ecx, 0x10
jne 0x447298
mov eax, ecx
or eax, 2
xor ecx, 2
add ecx, eax
je 0x447298
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], 0x80c678
call fcn.004959f0
jmp 0x4475ff
mov edi, 0x10
mov esi, 6
mov byte [ebp], 0
mov dword [esp + 0x19c], pe_nt_image_headers32
mov eax, dword [esp + 0x1a4]
lea ecx, [esp + 0x19c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ebp
lea ecx, [esp + 0x1a0]
mov dword [esp + 0xc], ecx
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x7d775a
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
sub esp, 0x18
test eax, eax
jne 0x447692
jmp 0x4475aa
mov edi, 0x12
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], 0x80c678
call fcn.004959f0
mov eax, dword [esp + 0x1b0]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 4
jmp 0x44716a
mov esi, dword [esp + 0x20]
mov dword [esp], esi
mov dword [esp + 8], str.Port
mov dword [esp + 4], 0x40
call fcn.004959f0
mov dword [esp + 0x1f8], pe_nt_image_headers32
mov eax, dword [esp + 0x200]
lea ecx, [esp + 0x1f8]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x1fc]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], esi
mov dword [esp], eax
mov dword [esp + 8], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
sub esp, 0x18
mov edi, eax
mov eax, dword [esp + 0x200]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 4
mov eax, edi
imul eax, eax
and eax, 3
cmp eax, 3
sete al
movzx eax, al
cmp edi, eax
jne 0x44776d
mov byte [esp + 0x2b], 4
mov eax, dword [esp + 0x1fc]
cmp eax, 4
je 0x447437
cmp eax, 1
jne 0x44776d
xor esi, esi
mov eax, dword [esp + 0x2c]
jmp 0x44741d
add edx, esi
setne al
movzx eax, al
add esi, eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0
call fcn.007c7870
mov dword [esp + 0x1b4], eax
mov edx, esi
not edx
and edx, 1
mov ecx, esi
add ecx, edx
setne cl
movzx ecx, cl
cmp esi, ecx
jb 0x4473f0
jmp 0x4478fd
mov cl, 0x34
mov edx, 2
movzx ecx, cl
cmp ecx, 0x3e
jne 0x44745f
mov al, 0x2d
mov dword [esp + 0x40], eax
cmp dword [esp + 0x1f8], 4
jne 0x44776d
jmp 0x447848
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
jmp 0x4478c0
mov byte [esp + 0x2b], 0x36
mov ecx, dword [esp + 0x2c]
mov eax, ecx
and eax, 1
xor eax, ecx
cmp eax, 0xffffffff
setne al
movzx eax, al
sub ecx, eax
cmp ecx, 0xfffe
ja 0x44776d
xor eax, eax
test al, al
jne 0x44776d
xor eax, eax
mov edx, dword [esp + 0x2c]
jmp 0x4474c8
mov ecx, eax
not ecx
and ecx, 1
add ecx, eax
setne cl
movzx ecx, cl
add eax, ecx
mov word [0x7f6338], dx
mov ecx, eax
and ecx, 1
xor ecx, eax
cmp ecx, 0xffffffff
setne cl
movzx ecx, cl
cmp eax, ecx
jb 0x4474b0
jmp 0x44776d
xor eax, eax
test al, al
jne 0x447538
mov al, 0x31
movzx eax, al
cmp eax, 0x4d
jne 0x447541
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x48]
mov dword [esp + 0x30], eax
mov esi, 0x15
mov dword [esp + 4], eax
mov dword [esp + 8], 0x40
mov dword [esp], str.PROCESSOR_ARCHITEW6432
call fcn.0044c140
xor ebx, ebx
cmp esi, 5
je 0x4470f9
xor eax, eax
test al, al
jne 0x4470f9
mov ebx, dword [esp + 0x1c]
jmp 0x4477c6
mov dword [esp + 0x30], esi
jmp 0x4477c6
lea eax, [esp + 0x48]
mov dword [esp + 0x30], eax
mov edi, 0x18
mov dword [esp + 4], eax
mov dword [esp + 8], 0x40
mov dword [esp], str.PROCESSOR_ARCHITEW6432
call fcn.0044c140
cmp edi, 0xb
je 0x446ec2
mov eax, edi
and eax, 1
inc eax
xor eax, edi
jne 0x4477c6
jmp 0x446ec2
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], str.AMD64
call fcn.007c5970
test eax, eax
je 0x4475d8
mov al, 1
test al, al
je 0x4475d8
mov esi, 0x11
mov byte [esp + 0x3b], 0x45
cmp esi, 6
jne 0x4475f4
mov eax, esi
not eax
and eax, 1
add eax, esi
jne 0x446b07
jmp 0x4475f4
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], str.AMD64
call fcn.007c5970
test eax, eax
jne 0x4475f4
mov dword [esp + 8], str.Win64
mov dword [esp + 4], 0x20
mov dword [esp], 0x80c8f8
call fcn.004959f0
add esp, 0x204
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x1b0]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 4
mov word [0x7f6338], 0x79b
lea eax, [esp + 0x200]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp + 4], str.SYSTEMCurrentControlSetServiceshasplmsParameters
mov dword [esp], 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
sub esp, 0x14
test eax, eax
je 0x44766d
lea eax, [esp + 0x1b8]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1b4]
mov dword [esp + 0x24], eax
jmp 0x44776d
mov al, 0x5b
movzx eax, al
cmp eax, 0x6b
jne 0x4476ae
lea eax, [esp + 0x1b4]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1b8]
mov dword [esp + 0x20], eax
mov edi, 4
cmp edi, 4
je 0x447334
mov eax, edi
and eax, 1
inc eax
xor eax, edi
jne 0x447117
jmp 0x447334
lea eax, [esp + 0x1b4]
mov dword [esp + 0x24], eax
lea esi, [esp + 0x1b8]
mov dword [esp + 0x20], esi
mov dword [esp], esi
mov dword [esp + 8], str.Port
mov dword [esp + 4], 0x40
call fcn.004959f0
mov dword [esp + 0x1f8], pe_nt_image_headers32
mov eax, dword [esp + 0x200]
lea ecx, [esp + 0x1f8]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x1fc]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], esi
mov esi, 0x1b
mov dword [esp], eax
mov dword [esp + 8], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
sub esp, 0x18
mov edi, eax
mov eax, dword [esp + 0x200]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 4
mov eax, edi
and eax, 1
inc eax
xor eax, edi
sete al
movzx eax, al
cmp edi, eax
jne 0x44776d
cmp esi, 0xe
jne 0x4473c6
mov eax, esi
not eax
and eax, 1
add eax, esi
jne 0x4475ff
jmp 0x4473c6
mov byte [esp + 0x3b], 0x45
lea esi, [esp + 0x48]
mov dword [esp + 8], str.Win32
mov dword [esp + 4], 0x20
mov dword [esp], 0x80c8f8
call fcn.004959f0
mov dword [esp + 4], esi
mov dword [esp + 8], 0x40
mov dword [esp], str.PROCESSOR_ARCHITECTURE
call fcn.0044c140
mov dword [esp], esi
mov dword [esp + 4], str.AMD64
call fcn.007c5970
test eax, eax
jne 0x4474e1
mov dword [esp + 0x30], esi
mov edi, 0xe
mov edx, 0x10
movzx ecx, byte [esp + 0x3b]
cmp ecx, 0x1b
je 0x447929
cmp edi, 0xe
je 0x4475c0
imul edi, edi
and edi, 3
cmp edi, 3
je 0x4475c0
mov ecx, dword [esp + 0x3c]
jmp 0x44703b
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], eax
mov al, 0x2d
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x1f8]
cmp eax, 4
jne 0x44776d
mov edi, 0xc
mov ecx, eax
or ecx, 2
xor eax, 2
add eax, ecx
je 0x44776d
cmp edi, 0xb
jne 0x447848
mov eax, edi
and eax, 1
xor eax, edi
not eax
test eax, eax
jne 0x446ec2
mov edx, 5
mov eax, dword [esp + 0x40]
movzx ecx, al
cmp ecx, 0x2d
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
jne 0x4478c0
xor esi, esi
jmp 0x4478ab
mov eax, 0x16
add al, 0x36
mov dword [esp + 0x40], eax
mov eax, 3
sub eax, esi
xor eax, esi
setne al
movzx eax, al
add esi, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp], edi
mov dword [esp + 8], 4
call fcn.007c51d0
mov eax, dword [esp + 0x1b4]
mov ecx, esi
not ecx
and ecx, 1
add ecx, esi
setne cl
movzx ecx, cl
cmp esi, ecx
jb 0x447870
jmp 0x4478fd
cmp edx, 2
jne 0x4478d4
mov ecx, 3
sub ecx, edx
xor ecx, edx
jne 0x4477ff
mov al, 0x2d
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp], edi
mov dword [esp + 0x24], edi
mov dword [esp + 8], 4
call fcn.007c51d0
mov eax, dword [esp + 0x1b4]
mov edi, 0x1f
movzx ecx, byte [esp + 0x2b]
cmp ecx, 0x36
jne 0x447945
mov edx, 0xc
mov byte [esp + 0x2b], 4
lea ecx, [eax - 1]
mov dword [esp + 0x2c], eax
cmp ecx, 0xfffe
jbe 0x44749d
cmp edx, 0xc
je 0x44776d
mov ecx, edx
and ecx, 1
inc ecx
xor ecx, edx
jne 0x447582
jmp 0x44776d
mov dword [esp + 0x2c], eax
cmp edi, 0x10
je 0x447612
imul edi, edi
and edi, 3
cmp edi, 3
jne 0x44746c
jmp 0x447612