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

Disassembly:
mov eax, 0x60
call fcn.0042c200
push ebx
push ebp
push esi
mov esi, dword [esp + 0x74]
mov eax, dword [esi]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x70]
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [esp + 0x68], esi
mov dword [esp + 0x4c], 0x3a
je 0x49481a
mov eax, dword [eax]
cmp eax, ebx
je 0x49481a
mov ebp, eax
mov eax, dword [esi]
lea ecx, [esp + 0x34]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x7c]
cmp ecx, ebx
lea edx, [esp + 0x24]
mov dword [esp + 0x14], edx
mov dword [esp + 0x44], eax
jne 0x494832
mov dword [esp + 0x60], ebx
jmp 0x494838
call fcn.0047ff30
mov ebp, eax
cmp ebp, ebx
jne 0x4947f6
mov dword [esp + 0x6c], 0x12c
jmp 0x49557b
add eax, ecx
mov dword [esp + 0x60], eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.004a38e0
add esp, 8
test eax, eax
jne 0x49485b
mov dword [esp + 0x6c], 0x132
jmp 0x49557b
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x5c]
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x68], edx
push ecx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x40], ebx
call fcn.004be940
add esp, 0xc
test eax, eax
jne 0x494893
mov dword [esp + 0x6c], 0x136
jmp 0x49557b
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x44]
add dword [esp + 0x5c], eax
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x4948b8
push eax
call fcn.004a3220
add esp, 4
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x5c]
push edx
lea eax, [esp + 0x48]
mov dword [esp + 0x68], ecx
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.004be940
add esp, 0xc
test eax, eax
jne 0x4948e8
mov dword [esp + 0x6c], 0x13e
jmp 0x49557b
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
add dword [esp + 0x5c], edx
push eax
call fcn.004a9e00
mov esi, eax
mov dword [ebp], esi
mov eax, dword [esp + 0x40]
add esp, 4
cmp eax, ebx
je 0x49491f
push eax
call fcn.004a3220
add esp, 4
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x5c]
push edx
lea eax, [esp + 0x48]
mov dword [esp + 0x68], ecx
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], ebx
call fcn.004bea30
add esp, 0xc
test eax, eax
jne 0x494957
mov dword [esp + 0x6c], 0x149
jmp 0x49557b
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
mov edi, 3
add dword [esp + 0x5c], edx
cmp esi, 2
jne 0x4949a0
cmp dword [esp + 0x24], edi
je 0x494980
mov dword [esp + 0x4c], 0x89
jmp 0x49557b
mov ecx, dword [esp + 0x2c]
movzx eax, byte [ecx]
movzx edx, byte [ecx + 1]
movzx ecx, byte [ecx + 2]
or eax, 0x200
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
jmp 0x4949db
and esi, 0xffffff00
cmp esi, 0x300
jl 0x495573
cmp dword [esp + 0x24], 2
je 0x4949c6
mov dword [esp + 0x4c], 0x89
jmp 0x49557b
mov ecx, dword [esp + 0x2c]
movzx eax, byte [ecx]
movzx edx, byte [ecx + 1]
or eax, 0x30000
shl eax, 8
or eax, edx
mov dword [ebp + 0xb0], eax
mov dword [ebp + 0xac], ebx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x5c]
push ecx
lea edx, [esp + 0x48]
mov dword [esp + 0x68], eax
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.004bea30
add esp, 0xc
test eax, eax
jne 0x494a17
mov dword [esp + 0x6c], 0x161
jmp 0x49557b
mov ecx, dword [esp + 0x64]
sub ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x24]
add dword [esp + 0x5c], ecx
cmp eax, 0x20
jle 0x494a35
mov eax, 0x20
mov dword [esp + 0x24], eax
mov dword [ebp + 0x44], eax
cmp dword [esp + 0x24], 0x20
jle 0x494a56
push str.os.length____int_sizeof_ret__session_id_
push 0x16d
push str.._ssl_ssl_asn1.c
call fcn.004ada00
add esp, 0xc
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
push edx
push eax
lea ecx, [ebp + 0x48]
push ecx
call sub.MSVCR80.dll_memcpy
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x68]
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x74], edx
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.004bea30
add esp, 0x18
test eax, eax
jne 0x494a99
mov dword [esp + 0x6c], 0x170
jmp 0x49557b
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x44]
add dword [esp + 0x5c], eax
mov eax, dword [esp + 0x24]
cmp eax, 0x30
jle 0x494ab7
mov dword [ebp + 0x10], 0x30
jmp 0x494aba
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x2c]
push ecx
push edx
lea eax, [ebp + 0x14]
push eax
call sub.MSVCR80.dll_memcpy
xor eax, eax
add esp, 0xc
cmp dword [esp + 0x5c], ebx
mov dword [esp + 0x24], eax
je 0x494b4d
mov esi, dword [esp + 0x44]
mov bl, byte [esi]
mov cl, bl
and cl, 0xdf
cmp cl, 0x80
jne 0x494b4d
mov dl, bl
and dl, 0x20
or dl, 4
mov byte [esi], dl
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x5c]
push ecx
lea edx, [esp + 0x48]
mov dword [esp + 0x68], eax
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.004bea30
add esp, 0xc
test eax, eax
jne 0x494b2b
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x6c], 0x18a
mov byte [ecx], bl
jmp 0x49557b
mov eax, dword [esp + 0x64]
mov edx, eax
sub edx, dword [esp + 0x44]
add dword [esp + 0x5c], edx
mov byte [eax], bl
mov eax, dword [esp + 0x24]
cmp eax, 8
jle 0x494b4d
mov dword [ebp + 4], 8
jmp 0x494b50
mov dword [ebp + 4], eax
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea edx, [ebp + 8]
push edx
call sub.MSVCR80.dll_memcpy
mov eax, dword [esp + 0x38]
xor esi, esi
add esp, 0xc
cmp eax, esi
je 0x494b78
push eax
call fcn.004a3220
add esp, 4
mov eax, dword [esp + 0x5c]
cmp eax, esi
mov dword [esp + 0x34], esi
je 0x494c5a
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xa1
jne 0x494c5a
push eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.004a36c0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x494bd1
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x194
jmp 0x49557b
cmp ebx, 0x21
jne 0x494bea
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x64]
lea eax, [ecx + edx - 2]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.004be940
add esp, 0xc
test eax, eax
jne 0x494c12
mov dword [esp + 0x6c], 0x194
jmp 0x49557b
cmp ebx, 0x21
jne 0x494c4e
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
lea ecx, [esp + 0x44]
add eax, dword [esp + 0x64]
push eax
push ecx
mov dword [esp + 0x20], eax
call fcn.004a32a0
add esp, 8
test eax, eax
jne 0x494c4e
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x194
jmp 0x49557b
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
add dword [esp + 0x5c], edx
cmp dword [esp + 0x3c], esi
je 0x494c83
mov eax, dword [esp + 0x10]
push eax
call fcn.004a9e00
mov dword [ebp + 0xa4], eax
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004a3220
add esp, 8
mov dword [esp + 0x3c], esi
jmp 0x494c92
push esi
call sub.MSVCR80.dll__time64
add esp, 4
mov dword [ebp + 0xa4], eax
mov eax, dword [esp + 0x5c]
cmp eax, esi
mov dword [esp + 0x34], esi
je 0x494d74
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xa2
jne 0x494d74
push eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
mov dword [esp + 0x6c], ecx
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x54]
push edx
call fcn.004a36c0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x494ceb
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x19e
jmp 0x49557b
cmp ebx, 0x21
jne 0x494d04
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x64]
lea edx, [eax + ecx - 2]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.004be940
add esp, 0xc
test eax, eax
jne 0x494d2c
mov dword [esp + 0x6c], 0x19e
jmp 0x49557b
cmp ebx, 0x21
jne 0x494d68
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
add eax, dword [esp + 0x64]
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x48]
push eax
call fcn.004a32a0
add esp, 8
test eax, eax
jne 0x494d68
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x19e
jmp 0x49557b
mov ecx, dword [esp + 0x64]
sub ecx, dword [esp + 0x44]
add dword [esp + 0x5c], ecx
cmp dword [esp + 0x3c], esi
je 0x494da1
mov edx, dword [esp + 0x10]
push edx
call fcn.004a9e00
mov dword [ebp + 0xa0], eax
mov eax, dword [esp + 0x40]
push eax
call fcn.004a3220
add esp, 8
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], esi
jmp 0x494da7
mov dword [ebp + 0xa0], edi
mov eax, dword [ebp + 0x94]
lea esi, [ebp + 0x94]
xor edi, edi
cmp eax, edi
je 0x494dc4
push eax
call fcn.0049edf0
add esp, 4
mov dword [esi], edi
mov eax, dword [esp + 0x5c]
cmp eax, edi
mov ecx, dword [esp + 0x44]
je 0x494ea6
cmp byte [ecx], 0xa3
jne 0x494ea6
push eax
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.004a36c0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x494e19
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x1ab
jmp 0x49557b
cmp ebx, 0x21
jne 0x494e32
mov edx, dword [esp + 0x5c]
sub edx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
lea ecx, [edx + eax - 2]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x48]
push eax
push esi
call fcn.0049eda0
add esp, 0xc
test eax, eax
jne 0x494e56
mov dword [esp + 0x6c], 0x1ab
jmp 0x49557b
cmp ebx, 0x21
jne 0x494e92
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
lea ecx, [esp + 0x44]
add eax, dword [esp + 0x64]
push eax
push ecx
mov dword [esp + 0x20], eax
call fcn.004a32a0
add esp, 8
test eax, eax
jne 0x494e92
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x1ab
jmp 0x49557b
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x5c]
sub edx, ecx
add eax, edx
mov dword [esp + 0x5c], eax
cmp eax, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], edi
je 0x494fcd
cmp byte [ecx], 0xa4
jne 0x494fcd
push eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.004a36c0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x494efb
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x1af
jmp 0x49557b
cmp ebx, 0x21
jne 0x494f14
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x64]
lea eax, [ecx + edx - 2]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.004bea30
add esp, 0xc
test eax, eax
jne 0x494f3c
mov dword [esp + 0x6c], 0x1af
jmp 0x49557b
cmp ebx, 0x21
jne 0x494f78
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
lea ecx, [esp + 0x44]
add eax, dword [esp + 0x64]
push eax
push ecx
mov dword [esp + 0x20], eax
call fcn.004a32a0
add esp, 8
test eax, eax
jne 0x494f78
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x1af
jmp 0x49557b
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
add dword [esp + 0x5c], edx
cmp dword [esp + 0x2c], edi
je 0x494fcd
mov eax, dword [esp + 0x24]
cmp eax, 0x20
jle 0x494fa0
mov dword [esp + 0x4c], 0x10f
jmp 0x49557b
mov dword [ebp + 0x68], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea edx, [ebp + 0x6c]
push edx
call sub.MSVCR80.dll_memcpy
mov eax, dword [esp + 0x38]
push eax
call fcn.004a3220
add esp, 0x10
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], edi
jmp 0x494fd0
mov dword [ebp + 0x68], edi
mov eax, dword [esp + 0x5c]
cmp eax, edi
mov dword [esp + 0x34], edi
je 0x4950b2
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xa5
jne 0x4950b2
push eax
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.004a36c0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x495029
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x1c0
jmp 0x49557b
cmp ebx, 0x21
jne 0x495042
mov edx, dword [esp + 0x5c]
sub edx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
lea ecx, [edx + eax - 2]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.004be940
add esp, 0xc
test eax, eax
jne 0x49506a
mov dword [esp + 0x6c], 0x1c0
jmp 0x49557b
cmp ebx, 0x21
jne 0x4950a6
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
lea edx, [esp + 0x44]
add eax, dword [esp + 0x64]
push eax
push edx
mov dword [esp + 0x20], eax
call fcn.004a32a0
add esp, 8
test eax, eax
jne 0x4950a6
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x1c0
jmp 0x49557b
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x44]
add dword [esp + 0x5c], eax
cmp dword [esp + 0x3c], edi
je 0x4950df
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004a9e00
mov dword [ebp + 0x98], eax
mov edx, dword [esp + 0x40]
push edx
call fcn.004a3220
add esp, 8
mov dword [esp + 0x3c], edi
mov dword [esp + 0x34], edi
jmp 0x4950e5
mov dword [ebp + 0x98], edi
mov eax, dword [esp + 0x5c]
cmp eax, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], edi
je 0x4951fb
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xa6
jne 0x4951fb
push eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.004a36c0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x495142
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x1cc
jmp 0x49557b
cmp ebx, 0x21
jne 0x49515b
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x64]
lea eax, [ecx + edx - 2]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.004bea30
add esp, 0xc
test eax, eax
jne 0x495183
mov dword [esp + 0x6c], 0x1cc
jmp 0x49557b
cmp ebx, 0x21
jne 0x4951bf
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
lea ecx, [esp + 0x44]
add eax, dword [esp + 0x64]
push eax
push ecx
mov dword [esp + 0x20], eax
call fcn.004a32a0
add esp, 8
test eax, eax
jne 0x4951bf
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x1cc
jmp 0x49557b
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x5c], edx
cmp eax, edi
je 0x4951fb
mov ecx, dword [esp + 0x24]
push ecx
push eax
call fcn.004b5fd0
mov dword [ebp + 0xc8], eax
mov edx, dword [esp + 0x34]
push edx
call fcn.004a3220
add esp, 0xc
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], edi
jmp 0x495201
mov dword [ebp + 0xc8], edi
mov eax, dword [esp + 0x5c]
cmp eax, edi
mov dword [esp + 0x34], edi
je 0x4952e3
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xa9
jne 0x4952e3
push eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.004a36c0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x49525a
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x1d5
jmp 0x49557b
cmp ebx, 0x21
jne 0x495273
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x64]
lea eax, [ecx + edx - 2]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.004be940
add esp, 0xc
test eax, eax
jne 0x49529b
mov dword [esp + 0x6c], 0x1d5
jmp 0x49557b
cmp ebx, 0x21
jne 0x4952d7
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
lea ecx, [esp + 0x44]
add eax, dword [esp + 0x64]
push eax
push ecx
mov dword [esp + 0x20], eax
call fcn.004a32a0
add esp, 8
test eax, eax
jne 0x4952d7
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x1d5
jmp 0x49557b
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
add dword [esp + 0x5c], edx
cmp dword [esp + 0x3c], edi
je 0x495310
mov eax, dword [esp + 0x10]
push eax
call fcn.004a9e00
mov dword [ebp + 0xd4], eax
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004a3220
add esp, 8
mov dword [esp + 0x3c], edi
mov dword [esp + 0x34], edi
jmp 0x49532f
cmp dword [ebp + 0xd0], edi
je 0x495329
cmp dword [ebp + 0x44], edi
je 0x495329
mov dword [ebp + 0xd4], 0xffffffff
jmp 0x49532f
mov dword [ebp + 0xd4], edi
mov eax, dword [esp + 0x5c]
cmp eax, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], edi
je 0x49542f
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xaa
jne 0x49542f
push eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
mov dword [esp + 0x6c], ecx
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x54]
push edx
call fcn.004a36c0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x49538c
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x1e1
jmp 0x49557b
cmp ebx, 0x21
jne 0x4953a5
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x64]
lea edx, [eax + ecx - 2]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004bea30
add esp, 0xc
test eax, eax
jne 0x4953cd
mov dword [esp + 0x6c], 0x1e1
jmp 0x49557b
cmp ebx, 0x21
jne 0x495409
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
add eax, dword [esp + 0x64]
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x48]
push eax
call fcn.004a32a0
add esp, 8
test eax, eax
jne 0x495409
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x1e1
jmp 0x49557b
mov ecx, dword [esp + 0x64]
sub ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x5c], ecx
cmp eax, edi
je 0x49542f
mov dword [ebp + 0xcc], eax
mov edx, dword [esp + 0x24]
mov dword [ebp + 0xd0], edx
jmp 0x495435
mov dword [ebp + 0xcc], edi
mov eax, dword [esp + 0x5c]
cmp eax, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], edi
je 0x49553a
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xab
jne 0x49553a
push eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.004a36c0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x495492
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x1ed
jmp 0x49557b
cmp ebx, 0x21
jne 0x4954ab
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x64]
lea eax, [ecx + edx - 2]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.004bea30
add esp, 0xc
test eax, eax
jne 0x4954d3
mov dword [esp + 0x6c], 0x1ed
jmp 0x49557b
cmp ebx, 0x21
jne 0x49550c
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
lea ecx, [esp + 0x44]
add eax, dword [esp + 0x64]
push eax
push ecx
mov dword [esp + 0x20], eax
call fcn.004a32a0
add esp, 8
test eax, eax
jne 0x49550c
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x1ed
jmp 0x49557b
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x5c], edx
cmp eax, edi
je 0x49553a
movzx eax, byte [eax]
mov dword [ebp + 0xa8], eax
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004a3220
add esp, 4
mov dword [esp + 0x2c], edi
lea edx, [esp + 0x44]
push edx
call fcn.004a3430
add esp, 4
test eax, eax
jne 0x495555
mov dword [esp + 0x6c], 0x1f5
jmp 0x49557b
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x78]
mov dword [ecx], eax
mov eax, dword [esp + 0x74]
cmp eax, edi
je 0x495569
mov dword [eax], ebp
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x60
ret
mov dword [esp + 0x4c], 0xfe
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x4c]
push edx
push str.._ssl_ssl_asn1.c
push eax
push 0x67
push 0xd
call fcn.0049f810
mov ecx, dword [esp + 0x8c]
mov eax, dword [ecx]
mov edx, dword [esp + 0x78]
sub edx, eax
push edx
push eax
call fcn.004a3640
add esp, 0x1c
test ebp, ebp
je 0x4955c5
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4955bc
cmp dword [eax], ebp
je 0x4955c5
push ebp
call fcn.00480030
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x60
ret