Function at 0x100302aa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f917
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xf4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1003052d
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xc0], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xe0]
movzx eax, byte [eax]
test eax, eax
je 0x100304cd
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x34], 0x3826
mov dword [ebp - 0x78], 0x1000ab48
cmp dword [ebp - 0x34], 0x38de
jle 0x10030395
and dword [ebp - 0x24], 0
jmp 0x10030349
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x49ab
jge 0x10030395
and dword [ebp - 0x1c], 0
jmp 0x1003035f
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x6fb3
jge 0x10030393
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], edx
push dword [ebp - 0xf4]
push dword [ebp - 0xf8]
mov ecx, 0x106086b8
call fcn.1001a8dc
jmp 0x10030358
jmp 0x10030342
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax]
test eax, eax
je 0x10030488
mov dword [ebp - 0x58], 0x40b8
mov dword [ebp - 0xb8], 0x1000ab98
cmp dword [ebp - 0x58], 0x41c7
jle 0x10030433
and dword [ebp - 0x2c], 0
jmp 0x100303ca
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x61fe
jge 0x10030433
and dword [ebp - 0x20], 0
jmp 0x100303e0
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4a6e
jge 0x10030431
and dword [ebp - 0x28], 0
jmp 0x100303f6
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x5704
jge 0x1003042f
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
shl eax, cl
xor eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x100], edx
push dword [ebp - 0x100]
push dword [ebp - 0x104]
mov ecx, 0x106086b8
call fcn.1001a8dc
jmp 0x100303ef
jmp 0x100303d9
jmp 0x100303c3
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
and dword [ebp - 4], 0
cmp dword [ebp - 0x58], 0x3f0a
jge 0x10030462
mov edx, dword [ebp - 0xb8]
mov ecx, 0x106086b8
call fcn.1001cde7
jmp 0x1003047e
or dword [ebp - 4], 0xffffffff
jmp 0x10030488
mov dword [ebp - 4], 2
cmp dword [ebp - 0x34], 0x349d
jge 0x100304a5
mov edx, dword [ebp - 0x78]
mov ecx, 0x106086b8
call fcn.1001cde7
jmp 0x100304c1
or dword [ebp - 4], 0xffffffff
jmp 0x100304cb
jmp 0x10030528
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x98]
mov ecx, dword [ecx]
add ecx, dword [eax]
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax]
mov dword [eax], ecx
jmp 0x100307c2
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xb0], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
movzx eax, byte [eax]
test eax, eax
je 0x100307b8
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x30]
mov esi, dword [eax]
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.1001abab
mov eax, dword [eax]
neg eax
cmp eax, esi
jge 0x10030651
mov dword [ebp - 0x40], 1
jmp 0x10030655
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0xc4]
mov dword [eax], 0x709c1800
push 0
mov ecx, dword [ebp - 0xcc]
call fcn.1001abab
mov dword [eax], 0x709c1800
mov esi, 0x709c1800
sub esi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.1001abab
cmp esi, dword [eax]
jl 0x10030696
mov dword [ebp - 0x50], 1
jmp 0x1003069a
and dword [ebp - 0x50], 0
push 0xfffffffffffffff7
pop esi
sub esi, dword [ebp - 0x50]
push 0
mov ecx, dword [ebp - 0x14]
call fcn.1001abab
imul esi, dword [eax]
push 0
mov ecx, dword [ebp - 0x14]
call fcn.1001abab
cmp esi, dword [eax]
jge 0x100306c4
mov dword [ebp - 0x48], 1
jmp 0x100306c8
and dword [ebp - 0x48], 0
push 0
mov ecx, dword [ebp - 0x14]
call fcn.1001abab
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [eax]
jg 0x100306e2
mov dword [ebp - 0x38], 1
jmp 0x100306e6
and dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 0xfffffff6
je 0x100306f5
mov dword [ebp - 0x3c], 1
jmp 0x100306f9
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.1001abab
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [eax]
je 0x10030719
mov dword [ebp - 0xd4], 1
jmp 0x10030720
and dword [ebp - 0xd4], 0
push 0
mov ecx, dword [ebp - 0x14]
call fcn.1001abab
cmp dword [eax], 0
jne 0x10030740
mov eax, dword [ebp - 0xdc]
cmp dword [eax], 0
jne 0x10030740
and dword [ebp - 0x44], 0
jmp 0x10030747
mov dword [ebp - 0x44], 1
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.1001abab
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [eax]
je 0x10030764
mov dword [ebp - 0x4c], 1
jmp 0x10030768
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0x4c]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x30]
mov dword [eax], ecx
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0x59a03c9d
je 0x10030794
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
je 0x10030794
mov dword [ebp - 0x54], 1
jmp 0x10030798
and dword [ebp - 0x54], 0
cmp dword [ebp - 0x54], 1
jge 0x100307a7
mov dword [ebp - 0x5c], 1
jmp 0x100307ab
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0xec]
mov ecx, dword [ebp - 0x5c]
mov dword [eax], ecx
jmp 0x100307c2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret