Function at 0x45c980
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58216b
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x604e14]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00490410
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x45c9bb
or eax, 0xffffffff
jmp 0x45cd1f
push 0x428
call fcn.0052601f
add esp, 4
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x34], 0
je 0x45c9e5
mov ecx, dword [ebp - 0x34]
call fcn.0045d2a0
mov dword [ebp - 0x44], eax
jmp 0x45c9ec
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
mov dword [ecx + 0x78], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x78]
mov dword [ebp - 0x14], ecx
cmp dword [ebp + 0xc], 0
jne 0x45ca1c
xor edx, edx
mov eax, dword [ebp - 0x14]
mov word [eax + 0x10], dx
jmp 0x45ca34
mov ecx, dword [ebp + 0xc]
push ecx
push 0x104
mov edx, dword [ebp - 0x14]
add edx, 0x10
push edx
call fcn.0045eee0
add esp, 0xc
cmp dword [ebp + 0x10], 0
jne 0x45ca48
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov word [ecx + 0x218], ax
jmp 0x45ca62
mov edx, dword [ebp + 0x10]
push edx
push 0x104
mov eax, dword [ebp - 0x14]
add eax, 0x218
push eax
call fcn.0045eee0
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x420], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x424], 0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004917e0
add esp, 4
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004a8c30
add esp, 4
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004a6de0
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004c7490
add esp, 4
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004c82c0
add esp, 4
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004badb0
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004c6510
add esp, 4
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004b3460
add esp, 4
push 0
push 0
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0048e080
add esp, 4
fldz
fstp qword [esp]
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0048daf0
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x45cb30
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0045c6c0
add esp, 4
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0048dc10
add esp, 8
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.005565e6
add esp, 4
jmp 0x45cb41
push 0x5ae8b8
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0048dc10
add esp, 8
push 0xfffffffffffffffd
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0048e290
add esp, 8
mov dword [ebp - 0x18], 0
cmp dword [ebp + 0x14], 0
je 0x45cbf6
cmp dword [0x60b1d0], 2
jle 0x45cbf6
mov ecx, dword [0x60b1d0]
sub ecx, 2
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x24], 0
jmp 0x45cb8b
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x18]
jge 0x45cbf6
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x48], ecx
fild dword [ebp - 0x48]
sub esp, 8
fstp qword [esp]
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0048daf0
add esp, 0xc
mov eax, dword [ebp - 0x24]
mov ecx, dword [0x60b1d8]
mov edx, dword [ecx + eax*4 + 8]
push edx
call fcn.0045c6c0
add esp, 4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0048dc10
add esp, 8
mov edx, dword [ebp - 0x28]
push edx
call fcn.005565e6
add esp, 4
push 0xfffffffffffffffd
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0048e290
add esp, 8
jmp 0x45cb82
push str.argv
push 0xffffd8ee
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0048e2e0
add esp, 0xc
mov eax, dword [ebp - 0x18]
add eax, 1
cdq
push edx
push eax
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0048db60
add esp, 0xc
push str.argc
push 0xffffd8ee
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0048e2e0
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0048ffe0
add esp, 8
test eax, eax
jne 0x45cc61
push 0
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0048e740
add esp, 0x10
test eax, eax
je 0x45ccdd
push 0
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0048d7e0
add esp, 0xc
push eax
call fcn.00556680
add esp, 4
add eax, 0x104
push eax
call fcn.00526059
add esp, 4
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x2c], edx
push 0
push 0xffffffffffffffff
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0048d7e0
add esp, 0xc
push eax
push str.Error_loading_script:__s
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x30
push 0x5ae8e8
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [0x606acc]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0052604e
add esp, 4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x78]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004a48d0
add esp, 4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0045c4f0
add esp, 4
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
push eax
call fcn.0052604e
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret