Function at 0x1002d7f6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005b7fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x7c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1002d951
lea eax, [ebp + 0x10]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x30], 0x689
mov dword [ebp - 0x38], str.hxxpz_ercwxeft_weulyey_sei_qotkrnnkx_vkarqmt_ymf_naofihmw_eew_ehybceno_yidq_yptx_iymwfbtjq_yxgsnup
cmp dword [ebp - 0x30], 0x8a7
jle 0x1002d8bb
and dword [ebp - 0x18], 0
jmp 0x1002d85a
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x804
jge 0x1002d8bb
and dword [ebp - 0x1c], 0
jmp 0x1002d870
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4068
jge 0x1002d8b9
and dword [ebp - 0x20], 0
jmp 0x1002d886
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4324
jge 0x1002d8b7
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 0x1c]
mov eax, edx
cdq
idiv dword [ebp - 0x20]
mov eax, edx
cdq
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
mov ecx, 0x10075958
call fcn.1000daa1
jmp 0x1002d87f
jmp 0x1002d869
jmp 0x1002d853
lea eax, [ebp + 0x18]
mov dword [ebp - 0x44], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0x5cb
jge 0x1002d8db
mov edx, dword [ebp - 0x38]
mov ecx, 0x10075958
call fcn.1001082c
jmp 0x1002d8f7
or dword [ebp - 4], 0xffffffff
jmp 0x1002d901
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x1002d944
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x58], eax
push dword [ebp - 0x4c]
call fcn.10023fe0
pop ecx
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
push dword [eax]
push dword [ebp - 0x54]
call fcn.1002cf41
pop ecx
pop ecx
mov ecx, dword [ebp - 0x58]
mov dword [ecx], eax
jmp 0x1002da8a
push 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
jmp 0x1002da8a
mov dword [ebp - 0x34], 0x2a94
mov dword [ebp - 0x60], str.ogshiyk_jcgh_ieunowrk_daweth_zzg_jcxksr_chd_tvgwn_ikko_pkkry_vbfzmkd_bjow_qopiv_thiks
cmp dword [ebp - 0x34], 0x2cb3
jle 0x1002da02
and dword [ebp - 0x24], 0
jmp 0x1002d979
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x6e29
jge 0x1002d9f8
and dword [ebp - 0x28], 0
jmp 0x1002d98f
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x3902
jge 0x1002d9f3
and dword [ebp - 0x2c], 0
jmp 0x1002d9a5
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x493c
jge 0x1002d9f1
mov eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edx
push dword [ebp - 0x70]
push dword [ebp - 0x74]
lea ecx, [ebp - 0x8c]
call fcn.100026cb
pop ecx
pop ecx
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
call fcn.1000da81
push eax
call fcn.10041403
pop ecx
lea ecx, [ebp - 0x8c]
call fcn.1000da77
jmp 0x1002d99e
jmp 0x1002d988
jmp 0x1002d972
push 0
push 0
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp + 8]
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x34], 0x298e
jge 0x1002da21
push dword [ebp - 0x60]
call fcn.10041403
pop ecx
jmp 0x1002da3d
or dword [ebp - 4], 0xffffffff
jmp 0x1002da47
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x1002da6f
mov byte [ebp - 0x11], 0
push 0x65fb
lea eax, [ebp - 0x11]
push eax
push 0
push 0x2592
call fcn.10021924
add esp, 0x10
jmp 0x1002da8a
push 0x1ace
push 0
push 0x3ea
push 0x426
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret