Function at 0x403270
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425401
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x437070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], 0
mov dword [edi], 0
call fcn.00401450
mov ecx, eax
test ecx, ecx
je 0x4034cc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov eax, str.en_US
mov dword [ebp - 4], 1
mov ecx, edi
test eax, 0xffff0000
jne 0x4032f0
movzx eax, ax
push eax
call fcn.00403850
jmp 0x4032fc
push 5
push str.en_US
call fcn.004057c0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push eax
push 0x20119
push 0
push str.SOFTWAREMalwarebytes
push 0x80000002
mov dword [ebp - 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4034a4
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], pe_nt_image_headers32
call fcn.00401450
mov ecx, eax
test ecx, ecx
je 0x4034d6
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 3
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 8
or eax, ecx
jge 0x4033a2
push 8
lea ecx, [ebp - 0x18]
call fcn.004056c0
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x10
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push 0
push str.lang_code
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test ebx, ebx
jne 0x403401
mov eax, dword [ebp - 0x14]
cmp eax, 1
je 0x4033da
cmp eax, 2
je 0x4033da
mov ebx, 0xd
jmp 0x403401
test esi, esi
je 0x4033ff
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4033fa
test al, 1
jne 0x4033f3
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x4033ff
mov ebx, 0xd
jmp 0x403401
xor eax, eax
mov word [esi], ax
xor ebx, ebx
push dword [esi - 8]
push esi
call fcn.0040df50
add esp, 8
test eax, eax
js 0x4034c2
cmp eax, dword [esi - 8]
jg 0x4034c2
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
or eax, 0xffffffff
test ebx, ebx
jne 0x40347d
mov ebx, dword [edi]
lea ecx, [esi - 0x10]
sub ebx, 0x10
cmp ecx, ebx
je 0x40347d
cmp dword [ebx + 0xc], 0
jl 0x40346f
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x40346f
call fcn.00405660
mov dword [ebp - 0x14], eax
lea ecx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x403465
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov dword [edi], eax
jmp 0x40347a
push dword [esi - 0xc]
mov ecx, edi
push esi
call fcn.004057c0
or eax, 0xffffffff
mov byte [ebp - 4], 2
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x403496
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4034a4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004092eb
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00401230
push 0x80004005
call fcn.00401230
push 0x80004005
call fcn.00401230
int3