Function at 0x433940
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490260
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x840
mov eax, dword [0x4fe040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x844], esi
mov dword [ebp - 0x848], esi
lea eax, [ebp - 0x83c]
mov dword [ebp - 0x848], esi
push eax
push 0x101
push 0
push 0x4b7620
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x433bcf
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x81c], 0x3ff
push eax
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x838]
push eax
push 0
push str.Productid
push dword [ebp - 0x83c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x83c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x818]
push eax
lea ecx, [ebp - 0x834]
call fcn.004348c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x834]
mov eax, dword [ebp - 0x820]
lea edi, [ebp - 0x834]
cmp eax, 7
mov dword [ebp - 0x840], eax
mov eax, dword [ebp - 0x834]
xorps xmm0, xmm0
cmova ecx, eax
mov dword [ebp - 0x848], eax
mov eax, dword [ebp - 0x824]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
lea edx, [ecx + eax*2]
mov eax, dword [ebp - 0x840]
mov ecx, dword [ebp - 0x848]
cmp eax, 7
mov dword [esi + 0x10], 0
cmova edi, ecx
mov dword [esi + 0x14], 0xf
cmp edi, edx
jne 0x433a85
mov byte [esi], 0
jmp 0x433b97
sub edx, edi
sar edx, 1
mov dword [ebp - 0x840], edx
cmp edx, 0x7fffffff
ja 0x433bed
mov esi, 0xf
cmp edx, esi
jbe 0x433b41
mov esi, edx
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x433aef
mov ecx, accept
mov esi, accept
add ecx, 0x23
push ecx
call fcn.0043ede5
add esp, 4
test eax, eax
je 0x433bbd
mov edx, dword [ebp - 0x840]
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
mov eax, dword [ebp - 0x844]
mov dword [eax], ecx
mov dword [eax + 0x14], esi
jmp 0x433b47
mov eax, 0x16
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x1000
jb 0x433b10
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x433bf2
jmp 0x433ac2
test eax, eax
je 0x433b32
push eax
call fcn.0043ede5
mov edx, dword [ebp - 0x840]
mov ecx, eax
mov eax, dword [ebp - 0x844]
add esp, 4
mov dword [eax], ecx
mov dword [eax + 0x14], esi
jmp 0x433b47
mov eax, dword [ebp - 0x844]
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 0x14], esi
jmp 0x433b47
mov eax, dword [ebp - 0x844]
cmp esi, 0xf
mov dword [ebp - 0x840], eax
mov esi, dword [ebp - 0x844]
jbe 0x433b60
mov eax, dword [esi]
mov dword [ebp - 0x840], eax
mov ecx, eax
test edx, edx
je 0x433b7e
mov esi, edx
mov al, byte [edi]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
lea edi, [edi + 2]
sub esi, 1
jne 0x433b68
mov esi, dword [ebp - 0x844]
mov eax, dword [ebp - 0x840]
mov dword [esi + 0x10], edx
mov byte [eax + edx], 0
mov eax, dword [ebp - 0x820]
mov ecx, dword [ebp - 0x834]
cmp eax, 7
jbe 0x433bcd
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x433bc3
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x433bc3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0043e915
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043e7f2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00433900
call fcn.00433860
int3