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

Disassembly:
mov eax, 0x5c
call fcn.005834f0
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 0x5009a3
mov esi, dword [ebp]
test esi, esi
jne 0x5009b8
call fcn.004f92e0
mov esi, eax
test esi, esi
jne 0x5009b8
mov ecx, 0x181
jmp 0x501ac3
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 0x5009e0
mov dword [esp + 0x5c], ecx
jmp 0x5009e6
add eax, ecx
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00530270
add esp, 8
test eax, eax
jne 0x500a06
mov ecx, 0x187
jmp 0x501ac3
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.0052f430
add esp, 0xc
test eax, eax
jne 0x500a42
mov ecx, 0x18b
jmp 0x501ac3
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 0x500a7f
push eax
call fcn.0051c790
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.0052f430
add esp, 0xc
test eax, eax
jne 0x500aa4
mov ecx, 0x193
jmp 0x501ac3
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
push dword [esp + 0x70]
add dword [esp + 0x5c], eax
call fcn.0052f5b0
mov edi, eax
add esp, 4
mov dword [esi], edi
mov eax, dword [esp + 0x38]
test eax, eax
je 0x500ae1
push eax
call fcn.0051c790
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.0052f450
add esp, 0xc
test eax, eax
jne 0x500b1d
mov ecx, 0x19e
jmp 0x501ac3
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp edi, 2
jne 0x500b63
cmp dword [esp + 0x20], 3
je 0x500b47
mov dword [esp + 0x48], 0x89
mov ecx, 0x1a2
jmp 0x501ac3
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 0x500bb8
mov eax, edi
sar eax, 8
cmp eax, 3
je 0x500b8e
cmp eax, 0xfe
je 0x500b8e
cmp edi, 0x100
je 0x500b8e
mov dword [esp + 0x48], 0xfe
mov ecx, 0x1b4
jmp 0x501ac3
cmp dword [esp + 0x20], 2
je 0x500ba7
mov dword [esp + 0x48], 0x89
mov ecx, 0x1ad
jmp 0x501ac3
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.0052f450
add esp, 0xc
test eax, eax
jne 0x500bf9
mov ecx, 0x1bb
jmp 0x501ac3
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 0x500c3d
push str.os.length____int_sizeof_ret__session_id_
push 0x1c7
push str.._ssl_ssl_asn1.c
call fcn.0051ae50
mov eax, dword [esp + 0x2c]
add esp, 0xc
push eax
push dword [esp + 0x2c]
lea eax, [esi + 0x48]
push eax
call fcn.00580540
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.0052f450
add esp, 0x18
test eax, eax
jne 0x500c77
mov ecx, 0x1ca
jmp 0x501ac3
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x20]
cmp eax, 0x30
jle 0x500c95
mov dword [esi + 0x10], 0x30
jmp 0x500c98
mov dword [esi + 0x10], eax
push dword [esi + 0x10]
lea eax, [esi + 0x14]
push dword [esp + 0x2c]
push eax
call fcn.00580540
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x58], ecx
je 0x500d29
mov edx, dword [esp + 0x40]
mov bl, byte [edx]
movzx eax, bl
and al, 0xdf
cmp al, 0x80
jne 0x500d29
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.0052f450
add esp, 0xc
test eax, eax
jne 0x500d07
mov eax, dword [esp + 0x60]
mov dword [esp + 0x68], 0x1e4
mov byte [eax], bl
mov ecx, dword [esp + 0x68]
jmp 0x501ac7
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 0x500d29
mov dword [esi + 4], 8
jmp 0x500d2c
mov dword [esi + 4], ecx
push dword [esi + 4]
lea eax, [esi + 8]
push dword [esp + 0x2c]
push eax
call fcn.00580540
mov eax, dword [esp + 0x34]
add esp, 0xc
test eax, eax
je 0x500d50
push eax
call fcn.0051c790
add esp, 4
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x500e30
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa1
jne 0x500e30
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.0052ffb0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x500daa
mov dword [esp + 0x48], 0x3b
mov ecx, 0x1ee
jmp 0x501ac3
cmp ebx, 0x21
jne 0x500dc6
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 0x500dca
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0052f430
add esp, 0xc
test eax, eax
jne 0x500deb
mov ecx, 0x1ee
jmp 0x501ac3
cmp ebx, 0x21
jne 0x500e24
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.0052ff80
add esp, 8
test eax, eax
jne 0x500e24
mov dword [esp + 0x48], 0x3f
mov ecx, 0x1ee
jmp 0x501ac3
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x500e5c
push dword [esp + 0x70]
call fcn.0052f5b0
mov dword [esi + 0xac], eax
push dword [esp + 0x3c]
call fcn.0051c790
add esp, 8
mov dword [esp + 0x38], 0
jmp 0x500e6c
push 0
call fcn.00587887
add esp, 4
mov dword [esi + 0xac], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x500f4c
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa2
jne 0x500f4c
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.0052ffb0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x500ec6
mov dword [esp + 0x48], 0x3b
mov ecx, 0x1f8
jmp 0x501ac3
cmp ebx, 0x21
jne 0x500ee2
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 0x500ee6
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0052f430
add esp, 0xc
test eax, eax
jne 0x500f07
mov ecx, 0x1f8
jmp 0x501ac3
cmp ebx, 0x21
jne 0x500f40
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.0052ff80
add esp, 8
test eax, eax
jne 0x500f40
mov dword [esp + 0x48], 0x3f
mov ecx, 0x1f8
jmp 0x501ac3
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x500f80
push dword [esp + 0x70]
call fcn.0052f5b0
mov dword [esi + 0xa8], eax
push dword [esp + 0x3c]
call fcn.0051c790
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x500f8a
mov dword [esi + 0xa8], 3
mov eax, dword [esi + 0x9c]
lea edi, [esi + 0x9c]
test eax, eax
je 0x500fa9
push eax
call fcn.0051c030
add esp, 4
mov dword [edi], 0
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x40]
test ecx, ecx
je 0x501085
cmp byte [edx], 0xa3
jne 0x501085
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.0052ffb0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x500ffb
mov dword [esp + 0x48], 0x3b
mov ecx, 0x205
jmp 0x501ac3
cmp ebx, 0x21
jne 0x501017
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 0x50101b
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
push edi
call fcn.0051c060
add esp, 0xc
test eax, eax
jne 0x501038
mov ecx, 0x205
jmp 0x501ac3
cmp ebx, 0x21
jne 0x501071
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.0052ff80
add esp, 8
test eax, eax
jne 0x501071
mov dword [esp + 0x48], 0x3f
mov ecx, 0x205
jmp 0x501ac3
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 0x5011b9
cmp byte [edx], 0xa4
jne 0x5011b9
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.0052ffb0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x5010df
mov dword [esp + 0x48], 0x3b
mov ecx, 0x209
jmp 0x501ac3
cmp ebx, 0x21
jne 0x5010fb
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 0x5010ff
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0052f450
add esp, 0xc
test eax, eax
jne 0x501120
mov ecx, 0x209
jmp 0x501ac3
cmp ebx, 0x21
jne 0x501159
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.0052ff80
add esp, 8
test eax, eax
jne 0x501159
mov dword [esp + 0x48], 0x3f
mov ecx, 0x209
jmp 0x501ac3
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x28], 0
je 0x5011b9
mov eax, dword [esp + 0x20]
cmp eax, 0x20
jle 0x501187
mov dword [esp + 0x48], 0x10f
mov ecx, 0x20e
jmp 0x501ac3
mov dword [esi + 0x68], eax
lea eax, [esi + 0x6c]
push dword [esp + 0x20]
push dword [esp + 0x2c]
push eax
call fcn.00580540
push dword [esp + 0x34]
call fcn.0051c790
add esp, 0x10
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x5011c0
mov dword [esi + 0x68], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x5012a0
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa5
jne 0x5012a0
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.0052ffb0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x50121a
mov dword [esp + 0x48], 0x3b
mov ecx, 0x21b
jmp 0x501ac3
cmp ebx, 0x21
jne 0x501236
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 0x50123a
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0052f430
add esp, 0xc
test eax, eax
jne 0x50125b
mov ecx, 0x21b
jmp 0x501ac3
cmp ebx, 0x21
jne 0x501294
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.0052ff80
add esp, 8
test eax, eax
jne 0x501294
mov dword [esp + 0x48], 0x3f
mov ecx, 0x21b
jmp 0x501ac3
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x5012d4
push dword [esp + 0x70]
call fcn.0052f5b0
mov dword [esi + 0xa0], eax
push dword [esp + 0x3c]
call fcn.0051c790
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x5012de
mov dword [esi + 0xa0], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test eax, eax
je 0x5013ec
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa6
jne 0x5013ec
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.0052ffb0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x501340
mov dword [esp + 0x48], 0x3b
mov ecx, 0x227
jmp 0x501ac3
cmp ebx, 0x21
jne 0x50135c
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 0x501360
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0052f450
add esp, 0xc
test eax, eax
jne 0x501381
mov ecx, 0x227
jmp 0x501ac3
cmp ebx, 0x21
jne 0x5013ba
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.0052ff80
add esp, 8
test eax, eax
jne 0x5013ba
mov dword [esp + 0x48], 0x3f
mov ecx, 0x227
jmp 0x501ac3
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x5013ec
push dword [esp + 0x20]
push eax
call fcn.00525220
mov dword [esi + 0xd0], eax
push dword [esp + 0x30]
call fcn.0051c790
add esp, 0xc
jmp 0x5013f6
mov dword [esi + 0xd0], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test eax, eax
je 0x501504
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa7
jne 0x501504
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.0052ffb0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x501458
mov dword [esp + 0x48], 0x3b
mov ecx, 0x234
jmp 0x501ac3
cmp ebx, 0x21
jne 0x501474
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 0x501478
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0052f450
add esp, 0xc
test eax, eax
jne 0x501499
mov ecx, 0x234
jmp 0x501ac3
cmp ebx, 0x21
jne 0x5014d2
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.0052ff80
add esp, 8
test eax, eax
jne 0x5014d2
mov dword [esp + 0x48], 0x3f
mov ecx, 0x234
jmp 0x501ac3
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x501504
push dword [esp + 0x20]
push eax
call fcn.00525220
mov dword [esi + 0x8c], eax
push dword [esp + 0x30]
call fcn.0051c790
add esp, 0xc
jmp 0x50150e
mov dword [esi + 0x8c], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test eax, eax
je 0x50162c
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa8
jne 0x50162c
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.0052ffb0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x501570
mov dword [esp + 0x48], 0x3b
mov ecx, 0x23f
jmp 0x501ac3
cmp ebx, 0x21
jne 0x50158c
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 0x501590
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0052f450
add esp, 0xc
test eax, eax
jne 0x5015b1
mov ecx, 0x23f
jmp 0x501ac3
cmp ebx, 0x21
jne 0x5015ea
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.0052ff80
add esp, 8
test eax, eax
jne 0x5015ea
mov dword [esp + 0x48], 0x3f
mov ecx, 0x23f
jmp 0x501ac3
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x50162c
push dword [esp + 0x20]
push eax
call fcn.00525220
mov dword [esi + 0x90], eax
push dword [esp + 0x30]
call fcn.0051c790
add esp, 0xc
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x501636
mov dword [esi + 0x90], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x501716
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa9
jne 0x501716
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.0052ffb0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x501690
mov dword [esp + 0x48], 0x3b
mov ecx, 0x24b
jmp 0x501ac3
cmp ebx, 0x21
jne 0x5016ac
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 0x5016b0
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0052f430
add esp, 0xc
test eax, eax
jne 0x5016d1
mov ecx, 0x24b
jmp 0x501ac3
cmp ebx, 0x21
jne 0x50170a
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.0052ff80
add esp, 8
test eax, eax
jne 0x50170a
mov dword [esp + 0x48], 0x3f
mov ecx, 0x24b
jmp 0x501ac3
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x50174a
push dword [esp + 0x70]
call fcn.0052f5b0
mov dword [esi + 0xec], eax
push dword [esp + 0x3c]
call fcn.0051c790
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x50176f
cmp dword [esi + 0xe8], 0
je 0x501765
cmp dword [esi + 0x44], 0
je 0x501765
mov dword [esi + 0xec], 0xffffffff
jmp 0x50176f
mov dword [esi + 0xec], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test eax, eax
je 0x501871
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xaa
jne 0x501871
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.0052ffb0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x5017d1
mov dword [esp + 0x48], 0x3b
mov ecx, 0x257
jmp 0x501ac3
cmp ebx, 0x21
jne 0x5017ed
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 0x5017f1
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0052f450
add esp, 0xc
test eax, eax
jne 0x501812
mov ecx, 0x257
jmp 0x501ac3
cmp ebx, 0x21
jne 0x50184b
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.0052ff80
add esp, 8
test eax, eax
jne 0x50184b
mov dword [esp + 0x48], 0x3f
mov ecx, 0x257
jmp 0x501ac3
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x501871
mov dword [esi + 0xe4], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0xe8], eax
jmp 0x50187b
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 0x501990
cmp byte [edx], 0xab
jne 0x501990
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.0052ffb0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x5018dd
mov dword [esp + 0x48], 0x3b
mov ecx, 0x263
jmp 0x501ac3
cmp ebx, 0x21
jne 0x5018f9
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 0x5018fd
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0052f450
add esp, 0xc
test eax, eax
jne 0x50191e
mov ecx, 0x263
jmp 0x501ac3
cmp ebx, 0x21
jne 0x501957
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.0052ff80
add esp, 8
test eax, eax
jne 0x501957
mov dword [esp + 0x48], 0x3f
mov ecx, 0x263
jmp 0x501ac3
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 0x501990
movzx eax, byte [eax]
mov dword [esi + 0xb0], eax
push dword [esp + 0x28]
call fcn.0051c790
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 0x501aa3
cmp byte [edx], 0xac
jne 0x501aa3
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.0052ffb0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x5019ea
mov dword [esp + 0x48], 0x3b
mov ecx, 0x26e
jmp 0x501ac3
cmp ebx, 0x21
jne 0x501a06
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 0x501a0a
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0052f450
add esp, 0xc
test eax, eax
jne 0x501a2b
mov ecx, 0x26e
jmp 0x501ac3
cmp ebx, 0x21
jne 0x501a61
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.0052ff80
add esp, 8
test eax, eax
jne 0x501a61
mov dword [esp + 0x48], 0x3f
mov ecx, 0x26e
jmp 0x501ac3
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x501aa3
push dword [esp + 0x20]
push eax
call fcn.00525220
mov dword [esi + 0xf0], eax
push dword [esp + 0x30]
call fcn.0051c790
add esp, 0xc
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x501aad
mov dword [esi + 0xf0], 0
lea eax, [esp + 0x40]
push eax
call fcn.00530370
add esp, 4
test eax, eax
jne 0x501b13
mov ecx, 0x278
mov dword [esp + 0x68], ecx
push ecx
push str.._ssl_ssl_asn1.c
push dword [esp + 0x50]
push 0x67
push 0xd
call fcn.0051a470
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
mov eax, dword [esp + 0x74]
sub eax, ecx
push eax
push ecx
call fcn.00530300
add esp, 0x1c
test esi, esi
je 0x501b09
test ebp, ebp
je 0x501b00
cmp dword [ebp], esi
je 0x501b09
push esi
call fcn.004f9090
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 0x501b24
mov dword [ebp], esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret