Function at 0x100101d0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x428
mov eax, dword [0x10048440]
xor eax, esp
mov dword [esp + 0x424], eax
mov eax, dword [esp + 0x42c]
push ebx
push esi
xor ebx, ebx
push 0x3fe
lea ecx, [esp + 0x32]
push ebx
push ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ebx
mov word [esp + 0x38], bx
call fcn.10028cf0
add esp, 0xc
mov dword [esp + 0xc], ebx
xor eax, eax
jmp 0x10010220
movzx ecx, word [eax + 0x10047568]
mov word [esp + eax + 0x2c], cx
add eax, 2
cmp cx, bx
jne 0x10010220
push edi
lea edi, [esp + 0x30]
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x10010240
push ebp
mov ebp, dword [0x1003de30]
mov eax, 0x100497e4
mov dword [edi], ebp
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10010260
lea edi, [esp + 0x34]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x10010274
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x34]
add edi, 0xfffffffe
jmp 0x100102a0
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x100102a0
mov eax, 0x10047768
mov dword [edi], ebp
mov edx, eax
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100102b5
lea edi, [esp + 0x34]
sub eax, edx
add edi, 0xfffffffe
lea esp, [esp]
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x100102d0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x34]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x100102f3
lea eax, [esp + 0x34]
mov dword [edi], ebp
lea edx, [eax + 2]
pop ebp
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10010310
mov ecx, dword [esp + 0x14]
sub eax, edx
sar eax, 1
mov esi, ecx
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x10010325
sub ecx, esi
lea edi, [esp + 0x30]
mov edx, ecx
add edi, 0xfffffffe
jmp 0x10010340
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x10010340
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + eax*2 + 0x30]
and ecx, 3
push 0x2c
push edx
rep movsb byte es:[edi], byte [esi]
call fcn.1001feb0
lea edi, [esp + 0x38]
add esp, 8
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x10010370
mov eax, dword [0x1003de30]
mov dword [edi], eax
mov eax, str.Jobs
mov edx, eax
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10010390
lea edi, [esp + 0x30]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x100103a4
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
push ebx
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
lea edx, [esp + 0x4c]
push edx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
pop edi
jne 0x1001047b
mov ecx, dword [esp + 0x438]
push 0xa
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.1002a9aa
lea eax, [esp + 0x20]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10010406
sub eax, edx
push eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.100111e0
lea eax, [esp + 0x20]
add esp, 0xc
lea edx, [eax + 1]
jmp 0x10010430
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10010430
sub eax, edx
mov byte [esp + eax + 0x20], bl
lea eax, [esp + 0x20]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10010446
sub eax, edx
push eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push 4
push ebx
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 8]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x10010494
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x424]
xor ecx, esp
call fcn.10028cdf
add esp, 0x428
ret
mov ecx, dword [esp + 0x42c]
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.10028cdf
add esp, 0x428
ret