Function at 0x477e30
Capabilities:
Delete file
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c15a1
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x4deb90]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x264], ecx
push 0x4d2d40
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x5bf598], ecx
push 0x104
mov edx, dword [ebp + 8]
push edx
push 0x104
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x26c]
push ecx
call fcn.004ac580
add esp, 0x14
lea ecx, [ebp - 0x248]
call fcn.0041baf0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x248]
call fcn.0041bad0
push 0x4d2d64
lea ecx, [ebp - 0x248]
call fcn.00453f30
cmp dword [ebp + 0xc], 2
je 0x477edf
cmp dword [ebp + 0xc], 3
jne 0x477f50
lea ecx, [ebp - 0x27c]
call fcn.00497650
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x264]
call fcn.00484be0
lea eax, [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x264]
add ecx, 0x5bfebc
call fcn.004541b0
test eax, eax
jne 0x477f30
push 0
push 0x4d2d5c
push str.File_Not_Found
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.004a49d4
push 0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x264]
call fcn.00478830
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x27c]
call fcn.00497690
mov edx, dword [ebp - 0x264]
mov dword [edx + 0x5bf59c], 0xffffffff
mov eax, dword [ebp - 0x264]
mov byte [eax + 0x29bffc], 0
lea ecx, [ebp - 0x230]
call fcn.0041baf0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x264]
cmp dword [ecx + 0x33ab60], 3
jl 0x477fe8
push 0x4d2d70
lea ecx, [ebp - 0x230]
call fcn.0041bad0
lea edx, [ebp - 0x230]
push edx
mov eax, dword [ebp - 0x264]
add eax, 0x5bf8d0
push eax
mov ecx, dword [ebp - 0x264]
call fcn.004846a0
push 0x4d2da0
lea ecx, [ebp - 0x230]
call fcn.0041bad0
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x264]
add edx, 0x5bf8c8
push edx
mov ecx, dword [ebp - 0x264]
call fcn.004846a0
mov eax, dword [ebp - 0x264]
cmp dword [eax + 0x33ab60], 4
jl 0x478026
push 0x4d2d90
lea ecx, [ebp - 0x230]
call fcn.0041bad0
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x264]
add edx, 0x5bf8d8
push edx
mov ecx, dword [ebp - 0x264]
call fcn.004846a0
mov ecx, dword [ebp - 0x264]
call fcn.004848b0
mov eax, dword [ebp - 0x264]
movzx ecx, byte [eax + 0x29bffc]
test ecx, ecx
je 0x4780d8
push 1
mov ecx, dword [ebp - 0x264]
add ecx, 0x5bfee4
mov edx, dword [ebp - 0x264]
mov eax, dword [edx + 0x5bfee4]
mov edx, dword [eax + 0xc]
call edx
lea ecx, [ebp - 0x260]
call fcn.0041baf0
mov byte [ebp - 4], 3
push 0x4d2dc4
lea ecx, [ebp - 0x260]
call fcn.0041bad0
push 1
lea eax, [ebp - 0x260]
push eax
mov ecx, dword [ebp - 0x264]
add ecx, 0x5bfee4
mov edx, dword [ebp - 0x264]
mov eax, dword [edx + 0x5bfee4]
mov edx, dword [eax + 8]
call edx
push 1
mov ecx, dword [ebp - 0x264]
add ecx, 0x5bfee4
mov eax, dword [ebp - 0x264]
mov edx, dword [eax + 0x5bfee4]
mov eax, dword [edx + 0xc]
call eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x260]
call fcn.00412b30
cmp dword [ebp + 0xc], 2
jne 0x47810e
mov byte [ebp - 0x265], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00412b30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00412b30
mov al, byte [ebp - 0x265]
jmp 0x478150
mov ecx, dword [ebp + 0xc]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x264]
call fcn.004781c0
mov byte [ebp - 0x266], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00412b30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00412b30
mov al, byte [ebp - 0x266]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0848
mov esp, ebp
pop ebp
ret 8