Function at 0x412370
Capabilities:
Check for time delay via gettickcount
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a0dcb
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
mov ebp, ecx
push esi
push edi
cmp dword [ebp + 0x14], 0xffffffff
jne 0x41239b
xor eax, eax
jmp 0x412b84
mov ebx, dword [esp + 0x2c]
mov ecx, 0x95
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x58]
mov edi, 1
cmp eax, edi
push ebx
jne 0x4123c5
mov eax, dword [ebp + 0x14]
push eax
call fcn.0043eb40
add esp, 8
jmp 0x4123cd
mov ecx, dword [ebp + 0x68]
call fcn.004185f0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
cmp dword [ebp + 0x58], edi
jne 0x412584
call esi
mov edx, dword [ebp + 0x3c]
mov ecx, eax
mov eax, dword [ebp + 0x4c]
sub ecx, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 3
cmp ecx, edx
jbe 0x412584
mov eax, dword [ebx + 0x1c]
test eax, eax
ja 0x412584
jb 0x412416
cmp dword [ebx + 0x18], edi
jae 0x412584
mov eax, dword [0x4b7080]
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], 0
call esi
mov edx, dword [ebp + 0x3c]
mov ecx, eax
sub ecx, edx
mov eax, 0x10624dd3
mul ecx
shr edx, 6
push edx
lea edx, [esp + 0x14]
push str.usetime_d
push edx
call fcn.00406330
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x80]
add esp, 0xc
push ecx
push eax
push 0x1f
mov ecx, 0x4c6f80
call fcn.00403360
push 0x90
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0x24], 1
je 0x412488
mov ecx, eax
call fcn.00417cd0
jmp 0x41248a
xor eax, eax
mov dword [ebp + 0x68], eax
mov edx, dword [0x4c6f84]
push edx
mov ecx, eax
mov byte [esp + 0x28], 0
call fcn.00417dc0
test al, al
jne 0x41251a
mov eax, dword [ebp + 0x28]
test eax, eax
jne 0x4124e4
mov eax, dword [ebp + 0x80]
push 0
push eax
push 0x20
mov ecx, 0x4c6f80
call fcn.00403360
push ebx
mov ecx, ebp
mov dword [ebp + 0x1c], 3
mov dword [ebp + 0x28], edi
call fcn.004142d0
push ebx
mov ecx, ebp
call fcn.00414b40
mov ecx, 0x4c6f80
call fcn.00403340
mov eax, dword [esp + 0x10]
mov edx, dword [0x4b7084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x412513
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x412513
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00437568
add esp, 4
mov eax, edi
jmp 0x412b84
mov edx, dword [ebx + 0xc]
mov eax, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x54]
push edx
mov edx, dword [ebx + 8]
push edx
mov edx, dword [ebp + 0x48]
push edx
push eax
push ecx
mov ecx, dword [ebp + 0x68]
call fcn.00418480
mov dword [ebp + 0x58], 2
mov byte [ebx + 0x45], 0
mov eax, dword [ebp + 0x14]
push eax
call fcn.0043ec60
mov eax, dword [esp + 0x14]
mov edx, dword [0x4b7084]
add esp, 4
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x412584
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x412584
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.00437568
add esp, 4
mov ecx, ebp
call fcn.00413430
mov ecx, dword [eax]
mov edx, dword [ecx - 0xc]
test edx, edx
jl 0x4125a4
mov dword [esp + 0x2c], ecx
add ecx, 0xfffffff4
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x412609
mov ecx, dword [0x4b7080]
mov dword [esp + 0x2c], ecx
mov edi, dword [eax]
test edi, edi
jne 0x4125b8
xor esi, esi
jmp 0x4125c1
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], esi
call fcn.00410320
test eax, eax
je 0x412609
lea eax, [esi + esi]
lea edx, [esi + esi + 2]
cmp edx, eax
jb 0x4125f8
mov ecx, eax
mov esi, edi
mov edi, dword [esp + 0x2c]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
mov dword [ecx - 8], esi
mov edx, dword [esp + 0x2c]
mov word [eax + edx], 0
xor eax, eax
mov dword [esp + 0x24], 2
mov al, byte [ebx + 0x45]
dec eax
cmp eax, 5
ja case.default.0x412620
jmp dword [eax*4 + 0x412b9c]
mov eax, dword [ebp + 0x6c]
test eax, eax
jne 0x41273c
mov eax, dword [esp + 0x2c]
lea esi, [eax - 0xc]
mov eax, dword [eax - 0xc]
cmp eax, 1
jle 0x412682
lea ecx, [esp + 0x2c]
call fcn.00406f50
mov ecx, dword [esi + 4]
push ecx
lea ecx, [esp + 0x30]
call fcn.00406c50
test eax, eax
je 0x412682
mov edi, dword [esp + 0x2c]
mov edx, dword [esi + 4]
mov eax, dword [edi - 4]
lea ecx, [edx + edx + 2]
lea edx, [eax + eax + 2]
cmp edx, ecx
jb 0x412682
mov eax, ecx
add esi, 0xc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.USER32.dll_CharUpperW]
mov ecx, dword [esp + 0x2c]
mov esi, dword [sym.imp.MSVCRT.dll_wcsstr]
mov eax, dword [ecx - 8]
test eax, eax
jl 0x4126be
push 0x4b8194
push ecx
call esi
mov ecx, dword [esp + 0x34]
add esp, 8
test eax, eax
je 0x4126be
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x4126be
push 0x3b
jmp 0x41272b
mov eax, dword [ecx - 8]
test eax, eax
jl 0x412735
push str.SAFE
push ecx
call esi
mov ecx, dword [esp + 0x34]
add esp, 8
test eax, eax
je 0x4126e5
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x4126e5
push 0x38
jmp 0x41272b
mov eax, dword [ecx - 8]
test eax, eax
jl 0x412735
push 0x4b8180
push ecx
call esi
mov ecx, dword [esp + 0x34]
add esp, 8
test eax, eax
je 0x412708
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
jne 0x412729
mov eax, dword [ecx - 8]
test eax, eax
jl 0x412735
push 0x4b8178
push ecx
call esi
add esp, 8
test eax, eax
je 0x412735
sub eax, dword [esp + 0x2c]
sar eax, 1
cmp eax, 0xffffffff
je 0x412735
push 0x3e
mov ecx, 0x4c6f80
call fcn.00403450
mov dword [ebp + 0x6c], 1
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov dword [ebp + 0x40], eax
mov eax, dword [ebp + 0x2c]
test eax, eax
jne case.default.0x412620
mov eax, dword [ebp + 0x28]
test eax, eax
jne case.default.0x412620
cmp dword [ebp + 0x1c], 2
je case.default.0x412620
mov eax, dword [ebp + 0x50]
push 0x4c712c
push eax
mov dword [ebp + 0x2c], 1
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x41284f
mov eax, dword [ebx + 0xc]
test eax, eax
ja 0x41284f
jb 0x4127a2
cmp dword [ebx + 8], 0x1900000
jae 0x41284f
mov eax, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x50]
lea esi, [ebp + 0x34]
push eax
push ecx
mov ecx, ebp
call fcn.004149a0
test eax, eax
jne 0x41284f
mov edi, 1
push ebx
mov ecx, ebp
mov dword [ebp + 0x64], edi
mov dword [ebp + 0x5c], edi
mov dword [ebp + 0x1c], 3
mov dword [ebp + 0x28], edi
call fcn.004142d0
mov ecx, 0x4c6f80
call fcn.00403340
mov edx, dword [ebp + 0x14]
push edx
call fcn.0043ebe0
mov eax, dword [ebp + 0x14]
push eax
call fcn.0043ebb0
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.0043ec60
add esp, 0xc
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esi]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 0x78]
lea ecx, [ebp + 0x70]
push esi
push edi
push eax
call fcn.00410030
mov eax, dword [esp + 0x2c]
mov edx, dword [0x4b7084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x412b80
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x412b80
jmp 0x412b70
lea eax, [ebp + 0x34]
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], eax
push ecx
mov eax, dword [eax]
mov dword [esp + 0x1c], 0xffffffff
push eax
call fcn.004104c0
add esp, 8
test eax, eax
je 0x412884
mov eax, dword [esp + 0x18]
cmp eax, 3
je 0x412884
cmp eax, 0xffffffff
jne 0x412a7c
mov esi, dword [esp + 0x10]
mov edx, dword [esi]
push edx
push str.360sign_check_failed__s__n
call fcn.00423c20
add esp, 8
mov edi, 1
mov ecx, ebp
mov dword [ebp + 0x64], 2
push ebx
mov dword [ebp + 0x60], edi
mov dword [ebp + 0x1c], 3
call fcn.004142d0
mov ecx, 0x4c6f80
call fcn.00403340
mov eax, dword [ebp + 0x14]
push eax
call fcn.0043ebe0
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.0043ebb0
mov edx, dword [ebp + 0x14]
push edx
call fcn.0043ec60
add esp, 0xc
mov dword [ebp + 0x28], edi
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.delete__d__d__n
call fcn.00423c20
mov eax, dword [ebp + 0x78]
mov ecx, dword [ebp + 0x7c]
lea esi, [ebp + 0x70]
sub ecx, eax
sar ecx, 2
add esp, 0xc
cmp ecx, 1
mov edi, eax
jae 0x4129cb
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x41293c
sub eax, ecx
sar eax, 2
cmp eax, 1
mov ebx, eax
ja 0x412941
mov ebx, 1
mov ecx, esi
call fcn.00487110
add eax, ebx
mov dword [esp + 0x18], eax
jns 0x412952
xor eax, eax
lea edx, [eax*4]
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ebp, eax
mov eax, dword [esi + 4]
mov ecx, esi
push ebp
push edi
push eax
call fcn.004103c0
mov ecx, dword [esp + 0x10]
mov ebx, eax
push ecx
push 1
push ebx
mov ecx, esi
call fcn.00410400
mov edx, dword [esi + 8]
add ebx, 4
push ebx
push edx
push edi
mov ecx, esi
call fcn.004103c0
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.0040fba0
mov edx, dword [esi + 4]
push edx
call fcn.00437568
mov eax, dword [esp + 0x1c]
add esp, 4
lea ecx, [ebp + eax*4]
mov dword [esi + 0xc], ecx
mov ecx, esi
call fcn.00487110
lea edx, [ebp + eax*4 + 4]
mov dword [esi + 4], ebp
mov dword [esi + 8], edx
jmp 0x412a44
mov ecx, eax
sub ecx, edi
sar ecx, 2
cmp ecx, 1
jae 0x412a13
lea edx, [edi + 4]
mov ecx, esi
push edx
push eax
push edi
call fcn.004103c0
mov eax, dword [esi + 8]
mov ebx, dword [esp + 0x10]
mov ecx, eax
mov edx, 1
sub ecx, edi
push ebx
sar ecx, 2
sub edx, ecx
mov ecx, esi
push edx
push eax
call fcn.00410400
mov eax, dword [esi + 8]
push ebx
push eax
push edi
call fcn.00410840
add esp, 0xc
jmp 0x412a40
push eax
push eax
add eax, 0xfffffffc
mov ecx, esi
push eax
call fcn.004103c0
mov eax, dword [esi + 8]
push eax
add eax, 0xfffffffc
push eax
push edi
call fcn.00410920
mov ecx, dword [esp + 0x1c]
lea edx, [edi + 4]
push ecx
push edx
push edi
call fcn.00410840
add esp, 0x18
add dword [esi + 8], 4
mov eax, dword [esp + 0x2c]
mov edx, dword [0x4b7084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x412a73
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x412a73
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff4
push edx
call fcn.00437568
add esp, 4
mov eax, dword [esp + 0x14]
jmp 0x412b84
mov ecx, ebp
mov dword [ebp + 0x1c], 2
call fcn.00412be0
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x28], 1
call edi
push ebx
mov ecx, ebp
mov dword [ebp + 0x44], eax
call fcn.004142d0
jmp 0x412b47
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x40], eax
mov eax, dword [ebp + 0x28]
test eax, eax
jne case.default.0x412620
mov dword [ebp + 0x64], 0
jmp 0x412b29
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x40], eax
mov eax, dword [ebp + 0x28]
test eax, eax
jne case.default.0x412620
mov eax, 3
mov dword [ebp + 0x64], eax
mov dword [ebp + 0x1c], eax
jmp 0x412b30
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x40], eax
mov eax, dword [ebp + 0x28]
test eax, eax
jne case.default.0x412620
mov dword [ebp + 0x64], 4
jmp 0x412b29
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x40], eax
mov eax, dword [ebp + 0x28]
test eax, eax
jne case.default.0x412620
mov dword [ebp + 0x64], 5
jmp 0x412b29
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x40], eax
mov eax, dword [ebp + 0x28]
test eax, eax
jne case.default.0x412620
mov dword [ebp + 0x64], 6
mov dword [ebp + 0x1c], 3
push ebx
mov ecx, ebp
mov dword [ebp + 0x28], 1
call fcn.004142d0
push ebx
mov ecx, ebp
call fcn.00414b40
mov ecx, 0x4c6f80
call fcn.00403340
mov eax, dword [esp + 0x2c]
mov edx, dword [0x4b7084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x412b80
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x412b80
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff4
push edx
call fcn.00437568
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4