Function at 0x403270
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4fc9b1
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x5466b0]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5466b0]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x240]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [0x54d210]
mov edx, dword [eax + 0xc]
mov esi, ecx
mov ecx, 0x54d210
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
push eax
push 0x20019
push ebx
push str.SOFTWARE360SoftMgr_reader
mov dword [esp + 0x248], ebx
push SysReAllocString
mov dword [esp + 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x403382
push 0x206
lea edx, [esp + 0x2a]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x30], cx
call fcn.004d7710
add esp, 0xc
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
push ebx
push 0x514b40
push eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], 0x206
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0x24]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x403361
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x24]
mov ebx, eax
push ecx
lea eax, [esp + 0x18]
call fcn.00408500
xor ebx, ebx
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 0xc]
cmp eax, ebx
jne 0x4033d6
mov ebx, str.360safeSoftMgr_reader
lea ecx, [esp + 0x1c]
call fcn.0045b5a4
lea edi, [esp + 0x14]
mov byte [esp + 0x238], 1
call fcn.00407fc0
mov byte [esp + 0x238], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4033d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
cmp esi, ebx
je 0x403455
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.004085e0
lea edx, [esp + 0x14]
push edx
lea esi, [esp + 0x1c]
mov edi, ebp
mov byte [esp + 0x23c], 2
call fcn.0045b9bd
mov byte [esp + 0x23c], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403428
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x238], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40348d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40348d
mov esi, dword [esp + 0x14]
add esi, 0xfffffff0
mov eax, esi
call fcn.00408780
add eax, 0x10
mov dword [ebp], eax
mov dword [esp + 0x238], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40348d
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, ebp
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.004cb38b
add esp, 0x228
ret