Function at 0x45b9a0
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 0x58b62b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x550
mov eax, dword [0x60e9b0]
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 0x45ba2e
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x45ba2e
call fcn.00439be0
cmp dword [0x615f48], 0x800
jge 0x45ba50
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.00555b37
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 [0x6165d8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x4c4], esi
cmp esi, 0xffffffff
jne 0x45baba
push 0x400
lea eax, [ebp - 0x418]
push 0
push eax
call fcn.00559270
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.0040b760
add esp, 0x10
lea eax, [ebp - 0x418]
push eax
jmp 0x45ba2c
lea ecx, [ebp - 0x41c]
mov dword [ebp - 0x41c], 0
call fcn.00407f90
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.00406550
mov esi, dword [ebp - 0x41c]
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test edi, edi
je 0x45bd1e
push 0x88
lea eax, [ebp - 0x4b8]
push 0
push eax
call fcn.00559270
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.005628bc
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.005628bc
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.00406550
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.0045ca00
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.00406550
mov esi, dword [ebp - 0x41c]
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test edi, edi
je 0x45bd0b
mov eax, dword [ebp - 0x4c0]
cmp eax, 0x10
jb 0x45bd0b
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.00406550
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 0x45bd04
push eax
call fcn.0055c217
add esp, 4
mov edi, 1
jmp 0x45bd2d
mov eax, dword [ebp - 0x4bc]
test eax, eax
je 0x45bd1e
push eax
call fcn.0055c217
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 0x45bd4c
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
jmp 0x45ba30