Function at 0x408950
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48c433
mov eax, dword fs:[0]
push eax
sub esp, 0xbfc
mov eax, dword [0x4c07e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
push 9
push str._cryptak_
call fcn.0045f7e0
push eax
call fcn.0046b620
add esp, 0xc
test eax, eax
jne 0x408b9b
push 0x29
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00466b60
add esp, 0xc
mov ecx, esi
push 0x28
call fcn.0045f7e0
add eax, 9
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0046b3d0
push 0x14
call fcn.004650ae
mov edi, eax
lea eax, [ebp - 0x3c]
push eax
push edi
call fcn.00407460
add esp, 0x18
test al, al
je 0x408b9b
push edi
call fcn.004074d0
add esp, 4
test al, al
je 0x408d37
mov ecx, dword [0x4c3118]
push 1
push str.allowcrypt
call fcn.004038d0
test eax, eax
je 0x408af3
push 0x14
lea eax, [ebp - 0x3c]
push 0x4c30ec
push eax
call fcn.0044d5a0
push 0x100
lea eax, [ebp - 0x168]
push 0
push eax
call fcn.00466b60
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x168]
push str._cryptok__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x24
lea ecx, [ebp - 0xb04]
call fcn.0045f430
lea eax, [ebp - 0x168]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xb04]
call fcn.0045f810
mov ecx, esi
call fcn.00412ae0
push eax
lea ecx, [ebp - 0xb04]
call fcn.0045f7c0
push 0x4c4e88
lea ecx, [ebp - 0xb04]
call fcn.0045f7a0
push 0x34
lea eax, [ebp - 0xbd4]
push 0
push eax
call fcn.00466b60
add esp, 0xc
lea ecx, [ebp - 0xb04]
call fcn.0045f580
mov dword [ebp - 0xba4], eax
mov dword [ebp - 0xbc0], 0x20
test eax, eax
je 0x408ae1
mov ecx, eax
call fcn.004471d0
mov ecx, dword [0x4c3114]
mov dword [ebp - 0xbbc], eax
lea eax, [ebp - 0xbd4]
push eax
call fcn.00425050
lea ecx, [ebp - 0xb04]
call fcn.0045f570
mov al, 1
jmp 0x408d1c
lea ecx, [ebp - 0xb04]
call fcn.0045f430
push str._cryptdie_denied
lea ecx, [ebp - 0xb04]
mov dword [ebp - 4], 1
call fcn.0045f810
mov ecx, esi
call fcn.00412ae0
push eax
lea ecx, [ebp - 0xb04]
call fcn.0045f7c0
push 0x4c4e88
lea ecx, [ebp - 0xb04]
call fcn.0045f7a0
push 0x34
lea eax, [ebp - 0xbd4]
push 0
push eax
call fcn.00466b60
add esp, 0xc
lea ecx, [ebp - 0xb04]
call fcn.0045f580
mov dword [ebp - 0xba4], eax
mov dword [ebp - 0xbc0], 0x20
test eax, eax
je 0x408b89
mov ecx, eax
call fcn.004471d0
mov ecx, dword [0x4c3114]
mov dword [ebp - 0xbbc], eax
lea eax, [ebp - 0xbd4]
push eax
call fcn.00425050
lea ecx, [ebp - 0xb04]
mov dword [ebp - 4], 0xffffffff
call fcn.0045f570
push 9
push str._cryptok_
mov ecx, esi
call fcn.0045f7e0
push eax
call fcn.0046b620
add esp, 0xc
test eax, eax
jne 0x408d1a
push 0x29
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00466b60
add esp, 0xc
mov ecx, esi
push 0x28
call fcn.0045f7e0
add eax, 9
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0046b3d0
push 0x14
mov byte [ebp - 0x40], 0
call fcn.004650ae
mov edi, eax
lea eax, [ebp - 0x68]
push eax
push edi
call fcn.00407460
add esp, 0x18
test al, al
je 0x408d1a
push edi
call fcn.004074d0
add esp, 4
test al, al
jne 0x408aec
push 0x400
lea eax, [ebp - 0xa68]
push 0
push eax
call fcn.00466b60
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xa68]
push str.Got_a__cryptok__with_unknown_public_key_hash:__s_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0xa68]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x100
lea eax, [ebp - 0x268]
push 0
push eax
call fcn.00466b60
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x268]
push str._cryptdie_ok__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea ecx, [ebp - 0xba0]
call fcn.0045f430
lea eax, [ebp - 0x268]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0xba0]
call fcn.0045f810
mov ecx, esi
call fcn.00412ae0
push eax
lea ecx, [ebp - 0xba0]
call fcn.0045f7c0
push 0x4c4e88
lea ecx, [ebp - 0xba0]
call fcn.0045f7a0
push 0x34
lea eax, [ebp - 0xc08]
push 0
push eax
call fcn.00466b60
add esp, 0xc
lea ecx, [ebp - 0xba0]
call fcn.0045f580
mov dword [ebp - 0xbd8], eax
mov dword [ebp - 0xbf4], 0x20
test eax, eax
je 0x408d0f
mov ecx, eax
call fcn.004471d0
mov ecx, dword [0x4c3114]
mov dword [ebp - 0xbf0], eax
lea eax, [ebp - 0xc08]
push eax
call fcn.00425050
lea ecx, [ebp - 0xba0]
call fcn.0045f570
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00464e2f
mov esp, ebp
pop ebp
ret
push 0x400
lea eax, [ebp - 0x668]
push 0
push eax
call fcn.00466b60
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x668]
push str.Got_a__cryptak__with_unknown_public_key_hash:__s_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x668]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x100
lea eax, [ebp - 0x168]
push 0
push eax
call fcn.00466b60
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x168]
push str._cryptdie_ak__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea ecx, [ebp - 0xb04]
call fcn.0045f430
lea eax, [ebp - 0x168]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0xb04]
call fcn.0045f810
mov ecx, esi
call fcn.00412ae0
push eax
lea ecx, [ebp - 0xb04]
call fcn.0045f7c0
push 0x4c4e88
lea ecx, [ebp - 0xb04]
call fcn.0045f7a0
push 0x34
lea eax, [ebp - 0xbd4]
push 0
push eax
call fcn.00466b60
add esp, 0xc
lea ecx, [ebp - 0xb04]
call fcn.0045f580
mov dword [ebp - 0xba4], eax
mov dword [ebp - 0xbc0], 0x20
test eax, eax
je 0x408e34
mov ecx, eax
call fcn.004471d0
mov ecx, dword [0x4c3114]
mov dword [ebp - 0xbbc], eax
lea eax, [ebp - 0xbd4]
push eax
call fcn.00425050
lea ecx, [ebp - 0xb04]
jmp 0x408d15