Function at 0x140043100
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x14018a090]
xor rax, rsp
mov qword [rbp + 0x210], rax
movzx ebx, r8b
movzx esi, dl
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov qword [rcx], r14
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], 7
mov word [rcx], r14w
mov qword [rbp - 0x48], r14
movdqa xmm0, xmmword [0x140167e50]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], r14b
lea r8d, [r14 + 0x14]
lea rdx, [0x14015e3d8]
lea rcx, [rbp - 0x48]
call fcn.1400090e0
nop
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.14001b490
nop
lea rcx, [rbp - 0x48]
call fcn.140009080
nop
mov dword [rsp + 0x20], 1
test bl, bl
je 0x14004326d
mov rbx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400431b6
mov rbx, qword [rdi]
lea rdx, [0x14015fcac]
lea rcx, [rbp - 0x20]
call fcn.14004f980
mov rsi, rax
lea rdx, [0x14015c818]
test rbx, rbx
cmovne rdx, rbx
mov qword [rsp + 0x28], r14
movdqa xmm0, xmmword [0x140167e40]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r14w
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140043200
lea rcx, [rsp + 0x28]
call fcn.140008ee0
nop
lea r8, [rsp + 0x28]
lea rdx, [rbp - 0x48]
mov rcx, rsi
call fcn.140024500
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x28]
call fcn.140008e70
nop
lea rcx, [rbp - 0x20]
call fcn.140008e70
nop
lea rax, [rbp - 0x48]
cmp rdi, rax
je 0x140043268
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
mov r8, qword [rbp - 0x38]
mov rcx, rdi
call fcn.140008ee0
nop
jmp 0x140043517
test sil, sil
je 0x140043520
mov qword [rbp - 0x20], r14
movdqa xmm0, xmmword [0x140167e40]
movdqu xmmword [rbp - 0x10], xmm0
mov word [rbp - 0x20], r14w
mov dword [rsp + 0x20], 5
lea rbx, [fcn.140024cd0]
mov qword [rbp - 0x50], rbx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp]
call fcn.1400fc160
lea r8, [rbp - 0x50]
mov rdx, rbx
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
mov r8d, 0x104
lea rdx, [rbp]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1400432fd
cmp word [rbp], 0
jne 0x1400432fd
mov dword [rbp - 0x28], 0x104
lea r9, [rbp - 0x28]
lea r8, [rbp]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
mov qword [rsp + 0x28], r14
movdqa xmm0, xmmword [0x140167e40]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r14w
lea rax, [rbp]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140043321
lea rdx, [rbp]
lea rcx, [rsp + 0x28]
call fcn.140008ee0
nop
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x28]
call fcn.140025330
mov dword [rsp + 0x20], reloc.OLEAUT32.dll_DosDateTimeToVariantTime
lea rcx, [rsp + 0x28]
call fcn.140008e70
nop
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
mov r8, qword [rbp - 0x38]
lea rcx, [rbp - 0x20]
call fcn.140008ee0
nop
lea rcx, [rbp - 0x48]
call fcn.140008e70
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x20]
call fcn.140024330
nop
mov r8, rdi
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.140024500
nop
cmp rdi, rax
je 0x1400433c0
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x1400433b4
mov rax, qword [rax]
mov rdx, rax
mov rcx, rdi
call fcn.140008ee0
nop
lea rcx, [rsp + 0x50]
call fcn.140008e70
nop
lea rcx, [rsp + 0x70]
call fcn.140008e70
nop
lea rcx, [rbp - 0x20]
call fcn.140008e70
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400433ec
mov rcx, qword [rdi]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x140043520
mov qword [rbp - 0x48], r14
movdqa xmm0, xmmword [0x140167e40]
movdqu xmmword [rbp - 0x38], xmm0
mov word [rbp - 0x48], r14w
mov dword [rsp + 0x20], 0x19
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.140025040
nop
lea rcx, [rbp - 0x48]
cmp rcx, rax
je 0x14004344d
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140043440
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.140008ee0
nop
lea rcx, [rsp + 0x70]
call fcn.140008e70
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x48]
call fcn.140024330
mov rbx, rax
mov qword [rsp + 0x28], r14
movdqa xmm0, xmmword [0x140167e40]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r14w
mov qword [rbp - 0x20], r14
movdqa xmm0, xmmword [0x140167e50]
movdqu xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], 0
mov r8d, reloc.WS2_32.dll_sendto
lea rdx, [0x14015e3d8]
lea rcx, [rbp - 0x20]
call fcn.1400090e0
nop
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x20]
call fcn.14001b490
nop
lea rcx, [rbp - 0x20]
call fcn.140009080
nop
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140024500
nop
cmp rdi, rax
je 0x1400434f7
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x1400434eb
mov rax, qword [rax]
mov rdx, rax
mov rcx, rdi
call fcn.140008ee0
nop
lea rcx, [rsp + 0x50]
call fcn.140008e70
nop
lea rcx, [rsp + 0x28]
call fcn.140008e70
nop
lea rcx, [rbp - 0x70]
call fcn.140008e70
nop
lea rcx, [rbp - 0x48]
call fcn.140008e70
mov rax, rdi
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.1400f9560
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret