Function at 0x405030
Capabilities:
Check for time delay via gettickcount
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4193b8
push 0x410e48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [0x420cd0]
cmp ecx, edi
je 0x405092
sub eax, ecx
cmp eax, 0x3e8
jae 0x405092
mov eax, 2
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20]
push eax
call fcn.004042c0
add esp, 4
test eax, eax
jne 0x4050b3
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 8], edi
jne 0x40511a
mov dword [ebp - 4], edi
push edi
push edi
push edi
push 0x80000003
call dword [sym.imp.KERNEL32.dll_RaiseException]
call esi
mov dword [0x420cd0], eax
mov dword [ebp - 0x24], edi
mov esi, dword [ebp + 0x10]
cmp esi, edi
jne 0x405364
mov al, byte [0x420ba4]
test al, al
jne 0x405149
push 0x104
push 0x420ba4
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ebx, dword [ebp + 0xc]
cmp ebx, edi
jne 0x405163
lea ecx, [ebp - 0x150]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ebx, [ebp - 0x150]
push 0x5c
push 0x420ba4
call fcn.00401450
inc eax
lea edx, [ebp - 0x198]
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
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
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x2e
lea ecx, [ebp - 0x198]
push ecx
call fcn.00401450
add esp, 0x10
mov esi, eax
call fcn.004053f0
test eax, eax
jle 0x4051c6
push eax
push 0x41c5e4
lea edx, [esi + 1]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
add esi, eax
xor eax, eax
mov ax, word [ebx + 0xc]
push eax
xor ecx, ecx
mov cx, word [ebx + 0xa]
push ecx
xor edx, edx
mov dx, word [ebx + 8]
push edx
xor eax, eax
mov ax, word [ebx + 6]
push eax
xor ecx, ecx
mov cx, word [ebx + 2]
push ecx
xor edx, edx
mov dx, word [ebx]
push edx
push str.__04d__02d__02d__02d_02d_02d.dmp
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [ebp - 0x12c]
mov edi, 0x420ba4
or ecx, 0xffffffff
xor eax, eax
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
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x5c
lea ecx, [ebp - 0x12c]
push ecx
call fcn.00401450
add esp, 0x28
lea ebx, [eax + 1]
mov edi, str.Support_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x198]
lea edx, [ebp - 0x12c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
push 0x80
push 2
push eax
push 2
push 0x40000000
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x405357
lea edi, [ebp - 0x198]
or ecx, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
push 0x80
push 2
push eax
push 2
push 0x40000000
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x405357
lea ecx, [ebp - 0x12c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edi, [ebp - 0x198]
lea edx, [ebp - 0x12c]
or ecx, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
push 0x80
push 2
push eax
push 2
push 0x40000000
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x405362
mov dword [ebp - 0x24], 1
xor edi, edi
cmp esi, 0xffffffff
je 0x4053db
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x138], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x130], edi
mov edi, dword [0x420ccc]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, dword [0x420cb4]
mov ecx, dword [edx + 0x1c]
test ecx, ecx
jne 0x4053a2
mov dword [ebp - 0x1c], ecx
jmp 0x4053b9
push 0
push 0
lea ebx, [ebp - 0x138]
push ebx
push edi
push esi
push eax
mov edx, dword [edx + 4]
push edx
call ecx
mov dword [ebp - 0x1c], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4053db
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4053db
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret