Function at 0x43c577
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0x7c
mov eax, 0x51fa64
call fcn.004ac5bf
mov eax, edx
mov dword [ebp - 0x84], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
xor ecx, ecx
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x28], cl
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x40]
call fcn.00414c63
push str..MD5
push eax
xor ecx, ecx
lea eax, [ebp - 0x58]
inc ecx
push eax
mov byte [ebp - 4], cl
call fcn.004082d0
add esp, 0xc
xor eax, eax
mov byte [ebp - 4], 3
push 0
inc eax
lea ecx, [ebp - 0x40]
push eax
call fcn.004049c9
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
call fcn.00423543
test al, al
je 0x43c7f3
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x20
jb 0x43c7f3
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
add eax, ecx
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push fcn.004f2e07
cmovae ecx, dword [ebp - 0x28]
push edx
push eax
push ecx
lea eax, [ebp - 0x78]
push eax
call fcn.004083c0
add esp, 0x14
mov dword [ebp - 0x80], 3
lea ecx, [edi + 4]
call fcn.00407590
xor ecx, ecx
push 0xf003f
push eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], ecx
lea ecx, [ebp - 0x7c]
push reloc.WS2_32.dll_accept
call fcn.0042249d
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.00407590
lea ecx, [ebp - 0x74]
xor edx, edx
push ecx
push edx
lea ecx, [ebp - 0x80]
push ecx
push edx
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43c712
push eax
push dword [ebp - 0x74]
mov ecx, esi
call fcn.00404b61
cmp dword [esi + 0x14], 0x10
jb 0x43c697
mov edi, dword [esi]
jmp 0x43c699
mov edi, esi
mov ecx, ebx
call fcn.00407590
lea ecx, [ebp - 0x74]
push ecx
push edi
lea ecx, [ebp - 0x80]
push ecx
push 0
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [esi + 0x14], 0x10
jb 0x43c6bf
mov edx, dword [esi]
jmp 0x43c6c1
mov edx, esi
push dword [ebp - 0x74]
lea ecx, [ebp - 0x40]
call fcn.0042346d
pop ecx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 0x10
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
xor ecx, ecx
mov byte [ebp - 4], 4
push 1
test eax, eax
movzx ebx, cl
pop eax
push ecx
push eax
lea ecx, [ebp - 0x40]
cmove ebx, eax
call fcn.004049c9
test bl, bl
je 0x43c7de
xor eax, eax
mov ecx, esi
push eax
push eax
call fcn.00404b61
mov edx, dword [ebp - 0x84]
lea ecx, [ebp - 0x70]
call fcn.00414c63
mov edx, esi
mov byte [ebp - 4], 6
mov ecx, eax
call fcn.00423543
mov bl, al
mov byte [ebp - 4], 4
neg bl
lea ecx, [ebp - 0x70]
sbb bl, bl
xor eax, eax
xor edi, edi
push eax
inc edi
push edi
call fcn.004049c9
add bl, 1
je 0x43c75f
xor eax, eax
mov bl, al
jmp 0x43c7e3
push 0x10
pop ebx
cmp dword [esi + 0x14], ebx
jb 0x43c76b
mov edx, dword [esi]
jmp 0x43c76d
mov edx, esi
push dword [esi + 0x10]
lea ecx, [ebp - 0x40]
call fcn.0042346d
pop ecx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], ebx
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x43c7ab
xor ebx, ebx
lea ecx, [ebp - 0x40]
push ebx
push edi
call fcn.004049c9
jmp 0x43c7e3
mov edi, dword [esi + 0x10]
cmp dword [esi + 0x14], ebx
jb 0x43c7b5
mov esi, dword [esi]
mov ecx, dword [ebp - 0x88]
call fcn.00407590
push edi
push esi
push 3
xor ebx, ebx
push ebx
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor eax, eax
lea ecx, [ebp - 0x40]
push ebx
inc eax
push eax
call fcn.004049c9
xor eax, eax
lea ebx, [eax + 1]
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xa
call fcn.004225a8
xor eax, eax
jmp 0x43c7f7
xor eax, eax
mov bl, al
push eax
xor eax, eax
lea ecx, [ebp - 0x58]
inc eax
push eax
call fcn.004049c9
xor eax, eax
lea ecx, [ebp - 0x28]
push eax
inc eax
push eax
call fcn.004049c9
mov al, bl
call fcn.004ac569
ret