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

Disassembly:
mov eax, 0x5c
call fcn.00451900
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 0x59bfd3
mov esi, dword [ebp]
test esi, esi
jne 0x59bfeb
call fcn.00588b70
mov esi, eax
test esi, esi
jne 0x59bfeb
mov dword [esp + 0x68], 0x184
jmp 0x59d198
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 0x59c013
mov dword [esp + 0x5c], ecx
jmp 0x59c019
add eax, ecx
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.004eb700
add esp, 8
test eax, eax
jne 0x59c03c
mov dword [esp + 0x68], 0x18a
jmp 0x59d198
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.004ffa70
add esp, 0xc
test eax, eax
jne 0x59c07b
mov dword [esp + 0x68], 0x18e
jmp 0x59d198
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 0x59c0b8
push eax
call fcn.004e6f20
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.004ffa70
add esp, 0xc
test eax, eax
jne 0x59c0e0
mov dword [esp + 0x68], 0x196
jmp 0x59d198
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
push dword [esp + 0x70]
add dword [esp + 0x5c], eax
call fcn.004ec200
mov edi, eax
add esp, 4
mov dword [esi], edi
mov eax, dword [esp + 0x38]
test eax, eax
je 0x59c11d
push eax
call fcn.004e6f20
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.004ffa90
add esp, 0xc
test eax, eax
jne 0x59c15c
mov dword [esp + 0x68], 0x1a1
jmp 0x59d198
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp edi, 2
jne 0x59c1a5
cmp dword [esp + 0x20], 3
je 0x59c189
mov dword [esp + 0x48], 0x89
mov dword [esp + 0x68], 0x1a5
jmp 0x59d198
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 0x59c200
mov eax, edi
sar eax, 8
cmp eax, 3
je 0x59c1d3
cmp eax, 0xfe
je 0x59c1d3
cmp edi, 0x100
je 0x59c1d3
mov dword [esp + 0x48], 0xfe
mov dword [esp + 0x68], 0x1b7
jmp 0x59d198
cmp dword [esp + 0x20], 2
je 0x59c1ef
mov dword [esp + 0x48], 0x89
mov dword [esp + 0x68], 0x1b0
jmp 0x59d198
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.004ffa90
add esp, 0xc
test eax, eax
jne 0x59c244
mov dword [esp + 0x68], 0x1be
jmp 0x59d198
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 0x59c288
push str.os.length____int_sizeof_ret__session_id_
push 0x1ca
push str.._ssl_ssl_asn1.c
call fcn.004fe9d0
mov eax, dword [esp + 0x2c]
add esp, 0xc
push eax
push dword [esp + 0x2c]
lea eax, [esi + 0x48]
push eax
call fcn.005c7150
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.004ffa90
add esp, 0x18
test eax, eax
jne 0x59c2c5
mov dword [esp + 0x68], 0x1cd
jmp 0x59d198
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x20]
cmp eax, 0x30
jle 0x59c2e8
mov dword [esi + 0x10], 0x30
mov eax, 0x30
jmp 0x59c2ef
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x20]
push eax
push dword [esp + 0x2c]
lea eax, [esi + 0x14]
push eax
call fcn.005c7150
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x58], ecx
je 0x59c36b
mov edx, dword [esp + 0x40]
mov bl, byte [edx]
mov al, bl
and al, 0xdf
cmp al, 0x80
jne 0x59c36b
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.004ffa90
add esp, 0xc
test eax, eax
jne 0x59c357
mov eax, dword [esp + 0x60]
mov dword [esp + 0x68], 0x1e7
mov byte [eax], bl
jmp 0x59d198
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 0x59c37e
mov dword [esi + 4], 8
mov eax, 8
jmp 0x59c385
mov dword [esi + 4], ecx
mov eax, dword [esp + 0x20]
push eax
push dword [esp + 0x2c]
lea eax, [esi + 8]
push eax
call fcn.005c7150
mov eax, dword [esp + 0x34]
add esp, 0xc
test eax, eax
je 0x59c3a7
push eax
call fcn.004e6f20
add esp, 4
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x59c490
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa1
jne 0x59c490
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.004eb400
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x59c404
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x1f1
jmp 0x59d198
cmp ebx, 0x21
jne 0x59c420
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 0x59c424
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004ffa70
add esp, 0xc
test eax, eax
jne 0x59c448
mov dword [esp + 0x68], 0x1f1
jmp 0x59d198
cmp ebx, 0x21
jne 0x59c484
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.004eb3d0
add esp, 8
test eax, eax
jne 0x59c484
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x1f1
jmp 0x59d198
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x59c4bc
push dword [esp + 0x70]
call fcn.004ec200
mov dword [esi + 0xac], eax
push dword [esp + 0x3c]
call fcn.004e6f20
add esp, 8
mov dword [esp + 0x38], 0
jmp 0x59c4cc
push 0
call fcn.005d0423
add esp, 4
mov dword [esi + 0xac], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x59c5b5
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa2
jne 0x59c5b5
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.004eb400
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x59c529
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x1fb
jmp 0x59d198
cmp ebx, 0x21
jne 0x59c545
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 0x59c549
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004ffa70
add esp, 0xc
test eax, eax
jne 0x59c56d
mov dword [esp + 0x68], 0x1fb
jmp 0x59d198
cmp ebx, 0x21
jne 0x59c5a9
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.004eb3d0
add esp, 8
test eax, eax
jne 0x59c5a9
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x1fb
jmp 0x59d198
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x59c5e9
push dword [esp + 0x70]
call fcn.004ec200
mov dword [esi + 0xa8], eax
push dword [esp + 0x3c]
call fcn.004e6f20
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x59c5f3
mov dword [esi + 0xa8], 3
mov eax, dword [esi + 0x9c]
lea edi, [esi + 0x9c]
test eax, eax
je 0x59c612
push eax
call fcn.004f1090
add esp, 4
mov dword [edi], 0
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x40]
test ecx, ecx
je 0x59c6f7
cmp byte [edx], 0xa3
jne 0x59c6f7
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.004eb400
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x59c667
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x208
jmp 0x59d198
cmp ebx, 0x21
jne 0x59c683
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 0x59c687
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
push edi
call fcn.004f1120
add esp, 0xc
test eax, eax
jne 0x59c6a7
mov dword [esp + 0x68], 0x208
jmp 0x59d198
cmp ebx, 0x21
jne 0x59c6e3
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.004eb3d0
add esp, 8
test eax, eax
jne 0x59c6e3
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x208
jmp 0x59d198
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 0x59c851
cmp byte [edx], 0xa4
jne 0x59c851
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.004eb400
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x59c754
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x20c
jmp 0x59d198
cmp ebx, 0x21
jne 0x59c770
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 0x59c774
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004ffa90
add esp, 0xc
test eax, eax
jne 0x59c798
mov dword [esp + 0x68], 0x20c
jmp 0x59d198
cmp ebx, 0x21
jne 0x59c7d4
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.004eb3d0
add esp, 8
test eax, eax
jne 0x59c7d4
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x20c
jmp 0x59d198
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x59c851
mov ecx, dword [esp + 0x20]
cmp ecx, 0x20
jle 0x59c81f
push eax
mov dword [esp + 0x4c], 0x10f
mov dword [esp + 0x6c], 0x211
call fcn.004e6f20
add esp, 4
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x59d198
mov dword [esi + 0x68], ecx
lea eax, [esi + 0x6c]
push dword [esp + 0x20]
push dword [esp + 0x2c]
push eax
call fcn.005c7150
push dword [esp + 0x34]
call fcn.004e6f20
add esp, 0x10
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x59c858
mov dword [esi + 0x68], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x59c941
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa5
jne 0x59c941
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.004eb400
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x59c8b5
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x221
jmp 0x59d198
cmp ebx, 0x21
jne 0x59c8d1
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 0x59c8d5
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004ffa70
add esp, 0xc
test eax, eax
jne 0x59c8f9
mov dword [esp + 0x68], 0x221
jmp 0x59d198
cmp ebx, 0x21
jne 0x59c935
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.004eb3d0
add esp, 8
test eax, eax
jne 0x59c935
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x221
jmp 0x59d198
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x59c975
push dword [esp + 0x70]
call fcn.004ec200
mov dword [esi + 0xa0], eax
push dword [esp + 0x3c]
call fcn.004e6f20
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x59c97f
mov dword [esi + 0xa0], 0
mov edx, dword [esp + 0x58]
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], eax
test edx, edx
je 0x59ca74
mov edi, dword [esp + 0x40]
cmp byte [edi], 0xa6
jne 0x59ca74
push edx
lea eax, [esp + 0x20]
mov dword [esp + 0x64], edi
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004eb400
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x59c9e0
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x22d
jmp 0x59d198
cmp ebx, 0x21
jne 0x59c9fc
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 0x59ca00
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004ffa90
add esp, 0xc
test eax, eax
jne 0x59ca24
mov dword [esp + 0x68], 0x22d
jmp 0x59d198
cmp ebx, 0x21
jne 0x59ca60
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.004eb3d0
add esp, 8
test eax, eax
jne 0x59ca60
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x22d
jmp 0x59d198
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
test eax, eax
je 0x59ca93
push ecx
push eax
call fcn.004fd6c0
mov dword [esi + 0xd0], eax
push dword [esp + 0x30]
call fcn.004e6f20
add esp, 0xc
jmp 0x59ca9d
mov dword [esi + 0xd0], 0
mov edx, dword [esp + 0x58]
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], eax
test edx, edx
je 0x59cb92
mov edi, dword [esp + 0x40]
cmp byte [edi], 0xa7
jne 0x59cb92
push edx
lea eax, [esp + 0x20]
mov dword [esp + 0x64], edi
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004eb400
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x59cafe
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x23a
jmp 0x59d198
cmp ebx, 0x21
jne 0x59cb1a
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 0x59cb1e
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004ffa90
add esp, 0xc
test eax, eax
jne 0x59cb42
mov dword [esp + 0x68], 0x23a
jmp 0x59d198
cmp ebx, 0x21
jne 0x59cb7e
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.004eb3d0
add esp, 8
test eax, eax
jne 0x59cb7e
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x23a
jmp 0x59d198
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
test eax, eax
je 0x59cbb1
push ecx
push eax
call fcn.004fd6c0
mov dword [esi + 0x8c], eax
push dword [esp + 0x30]
call fcn.004e6f20
add esp, 0xc
jmp 0x59cbbb
mov dword [esi + 0x8c], 0
mov edx, dword [esp + 0x58]
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], eax
test edx, edx
je 0x59ccb0
mov edi, dword [esp + 0x40]
cmp byte [edi], 0xa8
jne 0x59ccb0
push edx
lea eax, [esp + 0x20]
mov dword [esp + 0x64], edi
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004eb400
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x59cc1c
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x245
jmp 0x59d198
cmp ebx, 0x21
jne 0x59cc38
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 0x59cc3c
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004ffa90
add esp, 0xc
test eax, eax
jne 0x59cc60
mov dword [esp + 0x68], 0x245
jmp 0x59d198
cmp ebx, 0x21
jne 0x59cc9c
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.004eb3d0
add esp, 8
test eax, eax
jne 0x59cc9c
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x245
jmp 0x59d198
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
test eax, eax
je 0x59ccdf
push ecx
push eax
call fcn.004fd6c0
mov dword [esi + 0x90], eax
push dword [esp + 0x30]
call fcn.004e6f20
add esp, 0xc
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x59cce9
mov dword [esi + 0x90], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x59cdd2
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa9
jne 0x59cdd2
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.004eb400
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x59cd46
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x251
jmp 0x59d198
cmp ebx, 0x21
jne 0x59cd62
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 0x59cd66
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004ffa70
add esp, 0xc
test eax, eax
jne 0x59cd8a
mov dword [esp + 0x68], 0x251
jmp 0x59d198
cmp ebx, 0x21
jne 0x59cdc6
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.004eb3d0
add esp, 8
test eax, eax
jne 0x59cdc6
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x251
jmp 0x59d198
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x59ce06
push dword [esp + 0x70]
call fcn.004ec200
mov dword [esi + 0xec], eax
push dword [esp + 0x3c]
call fcn.004e6f20
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x59ce2b
cmp dword [esi + 0xe8], 0
je 0x59ce21
cmp dword [esi + 0x44], 0
je 0x59ce21
mov dword [esi + 0xec], 0xffffffff
jmp 0x59ce2b
mov dword [esi + 0xec], 0
mov ecx, dword [esp + 0x58]
xor eax, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x59cf1e
mov edx, dword [esp + 0x40]
cmp byte [edx], 0xaa
jne 0x59cf1e
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.004eb400
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x59ce8e
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x25d
jmp 0x59d198
cmp ebx, 0x21
jne 0x59ceaa
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 0x59ceae
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004ffa90
add esp, 0xc
test eax, eax
jne 0x59ced2
mov dword [esp + 0x68], 0x25d
jmp 0x59d198
cmp ebx, 0x21
jne 0x59cf0e
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.004eb3d0
add esp, 8
test eax, eax
jne 0x59cf0e
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x25d
jmp 0x59d198
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x59cf34
mov dword [esi + 0xe4], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0xe8], eax
jmp 0x59cf3e
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 0x59d05c
cmp byte [edx], 0xab
jne 0x59d05c
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.004eb400
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x59cfa3
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x269
jmp 0x59d198
cmp ebx, 0x21
jne 0x59cfbf
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 0x59cfc3
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004ffa90
add esp, 0xc
test eax, eax
jne 0x59cfe7
mov dword [esp + 0x68], 0x269
jmp 0x59d198
cmp ebx, 0x21
jne 0x59d023
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.004eb3d0
add esp, 8
test eax, eax
jne 0x59d023
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x269
jmp 0x59d198
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 0x59d05c
movzx eax, byte [eax]
mov dword [esi + 0xb0], eax
push dword [esp + 0x28]
call fcn.004e6f20
mov ecx, dword [esp + 0x5c]
add esp, 4
mov edx, dword [esp + 0x40]
xor edi, edi
xor eax, eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x59d146
cmp byte [edx], 0xac
jne 0x59d146
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.004eb400
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x59d0b5
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x274
jmp 0x59d198
cmp ebx, 0x21
jne 0x59d0d1
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 0x59d0d5
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004ffa90
add esp, 0xc
test eax, eax
jne 0x59d0f9
mov dword [esp + 0x68], 0x274
jmp 0x59d198
cmp ebx, 0x21
jne 0x59d132
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.004eb3d0
add esp, 8
test eax, eax
jne 0x59d132
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x274
jmp 0x59d198
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
test eax, eax
je 0x59d175
push edi
push eax
call fcn.004fd6c0
mov dword [esi + 0xf0], eax
push dword [esp + 0x30]
call fcn.004e6f20
add esp, 0xc
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x59d17f
mov dword [esi + 0xf0], 0
lea eax, [esp + 0x40]
push eax
call fcn.004eb800
add esp, 4
test eax, eax
jne 0x59d1e7
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.004f4f80
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
mov eax, dword [esp + 0x74]
sub eax, ecx
push eax
push ecx
call fcn.004eb790
add esp, 0x1c
test esi, esi
je 0x59d1dd
test ebp, ebp
je 0x59d1d4
cmp dword [ebp], esi
je 0x59d1dd
push esi
call fcn.00588990
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 0x59d1f8
mov dword [ebp], esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret