Function at 0x421160
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f880
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x4785c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x7c], ecx
mov eax, dword [ebp - 0x7c]
mov dword [eax + 0x84], 0
lea ecx, [ebp - 0x34]
call fcn.00402210
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
push 0x4686ac
lea edx, [ebp - 0x34]
push edx
call fcn.00403100
add esp, 0xc
lea ecx, [ebp - 0x60]
call fcn.00402210
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
push eax
push 0x4686b0
lea ecx, [ebp - 0x60]
push ecx
call fcn.00403100
add esp, 0xc
mov byte [ebp - 0x30], 0
xor edx, edx
mov dword [ebp - 0x2f], edx
mov dword [ebp - 0x2b], edx
mov dword [ebp - 0x27], edx
mov dword [ebp - 0x23], edx
mov dword [ebp - 0x1f], edx
mov dword [ebp - 0x1b], edx
mov dword [ebp - 0x17], edx
mov word [ebp - 0x13], dx
mov byte [ebp - 0x11], dl
mov byte [ebp - 0x58], 0
xor eax, eax
mov dword [ebp - 0x57], eax
mov dword [ebp - 0x53], eax
mov dword [ebp - 0x4f], eax
mov dword [ebp - 0x4b], eax
mov dword [ebp - 0x47], eax
mov dword [ebp - 0x43], eax
mov dword [ebp - 0x3f], eax
mov word [ebp - 0x3b], ax
mov byte [ebp - 0x39], al
mov dword [ebp - 0x5c], 0
lea ecx, [ebp - 0x5c]
push ecx
push 1
push 0
mov edx, dword [str.SoftwareEnterSafeGZBank_Assistant]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x42130b
mov dword [ebp - 0x68], 0x20
mov dword [ebp - 0x64], 1
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x64]
push edx
push 0
push 0x4686b4
mov eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x421289
cmp dword [ebp - 0x68], 0
ja 0x421301
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x7c]
add ecx, 0x98
call fcn.00401640
push 0x4686bc
mov ecx, dword [ebp - 0x7c]
add ecx, 0x98
call fcn.0041e510
lea edx, [ebp - 0x60]
push edx
mov ecx, dword [ebp - 0x7c]
add ecx, 0x98
call fcn.00401690
push 0
push 0
push 0xbba
mov ecx, dword [ebp - 0x7c]
call fcn.0041e5d0
mov dword [ebp - 0x6c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.004022d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004022d0
mov eax, dword [ebp - 0x6c]
jmp 0x421487
mov eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x20
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [str.http:__www.gzcb.com.cn_downloads_GZBank_Assistant_Setup.txt]
push edx
call fcn.00412c80
add esp, 0xc
test eax, eax
jne 0x421392
mov ecx, dword [ebp - 0x7c]
add ecx, 0x98
call fcn.00401640
push 0x4686c8
mov ecx, dword [ebp - 0x7c]
add ecx, 0x98
call fcn.0041e510
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x7c]
add ecx, 0x98
call fcn.00401690
push 0
push 0
push 0xbba
mov ecx, dword [ebp - 0x7c]
call fcn.0041e5d0
mov dword [ebp - 0x70], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.004022d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004022d0
mov eax, dword [ebp - 0x70]
jmp 0x421487
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.00412630
add esp, 8
test eax, eax
jl 0x421411
mov ecx, dword [ebp - 0x7c]
add ecx, 0x98
call fcn.00401640
push str.VERSION1
mov ecx, dword [ebp - 0x7c]
add ecx, 0x98
call fcn.0041e510
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x7c]
add ecx, 0x98
call fcn.00401690
push 0
push 0
push 0xbba
mov ecx, dword [ebp - 0x7c]
call fcn.0041e5d0
mov dword [ebp - 0x74], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.004022d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004022d0
mov eax, dword [ebp - 0x74]
jmp 0x421487
mov ecx, dword [ebp - 0x7c]
add ecx, 0x98
call fcn.00401640
push str.VERSION1_OLD
mov ecx, dword [ebp - 0x7c]
add ecx, 0x98
call fcn.0041e510
lea ecx, [ebp - 0x60]
push ecx
mov ecx, dword [ebp - 0x7c]
add ecx, 0x98
call fcn.00401690
push 0
push 0
push 0xbba
mov ecx, dword [ebp - 0x7c]
call fcn.0041e5d0
mov edx, dword [ebp - 0x7c]
mov dword [edx + 0x84], 1
mov dword [ebp - 0x78], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.004022d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004022d0
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00441de6
mov esp, ebp
pop ebp
ret 8