Function at 0x10018083
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005ba85
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x78
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10018294
lea eax, [ebp + 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x100180d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
jmp 0x10018292
mov dword [ebp - 0x30], 1
push 1
lea ecx, [ebp - 0x70]
call fcn.10004886
and dword [ebp - 4], 0
push 0x1b21
push 0x3565
push 1
lea eax, [ebp - 0x5c]
push eax
push 0x4817
lea eax, [ebp - 0x70]
push eax
push 0x799
push 0x7617
push 0
call fcn.1001728b
add esp, 0x24
push 0x180a
push 0x4582
push 1
push 0x4a06
lea eax, [ebp - 0x30]
push eax
push 1
lea eax, [ebp - 0x70]
push eax
push 0x4baf
call fcn.10014cdd
add esp, 0x20
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x28], 0xd1e
mov dword [ebp - 0x38], str.ettilzf_wiqttydu_ywni_pksk_rwpuym_syaoxl_ffibii_bwknum_wdyhesxs_ahpkq
cmp dword [ebp - 0x28], 0xf4f
jle 0x1001821c
and dword [ebp - 0x24], 0
jmp 0x10018166
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x4c4c
jge 0x1001820a
and dword [ebp - 0x18], 0
jmp 0x10018180
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x45ee
jge 0x10018205
and dword [ebp - 0x1c], 0
jmp 0x10018196
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x23ad
jge 0x10018200
and dword [ebp - 0x20], 0
jmp 0x100181ac
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x522c
jge 0x100181fe
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 0x1c]
imul edx, dword [ebp - 0x20]
xor edx, dword [ebp - 0x24]
mov eax, edx
cdq
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
push dword [ebp - 0x60]
push dword [ebp - 0x64]
lea ecx, [ebp - 0x88]
call fcn.10001a55
pop ecx
pop ecx
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
call fcn.100045c5
push eax
call fcn.10042b33
pop ecx
lea ecx, [ebp - 0x88]
call fcn.100045bb
jmp 0x100181a5
jmp 0x1001818f
jmp 0x10018179
jmp 0x1001815f
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0x3504
push 0
lea eax, [ebp - 0x11]
push eax
push 0x2de6
push 0x310b
push 0x230c
push 1
push 0x54fa
push 0x2084
call fcn.10016a0e
add esp, 0x24
mov byte [ebp - 4], 1
cmp dword [ebp - 0x28], 0xa4c
jge 0x10018260
push dword [ebp - 0x38]
call fcn.10042b33
pop ecx
jmp 0x1001827c
and dword [ebp - 4], 0
jmp 0x10018286
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.10004909
jmp 0x100182e6
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x44], eax
push 0
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push dword [ebp - 0x58]
call fcn.100175c2
add esp, 0x24
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret