Function at 0x437140
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48fe7e
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4cf500]
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 ebx, ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0
mov dword [ebx], 0
mov dword [ebp - 4], 1
call fcn.00403c80
mov ecx, eax
test ecx, ecx
je 0x4373fe
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push 0x20119
push 0
push str.SOFTWAREMalwarebytes
push 0x80000002
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x437375
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 2
call fcn.00403c80
mov ecx, eax
test ecx, ecx
je 0x4373fe
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 3
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x437229
push 0x104
lea ecx, [ebp - 0x1c]
call fcn.00403930
mov esi, dword [ebp - 0x1c]
cmp dword [esi - 8], 0x104
lea edi, [esi - 0x10]
jl 0x437412
xor eax, eax
mov dword [edi + 4], 0x104
mov word [esi + 0x208], ax
lea eax, [ebp - 0x24]
push eax
push esi
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], 0x208
push eax
push 0
push str.lang_code
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [edi + 8]
mov dword [ebp - 0x14], eax
push esi
call fcn.0046b245
add esp, 8
test eax, eax
js 0x437412
cmp eax, dword [edi + 8]
jg 0x437412
xor ecx, ecx
mov dword [edi + 4], eax
mov word [esi + eax*2], cx
cmp dword [ebp - 0x14], ecx
jne 0x4372f0
mov byte [ebp - 4], 4
call fcn.00403c80
mov ecx, eax
test ecx, ecx
je 0x437408
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push esi
push str.lang_code
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 5
push str.read__s_from_registry_as__s
push eax
call fcn.00415f10
mov esi, dword [ebp - 0x14]
mov edx, 0x275
push esi
mov ecx, 0x4bdb78
call fcn.0042ee20
add esp, 0x14
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.00414ed0
jmp 0x43733e
mov byte [ebp - 4], 6
call fcn.00403c80
mov ecx, eax
test ecx, ecx
je 0x437408
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 7
lea eax, [ebp - 0x18]
push dword [ebp - 0x14]
push str.lang_code
push str.failed_to_read__s_from_registry__0x_08X_
push eax
call fcn.00415f10
mov esi, dword [ebp - 0x18]
mov edx, 0x27d
push esi
mov ecx, 0x4bdb78
call fcn.0042ee20
add esp, 0x14
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x437358
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x4373e0
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4373e0
cmp esi, 2
je 0x4373e0
mov dword [ebp - 4], 8
call fcn.00403c80
mov ecx, eax
test ecx, ecx
je 0x4373fe
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push esi
push str.lang_code
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 9
push str.failed_to_find__s_in_registry__0x_08X_
push eax
call fcn.00415f10
mov esi, dword [ebp - 0x18]
mov edx, 0x286
push esi
mov ecx, 0x4bdb78
call fcn.0042ee20
add esp, 0x14
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4373e0
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
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.0045f545
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403a50
push 0x80004005
call fcn.00403a50
push 0x80070057
call fcn.00403a50
int3