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

Disassembly:
mov eax, 0x5c
call fcn.004f75e0
mov eax, dword [esp + 0x64]
push ebx
push ebp
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x5c], eax
mov eax, dword [eax]
mov dword [esp + 0x58], eax
mov dword [esp + 0x40], 0x3a
push esi
push edi
test ebp, ebp
je 0x466053
mov esi, dword [ebp]
test esi, esi
jne 0x466068
call fcn.004590a0
mov esi, eax
test esi, esi
jne 0x466068
mov ecx, 0x181
jmp 0x467173
mov ecx, dword [esp + 0x78]
lea eax, [esp + 0x30]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x74]
mov eax, dword [eax]
mov dword [esp + 0x40], eax
test ecx, ecx
jne 0x466090
mov dword [esp + 0x5c], ecx
jmp 0x466096
add eax, ecx
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00485980
add esp, 8
test eax, eax
jne 0x4660b6
mov ecx, 0x187
jmp 0x467173
mov eax, dword [esp + 0x40]
push dword [esp + 0x58]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
mov dword [esp + 0x40], 0
push eax
mov dword [esp + 0x3c], 0
call fcn.00490130
add esp, 0xc
test eax, eax
jne 0x4660f2
mov ecx, 0x18b
jmp 0x467173
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x40]
sub eax, edx
mov ecx, dword [esp + 0x58]
add ecx, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x58], ecx
test eax, eax
je 0x46612f
push eax
call fcn.0047b050
mov ecx, dword [esp + 0x5c]
add esp, 4
mov edx, dword [esp + 0x40]
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
push ecx
lea eax, [esp + 0x44]
mov dword [esp + 0x64], edx
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00490130
add esp, 0xc
test eax, eax
jne 0x466154
mov ecx, 0x193
jmp 0x467173
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
push dword [esp + 0x70]
add dword [esp + 0x5c], eax
call fcn.004902b0
mov edi, eax
add esp, 4
mov dword [esi], edi
mov eax, dword [esp + 0x38]
test eax, eax
je 0x466191
push eax
call fcn.0047b050
add esp, 4
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x40]
push dword [esp + 0x58]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x30], 0
push eax
mov dword [esp + 0x2c], 0
call fcn.00490150
add esp, 0xc
test eax, eax
jne 0x4661cd
mov ecx, 0x19e
jmp 0x467173
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp edi, 2
jne 0x466213
cmp dword [esp + 0x20], 3
je 0x4661f7
mov dword [esp + 0x48], 0x89
mov ecx, 0x1a2
jmp 0x467173
mov ecx, dword [esp + 0x28]
movzx edx, byte [ecx]
movzx eax, byte [ecx + 1]
or edx, 0x200
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 2]
jmp 0x466268
mov eax, edi
sar eax, 8
cmp eax, 3
je 0x46623e
cmp eax, 0xfe
je 0x46623e
cmp edi, 0x100
je 0x46623e
mov dword [esp + 0x48], 0xfe
mov ecx, 0x1b4
jmp 0x467173
cmp dword [esp + 0x20], 2
je 0x466257
mov dword [esp + 0x48], 0x89
mov ecx, 0x1ad
jmp 0x467173
mov eax, dword [esp + 0x28]
movzx edx, byte [eax]
movzx eax, byte [eax + 1]
or edx, 0x30000
shl edx, 8
or edx, eax
mov dword [esi + 0xb4], 0
mov dword [esi + 0xb8], edx
mov eax, dword [esp + 0x40]
push dword [esp + 0x58]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00490150
add esp, 0xc
test eax, eax
jne 0x4662a9
mov ecx, 0x1bb
jmp 0x467173
mov eax, dword [esp + 0x60]
mov ecx, 0x20
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x20]
cmp eax, ecx
cmovg eax, ecx
mov dword [esp + 0x20], eax
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x20]
cmp eax, ecx
jle 0x4662ed
push str.os.length____int_sizeof_ret__session_id_
push 0x1c7
push str.._ssl_ssl_asn1.c
call fcn.00473670
mov eax, dword [esp + 0x2c]
add esp, 0xc
push eax
push dword [esp + 0x2c]
lea eax, [esi + 0x48]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x4c]
push dword [esp + 0x64]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00490150
add esp, 0x18
test eax, eax
jne 0x466327
mov ecx, 0x1ca
jmp 0x467173
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x20]
cmp eax, 0x30
jle 0x466345
mov dword [esi + 0x10], 0x30
jmp 0x466348
mov dword [esi + 0x10], eax
push dword [esi + 0x10]
lea eax, [esi + 0x14]
push dword [esp + 0x2c]
push eax
call sub.VCRUNTIME140.dll_memcpy
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x58], ecx
je 0x4663d9
mov edx, dword [esp + 0x40]
mov bl, byte [edx]
movzx eax, bl
and al, 0xdf
cmp al, 0x80
jne 0x4663d9
mov al, bl
and al, 0x20
or al, 4
mov byte [edx], al
mov eax, dword [esp + 0x40]
push dword [esp + 0x58]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00490150
add esp, 0xc
test eax, eax
jne 0x4663b7
mov eax, dword [esp + 0x60]
mov dword [esp + 0x68], 0x1e4
mov byte [eax], bl
mov ecx, dword [esp + 0x68]
jmp 0x467177
mov ecx, dword [esp + 0x60]
mov eax, ecx
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov byte [ecx], bl
mov ecx, dword [esp + 0x20]
cmp ecx, 8
jle 0x4663d9
mov dword [esi + 4], 8
jmp 0x4663dc
mov dword [esi + 4], ecx
push dword [esi + 4]
lea eax, [esi + 8]
push dword [esp + 0x2c]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x34]
add esp, 0xc
test eax, eax
je 0x466400
push eax
call fcn.0047b050
add esp, 4
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x4664e0
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa1
jne 0x4664e0
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x64], ecx
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004856b0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x46645a
mov dword [esp + 0x48], 0x3b
mov ecx, 0x1ee
jmp 0x467173
cmp ebx, 0x21
jne 0x466476
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
sub ecx, dword [esp + 0x40]
add eax, 0xfffffffe
add eax, ecx
mov dword [esp + 0x14], eax
jmp 0x46647a
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00490130
add esp, 0xc
test eax, eax
jne 0x46649b
mov ecx, 0x1ee
jmp 0x467173
cmp ebx, 0x21
jne 0x4664d4
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x40]
add eax, dword [esp + 0x60]
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x44]
push eax
call fcn.00485680
add esp, 8
test eax, eax
jne 0x4664d4
mov dword [esp + 0x48], 0x3f
mov ecx, 0x1ee
jmp 0x467173
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x46650c
push dword [esp + 0x70]
call fcn.004902b0
mov dword [esi + 0xac], eax
push dword [esp + 0x3c]
call fcn.0047b050
add esp, 8
mov dword [esp + 0x38], 0
jmp 0x46651c
push 0
call sub.api_ms_win_crt_time_l1_1_0.dll__time64
add esp, 4
mov dword [esi + 0xac], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x4665fc
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa2
jne 0x4665fc
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x64], ecx
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004856b0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x466576
mov dword [esp + 0x48], 0x3b
mov ecx, 0x1f8
jmp 0x467173
cmp ebx, 0x21
jne 0x466592
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
sub ecx, dword [esp + 0x40]
add eax, 0xfffffffe
add eax, ecx
mov dword [esp + 0x14], eax
jmp 0x466596
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00490130
add esp, 0xc
test eax, eax
jne 0x4665b7
mov ecx, 0x1f8
jmp 0x467173
cmp ebx, 0x21
jne 0x4665f0
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x40]
add eax, dword [esp + 0x60]
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x44]
push eax
call fcn.00485680
add esp, 8
test eax, eax
jne 0x4665f0
mov dword [esp + 0x48], 0x3f
mov ecx, 0x1f8
jmp 0x467173
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x466630
push dword [esp + 0x70]
call fcn.004902b0
mov dword [esi + 0xa8], eax
push dword [esp + 0x3c]
call fcn.0047b050
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x46663a
mov dword [esi + 0xa8], 3
mov eax, dword [esi + 0x9c]
lea edi, [esi + 0x9c]
test eax, eax
je 0x466659
push eax
call fcn.004808e0
add esp, 4
mov dword [edi], 0
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x40]
test ecx, ecx
je 0x466735
cmp byte [edx], 0xa3
jne 0x466735
push ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x64], edx
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004856b0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x4666ab
mov dword [esp + 0x48], 0x3b
mov ecx, 0x205
jmp 0x467173
cmp ebx, 0x21
jne 0x4666c7
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
sub ecx, dword [esp + 0x40]
add eax, 0xfffffffe
add eax, ecx
mov dword [esp + 0x14], eax
jmp 0x4666cb
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
push edi
call fcn.00480930
add esp, 0xc
test eax, eax
jne 0x4666e8
mov ecx, 0x205
jmp 0x467173
cmp ebx, 0x21
jne 0x466721
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x40]
add eax, dword [esp + 0x60]
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x44]
push eax
call fcn.00485680
add esp, 8
test eax, eax
jne 0x466721
mov dword [esp + 0x48], 0x3f
mov ecx, 0x205
jmp 0x467173
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x40]
sub eax, edx
mov ecx, dword [esp + 0x58]
add ecx, eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test ecx, ecx
je 0x466869
cmp byte [edx], 0xa4
jne 0x466869
push ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x64], edx
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004856b0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x46678f
mov dword [esp + 0x48], 0x3b
mov ecx, 0x209
jmp 0x467173
cmp ebx, 0x21
jne 0x4667ab
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
sub ecx, dword [esp + 0x40]
add eax, 0xfffffffe
add eax, ecx
mov dword [esp + 0x14], eax
jmp 0x4667af
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00490150
add esp, 0xc
test eax, eax
jne 0x4667d0
mov ecx, 0x209
jmp 0x467173
cmp ebx, 0x21
jne 0x466809
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x40]
add eax, dword [esp + 0x60]
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x44]
push eax
call fcn.00485680
add esp, 8
test eax, eax
jne 0x466809
mov dword [esp + 0x48], 0x3f
mov ecx, 0x209
jmp 0x467173
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x28], 0
je 0x466869
mov eax, dword [esp + 0x20]
cmp eax, 0x20
jle 0x466837
mov dword [esp + 0x48], 0x10f
mov ecx, 0x20e
jmp 0x467173
mov dword [esi + 0x68], eax
lea eax, [esi + 0x6c]
push dword [esp + 0x20]
push dword [esp + 0x2c]
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [esp + 0x34]
call fcn.0047b050
add esp, 0x10
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x466870
mov dword [esi + 0x68], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x466950
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa5
jne 0x466950
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x64], ecx
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004856b0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x4668ca
mov dword [esp + 0x48], 0x3b
mov ecx, 0x21b
jmp 0x467173
cmp ebx, 0x21
jne 0x4668e6
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
sub ecx, dword [esp + 0x40]
add eax, 0xfffffffe
add eax, ecx
mov dword [esp + 0x14], eax
jmp 0x4668ea
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00490130
add esp, 0xc
test eax, eax
jne 0x46690b
mov ecx, 0x21b
jmp 0x467173
cmp ebx, 0x21
jne 0x466944
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x40]
add eax, dword [esp + 0x60]
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x44]
push eax
call fcn.00485680
add esp, 8
test eax, eax
jne 0x466944
mov dword [esp + 0x48], 0x3f
mov ecx, 0x21b
jmp 0x467173
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x466984
push dword [esp + 0x70]
call fcn.004902b0
mov dword [esi + 0xa0], eax
push dword [esp + 0x3c]
call fcn.0047b050
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x46698e
mov dword [esi + 0xa0], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test eax, eax
je 0x466a9c
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa6
jne 0x466a9c
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x64], ecx
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004856b0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x4669f0
mov dword [esp + 0x48], 0x3b
mov ecx, 0x227
jmp 0x467173
cmp ebx, 0x21
jne 0x466a0c
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
sub ecx, dword [esp + 0x40]
add eax, 0xfffffffe
add eax, ecx
mov dword [esp + 0x14], eax
jmp 0x466a10
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00490150
add esp, 0xc
test eax, eax
jne 0x466a31
mov ecx, 0x227
jmp 0x467173
cmp ebx, 0x21
jne 0x466a6a
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x40]
add eax, dword [esp + 0x60]
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x44]
push eax
call fcn.00485680
add esp, 8
test eax, eax
jne 0x466a6a
mov dword [esp + 0x48], 0x3f
mov ecx, 0x227
jmp 0x467173
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x466a9c
push dword [esp + 0x20]
push eax
call fcn.0047a980
mov dword [esi + 0xd0], eax
push dword [esp + 0x30]
call fcn.0047b050
add esp, 0xc
jmp 0x466aa6
mov dword [esi + 0xd0], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test eax, eax
je 0x466bb4
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa7
jne 0x466bb4
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x64], ecx
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004856b0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x466b08
mov dword [esp + 0x48], 0x3b
mov ecx, 0x234
jmp 0x467173
cmp ebx, 0x21
jne 0x466b24
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
sub ecx, dword [esp + 0x40]
add eax, 0xfffffffe
add eax, ecx
mov dword [esp + 0x14], eax
jmp 0x466b28
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00490150
add esp, 0xc
test eax, eax
jne 0x466b49
mov ecx, 0x234
jmp 0x467173
cmp ebx, 0x21
jne 0x466b82
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x40]
add eax, dword [esp + 0x60]
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x44]
push eax
call fcn.00485680
add esp, 8
test eax, eax
jne 0x466b82
mov dword [esp + 0x48], 0x3f
mov ecx, 0x234
jmp 0x467173
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x466bb4
push dword [esp + 0x20]
push eax
call fcn.0047a980
mov dword [esi + 0x8c], eax
push dword [esp + 0x30]
call fcn.0047b050
add esp, 0xc
jmp 0x466bbe
mov dword [esi + 0x8c], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test eax, eax
je 0x466cdc
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa8
jne 0x466cdc
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x64], ecx
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004856b0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x466c20
mov dword [esp + 0x48], 0x3b
mov ecx, 0x23f
jmp 0x467173
cmp ebx, 0x21
jne 0x466c3c
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
sub ecx, dword [esp + 0x40]
add eax, 0xfffffffe
add eax, ecx
mov dword [esp + 0x14], eax
jmp 0x466c40
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00490150
add esp, 0xc
test eax, eax
jne 0x466c61
mov ecx, 0x23f
jmp 0x467173
cmp ebx, 0x21
jne 0x466c9a
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x40]
add eax, dword [esp + 0x60]
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x44]
push eax
call fcn.00485680
add esp, 8
test eax, eax
jne 0x466c9a
mov dword [esp + 0x48], 0x3f
mov ecx, 0x23f
jmp 0x467173
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x466cdc
push dword [esp + 0x20]
push eax
call fcn.0047a980
mov dword [esi + 0x90], eax
push dword [esp + 0x30]
call fcn.0047b050
add esp, 0xc
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x466ce6
mov dword [esi + 0x90], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x466dc6
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa9
jne 0x466dc6
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x64], ecx
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004856b0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x466d40
mov dword [esp + 0x48], 0x3b
mov ecx, 0x24b
jmp 0x467173
cmp ebx, 0x21
jne 0x466d5c
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
sub ecx, dword [esp + 0x40]
add eax, 0xfffffffe
add eax, ecx
mov dword [esp + 0x14], eax
jmp 0x466d60
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00490130
add esp, 0xc
test eax, eax
jne 0x466d81
mov ecx, 0x24b
jmp 0x467173
cmp ebx, 0x21
jne 0x466dba
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x40]
add eax, dword [esp + 0x60]
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x44]
push eax
call fcn.00485680
add esp, 8
test eax, eax
jne 0x466dba
mov dword [esp + 0x48], 0x3f
mov ecx, 0x24b
jmp 0x467173
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x466dfa
push dword [esp + 0x70]
call fcn.004902b0
mov dword [esi + 0xec], eax
push dword [esp + 0x3c]
call fcn.0047b050
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x466e1f
cmp dword [esi + 0xe8], 0
je 0x466e15
cmp dword [esi + 0x44], 0
je 0x466e15
mov dword [esi + 0xec], 0xffffffff
jmp 0x466e1f
mov dword [esi + 0xec], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test eax, eax
je 0x466f21
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xaa
jne 0x466f21
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x64], ecx
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004856b0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x466e81
mov dword [esp + 0x48], 0x3b
mov ecx, 0x257
jmp 0x467173
cmp ebx, 0x21
jne 0x466e9d
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
sub ecx, dword [esp + 0x40]
add eax, 0xfffffffe
add eax, ecx
mov dword [esp + 0x14], eax
jmp 0x466ea1
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00490150
add esp, 0xc
test eax, eax
jne 0x466ec2
mov ecx, 0x257
jmp 0x467173
cmp ebx, 0x21
jne 0x466efb
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x40]
add eax, dword [esp + 0x60]
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x44]
push eax
call fcn.00485680
add esp, 8
test eax, eax
jne 0x466efb
mov dword [esp + 0x48], 0x3f
mov ecx, 0x257
jmp 0x467173
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x466f21
mov dword [esi + 0xe4], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0xe8], eax
jmp 0x466f2b
mov dword [esi + 0xe4], 0
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test ecx, ecx
je 0x467040
cmp byte [edx], 0xab
jne 0x467040
push ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x64], edx
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004856b0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x466f8d
mov dword [esp + 0x48], 0x3b
mov ecx, 0x263
jmp 0x467173
cmp ebx, 0x21
jne 0x466fa9
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
sub ecx, dword [esp + 0x40]
add eax, 0xfffffffe
add eax, ecx
mov dword [esp + 0x14], eax
jmp 0x466fad
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00490150
add esp, 0xc
test eax, eax
jne 0x466fce
mov ecx, 0x263
jmp 0x467173
cmp ebx, 0x21
jne 0x467007
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x40]
add eax, dword [esp + 0x60]
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x44]
push eax
call fcn.00485680
add esp, 8
test eax, eax
jne 0x467007
mov dword [esp + 0x48], 0x3f
mov ecx, 0x263
jmp 0x467173
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x40]
sub eax, edx
mov ecx, dword [esp + 0x58]
add ecx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x58], ecx
test eax, eax
je 0x467040
movzx eax, byte [eax]
mov dword [esi + 0xb0], eax
push dword [esp + 0x28]
call fcn.0047b050
mov ecx, dword [esp + 0x5c]
add esp, 4
mov edx, dword [esp + 0x40]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test ecx, ecx
je 0x467153
cmp byte [edx], 0xac
jne 0x467153
push ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x64], edx
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004856b0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x46709a
mov dword [esp + 0x48], 0x3b
mov ecx, 0x26e
jmp 0x467173
cmp ebx, 0x21
jne 0x4670b6
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
sub ecx, dword [esp + 0x40]
add eax, 0xfffffffe
add eax, ecx
mov dword [esp + 0x14], eax
jmp 0x4670ba
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00490150
add esp, 0xc
test eax, eax
jne 0x4670db
mov ecx, 0x26e
jmp 0x467173
cmp ebx, 0x21
jne 0x467111
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x40]
add eax, dword [esp + 0x60]
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x44]
push eax
call fcn.00485680
add esp, 8
test eax, eax
jne 0x467111
mov dword [esp + 0x48], 0x3f
mov ecx, 0x26e
jmp 0x467173
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x467153
push dword [esp + 0x20]
push eax
call fcn.0047a980
mov dword [esi + 0xf0], eax
push dword [esp + 0x30]
call fcn.0047b050
add esp, 0xc
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x46715d
mov dword [esi + 0xf0], 0
lea eax, [esp + 0x40]
push eax
call fcn.00485a80
add esp, 4
test eax, eax
jne 0x4671c3
mov ecx, 0x278
mov dword [esp + 0x68], ecx
push ecx
push str.._ssl_ssl_asn1.c
push dword [esp + 0x50]
push 0x67
push 0xd
call fcn.00474ac0
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
mov eax, dword [esp + 0x74]
sub eax, ecx
push eax
push ecx
call fcn.00485a10
add esp, 0x1c
test esi, esi
je 0x4671b9
test ebp, ebp
je 0x4671b0
cmp dword [ebp], esi
je 0x4671b9
push esi
call fcn.00458e50
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x5c
ret
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x40]
mov dword [ecx], eax
test ebp, ebp
je 0x4671d4
mov dword [ebp], esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret