Function at 0x100033c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10041e08
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x1005b034]
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.10002900
add esp, 8
mov edi, eax
mov esi, 0x100686d8
mov byte [ebp - 4], 1
call fcn.10003280
mov edi, 0x10
cmp dword [ebp - 0x18], edi
jb 0x10003443
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 0x1000346a
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.10002900
add esp, 8
mov edi, eax
mov esi, 0x100686f4
mov byte [ebp - 4], 3
call fcn.10003280
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jb 0x100034c2
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 0x100034e9
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, 0x1004d8a0
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 [0x100686d8]
mov esi, 0x10
cmp dword [0x100686ec], esi
jae 0x10003522
mov eax, 0x100686d8
lea edx, [ebp - 0x84]
push edx
push 0x20006
push ebx
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10003580
mov ecx, dword [ebp - 0x64]
cmp dword [ebp - 0x50], esi
jae 0x1000354a
lea ecx, [ebp - 0x64]
mov eax, dword [0x100686f4]
cmp dword [0x10068708], esi
jae 0x1000355c
mov eax, 0x100686f4
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 0x100686d8
push edx
call fcn.10002750
add esp, 8
mov edi, eax
mov esi, 0x100686d8
mov byte [ebp - 4], 5
call fcn.10003280
mov ebx, 0x10
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], ebx
jb 0x100035bc
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 0x100686f4
push ecx
call fcn.10002750
add esp, 8
mov edi, eax
mov esi, 0x100686f4
mov byte [ebp - 4], 6
call fcn.10003280
cmp dword [ebp - 0x6c], ebx
jb 0x100035ef
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 0x10003601
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.1003e6b0
mov esp, ebp
pop ebp
ret