Function at 0x41ee80
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x456d10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x24]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
mov dword [0x458f78], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [0x458f7c], eax
mov edi, 1
mov eax, dword [ebp + 0x28]
push ecx
mov dword [0x458f80], eax
mov eax, dword [ebp + 0x18]
mov dword [0x458de0], eax
mov eax, dword [ebp + 0x1c]
push 0x64
push 0x458de8
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0x104
mov dword [ebp - 0x10c], edi
mov dword [0x458f74], eax
call fcn.00427b16
mov eax, dword [0x458de0]
add esp, 0xc
cmp eax, 3
je 0x41ef29
cmp eax, 4
je 0x41ef29
mov dword [0x458e64], str.e_5i
mov dword [0x458f6c], 0x4550a0
jmp 0x41ef3d
mov dword [0x458e64], 0x4550a8
mov dword [0x458f6c], 0x4550ac
push esi
lea eax, [ebp - 0x108]
push str._sPrinterInfo
push eax
call fcn.00404cf0
lea eax, [ebp - 0x108]
push eax
push reloc.WS2_32.dll_bind
call fcn.0041b470
mov esi, eax
add esp, 0x14
mov dword [ebp - 0x110], esi
test esi, esi
jne 0x41ef7f
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004265fb
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [ebp - 0x10c]
push eax
push str.EnablePrintMonitor
push esi
call fcn.0041b4a0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x41efb0
push 0x44e928
push ebx
call fcn.004266cb
add esp, 8
mov edi, eax
neg edi
sbb edi, edi
inc edi
push ebx
call fcn.0041b930
lea eax, [ebp - 0x10c]
push eax
push str.RecordPrintJobs
push esi
call fcn.0041b4a0
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x41efe9
push 0x44e928
push ebx
call fcn.004266cb
add esp, 8
neg eax
sbb eax, eax
inc eax
mov dword [0x458f70], eax
push ebx
call fcn.0041b930
add esp, 4
test edi, edi
je 0x41f1ce
lea eax, [ebp - 0x10c]
push eax
push str.SpoolDir
push esi
call fcn.0041b4a0
mov dword [0x458e58], eax
lea eax, [ebp - 0x10c]
push eax
push str.SaveJobs
push esi
call fcn.0041b4a0
mov dword [0x458e5c], eax
lea eax, [ebp - 0x10c]
push eax
push str.SaveDir
push esi
call fcn.0041b4a0
push dword [ebp - 0x120]
mov dword [0x458e60], eax
push dword [0x458e58]
push str._s_s.
push 0x458e68
call fcn.00404cf0
add esp, 0x34
push dword [ebp - 0x11c]
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x458e54], eax
test eax, eax
jne 0x41f084
xor edi, edi
call fcn.0041ea90
jmp 0x41f1ce
xor ebx, ebx
lea eax, [ebp - 0x128]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x108]
push eax
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x41f1be
mov edi, edi
cmp ebx, 0x14
jae 0x41f1be
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x108]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x41f17c
push 0x14
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x41f1c8
lea eax, [ebp - 0x10c]
xorps xmm0, xmm0
push eax
movdqu xmmword [esi], xmm0
mov dword [esi + 0x10], 0
push str.FormFeed
push dword [ebp - 0x118]
call fcn.0041b4a0
lea ecx, [ebp - 0x108]
mov dword [esi + 0x10], eax
add esp, 0xc
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41f120
sub ecx, edx
dec ecx
cmp ecx, 0x104
jae 0x41f1e8
mov byte [ebp + ecx - 0x108], al
lea eax, [ebp - 0x108]
push eax
lea eax, [esi + 4]
push 0xa
push eax
call fcn.00427b16
add esp, 0xc
mov edi, 1
test ebx, ebx
jne 0x41f169
mov dword [0x458e4c], esi
mov dword [0x458de4], esi
jmp 0x41f170
mov eax, dword [0x458e50]
mov dword [eax], esi
mov dword [0x458e50], esi
mov esi, dword [ebp - 0x110]
push dword [ebp - 0x118]
mov dword [ebp - 0x114], 0x104
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x128]
inc ebx
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x108]
push eax
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x41f0b0
xor eax, eax
cmp eax, ebx
sbb edi, edi
neg edi
jmp 0x41f1ce
mov esi, dword [ebp - 0x110]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, edi
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.004265fb
mov esp, ebp
pop ebp
ret
call fcn.00428745
int3