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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466f3c
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x480494]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x144], 0
lea eax, [ebp - 0x124]
push eax
push 1
push 0
push str.http_shellopencommand
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
je 0x402ed4
lea ecx, [ebp - 0x138]
call fcn.00401e10
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._GetDefaultBrowserByXP__invoke_RegOpenKeyEx_failure._errid_u_n
lea ecx, [ebp - 0x138]
push ecx
call fcn.00403df0
add esp, 0xc
lea ecx, [ebp - 0x138]
call fcn.00402190
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x473ef8
mov ecx, dword [ebp + 8]
call fcn.00401e50
mov edx, dword [ebp - 0x144]
or edx, 1
mov dword [ebp - 0x144], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.00401ed0
mov eax, dword [ebp + 8]
jmp 0x4030a2
mov byte [ebp - 0x11c], 0
push 0x103
push 0
lea eax, [ebp - 0x11b]
push eax
call fcn.004397b0
add esp, 0xc
mov dword [ebp - 0x120], 0x104
lea ecx, [ebp - 0x120]
push ecx
lea edx, [ebp - 0x11c]
push edx
push 0
push 0
push 0x473e51
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
je 0x402fb4
lea ecx, [ebp - 0x13c]
call fcn.00401e10
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._GetDefaultBrowserByXP__invoke_RegQueryValueEx_failure._errid_u_n
lea ecx, [ebp - 0x13c]
push ecx
call fcn.00403df0
add esp, 0xc
lea ecx, [ebp - 0x13c]
call fcn.00402190
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0x124]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x473f4c
mov ecx, dword [ebp + 8]
call fcn.00401e50
mov eax, dword [ebp - 0x144]
or eax, 1
mov dword [ebp - 0x144], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.00401ed0
mov eax, dword [ebp + 8]
jmp 0x4030a2
mov ecx, dword [ebp - 0x124]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x11c]
push edx
lea ecx, [ebp - 0x134]
call fcn.00401e50
mov dword [ebp - 4], 2
push 0
push 0x22
lea ecx, [ebp - 0x134]
call fcn.00403b90
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x12c]
add eax, 1
push eax
push 0x22
lea ecx, [ebp - 0x134]
call fcn.00403b90
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x130]
sub ecx, dword [ebp - 0x12c]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0x12c]
add edx, 1
push edx
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x134]
call fcn.00402260
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0x14c], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14c]
push edx
lea ecx, [ebp - 0x134]
call fcn.00401ef0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x140]
call fcn.00401ed0
lea eax, [ebp - 0x134]
push eax
mov ecx, dword [ebp + 8]
call fcn.00401e30
mov ecx, dword [ebp - 0x144]
or ecx, 1
mov dword [ebp - 0x144], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
call fcn.00401ed0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00437ab2
mov esp, ebp
pop ebp
ret