Function at 0x14003c480
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x14049f3c0]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rbx, rdx
mov rsi, rcx
cmp qword [rdx + 0x10], 0
jne 0x14003c4d9
mov r8d, 8
lea rdx, str.mbupdatr.log
lea rcx, [0x1404b5d00]
call fcn.1400467a0
jmp 0x14003c94a
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
mov r8d, 4
lea rdx, str.logs
lea rcx, [rsp + 0x28]
call fcn.140031e00
nop
lea r8, [rsp + 0x28]
mov rdx, rbx
lea rcx, [rbp + 0xa0]
call fcn.1400a2f80
nop
lea rcx, [rsp + 0x28]
call fcn.1400166f0
xor r8d, r8d
lea rcx, [rbp + 0xa0]
call fcn.1400ba9f0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov r8d, recvfrom
lea rdx, str.mbupdatr.log
lea rcx, [rsp + 0x48]
call fcn.140031e00
nop
lea r8, [rsp + 0x48]
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x68]
call fcn.1400a2f80
nop
lea rcx, [rsp + 0x48]
call fcn.1400166f0
lea rdx, [rbp + 0x68]
cmp qword [rbp + 0x80], 7
cmova rdx, qword [rbp + 0x68]
mov r8d, 8
lea rdi, [0x1404b5d00]
mov rcx, rdi
call fcn.1400467a0
mov rax, qword [0x1404b5d00]
movsxd rcx, dword [rax + 4]
cmp dword [rcx + rdi + 0x10], 0
je 0x14003c934
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x88], xmm0
mov qword [rbp + 0x98], rax
xor r14d, r14d
mov word [rsp + 0x20], r14w
lea r8, [rsp + 0x20]
mov edx, 0x104
lea rcx, [rbp + 0x88]
call fcn.140046600
nop
mov rcx, qword [rbp + 0x90]
mov rdx, qword [rbp + 0x88]
sub rcx, rdx
sar rcx, 1
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ebx, eax
xorps xmm0, xmm0
xorps xmm1, xmm1
test eax, eax
je 0x14003c706
movups xmmword [rbp - 0x78], xmm0
movdqu xmmword [rbp - 0x68], xmm1
lea r8d, [r14 + 0xc]
lea rdx, str.mbupdatr.log
lea rcx, [rbp - 0x78]
call fcn.140031e00
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
mov r8d, ebx
mov rdx, qword [rbp + 0x88]
lea rcx, [rsp + 0x68]
call fcn.140031e00
nop
lea r8, [rbp - 0x78]
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x18]
call fcn.1400a2f80
mov rbx, rax
lea rax, [rbp + 0x68]
cmp rax, rbx
je 0x14003c6e8
mov rdx, qword [rbp + 0x80]
cmp rdx, 7
jbe 0x14003c6b7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003c6b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003c985
call fcn.1402ba9fc
movdqa xmm0, xmmword [0x140445990]
movdqu xmmword [rbp + 0x78], xmm0
mov word [rbp + 0x68], r14w
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x68], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x78], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
lea rcx, [rbp - 0x18]
call fcn.1400166f0
nop
lea rcx, [rsp + 0x68]
call fcn.1400166f0
nop
lea rcx, [rbp - 0x78]
jmp 0x14003c7d8
movups xmmword [rbp - 0x58], xmm0
movdqu xmmword [rbp - 0x48], xmm1
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Tempmbupdatr.log
lea rcx, [rbp - 0x58]
call fcn.140031e00
nop
lea rcx, [rbp + 0x28]
call fcn.1400c1280
nop
lea r8, [rbp - 0x58]
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.1400a2f80
mov rbx, rax
lea rax, [rbp + 0x68]
cmp rax, rbx
je 0x14003c7c0
mov rdx, qword [rbp + 0x80]
cmp rdx, 7
jbe 0x14003c78f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003c78a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003c98b
call fcn.1402ba9fc
movdqa xmm0, xmmword [0x140445990]
movdqu xmmword [rbp + 0x78], xmm0
mov word [rbp + 0x68], r14w
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x68], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x78], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
lea rcx, [rbp + 8]
call fcn.1400166f0
nop
lea rcx, [rbp + 0x28]
call fcn.1400166f0
nop
lea rcx, [rbp - 0x58]
call fcn.1400166f0
lea rdx, [rbp + 0x68]
cmp qword [rbp + 0x80], 7
cmova rdx, qword [rbp + 0x68]
mov r8d, 8
mov rcx, rdi
call fcn.1400467a0
mov rax, qword [0x1404b5d00]
movsxd rcx, dword [rax + 4]
cmp dword [rcx + rdi + 0x10], 0
je 0x14003c927
mov r8d, 0xa
lea rdx, str.C:mb_temp
lea rcx, [rbp + 0xa0]
call fcn.140031b60
xor r8d, r8d
lea rcx, [rbp + 0xa0]
call fcn.1400ba9f0
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
mov r8d, recvfrom
lea rdx, str.mbupdatr.log
lea rcx, [rbp - 0x38]
call fcn.140031e00
nop
lea r8, [rbp - 0x38]
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x48]
call fcn.1400a2f80
mov rbx, rax
lea rax, [rbp + 0x68]
cmp rax, rbx
je 0x14003c8f4
mov rdx, qword [rbp + 0x80]
cmp rdx, 7
jbe 0x14003c8c3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003c8be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003c97f
call fcn.1402ba9fc
movdqa xmm0, xmmword [0x140445990]
movdqu xmmword [rbp + 0x78], xmm0
mov word [rbp + 0x68], r14w
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x68], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x78], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
lea rcx, [rbp + 0x48]
call fcn.1400166f0
nop
lea rcx, [rbp - 0x38]
call fcn.1400166f0
lea rdx, [rbp + 0x68]
cmp qword [rbp + 0x80], 7
cmova rdx, qword [rbp + 0x68]
mov r8d, 8
mov rcx, rdi
call fcn.1400467a0
nop
lea rcx, [rbp + 0x88]
call fcn.1400487f0
nop
lea rcx, [rbp + 0x68]
call fcn.1400166f0
nop
lea rcx, [rbp + 0xa0]
call fcn.1400166f0
mov eax, 1
xchg byte [0x1404b65d9], al
mov rax, rsi
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1402ba9b0
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1402caabc
nop
call fcn.1402caabc
nop
call fcn.1402caabc
int3