Function at 0x41a633
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d573
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x11cc
call fcn.0042b010
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x42c], 0
mov byte [ebp - 0x430], 0
mov dword [ebp - 0x96c], 0
mov dword [ebp - 0x740], 0
mov dword [ebp - 0x73c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x328], 4
mov dword [ebp - 0x968], 0
mov dword [ebp - 0x760], 0
lea ecx, [ebp - 0x14]
call fcn.00404590
mov dword [ebp - 4], 0
mov byte [ebp - 0x634], 0
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x633]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 0x10]
and eax, 0xff
test eax, eax
je 0x41ae7e
push 0xff
push 0
lea ecx, [ebp - 0x124]
push ecx
call fcn.0042aa90
add esp, 0xc
mov byte [ebp - 4], 1
mov dword [ebp - 0x96c], 0
push 0x12
push 0
push 0
push 0x44fc70
call dword [0x46cf20]
mov dword [ebp - 0x11cc], eax
mov edx, dword [ebp - 0x11cc]
mov dword [ebp - 0x96c], edx
jmp 0x41a797
mov dword [ebp - 4], 0
cmp dword [ebp - 0x96c], 0xffffffff
jne 0x41a800
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x974], eax
mov eax, dword [ebp - 0x974]
push eax
push 0x462a38
lea ecx, [ebp - 0x124]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 0x124]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 0x11b0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0043de93
mov eax, dword [ebp - 0x11b0]
jmp 0x41b14c
mov dword [ebp - 0x75c], 0x1c
mov dword [ebp - 0x434], 0
jmp 0x41a825
mov eax, dword [ebp - 0x434]
add eax, 1
mov dword [ebp - 0x434], eax
push 0x100
push 0
lea ecx, [ebp - 0x428]
push ecx
call fcn.0042aa90
add esp, 0xc
push 0x100
push 0
lea edx, [ebp - 0x734]
push edx
call fcn.0042aa90
add esp, 0xc
push 0x200
push 0
lea eax, [ebp - 0x964]
push eax
call fcn.0042aa90
add esp, 0xc
push 0x200
push 0
lea ecx, [ebp - 0x324]
push ecx
call fcn.0042aa90
add esp, 0xc
mov byte [ebp - 0x42c], 0
mov byte [ebp - 0x430], 0
lea edx, [ebp - 0x75c]
push edx
mov eax, dword [ebp - 0x434]
push eax
push 0x44fc70
push 0
mov ecx, dword [ebp - 0x96c]
push ecx
call dword [0x46cf24]
mov dword [ebp - 0x1c], eax
push 0x462a70
call fcn.00401000
add esp, 4
cmp dword [ebp - 0x1c], 0
jne 0x41a8d5
push 0x462a9c
call fcn.00401000
add esp, 4
jmp 0x41add0
push 0x462b00
call fcn.00401000
add esp, 4
push 0x20019
push 0
lea edx, [ebp - 0x75c]
push edx
mov eax, dword [ebp - 0x96c]
push eax
call dword [0x46cf30]
mov dword [ebp - 0x764], eax
cmp dword [ebp - 0x764], 0xffffffff
jne 0x41a91e
push 0x462b2c
call fcn.00401000
add esp, 4
jmp 0x41a816
mov dword [ebp - 0x328], 4
push 0x200
push 0
lea ecx, [ebp - 0x634]
push ecx
call fcn.0042aa90
add esp, 0xc
lea edx, [ebp - 0x328]
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 0
push 0x462b60
mov edx, dword [ebp - 0x764]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x738], eax
cmp dword [ebp - 0x738], 0
je 0x41a982
push 0x462b6c
call fcn.00401000
add esp, 4
jmp 0x41a816
mov dword [ebp - 0x328], 0xff
lea eax, [ebp - 0x328]
push eax
lea ecx, [ebp - 0x634]
push ecx
lea edx, [ebp - 0x20]
push edx
push 0
push 0x462b8c
mov eax, dword [ebp - 0x764]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x738], eax
cmp dword [ebp - 0x738], 0
je 0x41a9f5
push 0x462b98
call fcn.00401000
add esp, 4
lea ecx, [ebp - 0x634]
push ecx
call fcn.0042a790
add esp, 4
test eax, eax
jne 0x41a9f5
push 0x462bb8
lea edx, [ebp - 0x634]
push edx
call fcn.0042a2c0
add esp, 8
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x634]
push ecx
push 0x462bbc
lea edx, [ebp - 0x324]
push edx
call fcn.0042ada4
add esp, 0x10
push 0
lea eax, [ebp - 0x740]
push eax
push 0
push 0
lea ecx, [ebp - 0x75c]
push ecx
mov edx, dword [ebp - 0x96c]
push edx
call dword [0x46cf2c]
mov eax, dword [ebp - 0x740]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x41aaad
mov ecx, dword [ebp - 0x96c]
push ecx
call dword [0x46cf34]
mov edx, dword [ebp - 0x764]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x96c], 0
mov eax, dword [ebp - 0x24]
push eax
push 0x462bc4
call fcn.00401000
add esp, 8
mov dword [ebp - 0x11b4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0043de93
mov eax, dword [ebp - 0x11b4]
jmp 0x41b14c
mov ecx, dword [ebp - 0x24]
mov dword [ecx], 5
push 0
push 0
mov edx, dword [ebp - 0x740]
push edx
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x75c]
push ecx
mov edx, dword [ebp - 0x96c]
push edx
call dword [0x46cf2c]
test eax, eax
jne 0x41ab45
mov eax, dword [ebp - 0x24]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0x96c]
push ecx
call dword [0x46cf34]
mov dword [ebp - 0x96c], 0
push 0x462c00
call fcn.00401000
add esp, 4
mov edx, dword [ebp - 0x764]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x11b8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0043de93
mov eax, dword [ebp - 0x11b8]
jmp 0x41b14c
mov dword [ebp - 0x978], 0
jmp 0x41ab60
mov eax, dword [ebp - 0x978]
add eax, 1
mov dword [ebp - 0x978], eax
mov ecx, 0x46ce60
call fcn.0041b610
cmp dword [ebp - 0x978], eax
jae 0x41aba0
mov ecx, dword [ebp - 0x24]
add ecx, 4
push ecx
mov edx, dword [ebp - 0x978]
push edx
mov ecx, 0x46ce60
call fcn.0041b650
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x41ab9e
mov byte [ebp - 0x42c], 1
jmp 0x41aba0
jmp 0x41ab51
mov eax, dword [ebp - 0x42c]
and eax, 0xff
test eax, eax
jne 0x41adab
mov dword [ebp - 0x97c], 0
lea ecx, [ebp - 0xd80]
call fcn.0041b520
push 0x200
push 0
lea ecx, [ebp - 0xd80]
push ecx
call fcn.0042aa90
add esp, 0xc
mov edx, dword [ebp - 0x24]
add edx, 4
push edx
call fcn.0042a790
add esp, 4
cmp eax, 0x200
jae 0x41ac0b
mov eax, dword [ebp - 0x24]
add eax, 4
push eax
call fcn.0042a790
add esp, 4
mov dword [ebp - 0x11d0], eax
jmp 0x41ac15
mov dword [ebp - 0x11d0], 0x1ff
mov ecx, dword [ebp - 0x11d0]
push ecx
mov edx, dword [ebp - 0x24]
add edx, 4
push edx
lea eax, [ebp - 0xd80]
push eax
call fcn.0042a840
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
mov ecx, dword [ebp - 0x24]
add ecx, 4
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x97c], eax
cmp dword [ebp - 0x73c], 0xffffffff
jne 0x41ad00
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xd84], eax
mov edx, dword [ebp - 0xd84]
push edx
push 0x462c38
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 0x96c], 0
je 0x41acaf
mov edx, dword [ebp - 0x96c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x24]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0x96c]
push ecx
call dword [0x46cf34]
mov edx, dword [ebp - 0x764]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x11bc], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0043de93
mov eax, dword [ebp - 0x11bc]
jmp 0x41b14c
lea ecx, [ebp - 0x14]
call fcn.0043de1e
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x97c]
push ecx
call fcn.0041b15d
add esp, 8
test eax, eax
je 0x41ad28
mov byte [ebp - 0x980], 1
jmp 0x41ad2f
mov byte [ebp - 0x980], 0
push 0x200
push 0
lea edx, [ebp - 0xb80]
push edx
call fcn.0042aa90
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.00404610
cmp eax, 0x200
jae 0x41ad64
lea ecx, [ebp - 0x14]
call fcn.00404610
mov dword [ebp - 0x11d4], eax
jmp 0x41ad6e
mov dword [ebp - 0x11d4], 0x1ff
mov eax, dword [ebp - 0x11d4]
push eax
lea ecx, [ebp - 0x14]
call fcn.00404600
push eax
lea ecx, [ebp - 0xb80]
push ecx
call fcn.0042a840
add esp, 0xc
lea edx, [ebp - 0xd80]
push edx
mov ecx, 0x46ce60
call fcn.0041b670
mov eax, dword [ebp - 0x97c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x24]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [ebp - 0x764]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41a816
cmp dword [ebp - 0x96c], 0
je 0x41ae50
mov eax, dword [ebp - 0x96c]
push eax
call dword [0x46cf34]
test eax, eax
jne 0x41ae50
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xd88], eax
mov ecx, dword [ebp - 0xd88]
push ecx
push 0x462c80
lea edx, [ebp - 0x124]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x96c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x11c0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0043de93
mov eax, dword [ebp - 0x11c0]
jmp 0x41b14c
mov dword [ebp - 0x96c], 0
mov dword [ebp - 0x11c4], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0043de93
mov eax, dword [ebp - 0x11c4]
jmp 0x41b14c
mov dword [ebp - 0xd90], 0
mov byte [ebp - 0xd8c], 0
mov edx, dword [ebp + 8]
mov dword [ebp - 0x1198], edx
mov eax, dword [ebp - 0x1198]
cmp dword [eax + 4], 5
jne 0x41b12d
mov ecx, dword [ebp - 0x1198]
mov dword [ebp - 0x11a0], ecx
lea ecx, [ebp - 0x119c]
call fcn.00404590
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x11a0]
add edx, 0x1c
push edx
lea ecx, [ebp - 0x119c]
call fcn.0043e01c
mov eax, dword [ebp + 0xc]
and eax, 0xff
test eax, eax
je 0x41b0ab
lea ecx, [ebp - 0x1194]
call fcn.0041b520
push 0x200
push 0
lea ecx, [ebp - 0x1194]
push ecx
call fcn.0042aa90
add esp, 0xc
lea ecx, [ebp - 0x119c]
call fcn.00404610
cmp eax, 0x200
jae 0x41af2e
lea ecx, [ebp - 0x119c]
call fcn.00404610
mov dword [ebp - 0x11d8], eax
jmp 0x41af38
mov dword [ebp - 0x11d8], 0x1ff
mov edx, dword [ebp - 0x11d8]
push edx
lea ecx, [ebp - 0x119c]
call fcn.00404600
push eax
lea eax, [ebp - 0x1194]
push eax
call fcn.0042a840
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
mov ecx, dword [ebp - 0x11a0]
add ecx, 0x1c
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xd90], eax
lea ecx, [ebp - 0x14]
call fcn.0043de1e
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0xd90]
push eax
call fcn.0041b15d
add esp, 8
test eax, eax
je 0x41afaa
mov byte [ebp - 0xd94], 1
jmp 0x41afb1
mov byte [ebp - 0xd94], 0
push 0x200
push 0
lea ecx, [ebp - 0xf94]
push ecx
call fcn.0042aa90
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.00404610
cmp eax, 0x200
jae 0x41afe6
lea ecx, [ebp - 0x14]
call fcn.00404610
mov dword [ebp - 0x11dc], eax
jmp 0x41aff0
mov dword [ebp - 0x11dc], 0x1ff
mov edx, dword [ebp - 0x11dc]
push edx
lea ecx, [ebp - 0x14]
call fcn.00404600
push eax
lea eax, [ebp - 0xf94]
push eax
call fcn.0042a840
add esp, 0xc
mov dword [ebp - 0x11a4], 0
jmp 0x41b02a
mov ecx, dword [ebp - 0x11a4]
add ecx, 1
mov dword [ebp - 0x11a4], ecx
mov ecx, 0x46ce60
call fcn.0041b610
cmp dword [ebp - 0x11a4], eax
jae 0x41b068
mov edx, dword [ebp - 0x11a4]
push edx
mov ecx, 0x46ce60
call fcn.0041b650
push eax
lea ecx, [ebp - 0x119c]
call fcn.00413fc0
test eax, eax
jne 0x41b066
mov byte [ebp - 0xd8c], 1
jmp 0x41b068
jmp 0x41b01b
mov eax, dword [ebp - 0xd8c]
and eax, 0xff
test eax, eax
jne 0x41b09c
lea ecx, [ebp - 0x1194]
push ecx
mov ecx, 0x46ce60
call fcn.0041b670
mov edx, dword [ebp - 0x119c]
push edx
push 0x462cb8
call fcn.00401000
add esp, 8
mov eax, dword [ebp - 0xd90]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41b11e
mov ecx, 0x46ce60
call fcn.00406360
mov dword [ebp - 0x11a8], eax
mov ecx, 0x46ce60
call fcn.00404660
cmp dword [ebp - 0x11a8], eax
je 0x41b11e
mov ecx, dword [ebp - 0x11a8]
push ecx
lea ecx, [ebp - 0x119c]
call fcn.00413fc0
test eax, eax
jne 0x41b10a
mov edx, dword [ebp - 0x11a8]
push edx
mov ecx, 0x46ce60
call fcn.0041b6a0
mov eax, dword [ebp - 0x119c]
push eax
push 0x462cec
call fcn.00401000
add esp, 8
jmp 0x41b11e
mov ecx, dword [ebp - 0x11a8]
add ecx, 0x401
mov dword [ebp - 0x11a8], ecx
jmp 0x41b0bb
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x119c]
call fcn.0043de93
mov dword [ebp - 0x11c8], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0043de93
mov eax, dword [ebp - 0x11c8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret