Function at 0x10003800
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10036fd8
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x1004b034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
lea edi, [ebx + 0x40]
mov eax, str.lFXrgAyTbPDSCHOwQAuIUXH18wJjHUCrsHktEcEtgfI0qskAlH2RLBccY233KNuO
lea esi, [ebp - 0x48]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.10002d20
mov eax, esi
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 4], ebx
call fcn.10002420
add esp, 8
mov edi, eax
mov esi, 0x10052c78
mov byte [ebp - 4], 1
call fcn.100032d0
mov edi, 0x10
cmp dword [ebp - 0x18], edi
jb 0x10003883
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, 0xf
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp - 0x34], edi
jb 0x100038aa
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x34], esi
mov edi, 0x18
mov eax, str.tKFyPOJK03I26txU24wS5Q
lea esi, [ebp - 0x48]
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.10002d20
mov ecx, esi
push ecx
lea edx, [ebp - 0x2c]
push edx
mov dword [ebp - 4], 2
call fcn.10002420
add esp, 8
mov edi, eax
mov esi, 0x10052c94
mov byte [ebp - 4], 3
call fcn.100032d0
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jb 0x10003902
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edi, 0xf
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp - 0x34], esi
jb 0x10003929
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x50], edi
mov edi, 1
mov eax, 0x10040498
lea esi, [ebp - 0x64]
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
call fcn.10002d20
mov dword [ebp - 4], 4
mov eax, dword [0x10052c78]
mov esi, 0x10
cmp dword [0x10052c8c], esi
jae 0x10003962
mov eax, 0x10052c78
lea edx, [ebp - 0x84]
push edx
push 0x20006
push ebx
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100039c0
mov ecx, dword [ebp - 0x64]
cmp dword [ebp - 0x50], esi
jae 0x1000398a
lea ecx, [ebp - 0x64]
mov eax, dword [0x10052c94]
cmp dword [0x10052ca8], esi
jae 0x1000399c
mov eax, 0x10052c94
mov edx, dword [ebp - 0x54]
inc edx
push edx
push ecx
push 1
push ebx
push eax
mov eax, dword [ebp - 0x84]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x84]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x2c]
push 0x10052c78
push edx
call fcn.10002920
add esp, 8
mov edi, eax
mov esi, 0x10052c78
mov byte [ebp - 4], 5
call fcn.100032d0
mov ebx, 0x10
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], ebx
jb 0x100039fc
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea ecx, [ebp - 0x80]
push 0x10052c94
push ecx
call fcn.10002920
add esp, 8
mov edi, eax
mov esi, 0x10052c94
mov byte [ebp - 4], 6
call fcn.100032d0
cmp dword [ebp - 0x6c], ebx
jb 0x10003a2f
mov edx, dword [ebp - 0x80]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x50], ebx
jb 0x10003a41
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10034620
mov esp, ebp
pop ebp
ret