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

Disassembly:
mov eax, 0x5c
call fcn.00587620
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 0x50f043
mov esi, dword [ebp]
test esi, esi
jne 0x50f058
call fcn.004e2570
mov esi, eax
test esi, esi
jne 0x50f058
mov ecx, 0x184
jmp 0x510163
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 0x50f080
mov dword [esp + 0x5c], ecx
jmp 0x50f086
add eax, ecx
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.004d5b80
add esp, 8
test eax, eax
jne 0x50f0a6
mov ecx, 0x18a
jmp 0x510163
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.004f34f0
add esp, 0xc
test eax, eax
jne 0x50f0e2
mov ecx, 0x18e
jmp 0x510163
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 0x50f11f
push eax
call fcn.004d2360
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.004f34f0
add esp, 0xc
test eax, eax
jne 0x50f144
mov ecx, 0x196
jmp 0x510163
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
push dword [esp + 0x70]
add dword [esp + 0x5c], eax
call fcn.004d6560
mov edi, eax
add esp, 4
mov dword [esi], edi
mov eax, dword [esp + 0x38]
test eax, eax
je 0x50f181
push eax
call fcn.004d2360
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.004f3510
add esp, 0xc
test eax, eax
jne 0x50f1bd
mov ecx, 0x1a1
jmp 0x510163
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp edi, 2
jne 0x50f203
cmp dword [esp + 0x20], 3
je 0x50f1e7
mov dword [esp + 0x48], 0x89
mov ecx, 0x1a5
jmp 0x510163
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 0x50f258
mov eax, edi
sar eax, 8
cmp eax, 3
je 0x50f22e
cmp eax, 0xfe
je 0x50f22e
cmp edi, 0x100
je 0x50f22e
mov dword [esp + 0x48], 0xfe
mov ecx, 0x1b7
jmp 0x510163
cmp dword [esp + 0x20], 2
je 0x50f247
mov dword [esp + 0x48], 0x89
mov ecx, 0x1b0
jmp 0x510163
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.004f3510
add esp, 0xc
test eax, eax
jne 0x50f299
mov ecx, 0x1be
jmp 0x510163
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 0x50f2dd
push str.os.length____int_sizeof_ret__session_id_
push 0x1ca
push str.._ssl_ssl_asn1.c
call fcn.004f1dd0
mov eax, dword [esp + 0x2c]
add esp, 0xc
push eax
push dword [esp + 0x2c]
lea eax, [esi + 0x48]
push eax
call fcn.0059f6d0
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.004f3510
add esp, 0x18
test eax, eax
jne 0x50f317
mov ecx, 0x1cd
jmp 0x510163
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x20]
cmp eax, 0x30
jle 0x50f335
mov dword [esi + 0x10], 0x30
jmp 0x50f338
mov dword [esi + 0x10], eax
push dword [esi + 0x10]
lea eax, [esi + 0x14]
push dword [esp + 0x2c]
push eax
call fcn.0059f6d0
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x58], ecx
je 0x50f3c9
mov edx, dword [esp + 0x40]
mov bl, byte [edx]
movzx eax, bl
and al, 0xdf
cmp al, 0x80
jne 0x50f3c9
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.004f3510
add esp, 0xc
test eax, eax
jne 0x50f3a7
mov eax, dword [esp + 0x60]
mov dword [esp + 0x68], 0x1e7
mov byte [eax], bl
mov ecx, dword [esp + 0x68]
jmp 0x510167
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 0x50f3c9
mov dword [esi + 4], 8
jmp 0x50f3cc
mov dword [esi + 4], ecx
push dword [esi + 4]
lea eax, [esi + 8]
push dword [esp + 0x2c]
push eax
call fcn.0059f6d0
mov eax, dword [esp + 0x34]
add esp, 0xc
test eax, eax
je 0x50f3f0
push eax
call fcn.004d2360
add esp, 4
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x50f4d0
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa1
jne 0x50f4d0
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.004d58b0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x50f44a
mov dword [esp + 0x48], 0x3b
mov ecx, 0x1f1
jmp 0x510163
cmp ebx, 0x21
jne 0x50f466
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 0x50f46a
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004f34f0
add esp, 0xc
test eax, eax
jne 0x50f48b
mov ecx, 0x1f1
jmp 0x510163
cmp ebx, 0x21
jne 0x50f4c4
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.004d5880
add esp, 8
test eax, eax
jne 0x50f4c4
mov dword [esp + 0x48], 0x3f
mov ecx, 0x1f1
jmp 0x510163
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x50f4fc
push dword [esp + 0x70]
call fcn.004d6560
mov dword [esi + 0xac], eax
push dword [esp + 0x3c]
call fcn.004d2360
add esp, 8
mov dword [esp + 0x38], 0
jmp 0x50f50c
push 0
call fcn.005b2ebd
add esp, 4
mov dword [esi + 0xac], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x50f5ec
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa2
jne 0x50f5ec
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.004d58b0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x50f566
mov dword [esp + 0x48], 0x3b
mov ecx, 0x1fb
jmp 0x510163
cmp ebx, 0x21
jne 0x50f582
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 0x50f586
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004f34f0
add esp, 0xc
test eax, eax
jne 0x50f5a7
mov ecx, 0x1fb
jmp 0x510163
cmp ebx, 0x21
jne 0x50f5e0
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.004d5880
add esp, 8
test eax, eax
jne 0x50f5e0
mov dword [esp + 0x48], 0x3f
mov ecx, 0x1fb
jmp 0x510163
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x50f620
push dword [esp + 0x70]
call fcn.004d6560
mov dword [esi + 0xa8], eax
push dword [esp + 0x3c]
call fcn.004d2360
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x50f62a
mov dword [esi + 0xa8], 3
mov eax, dword [esi + 0x9c]
lea edi, [esi + 0x9c]
test eax, eax
je 0x50f649
push eax
call fcn.004db280
add esp, 4
mov dword [edi], 0
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x40]
test ecx, ecx
je 0x50f725
cmp byte [edx], 0xa3
jne 0x50f725
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.004d58b0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x50f69b
mov dword [esp + 0x48], 0x3b
mov ecx, 0x208
jmp 0x510163
cmp ebx, 0x21
jne 0x50f6b7
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 0x50f6bb
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
push edi
call fcn.004db2d0
add esp, 0xc
test eax, eax
jne 0x50f6d8
mov ecx, 0x208
jmp 0x510163
cmp ebx, 0x21
jne 0x50f711
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.004d5880
add esp, 8
test eax, eax
jne 0x50f711
mov dword [esp + 0x48], 0x3f
mov ecx, 0x208
jmp 0x510163
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 0x50f859
cmp byte [edx], 0xa4
jne 0x50f859
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.004d58b0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x50f77f
mov dword [esp + 0x48], 0x3b
mov ecx, 0x20c
jmp 0x510163
cmp ebx, 0x21
jne 0x50f79b
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 0x50f79f
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004f3510
add esp, 0xc
test eax, eax
jne 0x50f7c0
mov ecx, 0x20c
jmp 0x510163
cmp ebx, 0x21
jne 0x50f7f9
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.004d5880
add esp, 8
test eax, eax
jne 0x50f7f9
mov dword [esp + 0x48], 0x3f
mov ecx, 0x20c
jmp 0x510163
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x28], 0
je 0x50f859
mov eax, dword [esp + 0x20]
cmp eax, 0x20
jle 0x50f827
mov dword [esp + 0x48], 0x10f
mov ecx, 0x211
jmp 0x510163
mov dword [esi + 0x68], eax
lea eax, [esi + 0x6c]
push dword [esp + 0x20]
push dword [esp + 0x2c]
push eax
call fcn.0059f6d0
push dword [esp + 0x34]
call fcn.004d2360
add esp, 0x10
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x50f860
mov dword [esi + 0x68], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x50f940
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa5
jne 0x50f940
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.004d58b0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x50f8ba
mov dword [esp + 0x48], 0x3b
mov ecx, 0x21e
jmp 0x510163
cmp ebx, 0x21
jne 0x50f8d6
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 0x50f8da
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004f34f0
add esp, 0xc
test eax, eax
jne 0x50f8fb
mov ecx, 0x21e
jmp 0x510163
cmp ebx, 0x21
jne 0x50f934
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.004d5880
add esp, 8
test eax, eax
jne 0x50f934
mov dword [esp + 0x48], 0x3f
mov ecx, 0x21e
jmp 0x510163
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x50f974
push dword [esp + 0x70]
call fcn.004d6560
mov dword [esi + 0xa0], eax
push dword [esp + 0x3c]
call fcn.004d2360
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x50f97e
mov dword [esi + 0xa0], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test eax, eax
je 0x50fa8c
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa6
jne 0x50fa8c
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.004d58b0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x50f9e0
mov dword [esp + 0x48], 0x3b
mov ecx, 0x22a
jmp 0x510163
cmp ebx, 0x21
jne 0x50f9fc
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 0x50fa00
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004f3510
add esp, 0xc
test eax, eax
jne 0x50fa21
mov ecx, 0x22a
jmp 0x510163
cmp ebx, 0x21
jne 0x50fa5a
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.004d5880
add esp, 8
test eax, eax
jne 0x50fa5a
mov dword [esp + 0x48], 0x3f
mov ecx, 0x22a
jmp 0x510163
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x50fa8c
push dword [esp + 0x20]
push eax
call fcn.00501c20
mov dword [esi + 0xd0], eax
push dword [esp + 0x30]
call fcn.004d2360
add esp, 0xc
jmp 0x50fa96
mov dword [esi + 0xd0], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test eax, eax
je 0x50fba4
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa7
jne 0x50fba4
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.004d58b0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x50faf8
mov dword [esp + 0x48], 0x3b
mov ecx, 0x237
jmp 0x510163
cmp ebx, 0x21
jne 0x50fb14
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 0x50fb18
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004f3510
add esp, 0xc
test eax, eax
jne 0x50fb39
mov ecx, 0x237
jmp 0x510163
cmp ebx, 0x21
jne 0x50fb72
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.004d5880
add esp, 8
test eax, eax
jne 0x50fb72
mov dword [esp + 0x48], 0x3f
mov ecx, 0x237
jmp 0x510163
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x50fba4
push dword [esp + 0x20]
push eax
call fcn.00501c20
mov dword [esi + 0x8c], eax
push dword [esp + 0x30]
call fcn.004d2360
add esp, 0xc
jmp 0x50fbae
mov dword [esi + 0x8c], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test eax, eax
je 0x50fccc
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa8
jne 0x50fccc
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.004d58b0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x50fc10
mov dword [esp + 0x48], 0x3b
mov ecx, 0x242
jmp 0x510163
cmp ebx, 0x21
jne 0x50fc2c
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 0x50fc30
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004f3510
add esp, 0xc
test eax, eax
jne 0x50fc51
mov ecx, 0x242
jmp 0x510163
cmp ebx, 0x21
jne 0x50fc8a
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.004d5880
add esp, 8
test eax, eax
jne 0x50fc8a
mov dword [esp + 0x48], 0x3f
mov ecx, 0x242
jmp 0x510163
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x50fccc
push dword [esp + 0x20]
push eax
call fcn.00501c20
mov dword [esi + 0x90], eax
push dword [esp + 0x30]
call fcn.004d2360
add esp, 0xc
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x50fcd6
mov dword [esi + 0x90], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x50fdb6
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa9
jne 0x50fdb6
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.004d58b0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x50fd30
mov dword [esp + 0x48], 0x3b
mov ecx, 0x24e
jmp 0x510163
cmp ebx, 0x21
jne 0x50fd4c
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 0x50fd50
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004f34f0
add esp, 0xc
test eax, eax
jne 0x50fd71
mov ecx, 0x24e
jmp 0x510163
cmp ebx, 0x21
jne 0x50fdaa
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.004d5880
add esp, 8
test eax, eax
jne 0x50fdaa
mov dword [esp + 0x48], 0x3f
mov ecx, 0x24e
jmp 0x510163
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x50fdea
push dword [esp + 0x70]
call fcn.004d6560
mov dword [esi + 0xec], eax
push dword [esp + 0x3c]
call fcn.004d2360
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x50fe0f
cmp dword [esi + 0xe8], 0
je 0x50fe05
cmp dword [esi + 0x44], 0
je 0x50fe05
mov dword [esi + 0xec], 0xffffffff
jmp 0x50fe0f
mov dword [esi + 0xec], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test eax, eax
je 0x50ff11
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xaa
jne 0x50ff11
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.004d58b0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x50fe71
mov dword [esp + 0x48], 0x3b
mov ecx, 0x25a
jmp 0x510163
cmp ebx, 0x21
jne 0x50fe8d
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 0x50fe91
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004f3510
add esp, 0xc
test eax, eax
jne 0x50feb2
mov ecx, 0x25a
jmp 0x510163
cmp ebx, 0x21
jne 0x50feeb
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.004d5880
add esp, 8
test eax, eax
jne 0x50feeb
mov dword [esp + 0x48], 0x3f
mov ecx, 0x25a
jmp 0x510163
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x50ff11
mov dword [esi + 0xe4], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0xe8], eax
jmp 0x50ff1b
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 0x510030
cmp byte [edx], 0xab
jne 0x510030
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.004d58b0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x50ff7d
mov dword [esp + 0x48], 0x3b
mov ecx, 0x266
jmp 0x510163
cmp ebx, 0x21
jne 0x50ff99
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 0x50ff9d
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004f3510
add esp, 0xc
test eax, eax
jne 0x50ffbe
mov ecx, 0x266
jmp 0x510163
cmp ebx, 0x21
jne 0x50fff7
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.004d5880
add esp, 8
test eax, eax
jne 0x50fff7
mov dword [esp + 0x48], 0x3f
mov ecx, 0x266
jmp 0x510163
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 0x510030
movzx eax, byte [eax]
mov dword [esi + 0xb0], eax
push dword [esp + 0x28]
call fcn.004d2360
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 0x510143
cmp byte [edx], 0xac
jne 0x510143
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.004d58b0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x51008a
mov dword [esp + 0x48], 0x3b
mov ecx, 0x271
jmp 0x510163
cmp ebx, 0x21
jne 0x5100a6
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 0x5100aa
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004f3510
add esp, 0xc
test eax, eax
jne 0x5100cb
mov ecx, 0x271
jmp 0x510163
cmp ebx, 0x21
jne 0x510101
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.004d5880
add esp, 8
test eax, eax
jne 0x510101
mov dword [esp + 0x48], 0x3f
mov ecx, 0x271
jmp 0x510163
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x510143
push dword [esp + 0x20]
push eax
call fcn.00501c20
mov dword [esi + 0xf0], eax
push dword [esp + 0x30]
call fcn.004d2360
add esp, 0xc
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x51014d
mov dword [esi + 0xf0], 0
lea eax, [esp + 0x40]
push eax
call fcn.004d5c80
add esp, 4
test eax, eax
jne 0x5101b3
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.004eba40
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
mov eax, dword [esp + 0x74]
sub eax, ecx
push eax
push ecx
call fcn.004d5c10
add esp, 0x1c
test esi, esi
je 0x5101a9
test ebp, ebp
je 0x5101a0
cmp dword [ebp], esi
je 0x5101a9
push esi
call fcn.004e2320
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 0x5101c4
mov dword [ebp], esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret