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

Disassembly:
mov eax, 0x5c
call fcn.10021e20
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 0x1009bfa3
mov esi, dword [ebp]
test esi, esi
jne 0x1009bfbb
call fcn.1008b760
mov esi, eax
test esi, esi
jne 0x1009bfbb
mov dword [esp + 0x68], 0x184
jmp 0x1009d169
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 0x1009bfe3
mov dword [esp + 0x5c], ecx
jmp 0x1009bfe9
add eax, ecx
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.100b3960
add esp, 8
test eax, eax
jne 0x1009c00c
mov dword [esp + 0x68], 0x18a
jmp 0x1009d169
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.100d6bd0
add esp, 0xc
test eax, eax
jne 0x1009c04b
mov dword [esp + 0x68], 0x18e
jmp 0x1009d169
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 0x1009c088
push eax
call fcn.100b01c0
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.100d6bd0
add esp, 0xc
test eax, eax
jne 0x1009c0b0
mov dword [esp + 0x68], 0x196
jmp 0x1009d169
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
push dword [esp + 0x70]
add dword [esp + 0x5c], eax
call fcn.100b4340
mov edi, eax
add esp, 4
mov dword [esi], edi
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1009c0ed
push eax
call fcn.100b01c0
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.100d6bf0
add esp, 0xc
test eax, eax
jne 0x1009c12c
mov dword [esp + 0x68], 0x1a1
jmp 0x1009d169
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp edi, 2
jne 0x1009c175
cmp dword [esp + 0x20], 3
je 0x1009c159
mov dword [esp + 0x48], 0x89
mov dword [esp + 0x68], 0x1a5
jmp 0x1009d169
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 0x1009c1d0
mov eax, edi
sar eax, 8
cmp eax, 3
je 0x1009c1a3
cmp eax, 0xfe
je 0x1009c1a3
cmp edi, 0x100
je 0x1009c1a3
mov dword [esp + 0x48], 0xfe
mov dword [esp + 0x68], 0x1b7
jmp 0x1009d169
cmp dword [esp + 0x20], 2
je 0x1009c1bf
mov dword [esp + 0x48], 0x89
mov dword [esp + 0x68], 0x1b0
jmp 0x1009d169
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.100d6bf0
add esp, 0xc
test eax, eax
jne 0x1009c214
mov dword [esp + 0x68], 0x1be
jmp 0x1009d169
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 0x1009c258
push str.os.length____int_sizeof_ret__session_id_
push 0x1ca
push str.._ssl_ssl_asn1.c
call fcn.100c0b30
mov eax, dword [esp + 0x2c]
add esp, 0xc
push eax
push dword [esp + 0x2c]
lea eax, [esi + 0x48]
push eax
call fcn.10020ec0
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.100d6bf0
add esp, 0x18
test eax, eax
jne 0x1009c295
mov dword [esp + 0x68], 0x1cd
jmp 0x1009d169
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x20]
cmp eax, 0x30
jle 0x1009c2b3
mov dword [esi + 0x10], 0x30
jmp 0x1009c2b6
mov dword [esi + 0x10], eax
push dword [esi + 0x10]
lea eax, [esi + 0x14]
push dword [esp + 0x2c]
push eax
call fcn.10020ec0
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x58], ecx
je 0x1009c343
mov edx, dword [esp + 0x40]
mov bl, byte [edx]
movzx eax, bl
and al, 0xdf
cmp al, 0x80
jne 0x1009c343
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.100d6bf0
add esp, 0xc
test eax, eax
jne 0x1009c321
mov eax, dword [esp + 0x60]
mov dword [esp + 0x68], 0x1e7
mov byte [eax], bl
jmp 0x1009d169
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 0x1009c343
mov dword [esi + 4], 8
jmp 0x1009c346
mov dword [esi + 4], ecx
push dword [esi + 4]
lea eax, [esi + 8]
push dword [esp + 0x2c]
push eax
call fcn.10020ec0
mov eax, dword [esp + 0x34]
add esp, 0xc
test eax, eax
je 0x1009c36a
push eax
call fcn.100b01c0
add esp, 4
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x1009c453
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa1
jne 0x1009c453
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.100b3680
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x1009c3c7
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x1f1
jmp 0x1009d169
cmp ebx, 0x21
jne 0x1009c3e3
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 0x1009c3e7
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.100d6bd0
add esp, 0xc
test eax, eax
jne 0x1009c40b
mov dword [esp + 0x68], 0x1f1
jmp 0x1009d169
cmp ebx, 0x21
jne 0x1009c447
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.100b3650
add esp, 8
test eax, eax
jne 0x1009c447
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x1f1
jmp 0x1009d169
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x1009c47f
push dword [esp + 0x70]
call fcn.100b4340
mov dword [esi + 0xac], eax
push dword [esp + 0x3c]
call fcn.100b01c0
add esp, 8
mov dword [esp + 0x38], 0
jmp 0x1009c48f
push 0
call fcn.10023419
add esp, 4
mov dword [esi + 0xac], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x1009c578
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa2
jne 0x1009c578
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.100b3680
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x1009c4ec
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x1fb
jmp 0x1009d169
cmp ebx, 0x21
jne 0x1009c508
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 0x1009c50c
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.100d6bd0
add esp, 0xc
test eax, eax
jne 0x1009c530
mov dword [esp + 0x68], 0x1fb
jmp 0x1009d169
cmp ebx, 0x21
jne 0x1009c56c
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.100b3650
add esp, 8
test eax, eax
jne 0x1009c56c
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x1fb
jmp 0x1009d169
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x1009c5ac
push dword [esp + 0x70]
call fcn.100b4340
mov dword [esi + 0xa8], eax
push dword [esp + 0x3c]
call fcn.100b01c0
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x1009c5b6
mov dword [esi + 0xa8], 3
mov eax, dword [esi + 0x9c]
lea edi, [esi + 0x9c]
test eax, eax
je 0x1009c5d5
push eax
call fcn.100b9170
add esp, 4
mov dword [edi], 0
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x40]
test ecx, ecx
je 0x1009c6ba
cmp byte [edx], 0xa3
jne 0x1009c6ba
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.100b3680
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x1009c62a
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x208
jmp 0x1009d169
cmp ebx, 0x21
jne 0x1009c646
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 0x1009c64a
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
push edi
call fcn.100b91c0
add esp, 0xc
test eax, eax
jne 0x1009c66a
mov dword [esp + 0x68], 0x208
jmp 0x1009d169
cmp ebx, 0x21
jne 0x1009c6a6
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.100b3650
add esp, 8
test eax, eax
jne 0x1009c6a6
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x208
jmp 0x1009d169
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 0x1009c814
cmp byte [edx], 0xa4
jne 0x1009c814
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.100b3680
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x1009c717
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x20c
jmp 0x1009d169
cmp ebx, 0x21
jne 0x1009c733
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 0x1009c737
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.100d6bf0
add esp, 0xc
test eax, eax
jne 0x1009c75b
mov dword [esp + 0x68], 0x20c
jmp 0x1009d169
cmp ebx, 0x21
jne 0x1009c797
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.100b3650
add esp, 8
test eax, eax
jne 0x1009c797
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x20c
jmp 0x1009d169
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1009c814
mov ecx, dword [esp + 0x20]
cmp ecx, 0x20
jle 0x1009c7e2
push eax
mov dword [esp + 0x4c], 0x10f
mov dword [esp + 0x6c], 0x211
call fcn.100b01c0
add esp, 4
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x1009d169
mov dword [esi + 0x68], ecx
lea eax, [esi + 0x6c]
push dword [esp + 0x20]
push dword [esp + 0x2c]
push eax
call fcn.10020ec0
push dword [esp + 0x34]
call fcn.100b01c0
add esp, 0x10
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x1009c81b
mov dword [esi + 0x68], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x1009c904
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa5
jne 0x1009c904
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.100b3680
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x1009c878
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x221
jmp 0x1009d169
cmp ebx, 0x21
jne 0x1009c894
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 0x1009c898
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.100d6bd0
add esp, 0xc
test eax, eax
jne 0x1009c8bc
mov dword [esp + 0x68], 0x221
jmp 0x1009d169
cmp ebx, 0x21
jne 0x1009c8f8
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.100b3650
add esp, 8
test eax, eax
jne 0x1009c8f8
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x221
jmp 0x1009d169
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x1009c938
push dword [esp + 0x70]
call fcn.100b4340
mov dword [esi + 0xa0], eax
push dword [esp + 0x3c]
call fcn.100b01c0
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x1009c942
mov dword [esi + 0xa0], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test eax, eax
je 0x1009ca59
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa6
jne 0x1009ca59
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.100b3680
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x1009c9a7
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x22d
jmp 0x1009d169
cmp ebx, 0x21
jne 0x1009c9c3
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 0x1009c9c7
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.100d6bf0
add esp, 0xc
test eax, eax
jne 0x1009c9eb
mov dword [esp + 0x68], 0x22d
jmp 0x1009d169
cmp ebx, 0x21
jne 0x1009ca27
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.100b3650
add esp, 8
test eax, eax
jne 0x1009ca27
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x22d
jmp 0x1009d169
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1009ca59
push dword [esp + 0x20]
push eax
call fcn.100bfba0
mov dword [esi + 0xd0], eax
push dword [esp + 0x30]
call fcn.100b01c0
add esp, 0xc
jmp 0x1009ca63
mov dword [esi + 0xd0], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test eax, eax
je 0x1009cb7a
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa7
jne 0x1009cb7a
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.100b3680
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x1009cac8
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x23a
jmp 0x1009d169
cmp ebx, 0x21
jne 0x1009cae4
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 0x1009cae8
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.100d6bf0
add esp, 0xc
test eax, eax
jne 0x1009cb0c
mov dword [esp + 0x68], 0x23a
jmp 0x1009d169
cmp ebx, 0x21
jne 0x1009cb48
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.100b3650
add esp, 8
test eax, eax
jne 0x1009cb48
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x23a
jmp 0x1009d169
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1009cb7a
push dword [esp + 0x20]
push eax
call fcn.100bfba0
mov dword [esi + 0x8c], eax
push dword [esp + 0x30]
call fcn.100b01c0
add esp, 0xc
jmp 0x1009cb84
mov dword [esi + 0x8c], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test eax, eax
je 0x1009ccab
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa8
jne 0x1009ccab
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.100b3680
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x1009cbe9
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x245
jmp 0x1009d169
cmp ebx, 0x21
jne 0x1009cc05
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 0x1009cc09
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.100d6bf0
add esp, 0xc
test eax, eax
jne 0x1009cc2d
mov dword [esp + 0x68], 0x245
jmp 0x1009d169
cmp ebx, 0x21
jne 0x1009cc69
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.100b3650
add esp, 8
test eax, eax
jne 0x1009cc69
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x245
jmp 0x1009d169
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1009ccab
push dword [esp + 0x20]
push eax
call fcn.100bfba0
mov dword [esi + 0x90], eax
push dword [esp + 0x30]
call fcn.100b01c0
add esp, 0xc
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x1009ccb5
mov dword [esi + 0x90], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x1009cd9e
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa9
jne 0x1009cd9e
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.100b3680
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x1009cd12
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x251
jmp 0x1009d169
cmp ebx, 0x21
jne 0x1009cd2e
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 0x1009cd32
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.100d6bd0
add esp, 0xc
test eax, eax
jne 0x1009cd56
mov dword [esp + 0x68], 0x251
jmp 0x1009d169
cmp ebx, 0x21
jne 0x1009cd92
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.100b3650
add esp, 8
test eax, eax
jne 0x1009cd92
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x251
jmp 0x1009d169
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x1009cdd2
push dword [esp + 0x70]
call fcn.100b4340
mov dword [esi + 0xec], eax
push dword [esp + 0x3c]
call fcn.100b01c0
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x1009cdf7
cmp dword [esi + 0xe8], 0
je 0x1009cded
cmp dword [esi + 0x44], 0
je 0x1009cded
mov dword [esi + 0xec], 0xffffffff
jmp 0x1009cdf7
mov dword [esi + 0xec], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test eax, eax
je 0x1009cf02
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xaa
jne 0x1009cf02
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.100b3680
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x1009ce5c
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x25d
jmp 0x1009d169
cmp ebx, 0x21
jne 0x1009ce78
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 0x1009ce7c
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.100d6bf0
add esp, 0xc
test eax, eax
jne 0x1009cea0
mov dword [esp + 0x68], 0x25d
jmp 0x1009d169
cmp ebx, 0x21
jne 0x1009cedc
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.100b3650
add esp, 8
test eax, eax
jne 0x1009cedc
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x25d
jmp 0x1009d169
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1009cf02
mov dword [esi + 0xe4], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0xe8], eax
jmp 0x1009cf0c
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 0x1009d02a
cmp byte [edx], 0xab
jne 0x1009d02a
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.100b3680
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x1009cf71
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x269
jmp 0x1009d169
cmp ebx, 0x21
jne 0x1009cf8d
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 0x1009cf91
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.100d6bf0
add esp, 0xc
test eax, eax
jne 0x1009cfb5
mov dword [esp + 0x68], 0x269
jmp 0x1009d169
cmp ebx, 0x21
jne 0x1009cff1
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.100b3650
add esp, 8
test eax, eax
jne 0x1009cff1
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x269
jmp 0x1009d169
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 0x1009d02a
movzx eax, byte [eax]
mov dword [esi + 0xb0], eax
push dword [esp + 0x28]
call fcn.100b01c0
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 0x1009d146
cmp byte [edx], 0xac
jne 0x1009d146
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.100b3680
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x1009d087
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x274
jmp 0x1009d169
cmp ebx, 0x21
jne 0x1009d0a3
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 0x1009d0a7
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.100d6bf0
add esp, 0xc
test eax, eax
jne 0x1009d0cb
mov dword [esp + 0x68], 0x274
jmp 0x1009d169
cmp ebx, 0x21
jne 0x1009d104
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.100b3650
add esp, 8
test eax, eax
jne 0x1009d104
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x274
jmp 0x1009d169
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1009d146
push dword [esp + 0x20]
push eax
call fcn.100bfba0
mov dword [esi + 0xf0], eax
push dword [esp + 0x30]
call fcn.100b01c0
add esp, 0xc
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x1009d150
mov dword [esi + 0xf0], 0
lea eax, [esp + 0x40]
push eax
call fcn.100b3a60
add esp, 4
test eax, eax
jne 0x1009d1b8
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.100bceb0
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
mov eax, dword [esp + 0x74]
sub eax, ecx
push eax
push ecx
call fcn.100b39f0
add esp, 0x1c
test esi, esi
je 0x1009d1ae
test ebp, ebp
je 0x1009d1a5
cmp dword [ebp], esi
je 0x1009d1ae
push esi
call fcn.1008b510
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 0x1009d1c9
mov dword [ebp], esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret