Function at 0x408820
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x438230
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x45000c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x80], 0
jne 0x408869
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push ecx
mov eax, esp
mov byte [ebp - 0xe], 0
push ecx
push eax
mov byte [ebp - 0xf], 0
mov byte [ebp - 0x10], 0
mov byte [ebp - 0xd], 0
call fcn.00408e70
lea eax, [ebp - 0x20]
push eax
call fcn.00408f30
push ecx
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
call fcn.00408ed0
push ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
push dword [ebp - 0x24]
call fcn.004096b0
call fcn.00401770
mov ecx, eax
test ecx, ecx
jne 0x4088c2
push 0x80004005
call fcn.004043d0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
call fcn.00408de0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4088ef
push 0x80004005
call fcn.004043d0
mov ecx, dword [ebp - 0x20]
mov edx, ecx
mov si, word [edx]
cmp si, word [eax]
jne 0x40891a
test si, si
je 0x408916
mov si, word [edx + 2]
cmp si, word [eax + 2]
jne 0x40891a
add edx, 4
add eax, 4
test si, si
jne 0x4088f4
xor eax, eax
jmp 0x40891f
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x4089db
push 0
push ecx
lea eax, [ebp - 0x18]
push str.CAssociationControl_strNow___s_suffix___d_r_n
push eax
call fcn.00406920
mov esi, dword [ebp - 0x18]
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor bl, bl
mov byte [ebp - 4], 2
or edi, 0xffffffff
mov edx, dword [ebp - 0x1c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40896d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x408988
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4089a6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x4089c5
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0xd]
push eax
lea eax, [ebp - 0xf]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xe]
push eax
push ecx
mov esi, esp
add ecx, 0xfffffff0
mov dword [ebp - 0x28], esi
call fcn.00407610
add eax, 0x10
push ecx
mov ecx, edi
mov dword [esi], eax
call fcn.00408b00
mov bl, byte [ebp - 0xd]
mov bh, byte [ebp - 0x10]
push 0
movzx eax, bl
push eax
movzx eax, byte [ebp - 0xf]
push eax
movzx eax, bh
push eax
movzx eax, byte [ebp - 0xe]
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
push str.CAssociationControl_1_strNow___s_bMatchTypeChoice___d_bBaseChoiceC___d__bBaseChoice___d_bOurProduct___d_suffix___d_r_n
push eax
call fcn.00406920
mov esi, dword [ebp - 0x18]
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bl, bl
jne 0x408a49
mov bl, 1
jmp 0x40894c
test bh, bh
jne 0x40894a
push 0
lea eax, [ebp - 0x10]
mov byte [ebp - 0xd], bh
push eax
lea eax, [ebp - 0x11]
mov byte [ebp - 0x10], bh
push eax
lea eax, [ebp - 0xd]
mov byte [ebp - 0x11], bh
push eax
push ecx
mov ecx, dword [ebp - 0x1c]
mov esi, esp
add ecx, 0xfffffff0
mov dword [ebp - 0x28], esi
call fcn.00407610
add eax, 0x10
push ecx
mov ecx, edi
mov dword [esi], eax
call fcn.00408b00
mov bh, byte [ebp - 0x10]
mov bl, byte [ebp - 0x11]
push 0
movzx eax, bh
push eax
movzx eax, bl
push eax
movzx eax, byte [ebp - 0xd]
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push str.CAssociationControl_2_strWantSet___s_bMatchTypeChoice___d_bBaseChoiceC___d__bBaseChoice___d_suffix___d_r_n
push eax
call fcn.00406920
mov esi, dword [ebp - 0x18]
add esp, 0x1c
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bl, bl
je 0x408ac4
mov bl, 1
jmp 0x40894c
cmp byte [ebp - 0xe], 0
je 0x408aed
cmp byte [ebp - 0xd], 0
je 0x40894a
cmp byte [ebp - 0xf], 0
jne 0x40894a
test bh, bh
je 0x40894a
mov bl, 1
jmp 0x40894c
cmp byte [ebp - 0xd], 0
je 0x408ad4
mov bl, 1
jmp 0x40894c