Function at 0x403230
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43890b
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x449314]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x25c], edi
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x254]
mov dword [ebp - 0x254], 0
push eax
push 0
push 0
push 0
push ParseURLW
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x403595
xor esi, esi
mov dword [ebp - 0x258], esi
cmp dword [ebp - 0x254], esi
jbe 0x403595
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x260], 0x104
lea eax, [ebp - 0x260]
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push ParseURLW
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x40357c
cmp word [ebp - 0x218], 0x2e
jne 0x40357c
lea eax, [ebp - 0x250]
xor edi, edi
push eax
push edi
push 1
push 1
lea eax, [ebp - 0x218]
mov dword [ebp - 0x250], edi
push eax
mov dword [ebp - 0x24c], edi
call fcn.00428020
cmp eax, 0xffef
jne 0x40334e
push dword [ebp - 0x250]
call fcn.004362b5
mov edi, eax
add esp, 4
test edi, edi
je 0x40357c
lea eax, [ebp - 0x250]
push eax
push edi
push 1
push 1
lea eax, [ebp - 0x218]
push eax
call fcn.00428020
test eax, eax
jne 0x403567
lea eax, [ebp - 0x24c]
push eax
push edi
call fcn.004273c0
test eax, eax
je 0x403567
mov edx, dword [ebp - 0x24c]
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403390
sub eax, esi
sar eax, 1
inc eax
push eax
push edx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
mov edx, dword [ebp - 0x24c]
add esp, 8
mov ecx, edx
mov dword [ebp - 0x248], 0
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4033e0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x248]
call fcn.00403d70
mov ecx, dword [ebp - 0x25c]
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x268]
mov dword [ebp - 4], 0
push eax
call fcn.00402d20
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x220], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x21c], 7
mov esi, dword [eax]
xor eax, eax
mov word [ebp - 0x230], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403450
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00403d70
mov eax, dword [esi + 0x2c]
mov byte [ebp - 4], 1
cmp eax, dword [esi + 0x30]
je 0x4034a9
movups xmm0, xmmword [ebp - 0x230]
mov edx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x220]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [esi + 0x2c], 0x18
mov word [ebp - 0x230], ax
jmp 0x4034bf
lea ecx, [ebp - 0x230]
push ecx
push eax
lea ecx, [esi + 0x28]
call fcn.00402ad0
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x4034fd
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4034f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4035b9
push edx
push ecx
call fcn.00435eb6
add esp, 8
mov edx, dword [ebp - 0x234]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x403544
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40353a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4035b9
push edx
push ecx
call fcn.00435eb6
add esp, 8
mov esi, dword [ebp - 0x258]
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
push dword [ebp - 0x24c]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push edi
call fcn.004362be
add esp, 8
inc esi
mov dword [ebp - 0x258], esi
cmp esi, dword [ebp - 0x254]
jb 0x4032b1
mov edi, dword [ebp - 0x25c]
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043624e
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3