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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x459a08
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x4724e4]
xor eax, ebp
mov dword [ebp - 0x44], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x260], ecx
mov dword [ebp - 0x18], 1
cmp dword [ebp + 0x10], 1
jne 0x403510
call fcn.00410710
test eax, eax
je 0x403504
mov eax, dword [ebp - 0x18]
or eax, 0x100
mov dword [ebp - 0x18], eax
jmp 0x403510
mov ecx, dword [ebp - 0x18]
or ecx, 0x200
mov dword [ebp - 0x18], ecx
cmp dword [ebp + 0x10], 0
setne dl
movzx eax, dl
push eax
lea ecx, [ebp - 0x24]
call fcn.00410760
mov dword [ebp - 4], 0
push 0x460c3b
lea ecx, [ebp - 0x2c]
call fcn.00402580
mov byte [ebp - 4], 1
push 0x460c4b
lea ecx, [ebp - 0x14]
call fcn.00402580
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
jne 0x403590
mov dword [ebp - 0x258], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00403140
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00403140
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004107d0
mov eax, dword [ebp - 0x258]
jmp 0x403cb2
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x10], 0x104
mov dword [ebp - 0x30], 0
jmp 0x4035b0
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp + 0xc]
jge 0x403c7c
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x41c
mov edx, dword [ebp + 8]
cmp dword [edx + ecx], reloc.OLEAUT32.dll_SysReAllocString
jne 0x4035e0
push 0x465080
lea ecx, [ebp - 0x14]
call fcn.004030a0
jmp 0x403626
mov eax, dword [ebp - 0x30]
imul eax, eax, 0x41c
mov ecx, dword [ebp + 8]
cmp dword [ecx + eax], 0x80000000
jne 0x403604
push 0x465094
lea ecx, [ebp - 0x14]
call fcn.004030a0
jmp 0x403626
mov edx, dword [ebp - 0x30]
imul edx, edx, 0x41c
mov eax, dword [ebp + 8]
cmp dword [eax + edx], 0x80000001
jne 0x403626
push 0x4650a8
lea ecx, [ebp - 0x14]
call fcn.004030a0
mov dword [ebp - 0x10], 0x104
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
push 0
mov eax, dword [ebp - 0x30]
imul eax, eax, 0x41c
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 4]
push edx
mov eax, dword [ebp - 0x30]
imul eax, eax, 0x41c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x4036c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
imul eax, eax, 0x41c
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 4]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0x4650bc
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00402860
add esp, 0x10
lea ecx, [ebp - 0x2c]
call fcn.00412a00
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x403c7c
mov eax, dword [ebp - 0x30]
imul eax, eax, 0x41c
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + eax + 0x10c]
test edx, edx
je 0x403c4a
mov eax, dword [ebp - 0x30]
imul eax, eax, 0x41c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax + 0x108]
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x40], 4
jne 0x403701
mov dword [ebp - 0x10], 4
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x41c
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x210]
push eax
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x41c
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x108]
push eax
push 0
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x41c
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x10c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x4037b5
mov edx, dword [ebp - 0x30]
imul edx, edx, 0x41c
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0x10c]
push ecx
mov edx, dword [ebp - 0x30]
imul edx, edx, 0x41c
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 4]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 0x4650d0
lea eax, [ebp - 0x2c]
push eax
call fcn.00402860
add esp, 0x14
lea ecx, [ebp - 0x2c]
call fcn.00412a00
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x403c7c
mov edx, dword [ebp - 0x30]
imul edx, edx, 0x41c
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0x210]
mov dword [ebp - 0x264], ecx
mov edx, dword [ebp - 0x264]
add edx, 1
mov dword [ebp - 0x268], edx
mov eax, dword [ebp - 0x264]
mov cl, byte [eax]
mov byte [ebp - 0x269], cl
add dword [ebp - 0x264], 1
cmp byte [ebp - 0x269], 0
jne 0x4037dd
mov edx, dword [ebp - 0x264]
sub edx, dword [ebp - 0x268]
mov dword [ebp - 0x270], edx
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x41c
add ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x3c]
movsx eax, byte [ecx + edx + 0x20f]
cmp eax, 0x22
jne 0x403852
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x41c
add ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x3c]
mov byte [ecx + edx + 0x20f], 0
mov eax, dword [ebp - 0x3c]
sub eax, 1
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x41c
mov edx, dword [ebp + 8]
movsx eax, byte [edx + ecx + 0x210]
cmp eax, 0x22
jne 0x4038c2
mov ecx, dword [ebp - 0x3c]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0x30]
imul edx, edx, 0x41c
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0x211]
push ecx
mov edx, dword [ebp - 0x30]
imul edx, edx, 0x41c
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0x210]
push ecx
call fcn.00448140
add esp, 0xc
mov edx, dword [ebp - 0x3c]
sub edx, 1
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x30]
imul eax, eax, 0x41c
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x3c]
mov byte [eax + ecx + 0x210], 0
mov edx, dword [ebp - 0x30]
imul edx, edx, 0x41c
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx + 0x418]
cmp ecx, 1
jne 0x403c4a
cmp dword [ebp - 0x40], 4
jne 0x403983
push 4
mov edx, dword [ebp - 0x30]
imul edx, edx, 0x41c
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0x314]
push ecx
mov edx, dword [ebp - 0x30]
imul edx, edx, 0x41c
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0x210]
push ecx
call fcn.00442a9e
add esp, 0xc
test eax, eax
je 0x40397e
mov edx, dword [ebp - 0x30]
imul edx, edx, 0x41c
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0x10c]
push ecx
mov edx, dword [ebp - 0x30]
imul edx, edx, 0x41c
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 4]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 0x4650ec
lea eax, [ebp - 0x2c]
push eax
call fcn.00402860
add esp, 0x14
lea ecx, [ebp - 0x2c]
call fcn.00412a00
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x28], 0
jmp 0x403c7c
jmp 0x403c4a
mov edx, dword [ebp - 0x30]
imul edx, edx, 0x41c
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx + 0x419]
cmp ecx, 1
jne 0x403a8e
mov byte [ebp - 0x14c], 0
push 0x103
push 0
lea edx, [ebp - 0x14b]
push edx
call fcn.004463a0
add esp, 0xc
lea eax, [ebp - 0x14c]
push eax
mov ecx, dword [ebp - 0x260]
add ecx, 4
call fcn.00408e40
push str.ngsrv_
lea ecx, [ebp - 0x14c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov edx, dword [ebp - 0x30]
imul edx, edx, 0x41c
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0x314]
push ecx
lea edx, [ebp - 0x14c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x14c]
push eax
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x41c
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x403a89
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x41c
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x10c]
push eax
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x41c
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 4]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0x465110
lea edx, [ebp - 0x2c]
push edx
call fcn.00402860
add esp, 0x14
lea ecx, [ebp - 0x2c]
call fcn.00412a00
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x28], 0
jmp 0x403c7c
jmp 0x403c4a
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x41c
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x314]
push eax
push str.ngcsp_qdccb.DLL
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x403ad8
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x41c
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x314]
push eax
push 0x46513c
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x403bbc
mov byte [ebp - 0x254], 0
push 0x103
push 0
lea ecx, [ebp - 0x253]
push ecx
call fcn.004463a0
add esp, 0xc
lea edx, [ebp - 0x254]
push edx
mov ecx, dword [ebp - 0x260]
add ecx, 4
call fcn.00408d30
push 0x46514c
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x41c
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x314]
push eax
lea ecx, [ebp - 0x254]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [ebp - 0x254]
push edx
mov eax, dword [ebp - 0x30]
imul eax, eax, 0x41c
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x403bb7
lea eax, [ebp - 0x254]
push eax
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x41c
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x210]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0x465150
lea edx, [ebp - 0x2c]
push edx
call fcn.00402860
add esp, 0x14
lea ecx, [ebp - 0x2c]
call fcn.00412a00
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x28], 0
jmp 0x403c7c
jmp 0x403c4a
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x41c
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x314]
push eax
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x41c
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x403c4a
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x41c
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x10c]
push eax
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x41c
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 4]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0x46516c
lea edx, [ebp - 0x2c]
push edx
call fcn.00402860
add esp, 0x14
lea ecx, [ebp - 0x2c]
call fcn.00412a00
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x28], 0
jmp 0x403c7c
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x104
push 0
mov edx, dword [ebp - 0x30]
imul edx, edx, 0x41c
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0x210]
push ecx
call fcn.004463a0
add esp, 0xc
jmp 0x4035a7
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x25c], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00403140
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00403140
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004107d0
mov eax, dword [ebp - 0x25c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x44]
xor ecx, ebp
call fcn.00441f6e
mov esp, ebp
pop ebp
ret 0xc