Function at 0x439f70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59dcd3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2b0
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], 0x5bc01c
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x1b4]
xor bl, bl
rep stosd dword es:[edi], eax
mov ecx, dword [0x663c24]
lea eax, [ebp - 0x28]
push eax
push 1
push esi
push ecx
push reloc.WSOCK32.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 0x43a0ee
mov ecx, dword [0x663c30]
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 0x43a00f
mov bl, 1
mov edx, dword [0x663c34]
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 0x43a0e0
lea ecx, [ebp - 0x70]
mov byte [ebp - 0x21], 1
push ecx
call fcn.00439b20
add esp, 4
test al, al
jne 0x43a0e0
push 0
mov dword [ebp - 0x20], 1
call fcn.0056db81
push eax
call fcn.0056eb1d
add esp, 8
call fcn.0056eb2a
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fmul qword [0x5bd0a8]
call fcn.0056cb34
mov edi, 0x3e8
push 0
sub edi, eax
mov eax, dword [ebp + 8]
lea edx, [edi + 0x5208]
mov dword [eax + 0x208], 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 + 0x1f4]
test al, al
jne 0x43a0e0
mov eax, ecx
push 0
push edi
push 0x6f
mov edx, dword [eax + 0x1c]
mov byte [eax + 0x1f4], 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 0x43a11b
mov eax, dword [0x663c30]
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0xb4]
push ecx
mov ecx, dword [0x663680]
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 0x43a135
lea edx, [ebp - 0xb4]
push edx
call fcn.00439810
add esp, 4
test al, al
jne 0x43a135
mov dword [ebp - 0x20], 1
mov al, byte [ebp - 0x21]
test al, al
jne 0x43a20e
mov edx, dword [0x663c34]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x70]
push eax
mov eax, dword [0x663680]
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 0x43a20e
lea ecx, [ebp - 0x70]
push ecx
call fcn.00439b20
add esp, 4
test al, al
jne 0x43a20e
push 0
mov dword [ebp - 0x20], 1
call fcn.0056db81
push eax
call fcn.0056eb1d
add esp, 8
call fcn.0056eb2a
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fmul qword [0x5bd0a8]
call fcn.0056cb34
mov ebx, dword [ebp + 8]
mov edi, 0x3e8
sub edi, eax
push 0
mov eax, dword [ebx + 0x1c]
mov dword [ebx + 0x208], 0x88b8
lea edx, [edi + 0x4e20]
push edx
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov al, byte [ebx + 0x1f4]
test al, al
jne 0x43a20e
mov ecx, dword [ebx + 0x1c]
push 0
push edi
push 0x6f
push ecx
mov byte [ebx + 0x1f4], 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 [0x63c2c8]
test eax, eax
jne 0x43a46f
lea ecx, [ebp - 0x3c]
call fcn.004c9520
mov ecx, dword [0x663668]
mov eax, dword [0x663eec]
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.WSOCK32.dll_bind
push eax
push ecx
mov byte [ebp - 4], 2
call ebx
mov edi, eax
test edi, edi
je 0x43a2d8
cmp edi, 2
je 0x43a2d4
mov edx, dword [0x65ec1c]
mov dword [ebp - 0x14], edx
mov eax, dword [0x663668]
mov byte [ebp - 4], 3
test eax, eax
mov eax, str.CURRENT_USER
jne 0x43a27d
mov eax, str.MACHINE
mov ecx, dword [0x663eec]
lea edx, [ebp - 0x14]
push ecx
push eax
push 0x639a04
push edx
call fcn.0058148b
mov eax, dword [ebp - 0x14]
add esp, 0x10
lea ecx, [ebp - 0x3c]
push eax
call fcn.004c95d0
test eax, eax
je 0x43a2c8
mov eax, dword [0x663668]
mov edx, dword [0x663eec]
lea ecx, [ebp - 0x1c]
neg eax
push ecx
push 1
sbb eax, eax
push 0
add eax, reloc.WSOCK32.dll_bind
push edx
push eax
call ebx
mov edi, eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.005886c0
test edi, edi
jne 0x43a31b
mov eax, dword [0x663b2c]
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
sbb esi, esi
push edx
nop
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x43a431
jmp 0x43a321
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x80]
call fcn.004c9520
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.WSOCK32.dll_accept
call edi
test eax, eax
je 0x43a3ee
mov ecx, dword [0x65ec1c]
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.0058148b
mov eax, dword [ebp - 0x14]
add esp, 0xc
lea ecx, [ebp - 0x80]
push eax
call fcn.004c95d0
test eax, eax
je 0x43a3e0
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.WSOCK32.dll_accept
call edi
test eax, eax
jne 0x43a3e0
mov ecx, dword [0x663b2c]
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.005886c0
jmp 0x43a421
mov eax, dword [0x663b2c]
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.004c9560
test esi, esi
je 0x43a459
mov edx, dword [0x6647ac]
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.00433420
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.004c9560
mov ebx, 6
jmp 0x43a5ec
lea ecx, [ebp - 0x3c]
call fcn.004c9520
lea ecx, [ebp - 0x1c]
mov edx, dword [0x663ee8]
push 0
push ecx
mov cl, byte [0x663670]
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
mov ebx, 6
push edx
push eax
mov byte [ebp - 4], bl
call edi
test eax, eax
je 0x43a57d
mov ecx, dword [0x65ec1c]
mov dword [ebp - 0x14], ecx
mov al, byte [0x663670]
mov byte [ebp - 4], 7
test al, al
mov eax, str.MACHINE
jne 0x43a4dc
mov eax, str.CURRENT_USER
mov edx, dword [0x663ee8]
push edx
push eax
lea eax, [ebp - 0x14]
push 0x639a04
push eax
call fcn.0058148b
mov ecx, dword [ebp - 0x14]
add esp, 0x10
push ecx
lea ecx, [ebp - 0x3c]
call fcn.004c95d0
test eax, eax
je 0x43a570
lea edx, [ebp - 0x1c]
mov eax, dword [0x663ee8]
push 0
push edx
mov dl, byte [0x663670]
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
jne 0x43a570
mov ecx, dword [0x663b2c]
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.005886c0
jmp 0x43a5b4
mov eax, dword [0x663b2c]
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 0x43a5e0
mov edx, dword [0x6647ac]
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.00433420
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.004c9560
mov eax, dword [ebp - 0x20]
test esi, esi
jmp 0x43a88e
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret