Function at 0x140053f90
Capabilities:
Delete file
Get common file path
Initialize winsock library

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x510
mov rax, qword [0x140126108]
xor rax, rsp
mov qword [rsp + 0x500], rax
xor r12d, r12d
mov rsi, rcx
mov rbx, r8
mov rdi, rdx
lea rbp, [0x1400f9a38]
lea rcx, [rsp + 0x138]
xor edx, edx
mov r8d, 0x104
mov dword [rsp + 0x340], r12d
mov qword [rsp + 0x130], rbp
mov dword [rsp + 0x344], r12d
mov byte [rsp + 0x348], r12b
call fcn.1400a0a70
lea rcx, [rsp + 0x23c]
xor edx, edx
mov r8d, 0x104
call fcn.1400a0a70
lea rdx, [rsp + 0x138]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x14005403e
mov byte [rsp + 0x348], 1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x340], eax
lea r9, [rsp + 0x23c]
lea rcx, [rsp + 0x138]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x140054072
mov byte [rsp + 0x348], 1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x344], eax
lea r13, [0x1400f9a28]
lea rcx, [rsp + 0x358]
xor edx, edx
mov r8d, 0x198
mov dword [rsp + 0x4f0], r12d
mov qword [rsp + 0x350], r13
call fcn.1400a0a70
lea rdx, [rsp + 0x358]
mov cx, 0x102
call qword [sym.imp.WS2_32.dll_WSAStartup]
test rsi, rsi
mov dword [rsp + 0x4f0], eax
je 0x1400544da
test rdi, rdi
je 0x1400544da
test rbx, rbx
je 0x1400544da
test eax, eax
je 0x1400540fd
lea r9, str.WSAStartup_Error_u
mov r8d, 0x1c3
lea rdx, [0x1400f9278]
mov ecx, 2
mov dword [rsp + 0x20], eax
call fcn.1400580a0
jmp 0x1400544f8
cmp byte [rsp + 0x348], r12b
je 0x140054140
mov eax, dword [rsp + 0x340]
lea r9, str.AutoRemoveTempFile__autoTempFile.m_dwGetTempFileNameErrCode:__u__autoTempFile.m_dwGetTempPathErrCode:__u_
lea rdx, [0x1400f9278]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x344]
mov r8d, 0x1c9
mov ecx, 2
mov dword [rsp + 0x20], eax
call fcn.1400580a0
jmp 0x1400544f8
lea rax, [rsp + 0x23c]
lea r9, str.autoTempFile.m_szTempFile:__s_
lea rdx, str..FilePAC.cpp
mov r8d, 0x1cd
mov ecx, 8
mov qword [rsp + 0x20], rax
call fcn.140058180
lea r8, [rsp + 0x23c]
xor r9d, r9d
mov rdx, rdi
xor ecx, ecx
mov qword [rsp + 0x20], r12
call fcn.1400cb60a
test eax, eax
je 0x14005419b
lea r9, str.URLDownloadToFileA__HRESULT__x
mov r8d, 0x1d2
jmp 0x1400540e3
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x23c]
repne scasb al, byte [rdi]
mov edx, reloc.WS2_32.dll_ntohs
mov r8, r12
not rcx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], r12
sub rcx, 1
mov byte [rsp + 0x38], r8b
cmp rcx, 0xfffffffffffffffe
mov rdi, rcx
jbe 0x1400541e1
call fcn.1400cbc00
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x48]
cmp rdx, rdi
jae 0x1400542f3
lea rcx, [rsp + 0x30]
mov rdx, rdi
call fcn.140007520
test rdi, rdi
mov rdx, qword [rsp + 0x50]
je 0x14005423a
cmp rdx, 0x10
lea rcx, [rsp + 0x38]
lea r8, [rsp + 0x23c]
cmovae rcx, qword [rsp + 0x38]
mov r9, rdi
call fcn.14009d1a0
cmp qword [rsp + 0x50], 0x10
lea rax, [rsp + 0x38]
cmovae rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rdi
mov byte [rax + rdi], r12b
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.1400538b0
cmp qword [rsp + 0x50], 0x10
jb 0x14005425b
mov rcx, qword [rsp + 0x38]
call fcn.14006b8a0
cmp byte [rsp + 0x74], r12b
mov qword [rsp + 0x120], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x118], r12
mov byte [rsp + 0x108], r12b
je 0x140054318
mov eax, dword [rsp + 0x68]
lea r9, str.CJSProxyHelper__helperJsProxy.m_dwDeInitializeErrCode:__u__helperJsProxy.m_dwInitializeErrCode:__u_
lea rdx, [0x1400f9278]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x6c]
mov r8d, 0x1dd
mov ecx, 2
mov dword [rsp + 0x20], eax
call fcn.1400580a0
cmp qword [rsp + 0x120], 0x10
jb 0x1400542c8
mov rcx, qword [rsp + 0x108]
call fcn.14006b8a0
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x120], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x118], r12
mov byte [rsp + 0x108], r12b
call fcn.140053c00
jmp 0x1400544f8
test rdi, rdi
jne 0x140054201
lea rax, [rsp + 0x38]
cmp rdx, 0x10
mov qword [rsp + 0x48], r12
cmovae rax, qword [rsp + 0x38]
mov byte [rax], r12b
jmp 0x14005423a
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
repne scasb al, byte [rdi]
mov edx, reloc.WS2_32.dll_ntohs
mov r8, r12
not rcx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], r12
sub rcx, 1
mov byte [rsp + 0x38], r8b
cmp rcx, 0xfffffffffffffffe
mov rdi, rcx
jbe 0x140054359
call fcn.1400cbc00
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x48]
cmp rdx, rdi
jae 0x14005440c
lea rcx, [rsp + 0x30]
mov rdx, rdi
call fcn.140007520
test rdi, rdi
mov rdx, qword [rsp + 0x50]
je 0x1400543ad
cmp rdx, 0x10
lea rcx, [rsp + 0x38]
mov r9, rdi
cmovae rcx, qword [rsp + 0x38]
mov r8, rsi
call fcn.14009d1a0
cmp qword [rsp + 0x50], 0x10
lea rax, [rsp + 0x38]
cmovae rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rdi
mov byte [rax + rdi], r12b
lea r8, [rsp + 0x100]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140053cb0
test al, al
sete dil
cmp qword [rsp + 0x50], 0x10
jb 0x1400543dc
mov rcx, qword [rsp + 0x38]
call fcn.14006b8a0
test dil, dil
je 0x140054431
mov eax, dword [rsp + 0x70]
lea r9, str.CJSProxyHelper::GetProxyInfo__GetLastError_u
lea rdx, [0x1400f9278]
mov r8d, 0x1e6
mov ecx, 2
mov dword [rsp + 0x20], eax
call fcn.1400580a0
jmp 0x1400542b0
test rdi, rdi
jne 0x140054379
lea rax, [rsp + 0x38]
cmp rdx, 0x10
mov qword [rsp + 0x48], r12
cmovae rax, qword [rsp + 0x38]
mov byte [rax], r12b
jmp 0x1400543ad
cmp qword [rsp + 0x120], 0x10
lea rdx, [rsp + 0x108]
mov r8d, 0x800
cmovae rdx, qword [rsp + 0x108]
mov rcx, rbx
call fcn.1400a1d80
cmp qword [rsp + 0x120], 0x10
mov byte [rbx + 0x7ff], r12b
jb 0x140054478
mov rcx, qword [rsp + 0x108]
call fcn.14006b8a0
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x120], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x118], r12
mov byte [rsp + 0x108], r12b
call fcn.140053c00
cmp dword [rsp + 0x4f0], r12d
mov qword [rsp + 0x350], r13
jne 0x1400544b6
call qword [sym.imp.WS2_32.dll_WSACleanup]
cmp byte [rsp + 0x348], r12b
mov qword [rsp + 0x130], rbp
jne 0x1400544d6
lea rcx, [rsp + 0x23c]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
jmp 0x140054533
lea r9, str.Invildated_input_parameters.
lea rdx, [0x1400f9278]
mov r8d, 0x1b7
mov ecx, 2
call fcn.1400580a0
cmp dword [rsp + 0x4f0], r12d
mov qword [rsp + 0x350], r13
jne 0x140054510
call qword [sym.imp.WS2_32.dll_WSACleanup]
cmp byte [rsp + 0x348], r12b
mov qword [rsp + 0x130], rbp
jne 0x140054530
lea rcx, [rsp + 0x23c]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
or eax, 0xffffffff
mov rcx, qword [rsp + 0x500]
xor rcx, rsp
call fcn.14009cca0
mov rbx, qword [rsp + 0x558]
add rsp, 0x510
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret