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

Disassembly:
mov eax, 0x5c
call fcn.005343b0
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 0x4a7203
mov esi, dword [ebp]
test esi, esi
jne 0x4a721b
call fcn.00496770
mov esi, eax
test esi, esi
jne 0x4a721b
mov dword [esp + 0x68], 0x184
jmp 0x4a83c8
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 0x4a7243
mov dword [esp + 0x5c], ecx
jmp 0x4a7249
add eax, ecx
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.004bee40
add esp, 8
test eax, eax
jne 0x4a726c
mov dword [esp + 0x68], 0x18a
jmp 0x4a83c8
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.004e0f00
add esp, 0xc
test eax, eax
jne 0x4a72ab
mov dword [esp + 0x68], 0x18e
jmp 0x4a83c8
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 0x4a72e8
push eax
call fcn.004bb4e0
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.004e0f00
add esp, 0xc
test eax, eax
jne 0x4a7310
mov dword [esp + 0x68], 0x196
jmp 0x4a83c8
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
push dword [esp + 0x70]
add dword [esp + 0x5c], eax
call fcn.004bf820
mov edi, eax
add esp, 4
mov dword [esi], edi
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4a734d
push eax
call fcn.004bb4e0
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.004e0f20
add esp, 0xc
test eax, eax
jne 0x4a738c
mov dword [esp + 0x68], 0x1a1
jmp 0x4a83c8
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp edi, 2
jne 0x4a73d5
cmp dword [esp + 0x20], 3
je 0x4a73b9
mov dword [esp + 0x48], 0x89
mov dword [esp + 0x68], 0x1a5
jmp 0x4a83c8
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 0x4a7430
mov eax, edi
sar eax, 8
cmp eax, 3
je 0x4a7403
cmp eax, 0xfe
je 0x4a7403
cmp edi, 0x100
je 0x4a7403
mov dword [esp + 0x48], 0xfe
mov dword [esp + 0x68], 0x1b7
jmp 0x4a83c8
cmp dword [esp + 0x20], 2
je 0x4a741f
mov dword [esp + 0x48], 0x89
mov dword [esp + 0x68], 0x1b0
jmp 0x4a83c8
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.004e0f20
add esp, 0xc
test eax, eax
jne 0x4a7474
mov dword [esp + 0x68], 0x1be
jmp 0x4a83c8
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 0x4a74b8
push str.os.length____int_sizeof_ret__session_id_
push 0x1ca
push str.._ssl_ssl_asn1.c
call fcn.004cadf0
mov eax, dword [esp + 0x2c]
add esp, 0xc
push eax
push dword [esp + 0x2c]
lea eax, [esi + 0x48]
push eax
call fcn.00536b40
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.004e0f20
add esp, 0x18
test eax, eax
jne 0x4a74f5
mov dword [esp + 0x68], 0x1cd
jmp 0x4a83c8
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x20]
cmp eax, 0x30
jle 0x4a7513
mov dword [esi + 0x10], 0x30
jmp 0x4a7516
mov dword [esi + 0x10], eax
push dword [esi + 0x10]
lea eax, [esi + 0x14]
push dword [esp + 0x2c]
push eax
call fcn.00536b40
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x58], ecx
je 0x4a75a2
mov edx, dword [esp + 0x40]
mov bl, byte [edx]
mov al, bl
and al, 0xdf
cmp al, 0x80
jne 0x4a75a2
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.004e0f20
add esp, 0xc
test eax, eax
jne 0x4a7580
mov eax, dword [esp + 0x60]
mov dword [esp + 0x68], 0x1e7
mov byte [eax], bl
jmp 0x4a83c8
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 0x4a75a2
mov dword [esi + 4], 8
jmp 0x4a75a5
mov dword [esi + 4], ecx
push dword [esi + 4]
lea eax, [esi + 8]
push dword [esp + 0x2c]
push eax
call fcn.00536b40
mov eax, dword [esp + 0x34]
add esp, 0xc
test eax, eax
je 0x4a75c9
push eax
call fcn.004bb4e0
add esp, 4
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x4a76b2
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa1
jne 0x4a76b2
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.004beb50
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x4a7626
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x1f1
jmp 0x4a83c8
cmp ebx, 0x21
jne 0x4a7642
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 0x4a7646
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004e0f00
add esp, 0xc
test eax, eax
jne 0x4a766a
mov dword [esp + 0x68], 0x1f1
jmp 0x4a83c8
cmp ebx, 0x21
jne 0x4a76a6
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.004beb20
add esp, 8
test eax, eax
jne 0x4a76a6
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x1f1
jmp 0x4a83c8
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x4a76de
push dword [esp + 0x70]
call fcn.004bf820
mov dword [esi + 0xac], eax
push dword [esp + 0x3c]
call fcn.004bb4e0
add esp, 8
mov dword [esp + 0x38], 0
jmp 0x4a76ee
push 0
call fcn.00540776
add esp, 4
mov dword [esi + 0xac], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x4a77d7
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa2
jne 0x4a77d7
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.004beb50
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x4a774b
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x1fb
jmp 0x4a83c8
cmp ebx, 0x21
jne 0x4a7767
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 0x4a776b
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004e0f00
add esp, 0xc
test eax, eax
jne 0x4a778f
mov dword [esp + 0x68], 0x1fb
jmp 0x4a83c8
cmp ebx, 0x21
jne 0x4a77cb
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.004beb20
add esp, 8
test eax, eax
jne 0x4a77cb
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x1fb
jmp 0x4a83c8
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x4a780b
push dword [esp + 0x70]
call fcn.004bf820
mov dword [esi + 0xa8], eax
push dword [esp + 0x3c]
call fcn.004bb4e0
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x4a7815
mov dword [esi + 0xa8], 3
mov eax, dword [esi + 0x9c]
lea edi, [esi + 0x9c]
test eax, eax
je 0x4a7834
push eax
call fcn.004c3bf0
add esp, 4
mov dword [edi], 0
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x40]
test ecx, ecx
je 0x4a7919
cmp byte [edx], 0xa3
jne 0x4a7919
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.004beb50
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x4a7889
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x208
jmp 0x4a83c8
cmp ebx, 0x21
jne 0x4a78a5
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 0x4a78a9
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
push edi
call fcn.004c3c40
add esp, 0xc
test eax, eax
jne 0x4a78c9
mov dword [esp + 0x68], 0x208
jmp 0x4a83c8
cmp ebx, 0x21
jne 0x4a7905
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.004beb20
add esp, 8
test eax, eax
jne 0x4a7905
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x208
jmp 0x4a83c8
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 0x4a7a73
cmp byte [edx], 0xa4
jne 0x4a7a73
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.004beb50
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x4a7976
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x20c
jmp 0x4a83c8
cmp ebx, 0x21
jne 0x4a7992
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 0x4a7996
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004e0f20
add esp, 0xc
test eax, eax
jne 0x4a79ba
mov dword [esp + 0x68], 0x20c
jmp 0x4a83c8
cmp ebx, 0x21
jne 0x4a79f6
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.004beb20
add esp, 8
test eax, eax
jne 0x4a79f6
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x20c
jmp 0x4a83c8
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4a7a73
mov ecx, dword [esp + 0x20]
cmp ecx, 0x20
jle 0x4a7a41
push eax
mov dword [esp + 0x4c], 0x10f
mov dword [esp + 0x6c], 0x211
call fcn.004bb4e0
add esp, 4
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x4a83c8
mov dword [esi + 0x68], ecx
lea eax, [esi + 0x6c]
push dword [esp + 0x20]
push dword [esp + 0x2c]
push eax
call fcn.00536b40
push dword [esp + 0x34]
call fcn.004bb4e0
add esp, 0x10
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x4a7a7a
mov dword [esi + 0x68], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x4a7b63
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa5
jne 0x4a7b63
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.004beb50
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x4a7ad7
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x221
jmp 0x4a83c8
cmp ebx, 0x21
jne 0x4a7af3
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 0x4a7af7
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004e0f00
add esp, 0xc
test eax, eax
jne 0x4a7b1b
mov dword [esp + 0x68], 0x221
jmp 0x4a83c8
cmp ebx, 0x21
jne 0x4a7b57
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.004beb20
add esp, 8
test eax, eax
jne 0x4a7b57
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x221
jmp 0x4a83c8
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x4a7b97
push dword [esp + 0x70]
call fcn.004bf820
mov dword [esi + 0xa0], eax
push dword [esp + 0x3c]
call fcn.004bb4e0
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x4a7ba1
mov dword [esi + 0xa0], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test eax, eax
je 0x4a7cb8
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa6
jne 0x4a7cb8
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.004beb50
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x4a7c06
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x22d
jmp 0x4a83c8
cmp ebx, 0x21
jne 0x4a7c22
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 0x4a7c26
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004e0f20
add esp, 0xc
test eax, eax
jne 0x4a7c4a
mov dword [esp + 0x68], 0x22d
jmp 0x4a83c8
cmp ebx, 0x21
jne 0x4a7c86
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.004beb20
add esp, 8
test eax, eax
jne 0x4a7c86
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x22d
jmp 0x4a83c8
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4a7cb8
push dword [esp + 0x20]
push eax
call fcn.004c9d00
mov dword [esi + 0xd0], eax
push dword [esp + 0x30]
call fcn.004bb4e0
add esp, 0xc
jmp 0x4a7cc2
mov dword [esi + 0xd0], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test eax, eax
je 0x4a7dd9
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa7
jne 0x4a7dd9
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.004beb50
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x4a7d27
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x23a
jmp 0x4a83c8
cmp ebx, 0x21
jne 0x4a7d43
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 0x4a7d47
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004e0f20
add esp, 0xc
test eax, eax
jne 0x4a7d6b
mov dword [esp + 0x68], 0x23a
jmp 0x4a83c8
cmp ebx, 0x21
jne 0x4a7da7
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.004beb20
add esp, 8
test eax, eax
jne 0x4a7da7
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x23a
jmp 0x4a83c8
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4a7dd9
push dword [esp + 0x20]
push eax
call fcn.004c9d00
mov dword [esi + 0x8c], eax
push dword [esp + 0x30]
call fcn.004bb4e0
add esp, 0xc
jmp 0x4a7de3
mov dword [esi + 0x8c], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test eax, eax
je 0x4a7f0a
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa8
jne 0x4a7f0a
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.004beb50
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x4a7e48
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x245
jmp 0x4a83c8
cmp ebx, 0x21
jne 0x4a7e64
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 0x4a7e68
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004e0f20
add esp, 0xc
test eax, eax
jne 0x4a7e8c
mov dword [esp + 0x68], 0x245
jmp 0x4a83c8
cmp ebx, 0x21
jne 0x4a7ec8
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.004beb20
add esp, 8
test eax, eax
jne 0x4a7ec8
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x245
jmp 0x4a83c8
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4a7f0a
push dword [esp + 0x20]
push eax
call fcn.004c9d00
mov dword [esi + 0x90], eax
push dword [esp + 0x30]
call fcn.004bb4e0
add esp, 0xc
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x4a7f14
mov dword [esi + 0x90], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x4a7ffd
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa9
jne 0x4a7ffd
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.004beb50
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x4a7f71
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x251
jmp 0x4a83c8
cmp ebx, 0x21
jne 0x4a7f8d
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 0x4a7f91
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004e0f00
add esp, 0xc
test eax, eax
jne 0x4a7fb5
mov dword [esp + 0x68], 0x251
jmp 0x4a83c8
cmp ebx, 0x21
jne 0x4a7ff1
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.004beb20
add esp, 8
test eax, eax
jne 0x4a7ff1
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x251
jmp 0x4a83c8
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x4a8031
push dword [esp + 0x70]
call fcn.004bf820
mov dword [esi + 0xec], eax
push dword [esp + 0x3c]
call fcn.004bb4e0
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x4a8056
cmp dword [esi + 0xe8], 0
je 0x4a804c
cmp dword [esi + 0x44], 0
je 0x4a804c
mov dword [esi + 0xec], 0xffffffff
jmp 0x4a8056
mov dword [esi + 0xec], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test eax, eax
je 0x4a8161
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xaa
jne 0x4a8161
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.004beb50
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x4a80bb
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x25d
jmp 0x4a83c8
cmp ebx, 0x21
jne 0x4a80d7
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 0x4a80db
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004e0f20
add esp, 0xc
test eax, eax
jne 0x4a80ff
mov dword [esp + 0x68], 0x25d
jmp 0x4a83c8
cmp ebx, 0x21
jne 0x4a813b
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.004beb20
add esp, 8
test eax, eax
jne 0x4a813b
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x25d
jmp 0x4a83c8
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4a8161
mov dword [esi + 0xe4], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0xe8], eax
jmp 0x4a816b
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 0x4a8289
cmp byte [edx], 0xab
jne 0x4a8289
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.004beb50
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x4a81d0
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x269
jmp 0x4a83c8
cmp ebx, 0x21
jne 0x4a81ec
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 0x4a81f0
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004e0f20
add esp, 0xc
test eax, eax
jne 0x4a8214
mov dword [esp + 0x68], 0x269
jmp 0x4a83c8
cmp ebx, 0x21
jne 0x4a8250
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.004beb20
add esp, 8
test eax, eax
jne 0x4a8250
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x269
jmp 0x4a83c8
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 0x4a8289
movzx eax, byte [eax]
mov dword [esi + 0xb0], eax
push dword [esp + 0x28]
call fcn.004bb4e0
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 0x4a83a5
cmp byte [edx], 0xac
jne 0x4a83a5
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.004beb50
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x4a82e6
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x274
jmp 0x4a83c8
cmp ebx, 0x21
jne 0x4a8302
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 0x4a8306
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004e0f20
add esp, 0xc
test eax, eax
jne 0x4a832a
mov dword [esp + 0x68], 0x274
jmp 0x4a83c8
cmp ebx, 0x21
jne 0x4a8363
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.004beb20
add esp, 8
test eax, eax
jne 0x4a8363
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x274
jmp 0x4a83c8
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4a83a5
push dword [esp + 0x20]
push eax
call fcn.004c9d00
mov dword [esi + 0xf0], eax
push dword [esp + 0x30]
call fcn.004bb4e0
add esp, 0xc
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x4a83af
mov dword [esi + 0xf0], 0
lea eax, [esp + 0x40]
push eax
call fcn.004bef40
add esp, 4
test eax, eax
jne 0x4a8417
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.004c7920
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
mov eax, dword [esp + 0x74]
sub eax, ecx
push eax
push ecx
call fcn.004beed0
add esp, 0x1c
test esi, esi
je 0x4a840d
test ebp, ebp
je 0x4a8404
cmp dword [ebp], esi
je 0x4a840d
push esi
call fcn.00496520
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 0x4a8428
mov dword [ebp], esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret