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

Disassembly:
mov eax, 0x5c
call fcn.00532f10
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 0x4f0583
mov esi, dword [ebp]
test esi, esi
jne 0x4f059b
call fcn.004e41b0
mov esi, eax
test esi, esi
jne 0x4f059b
mov dword [esp + 0x68], 0x184
jmp 0x4f1748
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 0x4f05c3
mov dword [esp + 0x5c], ecx
jmp 0x4f05c9
add eax, ecx
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.004767e0
add esp, 8
test eax, eax
jne 0x4f05ec
mov dword [esp + 0x68], 0x18a
jmp 0x4f1748
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.00496340
add esp, 0xc
test eax, eax
jne 0x4f062b
mov dword [esp + 0x68], 0x18e
jmp 0x4f1748
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 0x4f0668
push eax
call fcn.004694f0
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.00496340
add esp, 0xc
test eax, eax
jne 0x4f0690
mov dword [esp + 0x68], 0x196
jmp 0x4f1748
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
push dword [esp + 0x70]
add dword [esp + 0x5c], eax
call fcn.0048b540
mov edi, eax
add esp, 4
mov dword [esi], edi
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4f06cd
push eax
call fcn.004694f0
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.00496360
add esp, 0xc
test eax, eax
jne 0x4f070c
mov dword [esp + 0x68], 0x1a1
jmp 0x4f1748
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp edi, 2
jne 0x4f0755
cmp dword [esp + 0x20], 3
je 0x4f0739
mov dword [esp + 0x48], 0x89
mov dword [esp + 0x68], 0x1a5
jmp 0x4f1748
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 0x4f07b0
mov eax, edi
sar eax, 8
cmp eax, 3
je 0x4f0783
cmp eax, 0xfe
je 0x4f0783
cmp edi, 0x100
je 0x4f0783
mov dword [esp + 0x48], 0xfe
mov dword [esp + 0x68], 0x1b7
jmp 0x4f1748
cmp dword [esp + 0x20], 2
je 0x4f079f
mov dword [esp + 0x48], 0x89
mov dword [esp + 0x68], 0x1b0
jmp 0x4f1748
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.00496360
add esp, 0xc
test eax, eax
jne 0x4f07f4
mov dword [esp + 0x68], 0x1be
jmp 0x4f1748
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 0x4f0838
push str.os.length____int_sizeof_ret__session_id_
push 0x1ca
push str.._ssl_ssl_asn1.c
call fcn.004660b0
mov eax, dword [esp + 0x2c]
add esp, 0xc
push eax
push dword [esp + 0x2c]
lea eax, [esi + 0x48]
push eax
call fcn.005344c0
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.00496360
add esp, 0x18
test eax, eax
jne 0x4f0875
mov dword [esp + 0x68], 0x1cd
jmp 0x4f1748
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x20]
cmp eax, 0x30
jle 0x4f0898
mov dword [esi + 0x10], 0x30
mov eax, 0x30
jmp 0x4f089f
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x20]
push eax
push dword [esp + 0x2c]
lea eax, [esi + 0x14]
push eax
call fcn.005344c0
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x58], ecx
je 0x4f091b
mov edx, dword [esp + 0x40]
mov bl, byte [edx]
mov al, bl
and al, 0xdf
cmp al, 0x80
jne 0x4f091b
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.00496360
add esp, 0xc
test eax, eax
jne 0x4f0907
mov eax, dword [esp + 0x60]
mov dword [esp + 0x68], 0x1e7
mov byte [eax], bl
jmp 0x4f1748
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 0x4f092e
mov dword [esi + 4], 8
mov eax, 8
jmp 0x4f0935
mov dword [esi + 4], ecx
mov eax, dword [esp + 0x20]
push eax
push dword [esp + 0x2c]
lea eax, [esi + 8]
push eax
call fcn.005344c0
mov eax, dword [esp + 0x34]
add esp, 0xc
test eax, eax
je 0x4f0957
push eax
call fcn.004694f0
add esp, 4
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x4f0a40
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa1
jne 0x4f0a40
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.004764e0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x4f09b4
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x1f1
jmp 0x4f1748
cmp ebx, 0x21
jne 0x4f09d0
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 0x4f09d4
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00496340
add esp, 0xc
test eax, eax
jne 0x4f09f8
mov dword [esp + 0x68], 0x1f1
jmp 0x4f1748
cmp ebx, 0x21
jne 0x4f0a34
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.004764b0
add esp, 8
test eax, eax
jne 0x4f0a34
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x1f1
jmp 0x4f1748
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x4f0a6c
push dword [esp + 0x70]
call fcn.0048b540
mov dword [esi + 0xac], eax
push dword [esp + 0x3c]
call fcn.004694f0
add esp, 8
mov dword [esp + 0x38], 0
jmp 0x4f0a7c
push 0
call fcn.0053bc0e
add esp, 4
mov dword [esi + 0xac], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x4f0b65
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa2
jne 0x4f0b65
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.004764e0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x4f0ad9
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x1fb
jmp 0x4f1748
cmp ebx, 0x21
jne 0x4f0af5
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 0x4f0af9
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00496340
add esp, 0xc
test eax, eax
jne 0x4f0b1d
mov dword [esp + 0x68], 0x1fb
jmp 0x4f1748
cmp ebx, 0x21
jne 0x4f0b59
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.004764b0
add esp, 8
test eax, eax
jne 0x4f0b59
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x1fb
jmp 0x4f1748
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x4f0b99
push dword [esp + 0x70]
call fcn.0048b540
mov dword [esi + 0xa8], eax
push dword [esp + 0x3c]
call fcn.004694f0
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x4f0ba3
mov dword [esi + 0xa8], 3
mov eax, dword [esi + 0x9c]
lea edi, [esi + 0x9c]
test eax, eax
je 0x4f0bc2
push eax
call fcn.004ad140
add esp, 4
mov dword [edi], 0
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x40]
test ecx, ecx
je 0x4f0ca7
cmp byte [edx], 0xa3
jne 0x4f0ca7
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.004764e0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x4f0c17
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x208
jmp 0x4f1748
cmp ebx, 0x21
jne 0x4f0c33
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 0x4f0c37
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
push edi
call fcn.004ad190
add esp, 0xc
test eax, eax
jne 0x4f0c57
mov dword [esp + 0x68], 0x208
jmp 0x4f1748
cmp ebx, 0x21
jne 0x4f0c93
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.004764b0
add esp, 8
test eax, eax
jne 0x4f0c93
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x208
jmp 0x4f1748
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 0x4f0e01
cmp byte [edx], 0xa4
jne 0x4f0e01
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.004764e0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x4f0d04
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x20c
jmp 0x4f1748
cmp ebx, 0x21
jne 0x4f0d20
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 0x4f0d24
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00496360
add esp, 0xc
test eax, eax
jne 0x4f0d48
mov dword [esp + 0x68], 0x20c
jmp 0x4f1748
cmp ebx, 0x21
jne 0x4f0d84
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.004764b0
add esp, 8
test eax, eax
jne 0x4f0d84
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x20c
jmp 0x4f1748
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4f0e01
mov ecx, dword [esp + 0x20]
cmp ecx, 0x20
jle 0x4f0dcf
push eax
mov dword [esp + 0x4c], 0x10f
mov dword [esp + 0x6c], 0x211
call fcn.004694f0
add esp, 4
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x4f1748
mov dword [esi + 0x68], ecx
lea eax, [esi + 0x6c]
push dword [esp + 0x20]
push dword [esp + 0x2c]
push eax
call fcn.005344c0
push dword [esp + 0x34]
call fcn.004694f0
add esp, 0x10
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x4f0e08
mov dword [esi + 0x68], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x4f0ef1
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa5
jne 0x4f0ef1
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.004764e0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x4f0e65
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x221
jmp 0x4f1748
cmp ebx, 0x21
jne 0x4f0e81
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 0x4f0e85
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00496340
add esp, 0xc
test eax, eax
jne 0x4f0ea9
mov dword [esp + 0x68], 0x221
jmp 0x4f1748
cmp ebx, 0x21
jne 0x4f0ee5
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.004764b0
add esp, 8
test eax, eax
jne 0x4f0ee5
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x221
jmp 0x4f1748
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x4f0f25
push dword [esp + 0x70]
call fcn.0048b540
mov dword [esi + 0xa0], eax
push dword [esp + 0x3c]
call fcn.004694f0
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x4f0f2f
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 0x4f1024
mov edi, dword [esp + 0x40]
cmp byte [edi], 0xa6
jne 0x4f1024
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.004764e0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x4f0f90
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x22d
jmp 0x4f1748
cmp ebx, 0x21
jne 0x4f0fac
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 0x4f0fb0
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00496360
add esp, 0xc
test eax, eax
jne 0x4f0fd4
mov dword [esp + 0x68], 0x22d
jmp 0x4f1748
cmp ebx, 0x21
jne 0x4f1010
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.004764b0
add esp, 8
test eax, eax
jne 0x4f1010
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x22d
jmp 0x4f1748
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 0x4f1043
push ecx
push eax
call fcn.00469ec0
mov dword [esi + 0xd0], eax
push dword [esp + 0x30]
call fcn.004694f0
add esp, 0xc
jmp 0x4f104d
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 0x4f1142
mov edi, dword [esp + 0x40]
cmp byte [edi], 0xa7
jne 0x4f1142
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.004764e0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x4f10ae
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x23a
jmp 0x4f1748
cmp ebx, 0x21
jne 0x4f10ca
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 0x4f10ce
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00496360
add esp, 0xc
test eax, eax
jne 0x4f10f2
mov dword [esp + 0x68], 0x23a
jmp 0x4f1748
cmp ebx, 0x21
jne 0x4f112e
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.004764b0
add esp, 8
test eax, eax
jne 0x4f112e
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x23a
jmp 0x4f1748
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 0x4f1161
push ecx
push eax
call fcn.00469ec0
mov dword [esi + 0x8c], eax
push dword [esp + 0x30]
call fcn.004694f0
add esp, 0xc
jmp 0x4f116b
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 0x4f1260
mov edi, dword [esp + 0x40]
cmp byte [edi], 0xa8
jne 0x4f1260
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.004764e0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x4f11cc
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x245
jmp 0x4f1748
cmp ebx, 0x21
jne 0x4f11e8
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 0x4f11ec
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00496360
add esp, 0xc
test eax, eax
jne 0x4f1210
mov dword [esp + 0x68], 0x245
jmp 0x4f1748
cmp ebx, 0x21
jne 0x4f124c
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.004764b0
add esp, 8
test eax, eax
jne 0x4f124c
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x245
jmp 0x4f1748
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 0x4f128f
push ecx
push eax
call fcn.00469ec0
mov dword [esi + 0x90], eax
push dword [esp + 0x30]
call fcn.004694f0
add esp, 0xc
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x4f1299
mov dword [esi + 0x90], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x4f1382
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa9
jne 0x4f1382
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.004764e0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x4f12f6
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x251
jmp 0x4f1748
cmp ebx, 0x21
jne 0x4f1312
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 0x4f1316
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00496340
add esp, 0xc
test eax, eax
jne 0x4f133a
mov dword [esp + 0x68], 0x251
jmp 0x4f1748
cmp ebx, 0x21
jne 0x4f1376
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.004764b0
add esp, 8
test eax, eax
jne 0x4f1376
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x251
jmp 0x4f1748
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x4f13b6
push dword [esp + 0x70]
call fcn.0048b540
mov dword [esi + 0xec], eax
push dword [esp + 0x3c]
call fcn.004694f0
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x4f13db
cmp dword [esi + 0xe8], 0
je 0x4f13d1
cmp dword [esi + 0x44], 0
je 0x4f13d1
mov dword [esi + 0xec], 0xffffffff
jmp 0x4f13db
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 0x4f14ce
mov edx, dword [esp + 0x40]
cmp byte [edx], 0xaa
jne 0x4f14ce
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.004764e0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x4f143e
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x25d
jmp 0x4f1748
cmp ebx, 0x21
jne 0x4f145a
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 0x4f145e
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00496360
add esp, 0xc
test eax, eax
jne 0x4f1482
mov dword [esp + 0x68], 0x25d
jmp 0x4f1748
cmp ebx, 0x21
jne 0x4f14be
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.004764b0
add esp, 8
test eax, eax
jne 0x4f14be
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x25d
jmp 0x4f1748
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4f14e4
mov dword [esi + 0xe4], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0xe8], eax
jmp 0x4f14ee
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 0x4f160c
cmp byte [edx], 0xab
jne 0x4f160c
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.004764e0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x4f1553
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x269
jmp 0x4f1748
cmp ebx, 0x21
jne 0x4f156f
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 0x4f1573
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00496360
add esp, 0xc
test eax, eax
jne 0x4f1597
mov dword [esp + 0x68], 0x269
jmp 0x4f1748
cmp ebx, 0x21
jne 0x4f15d3
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.004764b0
add esp, 8
test eax, eax
jne 0x4f15d3
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x269
jmp 0x4f1748
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 0x4f160c
movzx eax, byte [eax]
mov dword [esi + 0xb0], eax
push dword [esp + 0x28]
call fcn.004694f0
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 0x4f16f6
cmp byte [edx], 0xac
jne 0x4f16f6
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.004764e0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x4f1665
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x274
jmp 0x4f1748
cmp ebx, 0x21
jne 0x4f1681
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 0x4f1685
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00496360
add esp, 0xc
test eax, eax
jne 0x4f16a9
mov dword [esp + 0x68], 0x274
jmp 0x4f1748
cmp ebx, 0x21
jne 0x4f16e2
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.004764b0
add esp, 8
test eax, eax
jne 0x4f16e2
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x274
jmp 0x4f1748
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 0x4f1725
push edi
push eax
call fcn.00469ec0
mov dword [esi + 0xf0], eax
push dword [esp + 0x30]
call fcn.004694f0
add esp, 0xc
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x4f172f
mov dword [esi + 0xf0], 0
lea eax, [esp + 0x40]
push eax
call fcn.004768e0
add esp, 4
test eax, eax
jne 0x4f1797
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.004676c0
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
mov eax, dword [esp + 0x74]
sub eax, ecx
push eax
push ecx
call fcn.00476870
add esp, 0x1c
test esi, esi
je 0x4f178d
test ebp, ebp
je 0x4f1784
cmp dword [ebp], esi
je 0x4f178d
push esi
call fcn.004e3fd0
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 0x4f17a8
mov dword [ebp], esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret