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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x424344
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x42fab0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov ecx, 0x3e8
mov eax, vtable.CCArray.0
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x74], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x94], eax
push 5
lea eax, [ebp - 0xa8]
push 0x42f2a8
push eax
mov byte [ebp - 4], 1
call fcn.00407560
add esp, 0xc
mov ecx, dword [eax + 4]
cmp ecx, ebx
mov byte [ebp - 4], 2
je 0x4076a1
add ecx, 0xffffffff
push ecx
mov ecx, dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x74]
call fcn.0040d680
jmp 0x4076aa
push ebx
lea ecx, [ebp - 0x74]
call fcn.004011f0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 1
call fcn.004013f0
cmp dword [ebp - 0x70], ebx
mov eax, dword [ebp - 0x64]
jne 0x4076c6
mov eax, 0x425480
lea edx, [ebp - 0xac]
push edx
lea ecx, [ebp - 0x80]
push ecx
push ebx
push 7
push ebx
push ebx
push ebx
push eax
push accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push 0xd
lea edx, [ebp - 0xa8]
push 0x42f2b0
push edx
call fcn.00407560
add esp, 0xc
mov ecx, dword [eax + 4]
cmp ecx, ebx
mov byte [ebp - 4], 3
je 0x407716
mov eax, dword [eax + 0x10]
add ecx, 0xffffffff
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.0040d680
jmp 0x40771f
push ebx
lea ecx, [ebp - 0x74]
call fcn.004011f0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 1
call fcn.004013f0
cmp dword [ebp - 0x70], ebx
mov eax, dword [ebp - 0x64]
jne 0x40773b
mov eax, 0x425480
lea ecx, [ebp - 0xb4]
push ecx
lea edx, [ebp - 0x60]
push edx
mov edx, dword [ebp - 0x80]
lea ecx, [ebp - 0xb0]
push ecx
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jne 0x407770
mov eax, 1
mov dword [ebp - 0x7c], eax
jmp 0x407810
push 0x12
lea eax, [ebp - 0xa8]
push 0x42f2c0
push eax
call fcn.00407560
add esp, 0xc
mov ecx, dword [eax + 4]
cmp ecx, ebx
mov byte [ebp - 4], 4
je 0x4077a6
add ecx, 0xffffffff
push ecx
mov ecx, dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x94]
call fcn.0040d680
jmp 0x4077b2
push ebx
lea ecx, [ebp - 0x94]
call fcn.004011f0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 1
call fcn.004013f0
mov eax, dword [ebp - 0x90]
cmp eax, ebx
je 0x4077d6
mov ecx, dword [ebp - 0x84]
lea edx, [eax - 1]
jmp 0x4077dd
xor edx, edx
mov ecx, 0x425480
cmp dword [ebp - 0x70], ebx
mov eax, dword [ebp - 0x64]
jne 0x4077ea
mov eax, 0x425480
add edx, 1
push edx
mov edx, dword [ebp - 0x80]
push ecx
push 1
push ebx
push eax
push edx
call edi
push ebx
call fcn.004149ca
add eax, 0x278d00
push ebx
mov dword [ebp - 0x7c], eax
call fcn.004149ca
add esp, 8
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x7c]
push eax
push str.iopjfrp_kiss_ee
call fcn.00411ae0
add esp, 8
call fcn.00407300
push 8
lea ecx, [ebp - 0x7c]
push ecx
push 3
push ebx
mov esi, eax
push str.ExpDate
push esi
call edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], bl
call fcn.004013f0
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
call fcn.004013f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041449d
mov esp, ebp
pop ebp
ret