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

Disassembly:
mov eax, 0x5c
call fcn.0058c590
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 0x5132d3
mov esi, dword [ebp]
test esi, esi
jne 0x5132e8
call fcn.004e67b0
mov esi, eax
test esi, esi
jne 0x5132e8
mov ecx, 0x184
jmp 0x5143f3
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 0x513310
mov dword [esp + 0x5c], ecx
jmp 0x513316
add eax, ecx
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.004d9e10
add esp, 8
test eax, eax
jne 0x513336
mov ecx, 0x18a
jmp 0x5143f3
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.004f7790
add esp, 0xc
test eax, eax
jne 0x513372
mov ecx, 0x18e
jmp 0x5143f3
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 0x5133af
push eax
call fcn.004d6600
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.004f7790
add esp, 0xc
test eax, eax
jne 0x5133d4
mov ecx, 0x196
jmp 0x5143f3
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
push dword [esp + 0x70]
add dword [esp + 0x5c], eax
call fcn.004da7f0
mov edi, eax
add esp, 4
mov dword [esi], edi
mov eax, dword [esp + 0x38]
test eax, eax
je 0x513411
push eax
call fcn.004d6600
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.004f77b0
add esp, 0xc
test eax, eax
jne 0x51344d
mov ecx, 0x1a1
jmp 0x5143f3
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp edi, 2
jne 0x513493
cmp dword [esp + 0x20], 3
je 0x513477
mov dword [esp + 0x48], 0x89
mov ecx, 0x1a5
jmp 0x5143f3
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 0x5134e8
mov eax, edi
sar eax, 8
cmp eax, 3
je 0x5134be
cmp eax, 0xfe
je 0x5134be
cmp edi, 0x100
je 0x5134be
mov dword [esp + 0x48], 0xfe
mov ecx, 0x1b7
jmp 0x5143f3
cmp dword [esp + 0x20], 2
je 0x5134d7
mov dword [esp + 0x48], 0x89
mov ecx, 0x1b0
jmp 0x5143f3
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.004f77b0
add esp, 0xc
test eax, eax
jne 0x513529
mov ecx, 0x1be
jmp 0x5143f3
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 0x51356d
push str.os.length____int_sizeof_ret__session_id_
push 0x1ca
push str.._ssl_ssl_asn1.c
call fcn.004f6070
mov eax, dword [esp + 0x2c]
add esp, 0xc
push eax
push dword [esp + 0x2c]
lea eax, [esi + 0x48]
push eax
call fcn.005a45f0
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.004f77b0
add esp, 0x18
test eax, eax
jne 0x5135a7
mov ecx, 0x1cd
jmp 0x5143f3
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x20]
cmp eax, 0x30
jle 0x5135c5
mov dword [esi + 0x10], 0x30
jmp 0x5135c8
mov dword [esi + 0x10], eax
push dword [esi + 0x10]
lea eax, [esi + 0x14]
push dword [esp + 0x2c]
push eax
call fcn.005a45f0
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x58], ecx
je 0x513659
mov edx, dword [esp + 0x40]
mov bl, byte [edx]
movzx eax, bl
and al, 0xdf
cmp al, 0x80
jne 0x513659
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.004f77b0
add esp, 0xc
test eax, eax
jne 0x513637
mov eax, dword [esp + 0x60]
mov dword [esp + 0x68], 0x1e7
mov byte [eax], bl
mov ecx, dword [esp + 0x68]
jmp 0x5143f7
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 0x513659
mov dword [esi + 4], 8
jmp 0x51365c
mov dword [esi + 4], ecx
push dword [esi + 4]
lea eax, [esi + 8]
push dword [esp + 0x2c]
push eax
call fcn.005a45f0
mov eax, dword [esp + 0x34]
add esp, 0xc
test eax, eax
je 0x513680
push eax
call fcn.004d6600
add esp, 4
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x513760
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa1
jne 0x513760
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.004d9b40
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x5136da
mov dword [esp + 0x48], 0x3b
mov ecx, 0x1f1
jmp 0x5143f3
cmp ebx, 0x21
jne 0x5136f6
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 0x5136fa
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004f7790
add esp, 0xc
test eax, eax
jne 0x51371b
mov ecx, 0x1f1
jmp 0x5143f3
cmp ebx, 0x21
jne 0x513754
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.004d9b10
add esp, 8
test eax, eax
jne 0x513754
mov dword [esp + 0x48], 0x3f
mov ecx, 0x1f1
jmp 0x5143f3
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x51378c
push dword [esp + 0x70]
call fcn.004da7f0
mov dword [esi + 0xac], eax
push dword [esp + 0x3c]
call fcn.004d6600
add esp, 8
mov dword [esp + 0x38], 0
jmp 0x51379c
push 0
call fcn.005b7fdd
add esp, 4
mov dword [esi + 0xac], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x51387c
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa2
jne 0x51387c
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.004d9b40
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x5137f6
mov dword [esp + 0x48], 0x3b
mov ecx, 0x1fb
jmp 0x5143f3
cmp ebx, 0x21
jne 0x513812
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 0x513816
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004f7790
add esp, 0xc
test eax, eax
jne 0x513837
mov ecx, 0x1fb
jmp 0x5143f3
cmp ebx, 0x21
jne 0x513870
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.004d9b10
add esp, 8
test eax, eax
jne 0x513870
mov dword [esp + 0x48], 0x3f
mov ecx, 0x1fb
jmp 0x5143f3
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x5138b0
push dword [esp + 0x70]
call fcn.004da7f0
mov dword [esi + 0xa8], eax
push dword [esp + 0x3c]
call fcn.004d6600
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x5138ba
mov dword [esi + 0xa8], 3
mov eax, dword [esi + 0x9c]
lea edi, [esi + 0x9c]
test eax, eax
je 0x5138d9
push eax
call fcn.004df510
add esp, 4
mov dword [edi], 0
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x40]
test ecx, ecx
je 0x5139b5
cmp byte [edx], 0xa3
jne 0x5139b5
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.004d9b40
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x51392b
mov dword [esp + 0x48], 0x3b
mov ecx, 0x208
jmp 0x5143f3
cmp ebx, 0x21
jne 0x513947
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 0x51394b
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
push edi
call fcn.004df560
add esp, 0xc
test eax, eax
jne 0x513968
mov ecx, 0x208
jmp 0x5143f3
cmp ebx, 0x21
jne 0x5139a1
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.004d9b10
add esp, 8
test eax, eax
jne 0x5139a1
mov dword [esp + 0x48], 0x3f
mov ecx, 0x208
jmp 0x5143f3
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 0x513ae9
cmp byte [edx], 0xa4
jne 0x513ae9
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.004d9b40
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x513a0f
mov dword [esp + 0x48], 0x3b
mov ecx, 0x20c
jmp 0x5143f3
cmp ebx, 0x21
jne 0x513a2b
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 0x513a2f
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004f77b0
add esp, 0xc
test eax, eax
jne 0x513a50
mov ecx, 0x20c
jmp 0x5143f3
cmp ebx, 0x21
jne 0x513a89
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.004d9b10
add esp, 8
test eax, eax
jne 0x513a89
mov dword [esp + 0x48], 0x3f
mov ecx, 0x20c
jmp 0x5143f3
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x28], 0
je 0x513ae9
mov eax, dword [esp + 0x20]
cmp eax, 0x20
jle 0x513ab7
mov dword [esp + 0x48], 0x10f
mov ecx, 0x211
jmp 0x5143f3
mov dword [esi + 0x68], eax
lea eax, [esi + 0x6c]
push dword [esp + 0x20]
push dword [esp + 0x2c]
push eax
call fcn.005a45f0
push dword [esp + 0x34]
call fcn.004d6600
add esp, 0x10
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x513af0
mov dword [esi + 0x68], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x513bd0
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa5
jne 0x513bd0
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.004d9b40
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x513b4a
mov dword [esp + 0x48], 0x3b
mov ecx, 0x21e
jmp 0x5143f3
cmp ebx, 0x21
jne 0x513b66
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 0x513b6a
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004f7790
add esp, 0xc
test eax, eax
jne 0x513b8b
mov ecx, 0x21e
jmp 0x5143f3
cmp ebx, 0x21
jne 0x513bc4
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.004d9b10
add esp, 8
test eax, eax
jne 0x513bc4
mov dword [esp + 0x48], 0x3f
mov ecx, 0x21e
jmp 0x5143f3
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x513c04
push dword [esp + 0x70]
call fcn.004da7f0
mov dword [esi + 0xa0], eax
push dword [esp + 0x3c]
call fcn.004d6600
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x513c0e
mov dword [esi + 0xa0], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test eax, eax
je 0x513d1c
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa6
jne 0x513d1c
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.004d9b40
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x513c70
mov dword [esp + 0x48], 0x3b
mov ecx, 0x22a
jmp 0x5143f3
cmp ebx, 0x21
jne 0x513c8c
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 0x513c90
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004f77b0
add esp, 0xc
test eax, eax
jne 0x513cb1
mov ecx, 0x22a
jmp 0x5143f3
cmp ebx, 0x21
jne 0x513cea
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.004d9b10
add esp, 8
test eax, eax
jne 0x513cea
mov dword [esp + 0x48], 0x3f
mov ecx, 0x22a
jmp 0x5143f3
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x513d1c
push dword [esp + 0x20]
push eax
call fcn.00505eb0
mov dword [esi + 0xd0], eax
push dword [esp + 0x30]
call fcn.004d6600
add esp, 0xc
jmp 0x513d26
mov dword [esi + 0xd0], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test eax, eax
je 0x513e34
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa7
jne 0x513e34
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.004d9b40
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x513d88
mov dword [esp + 0x48], 0x3b
mov ecx, 0x237
jmp 0x5143f3
cmp ebx, 0x21
jne 0x513da4
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 0x513da8
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004f77b0
add esp, 0xc
test eax, eax
jne 0x513dc9
mov ecx, 0x237
jmp 0x5143f3
cmp ebx, 0x21
jne 0x513e02
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.004d9b10
add esp, 8
test eax, eax
jne 0x513e02
mov dword [esp + 0x48], 0x3f
mov ecx, 0x237
jmp 0x5143f3
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x513e34
push dword [esp + 0x20]
push eax
call fcn.00505eb0
mov dword [esi + 0x8c], eax
push dword [esp + 0x30]
call fcn.004d6600
add esp, 0xc
jmp 0x513e3e
mov dword [esi + 0x8c], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test eax, eax
je 0x513f5c
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa8
jne 0x513f5c
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.004d9b40
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x513ea0
mov dword [esp + 0x48], 0x3b
mov ecx, 0x242
jmp 0x5143f3
cmp ebx, 0x21
jne 0x513ebc
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 0x513ec0
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004f77b0
add esp, 0xc
test eax, eax
jne 0x513ee1
mov ecx, 0x242
jmp 0x5143f3
cmp ebx, 0x21
jne 0x513f1a
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.004d9b10
add esp, 8
test eax, eax
jne 0x513f1a
mov dword [esp + 0x48], 0x3f
mov ecx, 0x242
jmp 0x5143f3
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x513f5c
push dword [esp + 0x20]
push eax
call fcn.00505eb0
mov dword [esi + 0x90], eax
push dword [esp + 0x30]
call fcn.004d6600
add esp, 0xc
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x513f66
mov dword [esi + 0x90], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x514046
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa9
jne 0x514046
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.004d9b40
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x513fc0
mov dword [esp + 0x48], 0x3b
mov ecx, 0x24e
jmp 0x5143f3
cmp ebx, 0x21
jne 0x513fdc
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 0x513fe0
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004f7790
add esp, 0xc
test eax, eax
jne 0x514001
mov ecx, 0x24e
jmp 0x5143f3
cmp ebx, 0x21
jne 0x51403a
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.004d9b10
add esp, 8
test eax, eax
jne 0x51403a
mov dword [esp + 0x48], 0x3f
mov ecx, 0x24e
jmp 0x5143f3
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x51407a
push dword [esp + 0x70]
call fcn.004da7f0
mov dword [esi + 0xec], eax
push dword [esp + 0x3c]
call fcn.004d6600
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x51409f
cmp dword [esi + 0xe8], 0
je 0x514095
cmp dword [esi + 0x44], 0
je 0x514095
mov dword [esi + 0xec], 0xffffffff
jmp 0x51409f
mov dword [esi + 0xec], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test eax, eax
je 0x5141a1
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xaa
jne 0x5141a1
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.004d9b40
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x514101
mov dword [esp + 0x48], 0x3b
mov ecx, 0x25a
jmp 0x5143f3
cmp ebx, 0x21
jne 0x51411d
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 0x514121
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004f77b0
add esp, 0xc
test eax, eax
jne 0x514142
mov ecx, 0x25a
jmp 0x5143f3
cmp ebx, 0x21
jne 0x51417b
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.004d9b10
add esp, 8
test eax, eax
jne 0x51417b
mov dword [esp + 0x48], 0x3f
mov ecx, 0x25a
jmp 0x5143f3
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x5141a1
mov dword [esi + 0xe4], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0xe8], eax
jmp 0x5141ab
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 0x5142c0
cmp byte [edx], 0xab
jne 0x5142c0
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.004d9b40
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x51420d
mov dword [esp + 0x48], 0x3b
mov ecx, 0x266
jmp 0x5143f3
cmp ebx, 0x21
jne 0x514229
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 0x51422d
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004f77b0
add esp, 0xc
test eax, eax
jne 0x51424e
mov ecx, 0x266
jmp 0x5143f3
cmp ebx, 0x21
jne 0x514287
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.004d9b10
add esp, 8
test eax, eax
jne 0x514287
mov dword [esp + 0x48], 0x3f
mov ecx, 0x266
jmp 0x5143f3
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 0x5142c0
movzx eax, byte [eax]
mov dword [esi + 0xb0], eax
push dword [esp + 0x28]
call fcn.004d6600
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 0x5143d3
cmp byte [edx], 0xac
jne 0x5143d3
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.004d9b40
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x51431a
mov dword [esp + 0x48], 0x3b
mov ecx, 0x271
jmp 0x5143f3
cmp ebx, 0x21
jne 0x514336
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 0x51433a
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004f77b0
add esp, 0xc
test eax, eax
jne 0x51435b
mov ecx, 0x271
jmp 0x5143f3
cmp ebx, 0x21
jne 0x514391
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.004d9b10
add esp, 8
test eax, eax
jne 0x514391
mov dword [esp + 0x48], 0x3f
mov ecx, 0x271
jmp 0x5143f3
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x5143d3
push dword [esp + 0x20]
push eax
call fcn.00505eb0
mov dword [esi + 0xf0], eax
push dword [esp + 0x30]
call fcn.004d6600
add esp, 0xc
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x5143dd
mov dword [esi + 0xf0], 0
lea eax, [esp + 0x40]
push eax
call fcn.004d9f10
add esp, 4
test eax, eax
jne 0x514443
mov ecx, 0x27b
mov dword [esp + 0x68], ecx
push ecx
push str.._ssl_ssl_asn1.c
push dword [esp + 0x50]
push 0x67
push 0xd
call fcn.004efca0
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
mov eax, dword [esp + 0x74]
sub eax, ecx
push eax
push ecx
call fcn.004d9ea0
add esp, 0x1c
test esi, esi
je 0x514439
test ebp, ebp
je 0x514430
cmp dword [ebp], esi
je 0x514439
push esi
call fcn.004e6560
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 0x514454
mov dword [ebp], esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret