Function at 0x554498
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5fde39
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x6b9a04]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
lea esi, [edi + 0xb4]
mov eax, esi
call fcn.004302da
push eax
mov eax, esi
call fcn.00436615
mov edi, dword [edi + 0x88]
mov ebx, dword [edi + 0xc]
mov dword [esp + 0x24], eax
xor eax, eax
lea esi, [esp + 0x30]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
call fcn.005612ed
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x88]
jmp 0x5545f3
lea esi, [esp + 0x28]
call fcn.004d7920
mov ecx, dword [esp + 0x24]
cmp dword [eax], ecx
jne 0x5545e0
call fcn.004d7920
cmp dword [eax + 0x1c], 0x10
jb 0x554547
mov eax, dword [eax + 8]
jmp 0x55454a
add eax, 8
mov edi, dword [esp + 0x14]
lea ecx, [edi + 0x15c]
push eax
call fcn.004050b9
lea esi, [esp + 0x28]
call fcn.004d7920
push eax
push dword [edi + 0x88]
lea ecx, [esp + 0x40]
call fcn.00406c31
and dword [esp + 0x60], 0
cmp dword [eax + 0x18], 0x10
jb 0x554583
mov eax, dword [eax + 4]
jmp 0x554586
add eax, 4
lea ecx, [edi + 0x160]
push eax
call fcn.004050b9
or dword [esp + 0x60], 0xffffffff
xor ebx, ebx
push 0
inc ebx
push ebx
lea ecx, [esp + 0x40]
call fcn.004055c2
lea esi, [esp + 0x28]
call fcn.004d7920
cmp dword [eax + 0x24], 0
jne 0x5545b9
mov dword [esp + 0x18], ebx
lea esi, [esp + 0x28]
call fcn.004d7920
cmp dword [eax + 0x24], ebx
jne 0x5545cb
mov dword [esp + 0x1c], ebx
lea esi, [esp + 0x28]
call fcn.004d7920
cmp dword [eax + 0x24], 2
jne 0x5545e4
mov dword [esp + 0x20], ebx
jmp 0x5545e4
mov edi, dword [esp + 0x14]
lea esi, [esp + 0x28]
call fcn.00406df6
mov edi, dword [edi + 0x88]
mov ebx, dword [edi + 0x10]
lea esi, [esp + 0x30]
call fcn.005612ed
mov edi, esi
lea esi, [esp + 0x28]
call fcn.00547a3d
test al, al
jne 0x554522
mov eax, dword [esp + 0x14]
add eax, 0x108
call fcn.00414a88
cmp dword [esp + 0x18], 0
mov esi, dword [0x63482c]
mov ebx, 0x14a
lea edi, [ebx + 7]
je 0x55467c
mov eax, dword [esp + 0x14]
add eax, 0x108
call fcn.00436446
push str.No_SSL
push eax
mov eax, dword [esp + 0x1c]
push ebx
push dword [eax + 0x128]
call esi
push 0
push eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
push edi
push dword [eax + 0x128]
call esi
mov eax, dword [esp + 0x14]
push dword [esp + 0x24]
add eax, 0x108
call fcn.004302ed
cmp dword [esp + 0x1c], 0
je 0x5546ca
mov eax, dword [esp + 0x14]
add eax, 0x108
call fcn.00436446
push str.SSL_TLS
push eax
mov eax, dword [esp + 0x1c]
push ebx
push dword [eax + 0x128]
call esi
push 1
push eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
push edi
push dword [eax + 0x128]
call esi
mov eax, dword [esp + 0x14]
push dword [esp + 0x24]
add eax, 0x108
call fcn.004302ed
cmp dword [esp + 0x20], 0
je 0x554713
mov eax, dword [esp + 0x14]
add eax, 0x108
call fcn.00436446
push str.STARTTLS
push eax
push ebx
mov ebx, dword [esp + 0x20]
push dword [ebx + 0x128]
call esi
push 2
push eax
push edi
push dword [ebx + 0x128]
mov dword [esp + 0x34], eax
call esi
push dword [esp + 0x24]
lea eax, [ebx + 0x108]
call fcn.004302ed
jmp 0x554717
mov ebx, dword [esp + 0x14]
push 0
mov ecx, ebx
call fcn.0059d00d
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret