Function at 0x40614a
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x1d4
mov dword [ebp - 0x1bc], ecx
mov eax, dword [ebp - 0x1bc]
mov ecx, eax
call fcn.00405c28
mov eax, dword [ebp - 0x1bc]
add eax, 0x50
mov ecx, eax
call fcn.004f6ebc
call fcn.004033f2
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1bc]
mov byte [eax + 0x4c], 0
lea eax, [ebp - 0x168]
mov ecx, eax
call fcn.004c96d0
lea eax, [ebp - 0x168]
mov dword [esp + 4], 8
mov edx, dword [ebp + 8]
mov dword [esp], edx
mov ecx, eax
call fcn.004c9030
sub esp, 8
lea eax, [ebp - 0x168]
add eax, 0x74
mov ecx, eax
call fcn.004a8f60
test al, al
je 0x4063d9
lea eax, [ebp - 0x6c]
mov ecx, eax
call fcn.004e52e0
jmp 0x406370
mov eax, dword [ebp - 0xc]
add eax, 4
mov ecx, eax
call fcn.004dd3a0
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
xor eax, 1
test al, al
je 0x406238
mov eax, dword [ebp - 0xc]
add eax, 4
mov ecx, eax
call fcn.004dd3cc
lea eax, [ebp - 0x168]
mov ecx, eax
call fcn.004c9140
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xb8]
test eax, eax
jne 0x40622e
mov eax, dword [ebp + 8]
mov ecx, eax
call fcn.00473b80
mov dword [esp], eax
call sub.msvcrt.dll_remove
mov ebx, 0
jmp 0x4063c3
mov eax, dword [ebp - 0xc]
add eax, 4
mov ecx, eax
call fcn.004dd3cc
lea eax, [ebp - 0x6c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x168]
mov dword [esp], eax
call fcn.004fe860
lea eax, [ebp - 0x3c]
lea edx, [ebp - 0x6c]
mov dword [esp], edx
mov ecx, eax
call fcn.004e4fd0
sub esp, 4
lea eax, [ebp - 0x54]
lea edx, [ebp - 0x3c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00465560
lea eax, [ebp - 0x6c]
lea edx, [ebp - 0x54]
mov dword [esp], edx
mov ecx, eax
call fcn.004e5b10
sub esp, 4
lea eax, [ebp - 0x54]
mov ecx, eax
call fcn.004e5ab0
lea eax, [ebp - 0x3c]
mov ecx, eax
call fcn.004e5ab0
lea eax, [ebp - 0x6c]
mov ecx, eax
call fcn.00473d60
test eax, eax
setne al
test al, al
je 0x406370
lea eax, [ebp - 0x24]
lea edx, [ebp - 0x6c]
mov dword [esp], edx
mov ecx, eax
call fcn.004e4fd0
sub esp, 4
lea eax, [ebp - 0x1b4]
lea edx, [ebp - 0x24]
mov dword [esp], edx
mov ecx, eax
call fcn.00405c62
sub esp, 4
lea eax, [ebp - 0x24]
mov ecx, eax
call fcn.004e5ab0
lea eax, [ebp - 0x1b4]
mov ecx, eax
call fcn.00465788
test al, al
je 0x40631f
mov eax, dword [ebp - 0x1bc]
add eax, 0x50
lea edx, [ebp - 0x1b4]
mov dword [esp], edx
mov ecx, eax
call fcn.004f6e88
sub esp, 4
jmp 0x406363
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xb8]
and eax, 1
test eax, eax
je 0x406363
mov dword [esp + 4], str._ERROR__FileList:_Invalid_line:
mov dword [esp], 0x5109a0
call fcn.00501340
lea edx, [ebp - 0x6c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00501650
mov dword [esp], 0x4fe5b0
mov ecx, eax
call fcn.004b7b80
sub esp, 4
lea eax, [ebp - 0x1b4]
mov ecx, eax
call fcn.00465830
lea eax, [ebp - 0x168]
add eax, 0x74
mov ecx, eax
call fcn.004a8f60
test al, al
jne 0x4061db
mov eax, dword [ebp - 0x1bc]
mov byte [eax + 0x4c], 1
lea eax, [ebp - 0x168]
mov ecx, eax
call fcn.004c9140
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xb8]
test eax, eax
jne 0x4063be
mov eax, dword [ebp + 8]
mov ecx, eax
call fcn.00473b80
mov dword [esp], eax
call sub.msvcrt.dll_remove
mov ebx, 1
lea eax, [ebp - 0x6c]
mov ecx, eax
call fcn.004e5ab0
cmp ebx, 1
je 0x4063d9
mov ebx, 0
jmp 0x4063de
mov ebx, 1
lea eax, [ebp - 0x168]
mov ecx, eax
call fcn.004c9e50
cmp ebx, 1
jmp 0x406465
mov ebx, dword [ebp - 4]
leave
ret 4