Function at 0x180004140
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x18004e058]
xor rax, rsp
mov qword [rbp + 0x210], rax
xor r14d, r14d
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp]
call fcn.180013310
mov edi, 1
mov r8d, edi
lea rsi, [0x18004eca0]
mov rdx, rsi
lea rcx, [rbp]
call fcn.180009310
nop
cmp qword [rbp + 0x90], r14
je 0x180004523
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], send
mov byte [rbp - 0x20], r14b
nop word [rax + rax]
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx + 0x40]
mov rcx, qword [rax + 8]
mov qword [rbp - 0x78], rcx
mov rax, qword [rcx]
call qword [rax + htons]
nop
lea rcx, [rbp - 0x80]
call fcn.18000c610
mov r8, qword [rax]
mov dl, 0xa
mov rcx, rax
call qword [r8 + 0x40]
movzx ebx, al
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x180004223
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
test rax, rax
je 0x180004223
mov r8, qword [rax]
mov edx, edi
mov rcx, rax
call qword [r8]
movzx r8d, bl
lea rdx, [rbp - 0x20]
lea rcx, [rbp]
call fcn.18000e270
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x180004492
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], send
mov byte [rbp - 0x40], 0
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], send
mov byte [rbp - 0x60], 0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x110]
call fcn.180013310
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x110]
call fcn.180007d60
nop
mov r8b, 0x2c
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x110]
call fcn.18000e270
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx + 0x150]
mov rcx, qword [rax + 8]
mov qword [rbp - 0x68], rcx
mov rax, qword [rcx]
call qword [rax + htons]
nop
lea rcx, [rbp - 0x70]
call fcn.18000c610
mov r8, qword [rax]
mov dl, 0xa
mov rcx, rax
call qword [r8 + 0x40]
movzx ebx, al
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x1800042ff
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
test rax, rax
je 0x1800042ff
mov r8, qword [rax]
mov edx, edi
mov rcx, rax
call qword [r8]
movzx r8d, bl
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x110]
call fcn.18000e270
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.180009790
nop
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x60]
call fcn.180009790
nop
mov rdx, qword [0x1800510b0]
cmp rdx, qword [0x1800510b8]
je 0x18000437f
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rdx], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movups xmmword [rdx + 0x10], xmm1
mov ebx, send
mov byte [rsp + 0x40], 0
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [rdx + 0x20], xmm0
movaps xmm1, xmmword [rsp + 0x70]
movups xmmword [rdx + 0x30], xmm1
mov edx, ebx
mov byte [rsp + 0x60], 0
add qword [0x1800510b0], 0x40
jmp 0x180004393
lea r8, [rsp + 0x40]
call fcn.18000cd80
mov rdx, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1800043cb
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800043c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800045c9
call fcn.180010c50
cmp rbx, 0x10
jb 0x180004405
lea rdx, [rbx + 1]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800043ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800045c9
call fcn.180010c50
nop
lea rcx, [rbp + 0x110]
call fcn.1800032d0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x18000444e
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004448
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800045cf
call fcn.180010c50
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x1800041d0
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004488
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800045d5
call fcn.180010c50
jmp 0x1800041d0
lea rcx, [rbp + 0x10]
call fcn.18000ad60
test rax, rax
jne 0x1800044cc
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea r9, [rbp]
add rcx, r9
mov edx, 6
mov eax, 2
cmp qword [rcx + 0x48], 0
cmovne edx, eax
or edx, dword [rcx + 0x10]
xor r8d, r8d
call fcn.180001d80
cmp qword [0x18004ecb8], 0x10
cmovae rsi, qword [0x18004eca0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x180004526
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000451c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800045c3
call fcn.180010c50
jmp 0x180004526
mov edi, r14d
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx], rax
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 4], edx
lea rcx, [rbp + 0x10]
call fcn.180009000
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx], rax
mov rcx, qword [rbp]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x18]
mov dword [rbp + rdx - 4], r8d
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0xb0], rax
lea rcx, [rbp + 0xb0]
call fcn.1800100a4
nop
mov eax, edi
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.180010c30
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.180019de8
nop
call fcn.180019de8
nop
call fcn.180019de8
nop
call fcn.180019de8
int3