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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4241e4
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x42f8d8]
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.00407790
add esp, 0xc
mov ecx, dword [eax + 4]
cmp ecx, ebx
mov byte [ebp - 4], 2
je 0x4078d1
add ecx, 0xffffffff
push ecx
mov ecx, dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x74]
call fcn.0040d380
jmp 0x4078da
push ebx
lea ecx, [ebp - 0x74]
call fcn.004011f0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 1
call fcn.004013d0
cmp dword [ebp - 0x70], ebx
mov eax, dword [ebp - 0x64]
jne 0x4078f6
mov eax, 0x425478
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 bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push 0xd
lea edx, [ebp - 0xa8]
push 0x42f2b0
push edx
call fcn.00407790
add esp, 0xc
mov ecx, dword [eax + 4]
cmp ecx, ebx
mov byte [ebp - 4], 3
je 0x407946
mov eax, dword [eax + 0x10]
add ecx, 0xffffffff
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.0040d380
jmp 0x40794f
push ebx
lea ecx, [ebp - 0x74]
call fcn.004011f0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 1
call fcn.004013d0
cmp dword [ebp - 0x70], ebx
mov eax, dword [ebp - 0x64]
jne 0x40796b
mov eax, 0x425478
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 0x4079a0
mov eax, 1
mov dword [ebp - 0x7c], eax
jmp 0x407a40
push 0x12
lea eax, [ebp - 0xa8]
push 0x42f2c0
push eax
call fcn.00407790
add esp, 0xc
mov ecx, dword [eax + 4]
cmp ecx, ebx
mov byte [ebp - 4], 4
je 0x4079d6
add ecx, 0xffffffff
push ecx
mov ecx, dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x94]
call fcn.0040d380
jmp 0x4079e2
push ebx
lea ecx, [ebp - 0x94]
call fcn.004011f0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 1
call fcn.004013d0
mov eax, dword [ebp - 0x90]
cmp eax, ebx
je 0x407a06
mov ecx, dword [ebp - 0x84]
lea edx, [eax - 1]
jmp 0x407a0d
xor edx, edx
mov ecx, 0x425478
cmp dword [ebp - 0x70], ebx
mov eax, dword [ebp - 0x64]
jne 0x407a1a
mov eax, 0x425478
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.0041492e
add eax, 0x278d00
push ebx
mov dword [ebp - 0x7c], eax
call fcn.0041492e
add esp, 8
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x7c]
push eax
push str.iopjfrp_kiss_ee
call fcn.004114d0
add esp, 8
call fcn.00407530
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.004013d0
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
call fcn.004013d0
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.00414407
mov esp, ebp
pop ebp
ret