Function at 0x427120
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x556501
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x948
push ebx
push esi
push edi
xor esi, esi
lea ecx, [ebp - 0x570]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], esi
call fcn.004a7d80
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x178]
mov byte [ebp - 0x78], al
rep stosd dword es:[edi], eax
mov ecx, dword [0x5c786c]
lea eax, [ebp - 0x14]
push eax
push 1
push esi
xor bl, bl
push ecx
mov dword [ebp - 4], esi
push reloc.WSOCK32.dll_bind
mov byte [ebp - 0x1e], bl
mov byte [ebp - 0x1f], bl
mov byte [ebp - 0x1d], bl
mov byte [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov edi, 0x32
jne 0x427246
mov ecx, dword [0x5c7878]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x214]
push edx
mov edx, dword [ebp - 0x14]
push eax
push 0
push 0
push ecx
push edx
mov dword [ebp - 0x18], edi
call esi
test eax, eax
jne 0x4271c9
mov bl, 1
mov edx, dword [0x5c7874]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x1ac]
push eax
mov eax, dword [ebp - 0x14]
push ecx
push 0
push 0
push edx
push eax
mov dword [ebp - 0x18], edi
call esi
test eax, eax
jne 0x4271f0
mov byte [ebp - 0x1e], 1
mov eax, dword [0x5c7870]
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x1e0]
push ecx
mov ecx, dword [ebp - 0x14]
push edx
push 0
push 0
push eax
push ecx
mov dword [ebp - 0x18], edi
call esi
test eax, eax
jne 0x427216
mov byte [ebp - 0x1f], 1
mov ecx, dword [0x5c787c]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x78]
push edx
mov edx, dword [ebp - 0x14]
push eax
push 0
push 0
push ecx
push edx
mov dword [ebp - 0x18], edi
call esi
test eax, eax
jne 0x42723a
mov byte [ebp - 0x1d], 1
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42724c
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x14]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareDownloadManager_
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x42733d
test bl, bl
jne 0x4272a5
mov ecx, dword [0x5c7878]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x214]
push edx
mov edx, dword [ebp - 0x14]
push eax
push 0
push 0
push ecx
push edx
mov dword [ebp - 0x18], edi
call esi
test eax, eax
je 0x4272a5
mov dword [ebp - 0x24], 5
mov al, byte [ebp - 0x1e]
mov ebx, 5
test al, al
jne 0x4272d7
mov edx, dword [0x5c7874]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x1ac]
push eax
mov eax, dword [ebp - 0x14]
push ecx
push 0
push 0
push edx
push eax
mov dword [ebp - 0x18], edi
call esi
test eax, eax
je 0x4272d7
mov dword [ebp - 0x24], ebx
mov al, byte [ebp - 0x1f]
test al, al
jne 0x427303
mov eax, dword [0x5c7870]
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x1e0]
push ecx
mov ecx, dword [ebp - 0x14]
push edx
push 0
push 0
push eax
push ecx
mov dword [ebp - 0x18], edi
call esi
test eax, eax
je 0x427303
mov dword [ebp - 0x24], ebx
mov al, byte [ebp - 0x1d]
test al, al
jne 0x427333
mov ecx, dword [0x5c787c]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x78]
push edx
mov edx, dword [ebp - 0x14]
push eax
push 0
push 0
push ecx
push edx
mov dword [ebp - 0x18], edi
call esi
test eax, eax
je 0x42732f
mov dword [ebp - 0x24], ebx
jmp 0x427333
mov byte [ebp - 0x1d], 1
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, byte [ebp - 0x1d]
test bl, bl
nop
nop
lea edi, [ebp - 0x78]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x17
nop
nop
cmp byte [ebp - 0x73], 0x2d
nop
nop
cmp byte [ebp - 0x6d], 0x2d
nop
nop
cmp byte [ebp - 0x67], 0x2d
nop
nop
mov dword [0x5a6cc4], 0
lea ecx, [ebp - 0x34]
call fcn.004a7a10
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.004a7a10
mov eax, dword [0x5a6cc4]
mov byte [ebp - 4], 3
test eax, eax
jne 0x42754a
mov eax, dword [0x5c74a0]
mov edx, dword [0x5c7b34]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [ebp - 0x14]
neg eax
push ecx
push 1
sbb eax, eax
push 0
add eax, reloc.WSOCK32.dll_bind
push edx
push eax
call edi
mov esi, eax
test esi, esi
nop
nop
nop
nop
nop
nop
cmp esi, 2
je 0x427444
mov ecx, dword [0x5c2a74]
mov dword [ebp - 0x1c], ecx
mov eax, dword [0x5c74a0]
mov byte [ebp - 4], 4
test eax, eax
mov eax, str.CURRENT_USER
jne 0x4273ec
mov eax, str.MACHINE
mov edx, dword [0x5c7b34]
push edx
push eax
lea eax, [ebp - 0x1c]
push 0x5a4824
push eax
call fcn.0053afda
mov ecx, dword [ebp - 0x1c]
add esp, 0x10
push ecx
lea ecx, [ebp - 0x34]
call fcn.004a7ac0
test eax, eax
je 0x427438
mov ecx, dword [0x5c74a0]
mov eax, dword [0x5c7b34]
lea edx, [ebp - 0x14]
neg ecx
push edx
push 1
sbb ecx, ecx
push 0
add ecx, reloc.WSOCK32.dll_bind
push eax
push ecx
call edi
mov esi, eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.005421be
test esi, esi
jne 0x42747b
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x178]
push edx
push eax
push 0
push 0
push str.MData
push ecx
mov dword [ebp - 0x18], pe_nt_image_headers32
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x1c], eax
jne 0x427663
lea edx, [ebp - 0x14]
push 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareClassesCLSIDD5B91409_A8CA_4973_9A0B_59F713D25671
push reloc.WSOCK32.dll_accept
call esi
test eax, eax
je 0x427520
mov eax, dword [0x5c2a74]
mov dword [ebp - 0x1c], eax
push str.SoftwareClassesCLSIDD5B91409_A8CA_4973_9A0B_59F713D25671
lea ecx, [ebp - 0x1c]
push str.CURRENT_USER_s
push ecx
mov byte [ebp - 4], 5
call fcn.0053afda
mov edx, dword [ebp - 0x1c]
add esp, 0xc
lea ecx, [ebp - 0x44]
push edx
call fcn.004a7ac0
test eax, eax
jne 0x4274e7
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.005421be
jmp 0x427d5e
lea eax, [ebp - 0x14]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareClassesCLSIDD5B91409_A8CA_4973_9A0B_59F713D25671
push reloc.WSOCK32.dll_accept
call esi
test eax, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
je 0x42751b
call fcn.005421be
jmp 0x427d5e
call fcn.005421be
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x178]
push ecx
push edx
push 0
push 0
push str.MData
push eax
mov dword [ebp - 0x18], pe_nt_image_headers32
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x42764b
lea ecx, [ebp - 0x14]
mov edx, dword [0x5c7b30]
push 0
push ecx
mov cl, byte [0x5c74a4]
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.WSOCK32.dll_accept
push edx
push eax
call edi
test eax, eax
je 0x42762a
mov ecx, dword [0x5c2a74]
mov dword [ebp - 0x1c], ecx
mov al, byte [0x5c74a4]
mov byte [ebp - 4], 6
test al, al
mov eax, str.MACHINE
jne 0x4275a7
mov eax, str.CURRENT_USER
mov edx, dword [0x5c7b30]
push edx
push eax
lea eax, [ebp - 0x1c]
push 0x5a4824
push eax
call fcn.0053afda
mov ecx, dword [ebp - 0x1c]
add esp, 0x10
push ecx
lea ecx, [ebp - 0x34]
call fcn.004a7ac0
test eax, eax
jne 0x4275e1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.005421be
jmp 0x427d5e
lea edx, [ebp - 0x14]
mov eax, dword [0x5c7b30]
push 0
push edx
mov dl, byte [0x5c74a4]
xor ecx, ecx
push 0
push 0xf003f
test dl, dl
push 0
push 0
setne cl
push 0
add ecx, reloc.WSOCK32.dll_accept
push eax
push ecx
call edi
test eax, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
je 0x427625
call fcn.005421be
jmp 0x427d5e
call fcn.005421be
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x178]
push edx
push eax
push 0
push 0
push str.MData
push ecx
mov dword [ebp - 0x18], pe_nt_image_headers32
call esi
neg eax
sbb eax, eax
inc eax
test eax, eax
jne 0x427663
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x427d5e
mov eax, dword [0x5a6cc4]
test eax, eax
jne 0x427768
test bl, bl
jmp 0x427764
add dword [eax], eax
add byte [eax], al
mov edi, str.58BE20ast4si5ls2D13
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x178]
push ecx
push str.58BE20ast4si5ls2D13
push pe_nt_image_headers32
push eax
lea ecx, [ebp - 0x2d8]
call fcn.004a3f00
mov eax, dword [0x5a6cc4]
test eax, eax
je 0x42782b
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esi, [ebp - 0x178]
mov eax, str.poYUOI6j769J25hn7j5nerh5
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4277de
test cl, cl
je 0x4277da
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4277de
add eax, 2
add esi, 2
test cl, cl
jne 0x4277b6
xor eax, eax
jmp 0x4277e3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
jne 0x427dee
call fcn.004a7a50
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.004a7a50
lea ecx, [ebp - 0x570]
mov dword [ebp - 4], 0xffffffff
call fcn.004a7ee0
mov eax, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test bl, bl
jmp 0x427b60
inc dword [ebp - 0x74b98a40]
inc ebp
in al, dx
push eax
call ebx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.004a7a50
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.004a7a50
lea ecx, [ebp - 0x570]
mov dword [ebp - 4], 0xffffffff
call fcn.004a7ee0
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
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.004a7a50
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.004a7a50
lea ecx, [ebp - 0x570]
mov dword [ebp - 4], 0xffffffff
call fcn.004a7ee0
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
call fcn.004a7a50
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.004a7a50
lea ecx, [ebp - 0x570]
mov dword [ebp - 4], 0xffffffff
call fcn.004a7ee0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 6
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret