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

Disassembly:
mov eax, 0x5c
call fcn.10177830
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 0x101638b3
mov esi, dword [ebp]
test esi, esi
jne 0x101638cb
call fcn.10152d00
mov esi, eax
test esi, esi
jne 0x101638cb
mov dword [esp + 0x68], 0x184
jmp 0x10164a78
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 0x101638f3
mov dword [esp + 0x5c], ecx
jmp 0x101638f9
add eax, ecx
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.100cdb00
add esp, 8
test eax, eax
jne 0x1016391c
mov dword [esp + 0x68], 0x18a
jmp 0x10164a78
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.100dffb0
add esp, 0xc
test eax, eax
jne 0x1016395b
mov dword [esp + 0x68], 0x18e
jmp 0x10164a78
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 0x10163998
push eax
call fcn.100c99e0
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.100dffb0
add esp, 0xc
test eax, eax
jne 0x101639c0
mov dword [esp + 0x68], 0x196
jmp 0x10164a78
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
push dword [esp + 0x70]
add dword [esp + 0x5c], eax
call fcn.100ce4e0
mov edi, eax
add esp, 4
mov dword [esi], edi
mov eax, dword [esp + 0x38]
test eax, eax
je 0x101639fd
push eax
call fcn.100c99e0
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.100dffd0
add esp, 0xc
test eax, eax
jne 0x10163a3c
mov dword [esp + 0x68], 0x1a1
jmp 0x10164a78
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp edi, 2
jne 0x10163a85
cmp dword [esp + 0x20], 3
je 0x10163a69
mov dword [esp + 0x48], 0x89
mov dword [esp + 0x68], 0x1a5
jmp 0x10164a78
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 0x10163ae0
mov eax, edi
sar eax, 8
cmp eax, 3
je 0x10163ab3
cmp eax, 0xfe
je 0x10163ab3
cmp edi, 0x100
je 0x10163ab3
mov dword [esp + 0x48], 0xfe
mov dword [esp + 0x68], 0x1b7
jmp 0x10164a78
cmp dword [esp + 0x20], 2
je 0x10163acf
mov dword [esp + 0x48], 0x89
mov dword [esp + 0x68], 0x1b0
jmp 0x10164a78
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.100dffd0
add esp, 0xc
test eax, eax
jne 0x10163b24
mov dword [esp + 0x68], 0x1be
jmp 0x10164a78
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 0x10163b68
push str.os.length____int_sizeof_ret__session_id_
push 0x1ca
push str.._ssl_ssl_asn1.c
call fcn.100def60
mov eax, dword [esp + 0x2c]
add esp, 0xc
push eax
push dword [esp + 0x2c]
lea eax, [esi + 0x48]
push eax
call fcn.1009f9a0
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.100dffd0
add esp, 0x18
test eax, eax
jne 0x10163ba5
mov dword [esp + 0x68], 0x1cd
jmp 0x10164a78
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x20]
cmp eax, 0x30
jle 0x10163bc3
mov dword [esi + 0x10], 0x30
jmp 0x10163bc6
mov dword [esi + 0x10], eax
push dword [esi + 0x10]
lea eax, [esi + 0x14]
push dword [esp + 0x2c]
push eax
call fcn.1009f9a0
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x58], ecx
je 0x10163c52
mov edx, dword [esp + 0x40]
mov bl, byte [edx]
mov al, bl
and al, 0xdf
cmp al, 0x80
jne 0x10163c52
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.100dffd0
add esp, 0xc
test eax, eax
jne 0x10163c30
mov eax, dword [esp + 0x60]
mov dword [esp + 0x68], 0x1e7
mov byte [eax], bl
jmp 0x10164a78
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 0x10163c52
mov dword [esi + 4], 8
jmp 0x10163c55
mov dword [esi + 4], ecx
push dword [esi + 4]
lea eax, [esi + 8]
push dword [esp + 0x2c]
push eax
call fcn.1009f9a0
mov eax, dword [esp + 0x34]
add esp, 0xc
test eax, eax
je 0x10163c79
push eax
call fcn.100c99e0
add esp, 4
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x10163d62
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa1
jne 0x10163d62
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.100cd810
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x10163cd6
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x1f1
jmp 0x10164a78
cmp ebx, 0x21
jne 0x10163cf2
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 0x10163cf6
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.100dffb0
add esp, 0xc
test eax, eax
jne 0x10163d1a
mov dword [esp + 0x68], 0x1f1
jmp 0x10164a78
cmp ebx, 0x21
jne 0x10163d56
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.100cd7e0
add esp, 8
test eax, eax
jne 0x10163d56
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x1f1
jmp 0x10164a78
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x10163d8e
push dword [esp + 0x70]
call fcn.100ce4e0
mov dword [esi + 0xac], eax
push dword [esp + 0x3c]
call fcn.100c99e0
add esp, 8
mov dword [esp + 0x38], 0
jmp 0x10163d9e
push 0
call fcn.100b3de8
add esp, 4
mov dword [esi + 0xac], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x10163e87
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa2
jne 0x10163e87
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.100cd810
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x10163dfb
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x1fb
jmp 0x10164a78
cmp ebx, 0x21
jne 0x10163e17
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 0x10163e1b
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.100dffb0
add esp, 0xc
test eax, eax
jne 0x10163e3f
mov dword [esp + 0x68], 0x1fb
jmp 0x10164a78
cmp ebx, 0x21
jne 0x10163e7b
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.100cd7e0
add esp, 8
test eax, eax
jne 0x10163e7b
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x1fb
jmp 0x10164a78
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x10163ebb
push dword [esp + 0x70]
call fcn.100ce4e0
mov dword [esi + 0xa8], eax
push dword [esp + 0x3c]
call fcn.100c99e0
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x10163ec5
mov dword [esi + 0xa8], 3
mov eax, dword [esi + 0x9c]
lea edi, [esi + 0x9c]
test eax, eax
je 0x10163ee4
push eax
call fcn.100d2b80
add esp, 4
mov dword [edi], 0
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x40]
test ecx, ecx
je 0x10163fc9
cmp byte [edx], 0xa3
jne 0x10163fc9
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.100cd810
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x10163f39
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x208
jmp 0x10164a78
cmp ebx, 0x21
jne 0x10163f55
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 0x10163f59
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
push edi
call fcn.100d2bd0
add esp, 0xc
test eax, eax
jne 0x10163f79
mov dword [esp + 0x68], 0x208
jmp 0x10164a78
cmp ebx, 0x21
jne 0x10163fb5
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.100cd7e0
add esp, 8
test eax, eax
jne 0x10163fb5
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x208
jmp 0x10164a78
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 0x10164123
cmp byte [edx], 0xa4
jne 0x10164123
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.100cd810
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x10164026
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x20c
jmp 0x10164a78
cmp ebx, 0x21
jne 0x10164042
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 0x10164046
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.100dffd0
add esp, 0xc
test eax, eax
jne 0x1016406a
mov dword [esp + 0x68], 0x20c
jmp 0x10164a78
cmp ebx, 0x21
jne 0x101640a6
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.100cd7e0
add esp, 8
test eax, eax
jne 0x101640a6
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x20c
jmp 0x10164a78
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10164123
mov ecx, dword [esp + 0x20]
cmp ecx, 0x20
jle 0x101640f1
push eax
mov dword [esp + 0x4c], 0x10f
mov dword [esp + 0x6c], 0x211
call fcn.100c99e0
add esp, 4
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x10164a78
mov dword [esi + 0x68], ecx
lea eax, [esi + 0x6c]
push dword [esp + 0x20]
push dword [esp + 0x2c]
push eax
call fcn.1009f9a0
push dword [esp + 0x34]
call fcn.100c99e0
add esp, 0x10
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x1016412a
mov dword [esi + 0x68], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x10164213
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa5
jne 0x10164213
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.100cd810
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x10164187
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x221
jmp 0x10164a78
cmp ebx, 0x21
jne 0x101641a3
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 0x101641a7
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.100dffb0
add esp, 0xc
test eax, eax
jne 0x101641cb
mov dword [esp + 0x68], 0x221
jmp 0x10164a78
cmp ebx, 0x21
jne 0x10164207
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.100cd7e0
add esp, 8
test eax, eax
jne 0x10164207
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x221
jmp 0x10164a78
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x10164247
push dword [esp + 0x70]
call fcn.100ce4e0
mov dword [esi + 0xa0], eax
push dword [esp + 0x3c]
call fcn.100c99e0
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x10164251
mov dword [esi + 0xa0], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test eax, eax
je 0x10164368
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa6
jne 0x10164368
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.100cd810
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x101642b6
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x22d
jmp 0x10164a78
cmp ebx, 0x21
jne 0x101642d2
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 0x101642d6
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.100dffd0
add esp, 0xc
test eax, eax
jne 0x101642fa
mov dword [esp + 0x68], 0x22d
jmp 0x10164a78
cmp ebx, 0x21
jne 0x10164336
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.100cd7e0
add esp, 8
test eax, eax
jne 0x10164336
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x22d
jmp 0x10164a78
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10164368
push dword [esp + 0x20]
push eax
call fcn.100ddf90
mov dword [esi + 0xd0], eax
push dword [esp + 0x30]
call fcn.100c99e0
add esp, 0xc
jmp 0x10164372
mov dword [esi + 0xd0], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test eax, eax
je 0x10164489
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa7
jne 0x10164489
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.100cd810
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x101643d7
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x23a
jmp 0x10164a78
cmp ebx, 0x21
jne 0x101643f3
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 0x101643f7
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.100dffd0
add esp, 0xc
test eax, eax
jne 0x1016441b
mov dword [esp + 0x68], 0x23a
jmp 0x10164a78
cmp ebx, 0x21
jne 0x10164457
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.100cd7e0
add esp, 8
test eax, eax
jne 0x10164457
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x23a
jmp 0x10164a78
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10164489
push dword [esp + 0x20]
push eax
call fcn.100ddf90
mov dword [esi + 0x8c], eax
push dword [esp + 0x30]
call fcn.100c99e0
add esp, 0xc
jmp 0x10164493
mov dword [esi + 0x8c], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test eax, eax
je 0x101645ba
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa8
jne 0x101645ba
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.100cd810
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x101644f8
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x245
jmp 0x10164a78
cmp ebx, 0x21
jne 0x10164514
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 0x10164518
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.100dffd0
add esp, 0xc
test eax, eax
jne 0x1016453c
mov dword [esp + 0x68], 0x245
jmp 0x10164a78
cmp ebx, 0x21
jne 0x10164578
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.100cd7e0
add esp, 8
test eax, eax
jne 0x10164578
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x245
jmp 0x10164a78
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x101645ba
push dword [esp + 0x20]
push eax
call fcn.100ddf90
mov dword [esi + 0x90], eax
push dword [esp + 0x30]
call fcn.100c99e0
add esp, 0xc
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x101645c4
mov dword [esi + 0x90], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x101646ad
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa9
jne 0x101646ad
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.100cd810
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x10164621
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x251
jmp 0x10164a78
cmp ebx, 0x21
jne 0x1016463d
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 0x10164641
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.100dffb0
add esp, 0xc
test eax, eax
jne 0x10164665
mov dword [esp + 0x68], 0x251
jmp 0x10164a78
cmp ebx, 0x21
jne 0x101646a1
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.100cd7e0
add esp, 8
test eax, eax
jne 0x101646a1
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x251
jmp 0x10164a78
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x101646e1
push dword [esp + 0x70]
call fcn.100ce4e0
mov dword [esi + 0xec], eax
push dword [esp + 0x3c]
call fcn.100c99e0
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x10164706
cmp dword [esi + 0xe8], 0
je 0x101646fc
cmp dword [esi + 0x44], 0
je 0x101646fc
mov dword [esi + 0xec], 0xffffffff
jmp 0x10164706
mov dword [esi + 0xec], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test eax, eax
je 0x10164811
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xaa
jne 0x10164811
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.100cd810
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x1016476b
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x25d
jmp 0x10164a78
cmp ebx, 0x21
jne 0x10164787
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 0x1016478b
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.100dffd0
add esp, 0xc
test eax, eax
jne 0x101647af
mov dword [esp + 0x68], 0x25d
jmp 0x10164a78
cmp ebx, 0x21
jne 0x101647eb
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.100cd7e0
add esp, 8
test eax, eax
jne 0x101647eb
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x25d
jmp 0x10164a78
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10164811
mov dword [esi + 0xe4], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0xe8], eax
jmp 0x1016481b
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 0x10164939
cmp byte [edx], 0xab
jne 0x10164939
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.100cd810
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x10164880
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x269
jmp 0x10164a78
cmp ebx, 0x21
jne 0x1016489c
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 0x101648a0
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.100dffd0
add esp, 0xc
test eax, eax
jne 0x101648c4
mov dword [esp + 0x68], 0x269
jmp 0x10164a78
cmp ebx, 0x21
jne 0x10164900
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.100cd7e0
add esp, 8
test eax, eax
jne 0x10164900
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x269
jmp 0x10164a78
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 0x10164939
movzx eax, byte [eax]
mov dword [esi + 0xb0], eax
push dword [esp + 0x28]
call fcn.100c99e0
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 0x10164a55
cmp byte [edx], 0xac
jne 0x10164a55
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.100cd810
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x10164996
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x274
jmp 0x10164a78
cmp ebx, 0x21
jne 0x101649b2
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 0x101649b6
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.100dffd0
add esp, 0xc
test eax, eax
jne 0x101649da
mov dword [esp + 0x68], 0x274
jmp 0x10164a78
cmp ebx, 0x21
jne 0x10164a13
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.100cd7e0
add esp, 8
test eax, eax
jne 0x10164a13
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x274
jmp 0x10164a78
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10164a55
push dword [esp + 0x20]
push eax
call fcn.100ddf90
mov dword [esi + 0xf0], eax
push dword [esp + 0x30]
call fcn.100c99e0
add esp, 0xc
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x10164a5f
mov dword [esi + 0xf0], 0
lea eax, [esp + 0x40]
push eax
call fcn.100cdc00
add esp, 4
test eax, eax
jne 0x10164ac7
mov dword [esp + 0x68], 0x27e
push dword [esp + 0x68]
push str.._ssl_ssl_asn1.c
push dword [esp + 0x50]
push 0x67
push 0xd
call fcn.100d6900
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
mov eax, dword [esp + 0x74]
sub eax, ecx
push eax
push ecx
call fcn.100cdb90
add esp, 0x1c
test esi, esi
je 0x10164abd
test ebp, ebp
je 0x10164ab4
cmp dword [ebp], esi
je 0x10164abd
push esi
call fcn.10152ab0
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 0x10164ad8
mov dword [ebp], esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret