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

Disassembly:
mov eax, 0x5c
call fcn.00480e50
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 0x56a053
mov esi, dword [ebp]
test esi, esi
jne 0x56a06b
call fcn.00556f80
mov esi, eax
test esi, esi
jne 0x56a06b
mov dword [esp + 0x68], 0x184
jmp 0x56b218
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 0x56a093
mov dword [esp + 0x5c], ecx
jmp 0x56a099
add eax, ecx
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.004c8f80
add esp, 8
test eax, eax
jne 0x56a0bc
mov dword [esp + 0x68], 0x18a
jmp 0x56b218
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.004db500
add esp, 0xc
test eax, eax
jne 0x56a0fb
mov dword [esp + 0x68], 0x18e
jmp 0x56b218
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 0x56a138
push eax
call fcn.004c4ca0
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.004db500
add esp, 0xc
test eax, eax
jne 0x56a160
mov dword [esp + 0x68], 0x196
jmp 0x56b218
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
push dword [esp + 0x70]
add dword [esp + 0x5c], eax
call fcn.004c9a20
mov edi, eax
add esp, 4
mov dword [esi], edi
mov eax, dword [esp + 0x38]
test eax, eax
je 0x56a19d
push eax
call fcn.004c4ca0
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.004db520
add esp, 0xc
test eax, eax
jne 0x56a1dc
mov dword [esp + 0x68], 0x1a1
jmp 0x56b218
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp edi, 2
jne 0x56a225
cmp dword [esp + 0x20], 3
je 0x56a209
mov dword [esp + 0x48], 0x89
mov dword [esp + 0x68], 0x1a5
jmp 0x56b218
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 0x56a280
mov eax, edi
sar eax, 8
cmp eax, 3
je 0x56a253
cmp eax, 0xfe
je 0x56a253
cmp edi, 0x100
je 0x56a253
mov dword [esp + 0x48], 0xfe
mov dword [esp + 0x68], 0x1b7
jmp 0x56b218
cmp dword [esp + 0x20], 2
je 0x56a26f
mov dword [esp + 0x48], 0x89
mov dword [esp + 0x68], 0x1b0
jmp 0x56b218
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.004db520
add esp, 0xc
test eax, eax
jne 0x56a2c4
mov dword [esp + 0x68], 0x1be
jmp 0x56b218
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 0x56a308
push str.os.length____int_sizeof_ret__session_id_
push 0x1ca
push str.._ssl_ssl_asn1.c
call fcn.004da4a0
mov eax, dword [esp + 0x2c]
add esp, 0xc
push eax
push dword [esp + 0x2c]
lea eax, [esi + 0x48]
push eax
call fcn.0045f440
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.004db520
add esp, 0x18
test eax, eax
jne 0x56a345
mov dword [esp + 0x68], 0x1cd
jmp 0x56b218
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x20]
cmp eax, 0x30
jle 0x56a363
mov dword [esi + 0x10], 0x30
jmp 0x56a366
mov dword [esi + 0x10], eax
push dword [esi + 0x10]
lea eax, [esi + 0x14]
push dword [esp + 0x2c]
push eax
call fcn.0045f440
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x58], ecx
je 0x56a3f2
mov edx, dword [esp + 0x40]
mov bl, byte [edx]
mov al, bl
and al, 0xdf
cmp al, 0x80
jne 0x56a3f2
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.004db520
add esp, 0xc
test eax, eax
jne 0x56a3d0
mov eax, dword [esp + 0x60]
mov dword [esp + 0x68], 0x1e7
mov byte [eax], bl
jmp 0x56b218
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 0x56a3f2
mov dword [esi + 4], 8
jmp 0x56a3f5
mov dword [esi + 4], ecx
push dword [esi + 4]
lea eax, [esi + 8]
push dword [esp + 0x2c]
push eax
call fcn.0045f440
mov eax, dword [esp + 0x34]
add esp, 0xc
test eax, eax
je 0x56a419
push eax
call fcn.004c4ca0
add esp, 4
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x56a502
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa1
jne 0x56a502
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.004c8c90
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x56a476
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x1f1
jmp 0x56b218
cmp ebx, 0x21
jne 0x56a492
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 0x56a496
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004db500
add esp, 0xc
test eax, eax
jne 0x56a4ba
mov dword [esp + 0x68], 0x1f1
jmp 0x56b218
cmp ebx, 0x21
jne 0x56a4f6
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.004c8c60
add esp, 8
test eax, eax
jne 0x56a4f6
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x1f1
jmp 0x56b218
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x56a52e
push dword [esp + 0x70]
call fcn.004c9a20
mov dword [esi + 0xac], eax
push dword [esp + 0x3c]
call fcn.004c4ca0
add esp, 8
mov dword [esp + 0x38], 0
jmp 0x56a53e
push 0
call fcn.00462b87
add esp, 4
mov dword [esi + 0xac], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x56a627
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa2
jne 0x56a627
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.004c8c90
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x56a59b
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x1fb
jmp 0x56b218
cmp ebx, 0x21
jne 0x56a5b7
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 0x56a5bb
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004db500
add esp, 0xc
test eax, eax
jne 0x56a5df
mov dword [esp + 0x68], 0x1fb
jmp 0x56b218
cmp ebx, 0x21
jne 0x56a61b
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.004c8c60
add esp, 8
test eax, eax
jne 0x56a61b
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x1fb
jmp 0x56b218
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x56a65b
push dword [esp + 0x70]
call fcn.004c9a20
mov dword [esi + 0xa8], eax
push dword [esp + 0x3c]
call fcn.004c4ca0
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x56a665
mov dword [esi + 0xa8], 3
mov eax, dword [esi + 0x9c]
lea edi, [esi + 0x9c]
test eax, eax
je 0x56a684
push eax
call fcn.004ce840
add esp, 4
mov dword [edi], 0
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x40]
test ecx, ecx
je 0x56a769
cmp byte [edx], 0xa3
jne 0x56a769
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.004c8c90
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x56a6d9
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x208
jmp 0x56b218
cmp ebx, 0x21
jne 0x56a6f5
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 0x56a6f9
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
push edi
call fcn.004ce8d0
add esp, 0xc
test eax, eax
jne 0x56a719
mov dword [esp + 0x68], 0x208
jmp 0x56b218
cmp ebx, 0x21
jne 0x56a755
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.004c8c60
add esp, 8
test eax, eax
jne 0x56a755
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x208
jmp 0x56b218
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 0x56a8c3
cmp byte [edx], 0xa4
jne 0x56a8c3
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.004c8c90
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x56a7c6
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x20c
jmp 0x56b218
cmp ebx, 0x21
jne 0x56a7e2
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 0x56a7e6
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004db520
add esp, 0xc
test eax, eax
jne 0x56a80a
mov dword [esp + 0x68], 0x20c
jmp 0x56b218
cmp ebx, 0x21
jne 0x56a846
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.004c8c60
add esp, 8
test eax, eax
jne 0x56a846
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x20c
jmp 0x56b218
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x56a8c3
mov ecx, dword [esp + 0x20]
cmp ecx, 0x20
jle 0x56a891
push eax
mov dword [esp + 0x4c], 0x10f
mov dword [esp + 0x6c], 0x211
call fcn.004c4ca0
add esp, 4
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x56b218
mov dword [esi + 0x68], ecx
lea eax, [esi + 0x6c]
push dword [esp + 0x20]
push dword [esp + 0x2c]
push eax
call fcn.0045f440
push dword [esp + 0x34]
call fcn.004c4ca0
add esp, 0x10
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x56a8ca
mov dword [esi + 0x68], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x56a9b3
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa5
jne 0x56a9b3
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.004c8c90
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x56a927
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x221
jmp 0x56b218
cmp ebx, 0x21
jne 0x56a943
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 0x56a947
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004db500
add esp, 0xc
test eax, eax
jne 0x56a96b
mov dword [esp + 0x68], 0x221
jmp 0x56b218
cmp ebx, 0x21
jne 0x56a9a7
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.004c8c60
add esp, 8
test eax, eax
jne 0x56a9a7
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x221
jmp 0x56b218
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x56a9e7
push dword [esp + 0x70]
call fcn.004c9a20
mov dword [esi + 0xa0], eax
push dword [esp + 0x3c]
call fcn.004c4ca0
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x56a9f1
mov dword [esi + 0xa0], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test eax, eax
je 0x56ab08
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa6
jne 0x56ab08
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.004c8c90
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x56aa56
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x22d
jmp 0x56b218
cmp ebx, 0x21
jne 0x56aa72
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 0x56aa76
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004db520
add esp, 0xc
test eax, eax
jne 0x56aa9a
mov dword [esp + 0x68], 0x22d
jmp 0x56b218
cmp ebx, 0x21
jne 0x56aad6
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.004c8c60
add esp, 8
test eax, eax
jne 0x56aad6
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x22d
jmp 0x56b218
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x56ab08
push dword [esp + 0x20]
push eax
call fcn.004d90e0
mov dword [esi + 0xd0], eax
push dword [esp + 0x30]
call fcn.004c4ca0
add esp, 0xc
jmp 0x56ab12
mov dword [esi + 0xd0], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test eax, eax
je 0x56ac29
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa7
jne 0x56ac29
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.004c8c90
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x56ab77
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x23a
jmp 0x56b218
cmp ebx, 0x21
jne 0x56ab93
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 0x56ab97
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004db520
add esp, 0xc
test eax, eax
jne 0x56abbb
mov dword [esp + 0x68], 0x23a
jmp 0x56b218
cmp ebx, 0x21
jne 0x56abf7
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.004c8c60
add esp, 8
test eax, eax
jne 0x56abf7
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x23a
jmp 0x56b218
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x56ac29
push dword [esp + 0x20]
push eax
call fcn.004d90e0
mov dword [esi + 0x8c], eax
push dword [esp + 0x30]
call fcn.004c4ca0
add esp, 0xc
jmp 0x56ac33
mov dword [esi + 0x8c], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test eax, eax
je 0x56ad5a
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa8
jne 0x56ad5a
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.004c8c90
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x56ac98
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x245
jmp 0x56b218
cmp ebx, 0x21
jne 0x56acb4
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 0x56acb8
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004db520
add esp, 0xc
test eax, eax
jne 0x56acdc
mov dword [esp + 0x68], 0x245
jmp 0x56b218
cmp ebx, 0x21
jne 0x56ad18
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.004c8c60
add esp, 8
test eax, eax
jne 0x56ad18
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x245
jmp 0x56b218
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x56ad5a
push dword [esp + 0x20]
push eax
call fcn.004d90e0
mov dword [esi + 0x90], eax
push dword [esp + 0x30]
call fcn.004c4ca0
add esp, 0xc
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x56ad64
mov dword [esi + 0x90], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x56ae4d
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa9
jne 0x56ae4d
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.004c8c90
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x56adc1
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x251
jmp 0x56b218
cmp ebx, 0x21
jne 0x56addd
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 0x56ade1
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004db500
add esp, 0xc
test eax, eax
jne 0x56ae05
mov dword [esp + 0x68], 0x251
jmp 0x56b218
cmp ebx, 0x21
jne 0x56ae41
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.004c8c60
add esp, 8
test eax, eax
jne 0x56ae41
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x251
jmp 0x56b218
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x56ae81
push dword [esp + 0x70]
call fcn.004c9a20
mov dword [esi + 0xec], eax
push dword [esp + 0x3c]
call fcn.004c4ca0
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x56aea6
cmp dword [esi + 0xe8], 0
je 0x56ae9c
cmp dword [esi + 0x44], 0
je 0x56ae9c
mov dword [esi + 0xec], 0xffffffff
jmp 0x56aea6
mov dword [esi + 0xec], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test eax, eax
je 0x56afb1
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xaa
jne 0x56afb1
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.004c8c90
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x56af0b
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x25d
jmp 0x56b218
cmp ebx, 0x21
jne 0x56af27
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 0x56af2b
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004db520
add esp, 0xc
test eax, eax
jne 0x56af4f
mov dword [esp + 0x68], 0x25d
jmp 0x56b218
cmp ebx, 0x21
jne 0x56af8b
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.004c8c60
add esp, 8
test eax, eax
jne 0x56af8b
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x25d
jmp 0x56b218
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x56afb1
mov dword [esi + 0xe4], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0xe8], eax
jmp 0x56afbb
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 0x56b0d9
cmp byte [edx], 0xab
jne 0x56b0d9
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.004c8c90
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x56b020
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x269
jmp 0x56b218
cmp ebx, 0x21
jne 0x56b03c
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 0x56b040
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004db520
add esp, 0xc
test eax, eax
jne 0x56b064
mov dword [esp + 0x68], 0x269
jmp 0x56b218
cmp ebx, 0x21
jne 0x56b0a0
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.004c8c60
add esp, 8
test eax, eax
jne 0x56b0a0
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x269
jmp 0x56b218
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 0x56b0d9
movzx eax, byte [eax]
mov dword [esi + 0xb0], eax
push dword [esp + 0x28]
call fcn.004c4ca0
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 0x56b1f5
cmp byte [edx], 0xac
jne 0x56b1f5
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.004c8c90
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x56b136
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x274
jmp 0x56b218
cmp ebx, 0x21
jne 0x56b152
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 0x56b156
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004db520
add esp, 0xc
test eax, eax
jne 0x56b17a
mov dword [esp + 0x68], 0x274
jmp 0x56b218
cmp ebx, 0x21
jne 0x56b1b3
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.004c8c60
add esp, 8
test eax, eax
jne 0x56b1b3
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x274
jmp 0x56b218
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x56b1f5
push dword [esp + 0x20]
push eax
call fcn.004d90e0
mov dword [esi + 0xf0], eax
push dword [esp + 0x30]
call fcn.004c4ca0
add esp, 0xc
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x56b1ff
mov dword [esi + 0xf0], 0
lea eax, [esp + 0x40]
push eax
call fcn.004c9080
add esp, 4
test eax, eax
jne 0x56b267
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.004d27b0
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
mov eax, dword [esp + 0x74]
sub eax, ecx
push eax
push ecx
call fcn.004c9010
add esp, 0x1c
test esi, esi
je 0x56b25d
test ebp, ebp
je 0x56b254
cmp dword [ebp], esi
je 0x56b25d
push esi
call fcn.00556d30
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 0x56b278
mov dword [ebp], esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret