Function at 0x418b80
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4565d1
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x4706a0]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push esi
push edi
mov eax, dword [0x4706a0]
xor eax, esp
push eax
lea eax, [esp + 0x248]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
push str.SOFTWAREEPSONEPSON_Manual_Launcher
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], esi
call fcn.00404700
push 0x208
lea ecx, [esp + 0x38]
push esi
mov dword [esp + 0x258], esi
push ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0x104
call fcn.0043aae0
add esp, 0xc
lea edi, [esp + 0x14]
mov dword [esp + 0x14], esi
call fcn.00401c40
cmp eax, 1
jne 0x418c38
movzx eax, word [esp + 0x14]
cmp eax, 0x8664
je 0x418c26
cmp eax, 0xaa64
jne 0x418c38
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push edx
push 0x20119
push esi
push eax
jmp 0x418c48
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push 0x20019
push esi
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [esp + 0x18]
push esi
push esi
push esi
push esi
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x48]
push ecx
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x418dbe
mov eax, dword [esp + 0x28]
mov esi, dword [eax + 0xd4]
inc dword [esp + 0x20]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub esi, 0x10
mov dword [esp + 0x34], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
jl 0x418cb1
cmp eax, dword [esi]
jne 0x418cb1
mov edi, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x418cec
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x418e1e
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.00438646
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
push ecx
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x25c], 1
call fcn.00404700
mov byte [esp + 0x258], 0
call fcn.00406a50
cmp al, 1
jne 0x418d8a
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
call fcn.00404700
push 0x461028
push 0x461020
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x25c], 2
call fcn.004039b0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x98]
push edx
push 0xffffffffffffffff
push 0x181
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [esp + 0x250], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418d8a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x48]
push edx
push eax
push ecx
mov dword [esp + 0x44], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x418c75
xor esi, esi
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x418dcd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x250], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418df8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x248]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.00438558
mov esp, ebp
pop ebp
ret 4
call fcn.00404a90
int3