Function at 0x428840
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455f28
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x476040]
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
mov dword [ebp - 0x234], edi
mov esi, dword [ebp + 8]
mov eax, esi
mov dword [ebp - 0x260], edi
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x23c], 0
cmp dword [esi + 0x14], 7
jbe 0x4288a2
mov eax, dword [esi]
lea ecx, [ebp - 0x23c]
push ecx
push 0x20219
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x428910
cmp dword [esi + 0x14], 7
jbe 0x4288c8
mov esi, dword [esi]
lea eax, [ebp - 0x23c]
push eax
push 0x20119
push 0
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x428910
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x254], 1
jmp 0x428ce2
push dword [ebp - 0x260]
lea eax, [ebp - 0x23c]
lea edx, [ebp - 0x234]
mov dword [ebp - 0x234], eax
lea ecx, [ebp - 0x268]
call fcn.00429ea0
mov dword [ebp - 4], 1
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x240], 0
call fcn.00436700
add esp, 0x10
mov dword [ebp - 0x234], 0x104
lea eax, [ebp - 0x27c]
mov dword [ebp - 0x250], 0
push eax
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x240]
push eax
push 0
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x23c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x428cb5
cmp dword [ebp - 0x240], eax
je 0x428cb5
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x244], eax
mov byte [ebp - 4], 2
xor esi, esi
mov dword [ebp - 0x234], esi
cmp dword [ebp - 0x240], esi
jbe 0x428c7b
nop dword [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 0
movups xmmword [ebp - 0x230], xmm0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x230]
push eax
mov eax, dword [ebp - 0x250]
inc eax
push eax
call fcn.00404160
mov ecx, dword [ebp - 0x250]
lea eax, [ebp - 0x230]
inc ecx
cmp dword [ebp - 0x21c], 7
push ecx
cmova eax, dword [ebp - 0x230]
push eax
push esi
push dword [ebp - 0x23c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x428ad6
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x21c]
cmp ecx, 7
jbe 0x428c45
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x428acf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428cff
push ecx
push edx
jmp 0x428c3d
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x428bd0
mov edx, dword [ebp - 0x21c]
lea eax, [ebp - 0x230]
mov edi, dword [ebp - 0x230]
cmp edx, 7
cmova eax, edi
cmp word [eax + ecx*2 - 2], 0
jne 0x428bd0
cmp edx, 7
lea eax, [ebp - 0x230]
push 0
cmova eax, edi
lea eax, [eax + ecx*2]
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x230]
cmova eax, edi
lea eax, [eax + ecx*2]
lea ecx, [ebp - 0x230]
cmova ecx, edi
push eax
push ecx
call fcn.004343b0
cmp dword [ebp - 0x21c], 7
lea ecx, [ebp - 0x230]
mov edi, eax
cmova ecx, dword [ebp - 0x230]
sub edi, ecx
mov ecx, dword [ebp - 0x238]
sub ecx, eax
sar edi, 1
sar ecx, 1
mov dword [ebp - 0x258], edi
mov edi, dword [ebp - 0x220]
mov eax, edi
mov dword [ebp - 0x238], ecx
mov ecx, dword [ebp - 0x258]
sub eax, ecx
mov esi, dword [ebp - 0x238]
cmp eax, esi
cmovb esi, eax
cmp dword [ebp - 0x21c], 7
lea eax, [ebp - 0x230]
mov dword [ebp - 0x238], esi
cmova eax, dword [ebp - 0x230]
lea edx, [eax + ecx*2]
mov eax, esi
sub edi, eax
lea ecx, [edx + eax*2]
mov eax, edi
sub eax, dword [ebp - 0x258]
lea eax, [eax*2 + 2]
push eax
push ecx
push edx
call fcn.00436180
mov esi, dword [ebp - 0x234]
add esp, 0xc
mov dword [ebp - 0x220], edi
mov eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x230]
push ecx
cmp eax, dword [ebp - 0x244]
je 0x428bf5
mov ecx, eax
call fcn.00404240
add dword [ebp - 0x248], 0x18
jmp 0x428c01
push eax
lea ecx, [ebp - 0x24c]
call fcn.0042ae40
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x21c]
cmp edx, 7
jbe 0x428c45
mov eax, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov ecx, eax
cmp edx, 0x1000
jb 0x428c3b
mov eax, dword [ecx - 4]
add edx, 0x23
sub ecx, eax
add ecx, 0xfffffffc
cmp ecx, 0x1f
ja 0x428cff
push edx
push eax
call fcn.00434ce3
add esp, 8
inc esi
mov dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov dword [ebp - 0x234], esi
cmp esi, dword [ebp - 0x240]
jb 0x428a10
mov edi, dword [ebp - 0x25c]
mov edx, dword [ebp - 0x244]
mov ecx, dword [ebp - 0x248]
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x24c], 0
mov dword [edi], eax
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
jmp 0x428cc9
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 0x254], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.004296f0
mov eax, edi
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.0043488a
mov esp, ebp
pop ebp
ret
call fcn.0043e33e
int3