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

Disassembly:
mov eax, 0x60
call fcn.0055ed60
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 ebp, ebp
push edi
mov dword [esp + 0x68], esi
mov dword [esp + 0x4c], 0x3a
cmp eax, ebp
je 0x4768da
mov eax, dword [eax]
cmp eax, ebp
je 0x4768da
mov edi, eax
mov eax, dword [esi]
lea ecx, [esp + 0x34]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x7c]
lea edx, [esp + 0x24]
mov dword [esp + 0x14], edx
mov dword [esp + 0x44], eax
cmp ecx, ebp
jne 0x4768f2
mov dword [esp + 0x60], ebp
jmp 0x4768f8
call fcn.00452f70
mov edi, eax
cmp edi, ebp
jne 0x4768b6
mov dword [esp + 0x6c], 0x184
jmp 0x47798b
add eax, ecx
mov dword [esp + 0x60], eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.0044cbb0
add esp, 8
test eax, eax
jne 0x47691b
mov dword [esp + 0x6c], 0x18a
jmp 0x47798b
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], ebp
mov dword [esp + 0x40], ebp
call fcn.0044ce10
add esp, 0xc
test eax, eax
jne 0x476953
mov dword [esp + 0x6c], 0x18e
jmp 0x47798b
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x44]
add dword [esp + 0x5c], eax
mov eax, dword [esp + 0x3c]
cmp eax, ebp
je 0x476978
push eax
call fcn.00401230
add esp, 4
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x34], ebp
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.0044ce10
add esp, 0xc
test eax, eax
jne 0x4769a8
mov dword [esp + 0x6c], 0x196
jmp 0x47798b
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
add dword [esp + 0x5c], edx
push eax
call fcn.0044d6a0
mov esi, eax
mov dword [edi], esi
mov eax, dword [esp + 0x40]
add esp, 4
cmp eax, ebp
je 0x4769de
push eax
call fcn.00401230
add esp, 4
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x34], ebp
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], ebp
mov dword [esp + 0x30], ebp
call fcn.0044cf40
add esp, 0xc
test eax, eax
jne 0x476a16
mov dword [esp + 0x6c], 0x1a1
jmp 0x47798b
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
add dword [esp + 0x5c], edx
cmp esi, 2
jne 0x476a63
cmp dword [esp + 0x24], 3
je 0x476a43
mov dword [esp + 0x4c], 0x89
mov dword [esp + 0x6c], 0x1a5
jmp 0x47798b
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 0x476ac2
mov eax, esi
sar eax, 8
cmp eax, 3
je 0x476a91
cmp eax, 0xfe
je 0x476a91
cmp esi, 0x100
je 0x476a91
mov dword [esp + 0x4c], 0xfe
mov dword [esp + 0x6c], 0x1b7
jmp 0x47798b
cmp dword [esp + 0x24], 2
je 0x476aad
mov dword [esp + 0x4c], 0x89
mov dword [esp + 0x6c], 0x1b0
jmp 0x47798b
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 [edi + 0xb8], eax
mov dword [edi + 0xb4], ebp
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.0044cf40
add esp, 0xc
test eax, eax
jne 0x476afe
mov dword [esp + 0x6c], 0x1be
jmp 0x47798b
mov ecx, dword [esp + 0x64]
sub ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x24]
add dword [esp + 0x5c], ecx
cmp eax, 0x20
jle 0x476b1c
mov eax, 0x20
mov dword [esp + 0x24], eax
mov dword [edi + 0x44], eax
cmp dword [esp + 0x24], 0x20
jle 0x476b3d
push str.os.length____int_sizeof_ret__session_id_
push 0x1ca
push str.._ssl_ssl_asn1.c
call fcn.0040b290
add esp, 0xc
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
push edx
push eax
lea ecx, [edi + 0x48]
push ecx
call fcn.0055d610
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.0044cf40
add esp, 0x18
test eax, eax
jne 0x476b80
mov dword [esp + 0x6c], 0x1cd
jmp 0x47798b
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x44]
add dword [esp + 0x5c], eax
mov eax, dword [esp + 0x24]
cmp eax, 0x30
jle 0x476b9e
mov dword [edi + 0x10], 0x30
jmp 0x476ba1
mov dword [edi + 0x10], eax
mov ecx, dword [edi + 0x10]
mov edx, dword [esp + 0x2c]
push ecx
push edx
lea eax, [edi + 0x14]
push eax
call fcn.0055d610
xor eax, eax
add esp, 0xc
mov dword [esp + 0x24], eax
cmp dword [esp + 0x5c], ebp
je 0x476c35
mov esi, dword [esp + 0x44]
mov bl, byte [esi]
movzx ecx, bl
and cl, 0xdf
cmp cl, 0x80
jne 0x476c35
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.0044cf40
add esp, 0xc
test eax, eax
jne 0x476c13
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x6c], 0x1e7
mov byte [ecx], bl
jmp 0x47798b
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 0x476c35
mov dword [edi + 4], 8
jmp 0x476c38
mov dword [edi + 4], eax
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea edx, [edi + 8]
push edx
call fcn.0055d610
mov eax, dword [esp + 0x38]
add esp, 0xc
cmp eax, ebp
je 0x476c5e
push eax
call fcn.00401230
add esp, 4
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x34], ebp
cmp eax, ebp
je 0x476d40
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xa1
jne 0x476d40
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.0044c9b0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x476cb7
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x1f1
jmp 0x47798b
cmp ebx, 0x21
jne 0x476cd0
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.0044ce10
add esp, 0xc
test eax, eax
jne 0x476cf8
mov dword [esp + 0x6c], 0x1f1
jmp 0x47798b
cmp ebx, 0x21
jne 0x476d34
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.0044c530
add esp, 8
test eax, eax
jne 0x476d34
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x1f1
jmp 0x47798b
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
add dword [esp + 0x5c], edx
cmp dword [esp + 0x3c], ebp
je 0x476d69
mov eax, dword [esp + 0x10]
push eax
call fcn.0044d6a0
mov dword [edi + 0xac], eax
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00401230
add esp, 8
mov dword [esp + 0x3c], ebp
jmp 0x476d78
push ebp
call fcn.005602b2
add esp, 4
mov dword [edi + 0xac], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x34], ebp
cmp eax, ebp
je 0x476e5a
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xa2
jne 0x476e5a
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.0044c9b0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x476dd1
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x1fb
jmp 0x47798b
cmp ebx, 0x21
jne 0x476dea
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.0044ce10
add esp, 0xc
test eax, eax
jne 0x476e12
mov dword [esp + 0x6c], 0x1fb
jmp 0x47798b
cmp ebx, 0x21
jne 0x476e4e
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.0044c530
add esp, 8
test eax, eax
jne 0x476e4e
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x1fb
jmp 0x47798b
mov ecx, dword [esp + 0x64]
sub ecx, dword [esp + 0x44]
add dword [esp + 0x5c], ecx
cmp dword [esp + 0x3c], ebp
je 0x476e87
mov edx, dword [esp + 0x10]
push edx
call fcn.0044d6a0
mov dword [edi + 0xa8], eax
mov eax, dword [esp + 0x40]
push eax
call fcn.00401230
add esp, 8
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x34], ebp
jmp 0x476e91
mov dword [edi + 0xa8], 3
mov eax, dword [edi + 0x9c]
lea esi, [edi + 0x9c]
cmp eax, ebp
je 0x476eac
push eax
call fcn.0045ff50
add esp, 4
mov dword [esi], ebp
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x44]
cmp eax, ebp
je 0x476f8e
cmp byte [ecx], 0xa3
jne 0x476f8e
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.0044c9b0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x476f01
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x208
jmp 0x47798b
cmp ebx, 0x21
jne 0x476f1a
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.0045ff10
add esp, 0xc
test eax, eax
jne 0x476f3e
mov dword [esp + 0x6c], 0x208
jmp 0x47798b
cmp ebx, 0x21
jne 0x476f7a
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.0044c530
add esp, 8
test eax, eax
jne 0x476f7a
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x208
jmp 0x47798b
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
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
cmp eax, ebp
je 0x4770bd
cmp byte [ecx], 0xa4
jne 0x4770bd
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.0044c9b0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x476fe3
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x20c
jmp 0x47798b
cmp ebx, 0x21
jne 0x476ffc
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.0044cf40
add esp, 0xc
test eax, eax
jne 0x477024
mov dword [esp + 0x6c], 0x20c
jmp 0x47798b
cmp ebx, 0x21
jne 0x477060
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.0044c530
add esp, 8
test eax, eax
jne 0x477060
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x20c
jmp 0x47798b
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
add dword [esp + 0x5c], edx
cmp dword [esp + 0x2c], ebp
je 0x4770bd
mov eax, dword [esp + 0x24]
cmp eax, 0x20
jle 0x477090
mov dword [esp + 0x4c], 0x10f
mov dword [esp + 0x6c], 0x211
jmp 0x47798b
mov dword [edi + 0x68], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea edx, [edi + 0x6c]
push edx
call fcn.0055d610
mov eax, dword [esp + 0x38]
push eax
call fcn.00401230
add esp, 0x10
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], ebp
jmp 0x4770c0
mov dword [edi + 0x68], ebp
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x34], ebp
cmp eax, ebp
je 0x4771a2
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xa5
jne 0x4771a2
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.0044c9b0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x477119
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x21e
jmp 0x47798b
cmp ebx, 0x21
jne 0x477132
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.0044ce10
add esp, 0xc
test eax, eax
jne 0x47715a
mov dword [esp + 0x6c], 0x21e
jmp 0x47798b
cmp ebx, 0x21
jne 0x477196
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.0044c530
add esp, 8
test eax, eax
jne 0x477196
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x21e
jmp 0x47798b
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x44]
add dword [esp + 0x5c], eax
cmp dword [esp + 0x3c], ebp
je 0x4771cf
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0044d6a0
mov dword [edi + 0xa0], eax
mov edx, dword [esp + 0x40]
push edx
call fcn.00401230
add esp, 8
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x34], ebp
jmp 0x4771d5
mov dword [edi + 0xa0], ebp
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
cmp eax, ebp
je 0x4772e3
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xa6
jne 0x4772e3
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.0044c9b0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x477232
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x22a
jmp 0x47798b
cmp ebx, 0x21
jne 0x47724b
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.0044cf40
add esp, 0xc
test eax, eax
jne 0x477273
mov dword [esp + 0x6c], 0x22a
jmp 0x47798b
cmp ebx, 0x21
jne 0x4772af
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.0044c530
add esp, 8
test eax, eax
jne 0x4772af
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x22a
jmp 0x47798b
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x5c], edx
cmp eax, ebp
je 0x4772e3
mov ecx, dword [esp + 0x24]
push ecx
push eax
call fcn.004227a0
mov dword [edi + 0xd0], eax
mov edx, dword [esp + 0x34]
push edx
call fcn.00401230
add esp, 0xc
jmp 0x4772e9
mov dword [edi + 0xd0], ebp
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
cmp eax, ebp
je 0x4773f7
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xa7
jne 0x4773f7
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.0044c9b0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x477346
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x237
jmp 0x47798b
cmp ebx, 0x21
jne 0x47735f
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.0044cf40
add esp, 0xc
test eax, eax
jne 0x477387
mov dword [esp + 0x6c], 0x237
jmp 0x47798b
cmp ebx, 0x21
jne 0x4773c3
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.0044c530
add esp, 8
test eax, eax
jne 0x4773c3
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x237
jmp 0x47798b
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x5c], edx
cmp eax, ebp
je 0x4773f7
mov ecx, dword [esp + 0x24]
push ecx
push eax
call fcn.004227a0
mov dword [edi + 0x8c], eax
mov edx, dword [esp + 0x34]
push edx
call fcn.00401230
add esp, 0xc
jmp 0x4773fd
mov dword [edi + 0x8c], ebp
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
cmp eax, ebp
je 0x477513
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xa8
jne 0x477513
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.0044c9b0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x47745a
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x242
jmp 0x47798b
cmp ebx, 0x21
jne 0x477473
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.0044cf40
add esp, 0xc
test eax, eax
jne 0x47749b
mov dword [esp + 0x6c], 0x242
jmp 0x47798b
cmp ebx, 0x21
jne 0x4774d7
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.0044c530
add esp, 8
test eax, eax
jne 0x4774d7
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x242
jmp 0x47798b
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x5c], edx
cmp eax, ebp
je 0x477513
mov ecx, dword [esp + 0x24]
push ecx
push eax
call fcn.004227a0
mov dword [edi + 0x90], eax
mov edx, dword [esp + 0x34]
push edx
call fcn.00401230
add esp, 0xc
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], ebp
jmp 0x477519
mov dword [edi + 0x90], ebp
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x34], ebp
cmp eax, ebp
je 0x4775fb
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xa9
jne 0x4775fb
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.0044c9b0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x477572
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x24e
jmp 0x47798b
cmp ebx, 0x21
jne 0x47758b
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.0044ce10
add esp, 0xc
test eax, eax
jne 0x4775b3
mov dword [esp + 0x6c], 0x24e
jmp 0x47798b
cmp ebx, 0x21
jne 0x4775ef
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.0044c530
add esp, 8
test eax, eax
jne 0x4775ef
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x24e
jmp 0x47798b
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
add dword [esp + 0x5c], edx
cmp dword [esp + 0x3c], ebp
je 0x477628
mov eax, dword [esp + 0x10]
push eax
call fcn.0044d6a0
mov dword [edi + 0xec], eax
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00401230
add esp, 8
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x34], ebp
jmp 0x477647
cmp dword [edi + 0xe8], ebp
je 0x477641
cmp dword [edi + 0x44], ebp
je 0x477641
mov dword [edi + 0xec], 0xffffffff
jmp 0x477647
mov dword [edi + 0xec], ebp
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
cmp eax, ebp
je 0x477747
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xaa
jne 0x477747
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.0044c9b0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x4776a4
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x25a
jmp 0x47798b
cmp ebx, 0x21
jne 0x4776bd
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.0044cf40
add esp, 0xc
test eax, eax
jne 0x4776e5
mov dword [esp + 0x6c], 0x25a
jmp 0x47798b
cmp ebx, 0x21
jne 0x477721
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.0044c530
add esp, 8
test eax, eax
jne 0x477721
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x25a
jmp 0x47798b
mov ecx, dword [esp + 0x64]
sub ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x5c], ecx
cmp eax, ebp
je 0x477747
mov dword [edi + 0xe4], eax
mov edx, dword [esp + 0x24]
mov dword [edi + 0xe8], edx
jmp 0x47774d
mov dword [edi + 0xe4], ebp
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
cmp eax, ebp
je 0x477861
cmp byte [ecx], 0xab
jne 0x477861
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.0044c9b0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x4777aa
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x266
jmp 0x47798b
cmp ebx, 0x21
jne 0x4777c3
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.0044cf40
add esp, 0xc
test eax, eax
jne 0x4777eb
mov dword [esp + 0x6c], 0x266
jmp 0x47798b
cmp ebx, 0x21
jne 0x477827
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.0044c530
add esp, 8
test eax, eax
jne 0x477827
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x266
jmp 0x47798b
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x5c]
sub edx, ecx
add eax, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x5c], eax
cmp edx, ebp
je 0x477861
movzx eax, byte [edx]
mov dword [edi + 0xb0], eax
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00401230
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x48]
add esp, 4
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
cmp eax, ebp
je 0x47796c
cmp byte [ecx], 0xac
jne 0x47796c
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.0044c9b0
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x4778b6
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x271
jmp 0x47798b
cmp ebx, 0x21
jne 0x4778cf
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.0044cf40
add esp, 0xc
test eax, eax
jne 0x4778f7
mov dword [esp + 0x6c], 0x271
jmp 0x47798b
cmp ebx, 0x21
jne 0x477930
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.0044c530
add esp, 8
test eax, eax
jne 0x477930
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x271
jmp 0x47798b
mov ecx, dword [esp + 0x64]
sub ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x5c], ecx
cmp eax, ebp
je 0x47796c
mov edx, dword [esp + 0x24]
push edx
push eax
call fcn.004227a0
mov dword [edi + 0xf0], eax
mov eax, dword [esp + 0x34]
push eax
call fcn.00401230
add esp, 0xc
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], ebp
jmp 0x477972
mov dword [edi + 0xf0], ebp
lea ecx, [esp + 0x44]
push ecx
call fcn.0044c6c0
add esp, 4
test eax, eax
jne 0x4779df
mov dword [esp + 0x6c], 0x27b
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.004082b0
mov ecx, dword [esp + 0x8c]
mov eax, dword [ecx]
mov edx, dword [esp + 0x78]
sub edx, eax
push edx
push eax
call fcn.0044c930
add esp, 0x1c
cmp edi, ebp
je 0x4779d5
mov eax, dword [esp + 0x74]
cmp eax, ebp
je 0x4779cc
cmp dword [eax], edi
je 0x4779d5
push edi
call fcn.00453090
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x60
ret
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x78]
mov dword [ecx], eax
mov eax, dword [esp + 0x74]
cmp eax, ebp
je 0x4779f3
mov dword [eax], edi
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret