Function at 0x140026600
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x1e8
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0xa0], 0
mov dword [rsp + 0x90], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x200]
call fcn.140026b70
test eax, eax
jne 0x140026686
mov ecx, 0x7e
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140026af1
cmp qword [0x140195900], 0
jne 0x14002678f
xor edx, edx
lea rcx, str.crypt32.dll
call fcn.140024de0
mov qword [0x140195900], rax
cmp qword [0x140195900], 0
je 0x14002678f
lea rdx, str.CryptMsgClose
mov rcx, qword [0x140195900]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140195908], rax
lea rdx, str.CertCloseStore
mov rcx, qword [0x140195900]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140195910], rax
lea rdx, str.CertFreeCertificateContext
mov rcx, qword [0x140195900]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140195918], rax
lea rdx, str.CertFindCertificateInStore
mov rcx, qword [0x140195900]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140195920], rax
lea rdx, str.CryptMsgGetParam
mov rcx, qword [0x140195900]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140195928], rax
lea rdx, str.CryptQueryObject
mov rcx, qword [0x140195900]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140195930], rax
lea rdx, str.CertGetNameStringA
mov rcx, qword [0x140195900]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140195938], rax
lea rdx, str.CryptDecodeObject
mov rcx, qword [0x140195900]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140195940], rax
cmp qword [0x140195908], 0
je 0x1400267df
cmp qword [0x140195910], 0
je 0x1400267df
cmp qword [0x140195918], 0
je 0x1400267df
cmp qword [0x140195920], 0
je 0x1400267df
cmp qword [0x140195928], 0
je 0x1400267df
cmp qword [0x140195930], 0
je 0x1400267df
cmp qword [0x140195938], 0
je 0x1400267df
cmp qword [0x140195940], 0
jne 0x1400267e6
xor eax, eax
jmp 0x140026b52
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x94]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x180]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9d, 2
mov r8d, 0x400
mov rdx, qword [rsp + 0x200]
mov ecx, 1
call qword [0x140195930]
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 0
jne 0x140026877
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x184], eax
jmp 0x140026af1
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 6
mov rcx, qword [rsp + 0x78]
call qword [0x140195928]
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 0
jne 0x1400268ba
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x188], eax
jmp 0x140026af1
mov edx, dword [rsp + 0x68]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x1400268e8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x18c], eax
jmp 0x140026af1
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x70]
xor r8d, r8d
mov edx, 6
mov rcx, qword [rsp + 0x78]
call qword [0x140195928]
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 0
jne 0x14002692d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x190], eax
jmp 0x140026af1
lea rdi, [rsp + 0x1d0]
mov rsi, qword [rsp + 0x70]
add rsi, 8
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0xe0]
lea rsi, [rsp + 0x1d0]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x1c0]
mov rsi, qword [rsp + 0x70]
add rsi, 0x18
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0xb8]
lea rsi, [rsp + 0x1c0]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov r9d, 0xb0000
xor r8d, r8d
mov edx, 0x10001
mov rcx, qword [rsp + 0x88]
call qword [0x140195920]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1400269dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x194], eax
jmp 0x140026af1
cmp qword [rsp + 0x208], 0
je 0x140026a19
mov rcx, qword [rsp + 0x60]
call fcn.140026de0
mov edx, eax
mov rax, qword [rsp + 0x208]
mov dword [rax], edx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x198], eax
cmp dword [rsp + 0x198], 0
je 0x140026a19
jmp 0x140026af1
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x70]
call fcn.140027040
test eax, eax
jne 0x140026a34
jmp 0x140026af1
lea rdi, [rsp + 0x1b0]
mov rsi, qword [rsp + 0xa0]
add rsi, 8
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0xe0]
lea rsi, [rsp + 0x1b0]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x1a0]
mov rsi, qword [rsp + 0xa0]
add rsi, 0x18
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0xb8]
lea rsi, [rsp + 0x1a0]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov r9d, 0xb0000
xor r8d, r8d
mov edx, 0x10001
mov rcx, qword [rsp + 0x88]
call qword [0x140195920]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x140026ae6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x19c], eax
jmp 0x140026af1
mov dword [rsp + 0x90], 1
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp qword [rsp + 0x60], 0
je 0x140026b1d
mov rcx, qword [rsp + 0x60]
call qword [0x140195918]
cmp qword [rsp + 0x88], 0
je 0x140026b38
xor edx, edx
mov rcx, qword [rsp + 0x88]
call qword [0x140195910]
cmp qword [rsp + 0x78], 0
je 0x140026b4b
mov rcx, qword [rsp + 0x78]
call qword [0x140195908]
mov eax, dword [rsp + 0x90]
add rsp, 0x1e8
pop rdi
pop rsi
ret