Function at 0x4032a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44cb08
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x463444]
xor eax, ebp
mov dword [ebp - 0x44], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x278], ecx
mov dword [ebp - 0x18], 1
cmp dword [ebp + 0x10], 1
jne 0x403300
call fcn.0040b7b0
test eax, eax
je 0x4032f4
mov eax, dword [ebp - 0x18]
or eax, 0x100
mov dword [ebp - 0x18], eax
jmp 0x403300
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.0040b800
mov dword [ebp - 4], 0
push 0x453b23
lea ecx, [ebp - 0x2c]
call fcn.00402330
mov byte [ebp - 4], 1
push 0x453b2a
lea ecx, [ebp - 0x14]
call fcn.00402330
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
jne 0x403380
mov dword [ebp - 0x258], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00402f30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00402f30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0040b870
mov eax, dword [ebp - 0x258]
jmp 0x403b14
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x10], 0x104
mov dword [ebp - 0x30], 0
jmp 0x4033a0
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp + 0xc]
jge 0x403ade
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x41c
mov edx, dword [ebp + 8]
cmp dword [edx + ecx], reloc.OLEAUT32.dll_SysReAllocString
jne 0x4033d0
push 0x456740
lea ecx, [ebp - 0x14]
call fcn.00402e90
jmp 0x403416
mov eax, dword [ebp - 0x30]
imul eax, eax, 0x41c
mov ecx, dword [ebp + 8]
cmp dword [ecx + eax], 0x80000000
jne 0x4033f4
push 0x456754
lea ecx, [ebp - 0x14]
call fcn.00402e90
jmp 0x403416
mov edx, dword [ebp - 0x30]
imul edx, edx, 0x41c
mov eax, dword [ebp + 8]
cmp dword [eax + edx], 0x80000001
jne 0x403416
push 0x456768
lea ecx, [ebp - 0x14]
call fcn.00402e90
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 0x4034c5
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 0x45677c
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00402610
add esp, 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x25c], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.00403190
mov dword [ebp - 0x27c], eax
mov ecx, 0x479280
call fcn.0040c5a0
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x403ade
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x41c
mov edx, dword [ebp + 8]
movsx eax, byte [edx + ecx + 0x10c]
test eax, eax
je 0x403aac
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x41c
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx + 0x108]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 4
jne 0x403504
mov dword [ebp - 0x10], 4
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x30]
imul edx, edx, 0x41c
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0x210]
push ecx
mov edx, dword [ebp - 0x30]
imul edx, edx, 0x41c
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0x108]
push ecx
push 0
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 - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x4035cb
mov eax, dword [ebp - 0x30]
imul eax, eax, 0x41c
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 0x10c]
push edx
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 0x456790
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00402610
add esp, 0x14
push ecx
mov ecx, esp
mov dword [ebp - 0x260], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.00403190
mov dword [ebp - 0x280], eax
mov ecx, 0x479280
call fcn.0040c5a0
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x403ade
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x41c
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x210]
mov dword [ebp - 0x284], eax
mov ecx, dword [ebp - 0x284]
add ecx, 1
mov dword [ebp - 0x288], ecx
mov edx, dword [ebp - 0x284]
mov al, byte [edx]
mov byte [ebp - 0x289], al
add dword [ebp - 0x284], 1
cmp byte [ebp - 0x289], 0
jne 0x4035f3
mov ecx, dword [ebp - 0x284]
sub ecx, dword [ebp - 0x288]
mov dword [ebp - 0x290], ecx
mov edx, dword [ebp - 0x290]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x30]
imul eax, eax, 0x41c
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x3c]
movsx edx, byte [eax + ecx + 0x20f]
cmp edx, 0x22
jne 0x403668
mov eax, dword [ebp - 0x30]
imul eax, eax, 0x41c
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x3c]
mov byte [eax + ecx + 0x20f], 0
mov edx, dword [ebp - 0x3c]
sub edx, 1
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x30]
imul eax, eax, 0x41c
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + eax + 0x210]
cmp edx, 0x22
jne 0x4036d8
mov eax, dword [ebp - 0x3c]
sub eax, 1
push eax
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x41c
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x211]
push eax
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x41c
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x210]
push eax
call fcn.0043cf50
add esp, 0xc
mov ecx, dword [ebp - 0x3c]
sub ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x30]
imul edx, edx, 0x41c
add edx, dword [ebp + 8]
mov eax, dword [ebp - 0x3c]
mov byte [edx + eax + 0x210], 0
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x41c
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx + 0x418]
cmp eax, 1
jne 0x403aac
cmp dword [ebp - 0x40], 4
jne 0x4037ac
push 4
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 fcn.00438d2b
add esp, 0xc
test eax, eax
je 0x4037a7
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 0x4567ac
lea edx, [ebp - 0x2c]
push edx
call fcn.00402610
add esp, 0x14
push ecx
mov ecx, esp
mov dword [ebp - 0x264], esp
lea eax, [ebp - 0x2c]
push eax
call fcn.00403190
mov dword [ebp - 0x294], eax
mov ecx, 0x479280
call fcn.0040c5a0
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x28], 0
jmp 0x403ade
jmp 0x403aac
mov edx, dword [ebp - 0x30]
imul edx, edx, 0x41c
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx + 0x419]
cmp ecx, 1
jne 0x4038ca
mov byte [ebp - 0x14c], 0
push 0x103
push 0
lea edx, [ebp - 0x14b]
push edx
call fcn.0043b290
add esp, 0xc
lea eax, [ebp - 0x14c]
push eax
mov ecx, dword [ebp - 0x278]
add ecx, 4
call fcn.00406590
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 0x4038c5
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 0x4567d0
lea edx, [ebp - 0x2c]
push edx
call fcn.00402610
add esp, 0x14
push ecx
mov ecx, esp
mov dword [ebp - 0x268], esp
lea eax, [ebp - 0x2c]
push eax
call fcn.00403190
mov dword [ebp - 0x298], eax
mov ecx, 0x479280
call fcn.0040c5a0
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x28], 0
jmp 0x403ade
jmp 0x403aac
mov edx, dword [ebp - 0x30]
imul edx, edx, 0x41c
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0x314]
push ecx
push str.ngcsp_qdccb.DLL
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x403914
mov edx, dword [ebp - 0x30]
imul edx, edx, 0x41c
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0x314]
push ecx
push 0x4567fc
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x403a0b
mov byte [ebp - 0x254], 0
push 0x103
push 0
lea edx, [ebp - 0x253]
push edx
call fcn.0043b290
add esp, 0xc
lea eax, [ebp - 0x254]
push eax
mov ecx, dword [ebp - 0x278]
add ecx, 4
call fcn.00406480
push 0x45680c
lea ecx, [ebp - 0x254]
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 - 0x254]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
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
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x403a06
lea ecx, [ebp - 0x254]
push ecx
mov edx, dword [ebp - 0x30]
imul edx, edx, 0x41c
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0x210]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 0x456810
lea eax, [ebp - 0x2c]
push eax
call fcn.00402610
add esp, 0x14
push ecx
mov ecx, esp
mov dword [ebp - 0x26c], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.00403190
mov dword [ebp - 0x29c], eax
mov ecx, 0x479280
call fcn.0040c5a0
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x28], 0
jmp 0x403ade
jmp 0x403aac
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 0x403aac
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 0x45682c
lea edx, [ebp - 0x2c]
push edx
call fcn.00402610
add esp, 0x14
push ecx
mov ecx, esp
mov dword [ebp - 0x270], esp
lea eax, [ebp - 0x2c]
push eax
call fcn.00403190
mov dword [ebp - 0x2a0], eax
mov ecx, 0x479280
call fcn.0040c5a0
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x28], 0
jmp 0x403ade
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x104
push 0
mov eax, dword [ebp - 0x30]
imul eax, eax, 0x41c
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 0x210]
push edx
call fcn.0043b290
add esp, 0xc
jmp 0x403397
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x274], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00402f30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00402f30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0040b870
mov eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x44]
xor ecx, ebp
call fcn.004381fb
mov esp, ebp
pop ebp
ret 0xc