Function at 0x180037770
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x18], r8d
push rbx
push rbp
push rsi
push rdi
push r12
push r13
mov eax, Ordinal_187
call fcn.18004b950
sub rsp, rax
test rcx, rcx
mov rax, qword [rdx]
mov r12, rdx
mov rbp, rcx
mov qword [rsp + 0x60], rdx
mov dword [rsp + 0x3c], reloc.LIBEAY32.dll_Ordinal_58
mov qword [rsp + 0x58], rax
je 0x1800377b2
mov rbx, qword [rcx]
test rbx, rbx
jne 0x1800377d4
call sym.SSLEAY32.dll_SSL_SESSION_new
test rax, rax
mov rbx, rax
jne 0x1800377cc
mov dword [rsp + 0x68], Ordinal_395
jmp 0x180038a52
mov r8d, dword [rsp + reloc.LIBEAY32.dll_Ordinal_256]
mov rcx, qword [r12]
lea rax, [rsp + 0x98]
xor r13d, r13d
test r8d, r8d
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x30], rcx
jne 0x180037809
mov qword [rsp + 0x50], r13
jmp 0x180037814
movsxd rax, r8d
add rax, rcx
mov qword [rsp + 0x50], rax
lea rdx, [rsp + reloc.LIBEAY32.dll_Ordinal_256]
lea rcx, [rsp + 0x30]
call sub.LIBEAY32.dll_Ordinal_703
test eax, eax
jne 0x180037837
mov dword [rsp + 0x68], reloc.LIBEAY32.dll_Ordinal_394
jmp 0x180038a52
mov rax, qword [rsp + 0x30]
mov r8d, dword [rsp + 0x4c]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0xa0], r13
mov dword [rsp + 0x98], r13d
call sub.LIBEAY32.dll_Ordinal_716
test rax, rax
jne 0x18003787a
mov dword [rsp + 0x68], Ordinal_400
jmp 0x180038a52
mov r8d, dword [rsp + 0x4c]
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0xa0]
sub eax, dword [rsp + 0x30]
add r8d, eax
test rcx, rcx
mov dword [rsp + 0x4c], r8d
je 0x1800378b6
call sub.LIBEAY32.dll_Ordinal_181
mov r8d, dword [rsp + 0x4c]
mov qword [rsp + 0xa0], r13
mov dword [rsp + 0x98], r13d
mov rax, qword [rsp + 0x30]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x58], rax
call sub.LIBEAY32.dll_Ordinal_716
test rax, rax
jne 0x1800378e4
mov dword [rsp + 0x68], 0x196
jmp 0x180038a52
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x90]
sub eax, dword [rsp + 0x30]
add dword [rsp + 0x4c], eax
call sub.LIBEAY32.dll_Ordinal_7
mov dword [rbx], eax
mov rcx, qword [rsp + 0xa0]
mov edi, eax
test rcx, rcx
je 0x180037923
call sub.LIBEAY32.dll_Ordinal_181
mov qword [rsp + 0xa0], r13
mov dword [rsp + 0x98], r13d
mov rcx, qword [rsp + 0x30]
mov r8d, dword [rsp + 0x4c]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x78], r13
mov dword [rsp + 0x70], r13d
call sub.LIBEAY32.dll_Ordinal_718
test rax, rax
jne 0x180037960
mov dword [rsp + 0x68], 0x1a1
jmp 0x180038a52
mov eax, dword [rsp + 0x58]
sub eax, dword [rsp + 0x30]
add dword [rsp + 0x4c], eax
cmp edi, 2
jne 0x1800379a8
cmp dword [rsp + 0x70], 3
je 0x18003798d
mov dword [rsp + 0x3c], 0x89
mov dword [rsp + 0x68], 0x1a5
jmp 0x180038a52
mov rcx, qword [rsp + 0x78]
movzx eax, byte [rcx + 1]
movzx edx, byte [rcx]
bts edx, 9
shl edx, 8
or edx, eax
movzx eax, byte [rcx + 2]
jmp 0x180037a04
mov eax, edi
sar eax, 8
cmp eax, 3
je 0x1800379d6
cmp eax, 0xfe
je 0x1800379d6
cmp edi, reloc.LIBEAY32.dll_Ordinal_256
je 0x1800379d6
mov dword [rsp + 0x3c], Ordinal_256
mov dword [rsp + 0x68], 0x1b7
jmp 0x180038a52
cmp dword [rsp + 0x70], 2
je 0x1800379f2
mov dword [rsp + 0x3c], 0x89
mov dword [rsp + 0x68], 0x1b0
jmp 0x180038a52
mov rax, qword [rsp + 0x78]
movzx edx, byte [rax]
movzx eax, byte [rax + 1]
or edx, 0x30000
mov qword [rbx + 0xd0], r13
shl edx, 8
lea rcx, [rsp + 0x88]
or edx, eax
mov dword [rbx + 0xd8], edx
mov rax, qword [rsp + 0x30]
mov r8d, dword [rsp + 0x4c]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x58], rax
call sub.LIBEAY32.dll_Ordinal_718
test rax, rax
jne 0x180037a49
mov dword [rsp + 0x68], 0x1be
jmp 0x180038a52
mov eax, dword [rsp + 0x58]
mov ecx, reloc.LIBEAY32.dll_Ordinal_32
sub eax, dword [rsp + 0x30]
add dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x70]
cmp eax, ecx
cmovg eax, ecx
mov dword [rsp + 0x70], eax
mov dword [rbx + 0x44], eax
mov eax, dword [rsp + 0x70]
cmp eax, ecx
jle 0x180037a8e
lea r8, str.os.length____int_sizeof_ret__session_id_
lea rcx, [0x180062ae0]
mov edx, 0x1ca
call sub.LIBEAY32.dll_Ordinal_3244
mov eax, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
lea rcx, [rbx + 0x48]
movsxd r8, eax
call fcn.18003cac0
mov r11, qword [rsp + 0x30]
mov r8d, dword [rsp + 0x4c]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x58], r11
call sub.LIBEAY32.dll_Ordinal_718
test rax, rax
jne 0x180037ad2
mov dword [rsp + 0x68], Ordinal_464
jmp 0x180038a52
mov eax, dword [rsp + 0x58]
sub eax, dword [rsp + 0x30]
add dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x70]
cmp eax, 0x30
jle 0x180037af0
mov dword [rbx + 0x10], Ordinal_53
jmp 0x180037af3
mov dword [rbx + 0x10], eax
movsxd r8, dword [rbx + 0x10]
mov rdx, qword [rsp + 0x78]
lea rcx, [rbx + 0x14]
call fcn.18003cac0
cmp dword [rsp + 0x4c], r13d
mov r11d, r13d
mov dword [rsp + 0x70], r13d
je 0x180037b93
mov rcx, qword [rsp + 0x30]
movzx edi, byte [rcx]
mov al, dil
and eax, 0xffffffdf
cmp al, 0x80
jne 0x180037b93
movzx eax, dil
lea rdx, [rsp + 0x30]
and al, 0x20
or al, 4
mov byte [rcx], al
mov rax, qword [rsp + 0x30]
mov r8d, dword [rsp + 0x4c]
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x58], rax
call sub.LIBEAY32.dll_Ordinal_718
test rax, rax
jne 0x180037b6b
mov rax, qword [rsp + 0x58]
mov dword [rsp + 0x68], Ordinal_493
mov byte [rax], dil
jmp 0x180038a52
mov eax, dword [rsp + 0x58]
sub eax, dword [rsp + 0x30]
add dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x58]
mov byte [rax], dil
mov r11d, dword [rsp + 0x70]
cmp r11d, 8
jle 0x180037b93
mov dword [rbx + 4], 8
jmp 0x180037b97
mov dword [rbx + 4], r11d
mov r8d, dword [rbx + 4]
mov rdx, qword [rsp + 0x78]
lea rcx, [rbx + 8]
call fcn.18003cac0
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x180037bb8
call sub.LIBEAY32.dll_Ordinal_181
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x98], r13d
test eax, eax
je 0x180037cb3
mov rcx, qword [rsp + 0x30]
cmp byte [rcx], 0xa1
jne 0x180037cb3
mov qword [rsp + 0x58], rcx
lea r9, [rsp + 0xf8]
lea r8, [rsp + reloc.LIBEAY32.dll_Ordinal_264]
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0xf0]
mov dword [rsp + 0x20], eax
call sub.LIBEAY32.dll_Ordinal_32
test al, al
mov edi, eax
jns 0x180037c20
mov dword [rsp + 0x3c], Ordinal_65
mov dword [rsp + 0x68], reloc.LIBEAY32.dll_Ordinal_497
jmp 0x180038a52
cmp eax, 0x21
jne 0x180037c40
mov ecx, dword [rsp + 0x58]
mov eax, dword [rsp + 0x4c]
sub ecx, dword [rsp + 0x30]
lea r8d, [rcx + rax - 2]
mov dword [rsp + 0xf0], r8d
jmp 0x180037c48
mov r8d, dword [rsp + 0xf0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x90]
call sub.LIBEAY32.dll_Ordinal_716
test rax, rax
jne 0x180037c6c
mov dword [rsp + 0x68], reloc.LIBEAY32.dll_Ordinal_497
jmp 0x180038a52
cmp edi, 0x21
jne 0x180037ca7
mov edx, dword [rsp + 0x58]
lea rcx, [rsp + 0x30]
sub edx, dword [rsp + 0x30]
add edx, dword [rsp + 0x4c]
mov dword [rsp + 0xf0], edx
call sub.LIBEAY32.dll_Ordinal_3623
test eax, eax
jne 0x180037ca7
mov dword [rsp + 0x3c], Ordinal_67
mov dword [rsp + 0x68], reloc.LIBEAY32.dll_Ordinal_497
jmp 0x180038a52
mov eax, dword [rsp + 0x58]
sub eax, dword [rsp + 0x30]
add dword [rsp + 0x4c], eax
cmp qword [rsp + 0xa0], r13
je 0x180037ce7
mov rcx, qword [rsp + 0x90]
call sub.LIBEAY32.dll_Ordinal_7
mov dword [rbx + 0xc4], eax
mov rcx, qword [rsp + 0xa0]
call sub.LIBEAY32.dll_Ordinal_181
mov qword [rsp + 0xa0], r13
jmp 0x180037cf4
xor ecx, ecx
call fcn.18003ca60
mov dword [rbx + 0xc4], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x98], r13d
test eax, eax
je 0x180037def
mov rcx, qword [rsp + 0x30]
cmp byte [rcx], 0xa2
jne 0x180037def
mov qword [rsp + 0x58], rcx
lea r9, [rsp + 0xf8]
lea r8, [rsp + reloc.LIBEAY32.dll_Ordinal_264]
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0xf0]
mov dword [rsp + 0x20], eax
call sub.LIBEAY32.dll_Ordinal_32
test al, al
mov edi, eax
jns 0x180037d5c
mov dword [rsp + 0x3c], Ordinal_65
mov dword [rsp + 0x68], 0x1fb
jmp 0x180038a52
cmp eax, 0x21
jne 0x180037d7c
mov ecx, dword [rsp + 0x58]
mov eax, dword [rsp + 0x4c]
sub ecx, dword [rsp + 0x30]
lea r8d, [rcx + rax - 2]
mov dword [rsp + 0xf0], r8d
jmp 0x180037d84
mov r8d, dword [rsp + 0xf0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x90]
call sub.LIBEAY32.dll_Ordinal_716
test rax, rax
jne 0x180037da8
mov dword [rsp + 0x68], 0x1fb
jmp 0x180038a52
cmp edi, 0x21
jne 0x180037de3
mov edx, dword [rsp + 0x58]
lea rcx, [rsp + 0x30]
sub edx, dword [rsp + 0x30]
add edx, dword [rsp + 0x4c]
mov dword [rsp + 0xf0], edx
call sub.LIBEAY32.dll_Ordinal_3623
test eax, eax
jne 0x180037de3
mov dword [rsp + 0x3c], Ordinal_67
mov dword [rsp + 0x68], 0x1fb
jmp 0x180038a52
mov eax, dword [rsp + 0x58]
sub eax, dword [rsp + 0x30]
add dword [rsp + 0x4c], eax
cmp qword [rsp + 0xa0], r13
je 0x180037e2b
mov rcx, qword [rsp + 0x90]
call sub.LIBEAY32.dll_Ordinal_7
mov dword [rbx + 0xc0], eax
mov rcx, qword [rsp + 0xa0]
call sub.LIBEAY32.dll_Ordinal_181
mov qword [rsp + 0xa0], r13
mov dword [rsp + 0x98], r13d
jmp 0x180037e35
mov dword [rbx + 0xc0], 3
mov rcx, qword [rbx + 0xb0]
test rcx, rcx
je 0x180037e4d
call sub.LIBEAY32.dll_Ordinal_641
mov qword [rbx + 0xb0], r13
mov ecx, dword [rsp + 0x4c]
mov rax, qword [rsp + 0x30]
test ecx, ecx
je 0x180037f4a
cmp byte [rax], 0xa3
jne 0x180037f4a
mov dword [rsp + 0x20], ecx
lea r9, [rsp + 0xf8]
lea r8, [rsp + reloc.LIBEAY32.dll_Ordinal_264]
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0xf0]
mov qword [rsp + 0x58], rax
call sub.LIBEAY32.dll_Ordinal_32
test al, al
mov esi, eax
jns 0x180037ead
mov dword [rsp + 0x3c], Ordinal_65
mov dword [rsp + 0x68], 0x208
jmp 0x180038a52
cmp eax, 0x21
jne 0x180037ecd
mov ecx, dword [rsp + 0x58]
mov eax, dword [rsp + 0x4c]
sub ecx, dword [rsp + 0x30]
lea r8d, [rcx + rax - 2]
mov dword [rsp + 0xf0], r8d
jmp 0x180037ed5
mov r8d, dword [rsp + 0xf0]
lea rdx, [rsp + 0x30]
lea rcx, [rbx + 0xb0]
call sub.LIBEAY32.dll_Ordinal_754
test rax, rax
jne 0x180037ef8
mov dword [rsp + 0x68], 0x208
jmp 0x180038a52
cmp esi, 0x21
jne 0x180037f33
mov edx, dword [rsp + 0x58]
lea rcx, [rsp + 0x30]
sub edx, dword [rsp + 0x30]
add edx, dword [rsp + 0x4c]
mov dword [rsp + 0xf0], edx
call sub.LIBEAY32.dll_Ordinal_3623
test eax, eax
jne 0x180037f33
mov dword [rsp + 0x3c], Ordinal_67
mov dword [rsp + 0x68], 0x208
jmp 0x180038a52
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x4c]
sub eax, dword [rsp + 0x30]
add ecx, eax
mov rax, qword [rsp + 0x30]
mov dword [rsp + 0x4c], ecx
test ecx, ecx
mov dword [rsp + 0x70], r13d
mov qword [rsp + 0x78], r13
je 0x1800380a1
cmp byte [rax], 0xa4
jne 0x1800380a1
mov dword [rsp + 0x20], ecx
lea r9, [rsp + 0xf8]
lea r8, [rsp + reloc.LIBEAY32.dll_Ordinal_264]
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0xf0]
mov qword [rsp + 0x58], rax
call sub.LIBEAY32.dll_Ordinal_32
test al, al
mov edi, eax
jns 0x180037fab
mov dword [rsp + 0x3c], Ordinal_65
mov dword [rsp + 0x68], 0x20c
jmp 0x180038a52
cmp eax, 0x21
jne 0x180037fcb
mov ecx, dword [rsp + 0x58]
mov eax, dword [rsp + 0x4c]
sub ecx, dword [rsp + 0x30]
lea r8d, [rcx + rax - 2]
mov dword [rsp + 0xf0], r8d
jmp 0x180037fd3
mov r8d, dword [rsp + 0xf0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x88]
call sub.LIBEAY32.dll_Ordinal_718
test rax, rax
jne 0x180037ff7
mov dword [rsp + 0x68], 0x20c
jmp 0x180038a52
cmp edi, 0x21
jne 0x180038032
mov edx, dword [rsp + 0x58]
lea rcx, [rsp + 0x30]
sub edx, dword [rsp + 0x30]
add edx, dword [rsp + 0x4c]
mov dword [rsp + 0xf0], edx
call sub.LIBEAY32.dll_Ordinal_3623
test eax, eax
jne 0x180038032
mov dword [rsp + 0x3c], Ordinal_67
mov dword [rsp + 0x68], 0x20c
jmp 0x180038a52
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x78]
sub eax, dword [rsp + 0x30]
add dword [rsp + 0x4c], eax
test rcx, rcx
je 0x1800380a1
mov eax, dword [rsp + 0x70]
cmp eax, 0x20
jle 0x180038075
mov dword [rsp + 0x3c], Ordinal_274
mov dword [rsp + 0x68], 0x211
call sub.LIBEAY32.dll_Ordinal_181
mov qword [rsp + 0x78], r13
mov dword [rsp + 0x70], r13d
jmp 0x180038a52
mov dword [rbx + 0x68], eax
movsxd r8, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
lea rcx, [rbx + 0x6c]
call fcn.18003cac0
mov rcx, qword [rsp + 0x78]
call sub.LIBEAY32.dll_Ordinal_181
mov qword [rsp + 0x78], r13
mov dword [rsp + 0x70], r13d
jmp 0x1800380a5
mov dword [rbx + 0x68], r13d
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x98], r13d
test eax, eax
je 0x1800381a0
mov rcx, qword [rsp + 0x30]
cmp byte [rcx], 0xa5
jne 0x1800381a0
mov qword [rsp + 0x58], rcx
lea r9, [rsp + 0xf8]
lea r8, [rsp + reloc.LIBEAY32.dll_Ordinal_264]
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0xf0]
mov dword [rsp + 0x20], eax
call sub.LIBEAY32.dll_Ordinal_32
test al, al
mov edi, eax
jns 0x18003810d
mov dword [rsp + 0x3c], Ordinal_65
mov dword [rsp + 0x68], 0x221
jmp 0x180038a52
cmp eax, 0x21
jne 0x18003812d
mov ecx, dword [rsp + 0x58]
mov eax, dword [rsp + 0x4c]
sub ecx, dword [rsp + 0x30]
lea r8d, [rcx + rax - 2]
mov dword [rsp + 0xf0], r8d
jmp 0x180038135
mov r8d, dword [rsp + 0xf0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x90]
call sub.LIBEAY32.dll_Ordinal_716
test rax, rax
jne 0x180038159
mov dword [rsp + 0x68], 0x221
jmp 0x180038a52
cmp edi, 0x21
jne 0x180038194
mov edx, dword [rsp + 0x58]
lea rcx, [rsp + 0x30]
sub edx, dword [rsp + 0x30]
add edx, dword [rsp + 0x4c]
mov dword [rsp + 0xf0], edx
call sub.LIBEAY32.dll_Ordinal_3623
test eax, eax
jne 0x180038194
mov dword [rsp + 0x3c], Ordinal_67
mov dword [rsp + 0x68], 0x221
jmp 0x180038a52
mov eax, dword [rsp + 0x58]
sub eax, dword [rsp + 0x30]
add dword [rsp + 0x4c], eax
cmp qword [rsp + 0xa0], r13
je 0x1800381dc
mov rcx, qword [rsp + 0x90]
call sub.LIBEAY32.dll_Ordinal_7
mov dword [rbx + 0xb8], eax
mov rcx, qword [rsp + 0xa0]
call sub.LIBEAY32.dll_Ordinal_181
mov qword [rsp + 0xa0], r13
mov dword [rsp + 0x98], r13d
jmp 0x1800381e3
mov dword [rbx + 0xb8], r13d
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x70], r13d
mov qword [rsp + 0x78], r13
test eax, eax
je 0x180038307
mov rcx, qword [rsp + 0x30]
cmp byte [rcx], 0xa6
jne 0x180038307
mov qword [rsp + 0x58], rcx
lea r9, [rsp + 0xf8]
lea r8, [rsp + reloc.LIBEAY32.dll_Ordinal_264]
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0xf0]
mov dword [rsp + 0x20], eax
call sub.LIBEAY32.dll_Ordinal_32
test al, al
mov edi, eax
jns 0x18003824d
mov dword [rsp + 0x3c], Ordinal_65
mov dword [rsp + 0x68], 0x22d
jmp 0x180038a52
cmp eax, 0x21
jne 0x18003826d
mov ecx, dword [rsp + 0x58]
mov eax, dword [rsp + 0x4c]
sub ecx, dword [rsp + 0x30]
lea r8d, [rcx + rax - 2]
mov dword [rsp + 0xf0], r8d
jmp 0x180038275
mov r8d, dword [rsp + 0xf0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x88]
call sub.LIBEAY32.dll_Ordinal_718
test rax, rax
jne 0x180038299
mov dword [rsp + 0x68], 0x22d
jmp 0x180038a52
cmp edi, 0x21
jne 0x1800382d4
mov edx, dword [rsp + 0x58]
lea rcx, [rsp + 0x30]
sub edx, dword [rsp + 0x30]
add edx, dword [rsp + 0x4c]
mov dword [rsp + 0xf0], edx
call sub.LIBEAY32.dll_Ordinal_3623
test eax, eax
jne 0x1800382d4
mov dword [rsp + 0x3c], Ordinal_67
mov dword [rsp + 0x68], 0x22d
jmp 0x180038a52
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x78]
sub eax, dword [rsp + 0x30]
add dword [rsp + 0x4c], eax
test rcx, rcx
je 0x180038307
movsxd rdx, dword [rsp + 0x70]
call sub.LIBEAY32.dll_Ordinal_3513
mov qword [rbx + reloc.LIBEAY32.dll_Ordinal_264], rax
mov rcx, qword [rsp + 0x78]
call sub.LIBEAY32.dll_Ordinal_181
jmp 0x18003830e
mov qword [rbx + reloc.LIBEAY32.dll_Ordinal_264], r13
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x70], r13d
mov qword [rsp + 0x78], r13
test eax, eax
je 0x180038432
mov rcx, qword [rsp + 0x30]
cmp byte [rcx], 0xa7
jne 0x180038432
mov qword [rsp + 0x58], rcx
lea r9, [rsp + 0xf8]
lea r8, [rsp + reloc.LIBEAY32.dll_Ordinal_264]
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0xf0]
mov dword [rsp + 0x20], eax
call sub.LIBEAY32.dll_Ordinal_32
test al, al
mov edi, eax
jns 0x180038378
mov dword [rsp + 0x3c], Ordinal_65
mov dword [rsp + 0x68], Ordinal_572
jmp 0x180038a52
cmp eax, 0x21
jne 0x180038398
mov ecx, dword [rsp + 0x58]
mov eax, dword [rsp + 0x4c]
sub ecx, dword [rsp + 0x30]
lea r8d, [rcx + rax - 2]
mov dword [rsp + 0xf0], r8d
jmp 0x1800383a0
mov r8d, dword [rsp + 0xf0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x88]
call sub.LIBEAY32.dll_Ordinal_718
test rax, rax
jne 0x1800383c4
mov dword [rsp + 0x68], Ordinal_572
jmp 0x180038a52
cmp edi, 0x21
jne 0x1800383ff
mov edx, dword [rsp + 0x58]
lea rcx, [rsp + 0x30]
sub edx, dword [rsp + 0x30]
add edx, dword [rsp + 0x4c]
mov dword [rsp + 0xf0], edx
call sub.LIBEAY32.dll_Ordinal_3623
test eax, eax
jne 0x1800383ff
mov dword [rsp + 0x3c], Ordinal_67
mov dword [rsp + 0x68], Ordinal_572
jmp 0x180038a52
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x78]
sub eax, dword [rsp + 0x30]
add dword [rsp + 0x4c], eax
test rcx, rcx
je 0x180038432
movsxd rdx, dword [rsp + 0x70]
call sub.LIBEAY32.dll_Ordinal_3513
mov qword [rbx + 0x90], rax
mov rcx, qword [rsp + 0x78]
call sub.LIBEAY32.dll_Ordinal_181
jmp 0x180038439
mov qword [rbx + 0x90], r13
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x70], r13d
mov qword [rsp + 0x78], r13
test eax, eax
je 0x180038567
mov rcx, qword [rsp + 0x30]
cmp byte [rcx], 0xa8
jne 0x180038567
mov qword [rsp + 0x58], rcx
lea r9, [rsp + 0xf8]
lea r8, [rsp + reloc.LIBEAY32.dll_Ordinal_264]
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0xf0]
mov dword [rsp + 0x20], eax
call sub.LIBEAY32.dll_Ordinal_32
test al, al
mov edi, eax
jns 0x1800384a3
mov dword [rsp + 0x3c], Ordinal_65
mov dword [rsp + 0x68], 0x245
jmp 0x180038a52
cmp eax, 0x21
jne 0x1800384c3
mov ecx, dword [rsp + 0x58]
mov eax, dword [rsp + 0x4c]
sub ecx, dword [rsp + 0x30]
lea r8d, [rcx + rax - 2]
mov dword [rsp + 0xf0], r8d
jmp 0x1800384cb
mov r8d, dword [rsp + 0xf0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x88]
call sub.LIBEAY32.dll_Ordinal_718
test rax, rax
jne 0x1800384ef
mov dword [rsp + 0x68], 0x245
jmp 0x180038a52
cmp edi, 0x21
jne 0x18003852a
mov edx, dword [rsp + 0x58]
lea rcx, [rsp + 0x30]
sub edx, dword [rsp + 0x30]
add edx, dword [rsp + 0x4c]
mov dword [rsp + 0xf0], edx
call sub.LIBEAY32.dll_Ordinal_3623
test eax, eax
jne 0x18003852a
mov dword [rsp + 0x3c], Ordinal_67
mov dword [rsp + 0x68], 0x245
jmp 0x180038a52
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x78]
sub eax, dword [rsp + 0x30]
add dword [rsp + 0x4c], eax
test rcx, rcx
je 0x180038567
movsxd rdx, dword [rsp + 0x70]
call sub.LIBEAY32.dll_Ordinal_3513
mov qword [rbx + 0x98], rax
mov rcx, qword [rsp + 0x78]
call sub.LIBEAY32.dll_Ordinal_181
mov qword [rsp + 0x78], r13
mov dword [rsp + 0x70], r13d
jmp 0x18003856e
mov qword [rbx + 0x98], r13
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x98], r13d
test eax, eax
je 0x180038669
mov rcx, qword [rsp + 0x30]
cmp byte [rcx], 0xa9
jne 0x180038669
mov qword [rsp + 0x58], rcx
lea r9, [rsp + 0xf8]
lea r8, [rsp + reloc.LIBEAY32.dll_Ordinal_264]
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0xf0]
mov dword [rsp + 0x20], eax
call sub.LIBEAY32.dll_Ordinal_32
test al, al
mov edi, eax
jns 0x1800385d6
mov dword [rsp + 0x3c], Ordinal_65
mov dword [rsp + 0x68], 0x251
jmp 0x180038a52
cmp eax, 0x21
jne 0x1800385f6
mov ecx, dword [rsp + 0x58]
mov eax, dword [rsp + 0x4c]
sub ecx, dword [rsp + 0x30]
lea r8d, [rcx + rax - 2]
mov dword [rsp + 0xf0], r8d
jmp 0x1800385fe
mov r8d, dword [rsp + 0xf0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x90]
call sub.LIBEAY32.dll_Ordinal_716
test rax, rax
jne 0x180038622
mov dword [rsp + 0x68], 0x251
jmp 0x180038a52
cmp edi, 0x21
jne 0x18003865d
mov edx, dword [rsp + 0x58]
lea rcx, [rsp + 0x30]
sub edx, dword [rsp + 0x30]
add edx, dword [rsp + 0x4c]
mov dword [rsp + 0xf0], edx
call sub.LIBEAY32.dll_Ordinal_3623
test eax, eax
jne 0x18003865d
mov dword [rsp + 0x3c], Ordinal_67
mov dword [rsp + 0x68], 0x251
jmp 0x180038a52
mov eax, dword [rsp + 0x58]
sub eax, dword [rsp + 0x30]
add dword [rsp + 0x4c], eax
cmp qword [rsp + 0xa0], r13
je 0x1800386a5
mov rcx, qword [rsp + 0x90]
call sub.LIBEAY32.dll_Ordinal_7
mov dword [rbx + 0x140], eax
mov rcx, qword [rsp + 0xa0]
call sub.LIBEAY32.dll_Ordinal_181
mov qword [rsp + 0xa0], r13
mov dword [rsp + 0x98], r13d
jmp 0x1800386c7
cmp qword [rbx + 0x138], r13
je 0x1800386c0
cmp dword [rbx + 0x44], r13d
je 0x1800386c0
mov dword [rbx + 0x140], 0xffffffff
jmp 0x1800386c7
mov dword [rbx + 0x140], r13d
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x70], r13d
mov qword [rsp + 0x78], r13
test eax, eax
je 0x1800387e3
mov rcx, qword [rsp + 0x30]
cmp byte [rcx], 0xaa
jne 0x1800387e3
mov qword [rsp + 0x58], rcx
lea r9, [rsp + 0xf8]
lea r8, [rsp + reloc.LIBEAY32.dll_Ordinal_264]
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0xf0]
mov dword [rsp + 0x20], eax
call sub.LIBEAY32.dll_Ordinal_32
test al, al
mov edi, eax
jns 0x180038731
mov dword [rsp + 0x3c], Ordinal_65
mov dword [rsp + 0x68], 0x25d
jmp 0x180038a52
cmp eax, 0x21
jne 0x180038751
mov ecx, dword [rsp + 0x58]
mov eax, dword [rsp + 0x4c]
sub ecx, dword [rsp + 0x30]
lea r8d, [rcx + rax - 2]
mov dword [rsp + 0xf0], r8d
jmp 0x180038759
mov r8d, dword [rsp + 0xf0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x88]
call sub.LIBEAY32.dll_Ordinal_718
test rax, rax
jne 0x18003877d
mov dword [rsp + 0x68], 0x25d
jmp 0x180038a52
cmp edi, 0x21
jne 0x1800387b8
mov edx, dword [rsp + 0x58]
lea rcx, [rsp + 0x30]
sub edx, dword [rsp + 0x30]
add edx, dword [rsp + 0x4c]
mov dword [rsp + 0xf0], edx
call sub.LIBEAY32.dll_Ordinal_3623
test eax, eax
jne 0x1800387b8
mov dword [rsp + 0x3c], Ordinal_67
mov dword [rsp + 0x68], 0x25d
jmp 0x180038a52
mov eax, dword [rsp + 0x58]
sub eax, dword [rsp + 0x30]
add dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x1800387e3
mov qword [rbx + reloc.LIBEAY32.dll_Ordinal_304], rax
movsxd rax, dword [rsp + 0x70]
mov qword [rbx + 0x138], rax
jmp 0x1800387ea
mov qword [rbx + reloc.LIBEAY32.dll_Ordinal_304], r13
mov ecx, dword [rsp + 0x4c]
mov dword [rsp + 0x70], r13d
mov qword [rsp + 0x78], r13
test ecx, ecx
je 0x18003890e
mov rax, qword [rsp + 0x30]
cmp byte [rax], 0xab
jne 0x180038913
mov dword [rsp + 0x20], ecx
lea r9, [rsp + 0xf8]
lea r8, [rsp + reloc.LIBEAY32.dll_Ordinal_264]
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0xf0]
mov qword [rsp + 0x58], rax
call sub.LIBEAY32.dll_Ordinal_32
test al, al
mov edi, eax
jns 0x180038854
mov dword [rsp + 0x3c], Ordinal_65
mov dword [rsp + 0x68], Ordinal_623
jmp 0x180038a52
cmp eax, 0x21
jne 0x180038874
mov ecx, dword [rsp + 0x58]
mov eax, dword [rsp + 0x4c]
sub ecx, dword [rsp + 0x30]
lea r8d, [rcx + rax - 2]
mov dword [rsp + 0xf0], r8d
jmp 0x18003887c
mov r8d, dword [rsp + 0xf0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x88]
call sub.LIBEAY32.dll_Ordinal_718
test rax, rax
jne 0x1800388a0
mov dword [rsp + 0x68], Ordinal_623
jmp 0x180038a52
cmp edi, 0x21
jne 0x1800388db
mov edx, dword [rsp + 0x58]
lea rcx, [rsp + 0x30]
sub edx, dword [rsp + 0x30]
add edx, dword [rsp + 0x4c]
mov dword [rsp + 0xf0], edx
call sub.LIBEAY32.dll_Ordinal_3623
test eax, eax
jne 0x1800388db
mov dword [rsp + 0x3c], Ordinal_67
mov dword [rsp + 0x68], Ordinal_623
jmp 0x180038a52
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x4c]
sub eax, dword [rsp + 0x30]
add ecx, eax
mov rax, qword [rsp + 0x78]
test rax, rax
mov dword [rsp + 0x4c], ecx
je 0x18003890e
movzx eax, byte [rax]
mov dword [rbx + 0xc8], eax
mov rcx, qword [rsp + 0x78]
call sub.LIBEAY32.dll_Ordinal_181
mov ecx, dword [rsp + 0x4c]
mov rax, qword [rsp + 0x30]
test ecx, ecx
mov dword [rsp + 0x70], r13d
mov qword [rsp + 0x78], r13
je 0x180038a35
cmp byte [rax], 0xac
jne 0x180038a35
mov dword [rsp + 0x20], ecx
lea r9, [rsp + 0xf8]
lea r8, [rsp + reloc.LIBEAY32.dll_Ordinal_264]
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0xf0]
mov qword [rsp + 0x58], rax
call sub.LIBEAY32.dll_Ordinal_32
test al, al
mov edi, eax
jns 0x180038974
mov dword [rsp + 0x3c], Ordinal_65
mov dword [rsp + 0x68], reloc.LIBEAY32.dll_Ordinal_628
jmp 0x180038a52
cmp eax, 0x21
jne 0x180038994
mov ecx, dword [rsp + 0x58]
mov eax, dword [rsp + 0x4c]
sub ecx, dword [rsp + 0x30]
lea r8d, [rcx + rax - 2]
mov dword [rsp + 0xf0], r8d
jmp 0x18003899c
mov r8d, dword [rsp + 0xf0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x88]
call sub.LIBEAY32.dll_Ordinal_718
test rax, rax
jne 0x1800389c0
mov dword [rsp + 0x68], reloc.LIBEAY32.dll_Ordinal_628
jmp 0x180038a52
cmp edi, 0x21
jne 0x1800389f8
mov edx, dword [rsp + 0x58]
lea rcx, [rsp + 0x30]
sub edx, dword [rsp + 0x30]
add edx, dword [rsp + 0x4c]
mov dword [rsp + 0xf0], edx
call sub.LIBEAY32.dll_Ordinal_3623
test eax, eax
jne 0x1800389f8
mov dword [rsp + 0x3c], Ordinal_67
mov dword [rsp + 0x68], reloc.LIBEAY32.dll_Ordinal_628
jmp 0x180038a52
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x78]
sub eax, dword [rsp + 0x30]
add dword [rsp + 0x4c], eax
test rcx, rcx
je 0x180038a35
movsxd rdx, dword [rsp + 0x70]
call sub.LIBEAY32.dll_Ordinal_3513
mov qword [rbx + 0x148], rax
mov rcx, qword [rsp + 0x78]
call sub.LIBEAY32.dll_Ordinal_181
mov qword [rsp + 0x78], r13
mov dword [rsp + 0x70], r13d
jmp 0x180038a3c
mov qword [rbx + 0x148], r13
lea rcx, [rsp + 0x30]
call sub.LIBEAY32.dll_Ordinal_3700
test eax, eax
jne 0x180038aae
mov dword [rsp + 0x68], Ordinal_641
mov eax, dword [rsp + 0x68]
mov r8d, dword [rsp + 0x3c]
mov edx, 0x67
lea ecx, [rdx - 0x5a]
lea r9, str.._ssl_ssl_asn1.c
mov dword [rsp + 0x20], eax
call sub.LIBEAY32.dll_Ordinal_252
mov edx, dword [rsp + 0x58]
mov rcx, qword [r12]
sub edx, dword [r12]
call sub.LIBEAY32.dll_Ordinal_1091
test rbx, rbx
je 0x180038a9c
test rbp, rbp
je 0x180038a94
cmp qword [rbp], rbx
je 0x180038a9c
mov rcx, rbx
call sym.SSLEAY32.dll_SSL_SESSION_free
xor eax, eax
add rsp, 0xb8
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
test rbp, rbp
mov rax, qword [rsp + 0x30]
mov qword [r12], rax
je 0x180038ac0
mov qword [rbp], rbx
mov rax, rbx
add rsp, 0xb8
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret