Function at 0x568920
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x66154b
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ebx, ebx
cmp dword [0x75e8c8], ebx
jne 0x568995
mov eax, dword [0x75e8cc]
cmp eax, ebx
jne 0x56897c
push str.Crypt32.dll
call fcn.00447cb0
add esp, 4
mov dword [0x75e8cc], eax
cmp eax, ebx
je 0x568989
push str.CryptUnprotectData
push eax
call ebp
mov dword [0x75e8c8], eax
cmp dword [0x75e8c8], ebx
je 0x568e76
mov eax, dword [0x75e8a8]
cmp eax, ebx
je 0x568e76
cmp dword [0x75e8ac], ebx
je 0x568e76
cmp dword [0x75e8b4], ebx
je 0x568e76
cmp dword [0x75e8b0], ebx
je 0x568e76
mov edx, dword [esp + 0xb0]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0xb0]
push ebx
push edx
mov edx, dword [esp + 0xb4]
push ecx
push str.encrypted_value
push str.cookies
push str.main
push edx
mov dword [esp + 0x38], ebx
call eax
add esp, 0x20
cmp eax, ebx
jne 0x568e68
mov eax, dword [esp + 0x18]
push eax
call dword [0x75e8b0]
mov esi, eax
add esp, 4
cmp esi, ebx
jle 0x568e68
push esi
call fcn.005f4e47
mov edi, eax
add esp, 4
mov dword [esp + 0x34], edi
cmp edi, ebx
je 0x568e68
mov ecx, dword [esp + 0x18]
push ebx
push esi
push edi
push ecx
call dword [0x75e8b4]
add esp, 0x10
test eax, eax
jne 0x568e5f
cmp byte [edi], 0x76
jne 0x568de4
cmp byte [edi + 1], 0x31
jne 0x568de4
cmp byte [edi + 2], 0x30
jne 0x568de4
cmp dword [0x75e8dc], ebx
je 0x568a95
cmp dword [0x75e8d0], ebx
je 0x568a95
cmp dword [0x75e8d4], ebx
je 0x568a95
cmp dword [0x75e8e8], ebx
je 0x568a95
cmp dword [0x75e8d8], ebx
jne 0x568b31
mov eax, dword [0x75e8ec]
cmp eax, ebx
jne 0x568ab4
push str.Bcrypt.dll
call fcn.00447cb0
add esp, 4
mov dword [0x75e8ec], eax
cmp eax, ebx
je 0x568b31
push str.BCryptOpenAlgorithmProvider
push eax
call ebp
mov edx, dword [0x75e8ec]
push str.BCryptSetProperty
push edx
mov dword [0x75e8d0], eax
call ebp
mov dword [0x75e8d4], eax
mov eax, dword [0x75e8ec]
push str.BCryptGenerateSymmetricKey
push eax
call ebp
mov ecx, dword [0x75e8ec]
push str.BCryptDecrypt
push ecx
mov dword [0x75e8d8], eax
call ebp
mov edx, dword [0x75e8ec]
push str.BCryptCloseAlgorithmProvider
push edx
mov dword [0x75e8dc], eax
call ebp
mov dword [0x75e8e0], eax
mov eax, dword [0x75e8ec]
push str.BCryptDestroyKey
push eax
call ebp
mov ecx, dword [0x75e8ec]
push str.BCryptGetProperty
push ecx
mov dword [0x75e8e4], eax
call ebp
mov dword [0x75e8e8], eax
lea ecx, [esp + 0x1c]
call fcn.004024f0
mov dword [esp + 0xa0], ebx
cmp dword [0x75e8c4], ebx
je 0x568dce
mov eax, dword [0x75e8f8]
cmp eax, ebx
jne 0x568b5b
mov eax, 0x75e8fc
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.005687d0
add esp, 8
cmp eax, ebx
je 0x568dce
cmp dword [0x75e8dc], ebx
je 0x568dce
cmp dword [0x75e8d0], ebx
je 0x568dce
cmp dword [0x75e8d4], ebx
je 0x568dce
cmp dword [0x75e8e8], ebx
je 0x568dce
cmp dword [0x75e8d8], ebx
je 0x568dce
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x48]
push ecx
push edx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x44], ebx
call fcn.0057bd10
add esp, 0xc
test eax, eax
je 0x568dce
mov eax, dword [esp + 0x38]
cmp eax, 5
jbe 0x568dce
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x50]
push edx
push ebx
push ebx
push ebx
add eax, 0xfffffffb
push ebx
mov dword [esp + 0x50], eax
push ebx
lea eax, [esp + 0x54]
add ecx, 5
push eax
mov dword [esp + 0x5c], ecx
call dword [0x75e8c8]
test eax, eax
je 0x568dc1
push ebx
push ebx
push 0x6ae530
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
call dword [0x75e8d0]
cmp eax, ebx
jne 0x568d7c
mov edx, dword [esp + 0x14]
push ebx
push 0x20
push str.ChainingModeGCM
push str.ChainingMode
push edx
call dword [0x75e8d4]
cmp eax, ebx
jne 0x568d7c
mov edx, dword [esp + 0x14]
push ebx
lea eax, [esp + 0x50]
push eax
push 4
lea ecx, [esp + 0x2c]
push ecx
push str.ObjectLength
push edx
mov dword [esp + 0x64], ebx
call dword [0x75e8e8]
cmp eax, ebx
jne 0x568d7c
mov eax, dword [esp + 0x20]
push eax
call fcn.005f4e47
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebx
je 0x568d7c
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x20]
push ebx
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
mov eax, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x3c]
push edx
push eax
call dword [0x75e8d8]
cmp eax, ebx
jne 0x568d7c
push 0x40
lea ecx, [esp + 0x5c]
push ebx
push ecx
call fcn.00621270
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea edx, [edi + 3]
lea eax, [edi + esi - 0x10]
add esp, 0xc
lea edi, [esi - 0x1f]
lea ecx, [edi + 1]
push ecx
push ebx
mov dword [esp + 0x60], 0x40
mov dword [esp + 0x64], 1
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], 0xc
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0x10
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp esi, ebx
je 0x568d78
mov ecx, dword [esp + 0x34]
push ebx
lea edx, [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push edi
push esi
push ebx
push ebx
lea eax, [esp + 0x70]
push eax
push edi
add ecx, 0xf
push ecx
push edx
mov dword [esp + 0x54], ebx
call dword [0x75e8dc]
cmp eax, ebx
jne 0x568d6d
mov eax, dword [esp + 0xb4]
push esi
push 0x678ea8
push eax
mov byte [esi + edi], bl
call fcn.00402f60
add esp, 0xc
push esi
push ebx
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x568d9c
mov eax, dword [0x75e8e0]
cmp eax, ebx
je 0x568d9c
push ebx
push ecx
call eax
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x568db0
mov eax, dword [0x75e8e4]
cmp eax, ebx
je 0x568db0
push ecx
call eax
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x568dc1
push eax
call fcn.005f4e52
add esp, 4
mov edx, dword [esp + 0x44]
push edx
call fcn.006220cc
add esp, 4
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00402560
jmp 0x568e5f
lea eax, [esp + 0x2c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], esi
call dword [0x75e8c8]
test eax, eax
je 0x568e59
mov edx, dword [esp + 0x2c]
inc edx
push edx
call fcn.005f4e47
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x568e4c
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
push eax
push ecx
push esi
call fcn.00622730
mov eax, dword [esp + 0xc0]
mov edx, dword [esp + 0x38]
push esi
push 0x678ea8
push eax
mov byte [edx + esi], bl
call fcn.00402f60
push esi
call fcn.005f4e52
add esp, 0x1c
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x568e5f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call fcn.005f4e52
add esp, 4
mov edx, dword [esp + 0x18]
push edx
call dword [0x75e8ac]
add esp, 4
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret