Function at 0x4015a0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40559b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x274
mov eax, dword [0x409004]
xor eax, ebp
mov dword [ebp - 0x14], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x220]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
xor edi, edi
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x224], 0xf
mov byte [ebp - 0x238], 0
lea eax, [ebp - 0x220]
mov dword [ebp - 4], edi
push eax
lea ecx, [ebp - 0x250]
call fcn.00403760
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x250]
cmp dword [ebp - 0x23c], 8
mov eax, dword [ebp - 0x240]
cmovae ecx, dword [ebp - 0x250]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x250]
cmovae ecx, dword [ebp - 0x250]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x284]
call fcn.00403e70
lea ecx, [ebp - 0x238]
cmp ecx, eax
je 0x40169a
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x238], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x228], xmm0
mov dword [eax + 0x10], edi
mov edi, dword [ebp - 0x228]
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x270]
cmp ecx, 0x10
jb 0x4016d6
mov edx, dword [ebp - 0x284]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4016cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4016cc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00404817
add esp, 8
mov eax, closesocket
sub eax, edi
cmp eax, 0xb
jb 0x40183a
cmp dword [ebp - 0x224], 0x10
lea eax, [ebp - 0x238]
push 0xb
cmovae eax, dword [ebp - 0x238]
push 0x406324
push edi
push eax
push ecx
push dword [ebp - 0x26c]
lea ecx, [ebp - 0x268]
call fcn.00404610
cmp dword [ebp - 0x254], 0x10
lea eax, [ebp - 0x268]
cmovae eax, dword [ebp - 0x268]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov ecx, dword [ebp - 0x254]
add esp, 4
cmp ecx, 0x10
jb 0x40176d
mov edx, dword [ebp - 0x268]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401763
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40180d
push ecx
push edx
call fcn.00404817
add esp, 8
mov ecx, dword [ebp - 0x23c]
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0xf
mov byte [ebp - 0x268], 0
cmp ecx, 8
jb 0x4017c4
mov edx, dword [ebp - 0x250]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4017ba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40180d
push ecx
push edx
call fcn.00404817
add esp, 8
mov ecx, dword [ebp - 0x224]
xor eax, eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
cmp ecx, 0x10
jb 0x40181d
mov edx, dword [ebp - 0x238]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401813
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401813
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00404817
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004047d9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004011e0
int3