Function at 0x443fc7
Capabilities:
Set registry value

Disassembly:
push 0x7c
mov eax, 0x6046e0
call fcn.004f0658
mov ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [ebx + 0x70]
push eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x38], 1
and dword [ebp - 4], 0
call fcn.004468d2
mov byte [ebp - 0x15], 0
test edi, edi
je 0x44429e
mov eax, dword [ebx]
mov esi, dword [eax + 0x50]
lea eax, [ebp - 0x15]
push eax
push edi
push ebx
mov ecx, esi
call dword [0x62275c]
call esi
mov esi, eax
test esi, esi
js 0x44428a
cmp byte [ebp - 0x15], 0
jne 0x44428a
and dword [ebp - 0x40], 0
lea eax, [ebp - 0x70]
and dword [ebp - 0x34], 0
mov ecx, ebx
push eax
call 0x446a39
cmp dword [eax + 0x14], 8
jb 0x444045
mov eax, dword [eax]
xor edx, edx
lea ecx, [ebp - 0x40]
push edx
push ecx
push edx
mov esi, 0x2001f
push esi
push edx
push edx
push edx
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea ecx, [ebp - 0x70]
mov edi, eax
call fcn.00405795
test edi, edi
jne 0x44427c
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x40], edi
lea eax, [ebp - 0x70]
push eax
mov ecx, ebx
call fcn.00446992
cmp dword [eax + 0x14], 8
jb 0x444093
mov eax, dword [eax]
xor edx, edx
lea ecx, [ebp - 0x34]
push edx
push ecx
push edx
push esi
push 1
push edx
push edx
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea ecx, [ebp - 0x70]
mov edi, eax
call fcn.00405795
test edi, edi
jne 0x44427c
xor ecx, ecx
xor eax, eax
push 7
pop edi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
push ecx
push ecx
push dword [ebp - 0x34]
call fcn.0044731b
mov esi, eax
test esi, esi
js 0x444232
cmp dword [ebp - 0x20], 0
push dword [ebp - 0x14]
jbe 0x444204
and dword [ebp - 0x88], 0
lea ecx, [ebp - 0x88]
and dword [ebp - 0x78], 0
xor eax, eax
mov dword [ebp - 0x74], edi
mov word [ebp - 0x88], ax
call fcn.0040c8c9
and dword [ebp - 0x58], 0
lea ecx, [ebp - 0x58]
and dword [ebp - 0x48], 0
xor eax, eax
push 0x62af1c
mov byte [ebp - 4], 2
mov dword [ebp - 0x44], edi
mov word [ebp - 0x58], ax
call fcn.0040c8c9
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x70]
call fcn.00441f62
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
push dword [ebp - 0x60]
cmovae eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x30]
push eax
mov byte [ebp - 4], 4
call fcn.0040c504
lea ecx, [ebp - 0x70]
call fcn.00405795
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x4441b7
mov ecx, dword [ebp - 0x58]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x14], ecx
cmp eax, 0x1000
jb 0x4441ae
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00405741
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call fcn.0041b169
pop ecx
pop ecx
and dword [ebp - 0x48], 0
xor eax, eax
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x44], edi
cmp eax, 8
jb 0x44420c
mov ecx, dword [ebp - 0x88]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x38], ecx
cmp eax, 0x1000
jb 0x4441f9
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00405741
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x38]
push eax
push ecx
call fcn.0041b169
pop ecx
pop ecx
jmp 0x44420c
lea ecx, [ebp - 0x30]
call fcn.0040c8c9
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x1c], 8
lea ecx, [eax*2 + 2]
push ecx
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
push 1
push 0
push 0
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x1c]
cmp eax, 8
jb 0x44428a
mov ecx, dword [ebp - 0x30]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x38], ecx
cmp eax, 0x1000
jb 0x444271
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00405741
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x38]
push eax
push ecx
call fcn.0041b169
pop ecx
pop ecx
jmp 0x44428a
movzx esi, di
or esi, 0x80070000
test edi, edi
cmovle esi, edi
lea eax, [ebx + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
call fcn.004f0607
ret 4
push 0x80004005
call fcn.004056b0
int3