Function at 0x509420
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2f57
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
mov ecx, dword [ebp + 8]
call fcn.0050a2f0
test eax, eax
jne 0x509451
xor eax, eax
jmp 0x50972c
mov ecx, dword [ebp + 8]
call fcn.0050a050
mov byte [ebp - 0x10], al
mov ecx, dword [ebp + 8]
call fcn.0050a050
movsx eax, byte [ebp - 0x10]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
sub ecx, 0x42
mov dword [ebp - 0x58], ecx
cmp dword [ebp - 0x58], 0x16
ja case.0x509489.7
mov eax, dword [ebp - 0x58]
xor edx, edx
mov dl, byte [eax + 0x50975a]
jmp dword [edx*4 + 0x50973a]
push 0x6c
call fcn.00403600
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x5094bc
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.005198ea
mov dword [ebp - 0x5c], eax
jmp 0x5094c3
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
jmp 0x50972c
push 0x2c
call fcn.00403600
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x20], 0
je 0x509504
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x20]
call fcn.00519dd0
mov dword [ebp - 0x60], eax
jmp 0x50950b
mov dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
jmp 0x50972c
push 0x2c
call fcn.00403600
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x28], 0
je 0x50954c
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x28]
call fcn.0051c625
mov dword [ebp - 0x64], eax
jmp 0x509553
mov dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
jmp 0x50972c
push 0x28
call fcn.00403600
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 3
cmp dword [ebp - 0x30], 0
je 0x509594
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x30]
call fcn.0051c83d
mov dword [ebp - 0x68], eax
jmp 0x50959b
mov dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
jmp 0x50972c
push 0x28
call fcn.00403600
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 4
cmp dword [ebp - 0x38], 0
je 0x5095dc
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x38]
call fcn.0051e27d
mov dword [ebp - 0x6c], eax
jmp 0x5095e3
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
jmp 0x50972c
push 0x34
call fcn.00403600
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 5
cmp dword [ebp - 0x40], 0
je 0x509624
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x40]
call fcn.0051fc1d
mov dword [ebp - 0x70], eax
jmp 0x50962b
mov dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x3c]
jmp 0x50972c
push 0x28
call fcn.00403600
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 6
cmp dword [ebp - 0x48], 0
je 0x50966c
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x48]
call fcn.0051e45d
mov dword [ebp - 0x74], eax
jmp 0x509673
mov dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
jmp 0x50972c
push 0x5f8e84
mov cl, byte [ebp - 0x10]
push ecx
push str.Unrecognized_display_op_code:
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x7c], edx
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x50]
push ecx
call sub.MFC42.DLL_operator_3
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x84], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x84]
push eax
lea ecx, [ebp - 0x54]
push ecx
call sub.MFC42.DLL_operator
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], edx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x8c]
call fcn.00403d90
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x54]
call fcn.0058df86
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x50]
call fcn.0058df86
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.0058df86
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret