Function at 0x4505d0
Capabilities:
Query or enumerate registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fa043
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3b8
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x2c], 0x61c4b4
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x1b4]
xor bl, bl
rep stosd dword es:[edi], eax
mov ecx, dword [0x6d18e0]
lea eax, [ebp - 0x28]
push eax
push 1
push esi
push ecx
push reloc.WS2_32.dll_bind
mov byte [ebp - 4], 1
mov byte [ebp - 0x70], 0
mov byte [ebp - 0x21], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45074e
mov ecx, dword [0x6d18ec]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0xb4]
push edx
mov edx, dword [ebp - 0x28]
push eax
push 0
push 0
push ecx
push edx
mov dword [ebp - 0x18], 0x32
call edi
test eax, eax
jne 0x45066f
mov bl, 1
mov edx, dword [0x6d18f0]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x70]
push eax
mov eax, dword [ebp - 0x28]
push ecx
push 0
push 0
push edx
push eax
mov dword [ebp - 0x18], 0x32
call edi
test eax, eax
jne 0x450740
lea ecx, [ebp - 0x70]
mov byte [ebp - 0x21], 1
push ecx
call fcn.00450180
add esp, 4
test al, al
jne 0x450740
push 0
mov dword [ebp - 0x20], 1
call fcn.005c8aeb
push eax
call fcn.005c993d
add esp, 8
call fcn.005c994a
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fmul qword [0x61d6a0]
call fcn.005c7778
mov edi, 0x3e8
push 0
sub edi, eax
mov eax, dword [ebp + 8]
lea edx, [edi + 0x5208]
mov dword [eax + 0x224], 0x88b8
mov eax, dword [eax + 0x1c]
push edx
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp + 8]
mov al, byte [ecx + 0x1fc]
test al, al
jne 0x450740
mov eax, ecx
push 0
push edi
push 0x6f
mov edx, dword [eax + 0x1c]
mov byte [eax + 0x1fc], 1
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
jne 0x45077b
mov eax, dword [0x6d18ec]
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0xb4]
push ecx
mov ecx, dword [0x6d116c]
push edx
push 0
push 0
push eax
push ecx
mov dword [ebp - 0x18], 0x32
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x450795
lea edx, [ebp - 0xb4]
push edx
call fcn.0044fe70
add esp, 4
test al, al
jne 0x450795
mov dword [ebp - 0x20], 1
mov al, byte [ebp - 0x21]
test al, al
jne 0x45086e
mov edx, dword [0x6d18f0]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x70]
push eax
mov eax, dword [0x6d116c]
push ecx
push 0
push 0
push edx
push eax
mov dword [ebp - 0x18], 0x32
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45086e
lea ecx, [ebp - 0x70]
push ecx
call fcn.00450180
add esp, 4
test al, al
jne 0x45086e
push 0
mov dword [ebp - 0x20], 1
call fcn.005c8aeb
push eax
call fcn.005c993d
add esp, 8
call fcn.005c994a
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fmul qword [0x61d6a0]
call fcn.005c7778
mov ebx, dword [ebp + 8]
mov edi, 0x3e8
sub edi, eax
push 0
mov eax, dword [ebx + 0x1c]
mov dword [ebx + 0x224], 0x88b8
lea edx, [edi + 0x4e20]
push edx
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov al, byte [ebx + 0x1fc]
test al, al
jne 0x45086e
mov ecx, dword [ebx + 0x1c]
push 0
push edi
push 0x6f
push ecx
mov byte [ebx + 0x1fc], 1
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x6a5fec]
test eax, eax
jne 0x450acf
lea ecx, [ebp - 0x3c]
call fcn.004fde60
mov ecx, dword [0x6d1144]
mov eax, dword [0x6d1ba4]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [ebp - 0x1c]
neg ecx
push edx
push 1
sbb ecx, ecx
push 0
add ecx, reloc.WS2_32.dll_bind
push eax
push ecx
mov byte [ebp - 4], 2
call ebx
mov edi, eax
test edi, edi
je 0x450938
cmp edi, 2
je 0x450934
mov edx, dword [0x6cc564]
mov dword [ebp - 0x14], edx
mov eax, dword [0x6d1144]
mov byte [ebp - 4], 3
test eax, eax
mov eax, str.CURRENT_USER
jne 0x4508dd
mov eax, str.MACHINE
mov ecx, dword [0x6d1ba4]
lea edx, [ebp - 0x14]
push ecx
push eax
push 0x6a2b8c
push edx
call fcn.005dc6eb
mov eax, dword [ebp - 0x14]
add esp, 0x10
lea ecx, [ebp - 0x3c]
push eax
call fcn.004fdf10
test eax, eax
je 0x450928
mov eax, dword [0x6d1144]
mov edx, dword [0x6d1ba4]
lea ecx, [ebp - 0x1c]
neg eax
push ecx
push 1
sbb eax, eax
push 0
add eax, reloc.WS2_32.dll_bind
push edx
push eax
call ebx
mov edi, eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.005e38b9
test edi, edi
jne 0x45097b
mov eax, dword [0x6d17e8]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x1b4]
push ecx
mov ecx, dword [ebp - 0x1c]
push edx
push 0
push 0
push eax
push ecx
mov dword [ebp - 0x18], pe_nt_image_headers32
call ebx
mov edx, dword [ebp - 0x1c]
mov esi, eax
neg esi
xor esi, esi
push edx
nop
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x450a91
jmp 0x450981
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x80]
call fcn.004fde60
lea eax, [ebp - 0x1c]
push 0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareClassesCLSIDD5B91409_A8CA_4973_9A0B_59F713D25671
push reloc.WS2_32.dll_accept
call edi
test eax, eax
je 0x450a4e
mov ecx, dword [0x6cc564]
mov dword [ebp - 0x14], ecx
push str.SoftwareClassesCLSIDD5B91409_A8CA_4973_9A0B_59F713D25671
lea edx, [ebp - 0x14]
push str.CURRENT_USER_s
push edx
mov byte [ebp - 4], 5
call fcn.005dc6eb
mov eax, dword [ebp - 0x14]
add esp, 0xc
lea ecx, [ebp - 0x80]
push eax
call fcn.004fdf10
test eax, eax
je 0x450a40
lea ecx, [ebp - 0x1c]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareClassesCLSIDD5B91409_A8CA_4973_9A0B_59F713D25671
push reloc.WS2_32.dll_accept
call edi
test eax, eax
jne 0x450a40
mov ecx, dword [0x6d17e8]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x1b4]
push edx
mov edx, dword [ebp - 0x1c]
push eax
push 0
push 0
push ecx
push edx
mov dword [ebp - 0x18], pe_nt_image_headers32
call ebx
mov esi, eax
mov eax, dword [ebp - 0x1c]
neg esi
sbb esi, esi
push eax
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.005e38b9
jmp 0x450a81
mov eax, dword [0x6d17e8]
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x1b4]
push ecx
mov ecx, dword [ebp - 0x1c]
push edx
push 0
push 0
push eax
push ecx
mov dword [ebp - 0x18], pe_nt_image_headers32
call ebx
mov edx, dword [ebp - 0x1c]
mov esi, eax
neg esi
sbb esi, esi
push edx
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
call fcn.004fdea0
test esi, esi
je 0x450ab9
mov edx, dword [0x6d2418]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x1b4]
push ecx
push edx
push pe_nt_image_headers32
push eax
lea ecx, [ebp - 0x2c]
call fcn.004465b0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.004fdea0
mov ebx, 6
jmp 0x450c4c
lea ecx, [ebp - 0x3c]
call fcn.004fde60
lea ecx, [ebp - 0x1c]
mov edx, dword [0x6d1ba0]
push 0
push ecx
mov cl, byte [0x6d115c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
xor eax, eax
push 0
test cl, cl
push 0xf003f
push 0
setne al
push 0
push 0
add eax, reloc.WS2_32.dll_accept
mov ebx, 6
push edx
push eax
mov byte [ebp - 4], bl
call edi
test eax, eax
je 0x450bdd
mov ecx, dword [0x6cc564]
mov dword [ebp - 0x14], ecx
mov al, byte [0x6d115c]
mov byte [ebp - 4], 7
test al, al
mov eax, str.MACHINE
jne 0x450b3c
mov eax, str.CURRENT_USER
mov edx, dword [0x6d1ba0]
push edx
push eax
lea eax, [ebp - 0x14]
push 0x6a2b8c
push eax
call fcn.005dc6eb
mov ecx, dword [ebp - 0x14]
add esp, 0x10
push ecx
lea ecx, [ebp - 0x3c]
call fcn.004fdf10
test eax, eax
je 0x450bd0
lea edx, [ebp - 0x1c]
mov eax, dword [0x6d1ba0]
push 0
push edx
mov dl, byte [0x6d115c]
xor ecx, ecx
push 0
push 0xf003f
test dl, dl
push 0
push 0
setne cl
push 0
add ecx, reloc.WS2_32.dll_accept
push eax
push ecx
call edi
test eax, eax
jne 0x450bd0
mov ecx, dword [0x6d17e8]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x1b4]
push edx
mov edx, dword [ebp - 0x1c]
push eax
push 0
push 0
push ecx
push edx
mov dword [ebp - 0x18], pe_nt_image_headers32
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov eax, dword [ebp - 0x1c]
neg esi
sbb esi, esi
push eax
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.005e38b9
jmp 0x450c14
mov eax, dword [0x6d17e8]
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x1b4]
push ecx
mov ecx, dword [ebp - 0x1c]
push edx
push 0
push 0
push eax
push ecx
mov dword [ebp - 0x18], pe_nt_image_headers32
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x1c]
mov esi, eax
neg esi
sbb esi, esi
push edx
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x450c40
mov edx, dword [0x6d2418]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x1b4]
push ecx
push edx
push pe_nt_image_headers32
push eax
lea ecx, [ebp - 0x2c]
call fcn.004465b0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.004fdea0
mov eax, dword [ebp - 0x20]
test esi, esi
je 0x450e61
test eax, eax
jne 0x450e65
mov eax, dword [0x6a5fec]
test eax, eax
je 0x450cb0
mov eax, dword [0x6d17ec]
lea esi, [ebp - 0x1b4]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x450c97
test cl, cl
je 0x450c93
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x450c97
add eax, 2
add esi, 2
test cl, cl
jne 0x450c73
xor eax, eax
jmp 0x450c9c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x450e5c
mov dword [ebp - 0x20], 4
jmp 0x450e65
mov al, byte [ebp - 0x70]
test al, al
je 0x450cfe
lea esi, [ebp - 0x1b4]
lea eax, [ebp - 0x70]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x450ce4
test cl, cl
je 0x450ce0
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x450ce4
add eax, 2
add esi, 2
test cl, cl
jne 0x450cc0
xor eax, eax
jmp 0x450ce9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x450cfe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x6d17f8]
lea esi, [ebp - 0x1b4]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x450d2d
test cl, cl
je 0x450d29
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x450d2d
add eax, 2
add esi, 2
test cl, cl
jne 0x450d09
xor eax, eax
jmp 0x450d32
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x450d42
mov dword [ebp - 0x20], 1
jmp 0x450e65
mov eax, dword [0x6d17f4]
lea esi, [ebp - 0x1b4]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x450d71
test cl, cl
je 0x450d6d
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x450d71
add eax, 2
add esi, 2
test cl, cl
jne 0x450d4d
xor eax, eax
jmp 0x450d76
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x450d86
mov dword [ebp - 0x20], 2
jmp 0x450e65
mov eax, dword [0x6d17f0]
lea esi, [ebp - 0x1b4]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x450db5
test cl, cl
je 0x450db1
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x450db5
add eax, 2
add esi, 2
test cl, cl
jne 0x450d91
xor eax, eax
jmp 0x450dba
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x450dca
mov dword [ebp - 0x20], 3
jmp 0x450e65
mov eax, dword [0x6d17ec]
lea esi, [ebp - 0x1b4]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x450df9
test cl, cl
je 0x450df5
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x450df9
add eax, 2
add esi, 2
test cl, cl
jne 0x450dd5
xor eax, eax
jmp 0x450dfe
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x450e5c
lea edi, [ebp - 0xb4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x450ca4
lea edi, [ebp - 0x70]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x17
jne 0x450ca4
mov cl, byte [ebp - 0x6b]
mov al, 0x2d
cmp cl, al
jne 0x450ca4
cmp byte [ebp - 0x65], al
jne 0x450ca4
cmp byte [ebp - 0x5f], al
jne 0x450ca4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x20], ebx
jmp 0x450e65
test eax, eax
je 0x450ed2
push 0
call fcn.005c8aeb
push eax
call fcn.005c993d
add esp, 8
call fcn.005c994a
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fmul qword [0x61d6a0]
call fcn.005c7778
mov edi, dword [ebp + 8]
mov esi, 0x3e8
mov ebx, dword [sym.imp.USER32.dll_SetTimer]
sub esi, eax
mov ecx, dword [edi + 0x1c]
push 0
lea eax, [esi + 0x4e20]
mov dword [edi + 0x224], 0x88b8
push eax
push 1
push ecx
call ebx
mov al, byte [edi + 0x1fc]
test al, al
jne 0x450ee6
mov edx, dword [edi + 0x1c]
push 0
push esi
push 0x6f
push edx
mov byte [edi + 0x1fc], 1
call ebx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]