Function at 0x45a1e0
Capabilities:
Print debug messages

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5894fb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x550
mov eax, dword [0x60b9b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.SetAssoc_Start_______
mov dword [ebp - 0x4c0], eax
mov dword [ebp - 0x4bc], esi
call edi
mov ecx, dword [ebp - 0x4c0]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
je 0x45a26e
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x45a26e
call fcn.00438920
cmp dword [0x612e38], 0x800
jge 0x45a290
push str.SetAssoc_OS_not_support_______
call edi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00553c8d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push dword [0x6134c8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x4c4], esi
cmp esi, 0xffffffff
jne 0x45a2fa
push 0x400
lea eax, [ebp - 0x418]
push 0
push eax
call fcn.00557410
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetAssoc_Open_Error:_d
lea eax, [ebp - 0x418]
push 0x200
push eax
call fcn.0040b740
add esp, 0x10
lea eax, [ebp - 0x418]
push eax
jmp 0x45a26c
lea ecx, [ebp - 0x41c]
mov dword [ebp - 0x41c], 0
call fcn.00407f70
push 0
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 0
push eax
push 0x10
lea eax, [ebp - 0x430]
mov dword [ebp - 0x420], 0
push eax
push 0
push 0
push 0x8000c010
xorps xmm0, xmm0
push esi
movups xmmword [ebp - 0x430], xmm0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push dword [ebp - 0x420]
mov edi, eax
lea eax, [ebp - 0x41c]
push edi
push str.SetAssoc_GetAuth:bRet_d___dwRet_d
push eax
call fcn.00406520
mov esi, dword [ebp - 0x41c]
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test edi, edi
je 0x45a55e
push 0x88
lea eax, [ebp - 0x4b8]
push 0
push eax
call fcn.00557410
mov eax, dword [ebp - 0x4bc]
add esp, 0xc
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x4b0]
push 0x20
push eax
call fcn.00560a42
mov esi, dword [ebp - 0x4c0]
mov eax, dword [esi]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x470]
push 0x20
push eax
call fcn.00560a42
mov edx, dword [ebp - 0x4bc]
lea edi, [ebp - 0x550]
movups xmm0, xmmword [ebp - 0x430]
mov ecx, 0x22
mov eax, dword [edx]
movups xmmword [ebp - 0x560], xmm0
mov eax, dword [eax - 0xc]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x4b8], eax
mov eax, dword [esi]
lea esi, [ebp - 0x4b8]
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x420], 0
lea eax, [eax*2 + 2]
mov dword [ebp - 0x4b4], eax
lea eax, [ebp - 0x41c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x4c0]
push dword [ecx]
push dword [edx]
push 0x88
push 0x10
push str.SetAssoc_Params_AuthLen:_d_UserChoiceLen:_d_Hash:_s_ProgId:_s
push eax
call fcn.00406520
add esp, 0x38
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0x4c0]
mov dword [ebp - 0x4bc], 0
push eax
lea eax, [ebp - 0x4bc]
mov dword [ebp - 0x4c0], 0
push eax
sub esp, 8
lea ecx, [ebp - 0x560]
mov edx, 0x98
call fcn.0045abb0
push dword [ebp - 0x4bc]
mov edi, eax
lea eax, [ebp - 0x41c]
push dword [ebp - 0x4c0]
push edi
push str.SetAssoc_Encrypt_Base64_Blowfish_Ret:_d_len:_d__data:_s
push eax
call fcn.00406520
mov esi, dword [ebp - 0x41c]
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test edi, edi
je 0x45a54b
mov eax, dword [ebp - 0x4c0]
cmp eax, 0x10
jb 0x45a54b
mov edi, dword [ebp - 0x4c4]
lea ecx, [ebp - 0x420]
push 0
push ecx
push 0
push 0
push eax
push dword [ebp - 0x4bc]
mov dword [ebp - 0x420], 0
push 0x8000c040
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x420]
lea eax, [ebp - 0x41c]
push dword [ebp - 0x4c0]
push esi
push str.SetAssocIOCTL_SET_USERCHOICE_bRet:_d_inputLen:_d_retLen:_d
push eax
call fcn.00406520
mov esi, dword [ebp - 0x41c]
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0x4bc]
test eax, eax
je 0x45a544
push eax
call fcn.0055a3b7
add esp, 4
mov edi, 1
jmp 0x45a56d
mov eax, dword [ebp - 0x4bc]
test eax, eax
je 0x45a55e
push eax
call fcn.0055a3b7
add esp, 4
mov edi, dword [ebp - 0x4c4]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45a58c
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
jmp 0x45a270