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

Disassembly:
mov eax, 0x5c
call fcn.00556da0
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 0x4ffef3
mov esi, dword [ebp]
test esi, esi
jne 0x4fff08
call fcn.004f3dd0
mov esi, eax
test esi, esi
jne 0x4fff08
mov ecx, 0x184
jmp 0x501012
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 0x4fff30
mov dword [esp + 0x5c], ecx
jmp 0x4fff36
add eax, ecx
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00493ec0
add esp, 8
test eax, eax
jne 0x4fff56
mov ecx, 0x18a
jmp 0x501012
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.00485290
add esp, 0xc
test eax, eax
jne 0x4fff92
mov ecx, 0x18e
jmp 0x501012
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 0x4fffcf
push eax
call fcn.0047a060
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.00485290
add esp, 0xc
test eax, eax
jne 0x4ffff4
mov ecx, 0x196
jmp 0x501012
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
push dword [esp + 0x70]
add dword [esp + 0x5c], eax
call fcn.004a01c0
mov edi, eax
add esp, 4
mov dword [esi], edi
mov eax, dword [esp + 0x38]
test eax, eax
je 0x500031
push eax
call fcn.0047a060
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.004852b0
add esp, 0xc
test eax, eax
jne 0x50006d
mov ecx, 0x1a1
jmp 0x501012
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp edi, 2
jne 0x5000b3
cmp dword [esp + 0x20], 3
je 0x500097
mov dword [esp + 0x48], 0x89
mov ecx, 0x1a5
jmp 0x501012
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 0x500108
mov eax, edi
sar eax, 8
cmp eax, 3
je 0x5000de
cmp eax, 0xfe
je 0x5000de
cmp edi, 0x100
je 0x5000de
mov dword [esp + 0x48], 0xfe
mov ecx, 0x1b7
jmp 0x501012
cmp dword [esp + 0x20], 2
je 0x5000f7
mov dword [esp + 0x48], 0x89
mov ecx, 0x1b0
jmp 0x501012
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.004852b0
add esp, 0xc
test eax, eax
jne 0x500149
mov ecx, 0x1be
jmp 0x501012
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 0x50018d
push str.os.length____int_sizeof_ret__session_id_
push 0x1ca
push str.._ssl_ssl_asn1.c
call fcn.00475df0
mov eax, dword [esp + 0x2c]
add esp, 0xc
push eax
push dword [esp + 0x2c]
lea eax, [esi + 0x48]
push eax
call fcn.0055c550
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.004852b0
add esp, 0x18
test eax, eax
jne 0x5001c7
mov ecx, 0x1cd
jmp 0x501012
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x20]
cmp eax, 0x30
jle 0x5001ea
mov dword [esi + 0x10], 0x30
mov eax, 0x30
jmp 0x5001f1
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x20]
push eax
push dword [esp + 0x2c]
lea eax, [esi + 0x14]
push eax
call fcn.0055c550
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x58], ecx
je 0x500271
mov edx, dword [esp + 0x40]
mov bl, byte [edx]
mov al, bl
and al, 0xdf
cmp al, 0x80
jne 0x500271
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.004852b0
add esp, 0xc
test eax, eax
jne 0x50025d
mov eax, dword [esp + 0x60]
mov dword [esp + 0x68], 0x1e7
mov byte [eax], bl
mov ecx, dword [esp + 0x68]
jmp 0x501016
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 0x500284
mov dword [esi + 4], 8
mov eax, 8
jmp 0x50028b
mov dword [esi + 4], ecx
mov eax, dword [esp + 0x20]
push eax
push dword [esp + 0x2c]
lea eax, [esi + 8]
push eax
call fcn.0055c550
mov eax, dword [esp + 0x34]
add esp, 0xc
test eax, eax
je 0x5002ad
push eax
call fcn.0047a060
add esp, 4
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x50038d
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa1
jne 0x50038d
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.00493be0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x500307
mov dword [esp + 0x48], 0x3b
mov ecx, 0x1f1
jmp 0x501012
cmp ebx, 0x21
jne 0x500323
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 0x500327
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00485290
add esp, 0xc
test eax, eax
jne 0x500348
mov ecx, 0x1f1
jmp 0x501012
cmp ebx, 0x21
jne 0x500381
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.00493bb0
add esp, 8
test eax, eax
jne 0x500381
mov dword [esp + 0x48], 0x3f
mov ecx, 0x1f1
jmp 0x501012
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x5003b9
push dword [esp + 0x70]
call fcn.004a01c0
mov dword [esi + 0xac], eax
push dword [esp + 0x3c]
call fcn.0047a060
add esp, 8
mov dword [esp + 0x38], 0
jmp 0x5003c9
push 0
call fcn.0056a314
add esp, 4
mov dword [esi + 0xac], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x5004a9
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa2
jne 0x5004a9
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.00493be0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x500423
mov dword [esp + 0x48], 0x3b
mov ecx, 0x1fb
jmp 0x501012
cmp ebx, 0x21
jne 0x50043f
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 0x500443
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00485290
add esp, 0xc
test eax, eax
jne 0x500464
mov ecx, 0x1fb
jmp 0x501012
cmp ebx, 0x21
jne 0x50049d
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.00493bb0
add esp, 8
test eax, eax
jne 0x50049d
mov dword [esp + 0x48], 0x3f
mov ecx, 0x1fb
jmp 0x501012
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x5004dd
push dword [esp + 0x70]
call fcn.004a01c0
mov dword [esi + 0xa8], eax
push dword [esp + 0x3c]
call fcn.0047a060
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x5004e7
mov dword [esi + 0xa8], 3
mov eax, dword [esi + 0x9c]
lea edi, [esi + 0x9c]
test eax, eax
je 0x500506
push eax
call fcn.00479860
add esp, 4
mov dword [edi], 0
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x40]
test ecx, ecx
je 0x5005e2
cmp byte [edx], 0xa3
jne 0x5005e2
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.00493be0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x500558
mov dword [esp + 0x48], 0x3b
mov ecx, 0x208
jmp 0x501012
cmp ebx, 0x21
jne 0x500574
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 0x500578
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
push edi
call fcn.004798b0
add esp, 0xc
test eax, eax
jne 0x500595
mov ecx, 0x208
jmp 0x501012
cmp ebx, 0x21
jne 0x5005ce
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.00493bb0
add esp, 8
test eax, eax
jne 0x5005ce
mov dword [esp + 0x48], 0x3f
mov ecx, 0x208
jmp 0x501012
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 0x500716
cmp byte [edx], 0xa4
jne 0x500716
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.00493be0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x50063c
mov dword [esp + 0x48], 0x3b
mov ecx, 0x20c
jmp 0x501012
cmp ebx, 0x21
jne 0x500658
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 0x50065c
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004852b0
add esp, 0xc
test eax, eax
jne 0x50067d
mov ecx, 0x20c
jmp 0x501012
cmp ebx, 0x21
jne 0x5006b6
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.00493bb0
add esp, 8
test eax, eax
jne 0x5006b6
mov dword [esp + 0x48], 0x3f
mov ecx, 0x20c
jmp 0x501012
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x28], 0
je 0x500716
mov eax, dword [esp + 0x20]
cmp eax, 0x20
jle 0x5006e4
mov dword [esp + 0x48], 0x10f
mov ecx, 0x211
jmp 0x501012
mov dword [esi + 0x68], eax
lea eax, [esi + 0x6c]
push dword [esp + 0x20]
push dword [esp + 0x2c]
push eax
call fcn.0055c550
push dword [esp + 0x34]
call fcn.0047a060
add esp, 0x10
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x50071d
mov dword [esi + 0x68], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x5007fd
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa5
jne 0x5007fd
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.00493be0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x500777
mov dword [esp + 0x48], 0x3b
mov ecx, 0x21e
jmp 0x501012
cmp ebx, 0x21
jne 0x500793
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 0x500797
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00485290
add esp, 0xc
test eax, eax
jne 0x5007b8
mov ecx, 0x21e
jmp 0x501012
cmp ebx, 0x21
jne 0x5007f1
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.00493bb0
add esp, 8
test eax, eax
jne 0x5007f1
mov dword [esp + 0x48], 0x3f
mov ecx, 0x21e
jmp 0x501012
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x500831
push dword [esp + 0x70]
call fcn.004a01c0
mov dword [esi + 0xa0], eax
push dword [esp + 0x3c]
call fcn.0047a060
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x50083b
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 0x500927
mov edi, dword [esp + 0x40]
cmp byte [edi], 0xa6
jne 0x500927
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.00493be0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x500899
mov dword [esp + 0x48], 0x3b
mov ecx, 0x22a
jmp 0x501012
cmp ebx, 0x21
jne 0x5008b5
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 0x5008b9
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004852b0
add esp, 0xc
test eax, eax
jne 0x5008da
mov ecx, 0x22a
jmp 0x501012
cmp ebx, 0x21
jne 0x500913
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.00493bb0
add esp, 8
test eax, eax
jne 0x500913
mov dword [esp + 0x48], 0x3f
mov ecx, 0x22a
jmp 0x501012
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 0x500946
push ecx
push eax
call fcn.0047aa30
mov dword [esi + 0xd0], eax
push dword [esp + 0x30]
call fcn.0047a060
add esp, 0xc
jmp 0x500950
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 0x500a3c
mov edi, dword [esp + 0x40]
cmp byte [edi], 0xa7
jne 0x500a3c
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.00493be0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x5009ae
mov dword [esp + 0x48], 0x3b
mov ecx, 0x237
jmp 0x501012
cmp ebx, 0x21
jne 0x5009ca
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 0x5009ce
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004852b0
add esp, 0xc
test eax, eax
jne 0x5009ef
mov ecx, 0x237
jmp 0x501012
cmp ebx, 0x21
jne 0x500a28
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.00493bb0
add esp, 8
test eax, eax
jne 0x500a28
mov dword [esp + 0x48], 0x3f
mov ecx, 0x237
jmp 0x501012
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 0x500a5b
push ecx
push eax
call fcn.0047aa30
mov dword [esi + 0x8c], eax
push dword [esp + 0x30]
call fcn.0047a060
add esp, 0xc
jmp 0x500a65
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 0x500b51
mov edi, dword [esp + 0x40]
cmp byte [edi], 0xa8
jne 0x500b51
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.00493be0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x500ac3
mov dword [esp + 0x48], 0x3b
mov ecx, 0x242
jmp 0x501012
cmp ebx, 0x21
jne 0x500adf
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 0x500ae3
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004852b0
add esp, 0xc
test eax, eax
jne 0x500b04
mov ecx, 0x242
jmp 0x501012
cmp ebx, 0x21
jne 0x500b3d
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.00493bb0
add esp, 8
test eax, eax
jne 0x500b3d
mov dword [esp + 0x48], 0x3f
mov ecx, 0x242
jmp 0x501012
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 0x500b80
push ecx
push eax
call fcn.0047aa30
mov dword [esi + 0x90], eax
push dword [esp + 0x30]
call fcn.0047a060
add esp, 0xc
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x500b8a
mov dword [esi + 0x90], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x500c6a
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa9
jne 0x500c6a
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.00493be0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x500be4
mov dword [esp + 0x48], 0x3b
mov ecx, 0x24e
jmp 0x501012
cmp ebx, 0x21
jne 0x500c00
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 0x500c04
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00485290
add esp, 0xc
test eax, eax
jne 0x500c25
mov ecx, 0x24e
jmp 0x501012
cmp ebx, 0x21
jne 0x500c5e
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.00493bb0
add esp, 8
test eax, eax
jne 0x500c5e
mov dword [esp + 0x48], 0x3f
mov ecx, 0x24e
jmp 0x501012
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x500c9e
push dword [esp + 0x70]
call fcn.004a01c0
mov dword [esi + 0xec], eax
push dword [esp + 0x3c]
call fcn.0047a060
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x500cc3
cmp dword [esi + 0xe8], 0
je 0x500cb9
cmp dword [esi + 0x44], 0
je 0x500cb9
mov dword [esi + 0xec], 0xffffffff
jmp 0x500cc3
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 0x500dad
mov edx, dword [esp + 0x40]
cmp byte [edx], 0xaa
jne 0x500dad
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.00493be0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x500d23
mov dword [esp + 0x48], 0x3b
mov ecx, 0x25a
jmp 0x501012
cmp ebx, 0x21
jne 0x500d3f
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 0x500d43
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004852b0
add esp, 0xc
test eax, eax
jne 0x500d64
mov ecx, 0x25a
jmp 0x501012
cmp ebx, 0x21
jne 0x500d9d
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.00493bb0
add esp, 8
test eax, eax
jne 0x500d9d
mov dword [esp + 0x48], 0x3f
mov ecx, 0x25a
jmp 0x501012
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x500dc3
mov dword [esi + 0xe4], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0xe8], eax
jmp 0x500dcd
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 0x500ee2
cmp byte [edx], 0xab
jne 0x500ee2
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.00493be0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x500e2f
mov dword [esp + 0x48], 0x3b
mov ecx, 0x266
jmp 0x501012
cmp ebx, 0x21
jne 0x500e4b
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 0x500e4f
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004852b0
add esp, 0xc
test eax, eax
jne 0x500e70
mov ecx, 0x266
jmp 0x501012
cmp ebx, 0x21
jne 0x500ea9
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.00493bb0
add esp, 8
test eax, eax
jne 0x500ea9
mov dword [esp + 0x48], 0x3f
mov ecx, 0x266
jmp 0x501012
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 0x500ee2
movzx eax, byte [eax]
mov dword [esi + 0xb0], eax
push dword [esp + 0x28]
call fcn.0047a060
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 0x500fc3
cmp byte [edx], 0xac
jne 0x500fc3
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.00493be0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x500f38
mov dword [esp + 0x48], 0x3b
mov ecx, 0x271
jmp 0x501012
cmp ebx, 0x21
jne 0x500f54
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 0x500f58
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004852b0
add esp, 0xc
test eax, eax
jne 0x500f79
mov ecx, 0x271
jmp 0x501012
cmp ebx, 0x21
jne 0x500faf
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.00493bb0
add esp, 8
test eax, eax
jne 0x500faf
mov dword [esp + 0x48], 0x3f
mov ecx, 0x271
jmp 0x501012
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 0x500ff2
push edi
push eax
call fcn.0047aa30
mov dword [esi + 0xf0], eax
push dword [esp + 0x30]
call fcn.0047a060
add esp, 0xc
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x500ffc
mov dword [esi + 0xf0], 0
lea eax, [esp + 0x40]
push eax
call fcn.00493fd0
add esp, 4
test eax, eax
jne 0x501062
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.00477410
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
mov eax, dword [esp + 0x74]
sub eax, ecx
push eax
push ecx
call fcn.00493f60
add esp, 0x1c
test esi, esi
je 0x501058
test ebp, ebp
je 0x50104f
cmp dword [ebp], esi
je 0x501058
push esi
call fcn.004f3bf0
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 0x501073
mov dword [ebp], esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret