Function at 0x506420
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0258
mov eax, dword fs:[0]
push eax
mov eax, 0x10c0
call fcn.00589140
mov eax, dword [0x6aae20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0x27
jne 0x506464
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0x27
je 0x50647a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
cmp ecx, dword [eax + 8]
jge 0x50647f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 4]
jge 0x50647f
jmp 0x506945
push 1
mov eax, dword [ebp + 8]
add eax, 0xc
push eax
lea ecx, [ebp - 0x18]
call fcn.00510650
mov dword [ebp - 4], 0
mov byte [ebp - 0x58], 0
push 0x3f
push 0
lea eax, [ebp - 0x57]
push eax
call fcn.00588eb0
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
call fcn.00517bb0
add esp, 4
lea eax, [ebp - 0x60]
push eax
call fcn.0055fd60
add esp, 4
push eax
push 0x6704f0
push 0x40
lea ecx, [ebp - 0x58]
push ecx
call fcn.00589fe7
add esp, 0x10
mov byte [ebp - 0x1060], 0
push 0xfff
push 0
lea eax, [ebp - 0x105f]
push eax
call fcn.00588eb0
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x58]
push ecx
push str.__s____s__n
lea edx, [ebp - 0x1060]
push edx
call fcn.0058906d
add esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
cmp ecx, dword [eax + 8]
jl 0x506528
lea eax, [ebp - 0x1060]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 4]
jl 0x50653c
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0x27
jne 0x506550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00510690
jmp 0x506945
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 4]
jl 0x50692d
cmp dword [ebp + 0x10], 0x19
jne 0x5065b9
push 0x65b2d4
mov eax, dword [ebp + 8]
add eax, 0x6024
push eax
call fcn.00589056
add esp, 8
mov dword [ebp - 0x1064], eax
cmp dword [ebp - 0x1064], 0
je 0x5065b4
lea eax, [ebp - 0x1060]
push eax
push 0x648304
mov ecx, dword [ebp - 0x1064]
push ecx
call fcn.0058d27f
add esp, 0xc
mov eax, dword [ebp - 0x1064]
push eax
call fcn.00588a65
add esp, 4
jmp 0x50692d
cmp dword [ebp + 0x10], 4
jne 0x506613
push 0x65b2d4
mov eax, dword [ebp + 8]
add eax, 0x1024
push eax
call fcn.00589056
add esp, 8
mov dword [ebp - 0x1068], eax
cmp dword [ebp - 0x1068], 0
je 0x50660e
lea eax, [ebp - 0x1060]
push eax
push 0x648304
mov ecx, dword [ebp - 0x1068]
push ecx
call fcn.0058d27f
add esp, 0xc
mov eax, dword [ebp - 0x1068]
push eax
call fcn.00588a65
add esp, 4
jmp 0x50692d
cmp dword [ebp + 0x10], 9
jne 0x50666d
push 0x65b2d4
mov eax, dword [ebp + 8]
add eax, 0x7024
push eax
call fcn.00589056
add esp, 8
mov dword [ebp - 0x106c], eax
cmp dword [ebp - 0x106c], 0
je 0x506668
lea eax, [ebp - 0x1060]
push eax
push 0x648304
mov ecx, dword [ebp - 0x106c]
push ecx
call fcn.0058d27f
add esp, 0xc
mov eax, dword [ebp - 0x106c]
push eax
call fcn.00588a65
add esp, 4
jmp 0x50692d
cmp dword [ebp + 0x10], 0x26
jne 0x5066c7
push 0x65b2d4
mov eax, dword [ebp + 8]
add eax, 0x2024
push eax
call fcn.00589056
add esp, 8
mov dword [ebp - 0x1070], eax
cmp dword [ebp - 0x1070], 0
je 0x5066c2
lea eax, [ebp - 0x1060]
push eax
push 0x648304
mov ecx, dword [ebp - 0x1070]
push ecx
call fcn.0058d27f
add esp, 0xc
mov eax, dword [ebp - 0x1070]
push eax
call fcn.00588a65
add esp, 4
jmp 0x50692d
cmp dword [ebp + 0x10], 0x25
jne 0x506721
push 0x65b2d4
mov eax, dword [ebp + 8]
add eax, 0x3024
push eax
call fcn.00589056
add esp, 8
mov dword [ebp - 0x1074], eax
cmp dword [ebp - 0x1074], 0
je 0x50671c
lea eax, [ebp - 0x1060]
push eax
push 0x648304
mov ecx, dword [ebp - 0x1074]
push ecx
call fcn.0058d27f
add esp, 0xc
mov eax, dword [ebp - 0x1074]
push eax
call fcn.00588a65
add esp, 4
jmp 0x50692d
cmp dword [ebp + 0x10], 0x12
jne 0x50677b
push 0x65b2d4
mov eax, dword [ebp + 8]
add eax, 0x4024
push eax
call fcn.00589056
add esp, 8
mov dword [ebp - 0x1078], eax
cmp dword [ebp - 0x1078], 0
je 0x506776
lea eax, [ebp - 0x1060]
push eax
push 0x648304
mov ecx, dword [ebp - 0x1078]
push ecx
call fcn.0058d27f
add esp, 0xc
mov eax, dword [ebp - 0x1078]
push eax
call fcn.00588a65
add esp, 4
jmp 0x50692d
cmp dword [ebp + 0x10], 0x1c
jne 0x5067d5
push 0x65b2d4
mov eax, dword [ebp + 8]
add eax, 0x5024
push eax
call fcn.00589056
add esp, 8
mov dword [ebp - 0x107c], eax
cmp dword [ebp - 0x107c], 0
je 0x5067d0
lea eax, [ebp - 0x1060]
push eax
push 0x648304
mov ecx, dword [ebp - 0x107c]
push ecx
call fcn.0058d27f
add esp, 0xc
mov eax, dword [ebp - 0x107c]
push eax
call fcn.00588a65
add esp, 4
jmp 0x50692d
cmp dword [ebp + 0x10], 0x1d
jne 0x50682f
push 0x65b2d4
mov eax, dword [ebp + 8]
add eax, 0x8024
push eax
call fcn.00589056
add esp, 8
mov dword [ebp - 0x1080], eax
cmp dword [ebp - 0x1080], 0
je 0x50682a
lea eax, [ebp - 0x1060]
push eax
push 0x648304
mov ecx, dword [ebp - 0x1080]
push ecx
call fcn.0058d27f
add esp, 0xc
mov eax, dword [ebp - 0x1080]
push eax
call fcn.00588a65
add esp, 4
jmp 0x50692d
cmp dword [ebp + 0x10], 0x1e
jne 0x506889
push 0x65b2d4
mov eax, dword [ebp + 8]
add eax, 0x9024
push eax
call fcn.00589056
add esp, 8
mov dword [ebp - 0x1084], eax
cmp dword [ebp - 0x1084], 0
je 0x506884
lea eax, [ebp - 0x1060]
push eax
push 0x648304
mov ecx, dword [ebp - 0x1084]
push ecx
call fcn.0058d27f
add esp, 0xc
mov eax, dword [ebp - 0x1084]
push eax
call fcn.00588a65
add esp, 4
jmp 0x50692d
cmp dword [ebp + 0x10], 0x1f
jne 0x5068e0
push 0x65b2d4
mov eax, dword [ebp + 8]
add eax, 0xa024
push eax
call fcn.00589056
add esp, 8
mov dword [ebp - 0x1088], eax
cmp dword [ebp - 0x1088], 0
je 0x5068de
lea eax, [ebp - 0x1060]
push eax
push 0x648304
mov ecx, dword [ebp - 0x1088]
push ecx
call fcn.0058d27f
add esp, 0xc
mov eax, dword [ebp - 0x1088]
push eax
call fcn.00588a65
add esp, 4
jmp 0x50692d
push 0x65b2d4
mov eax, dword [ebp + 8]
add eax, 0x24
push eax
call fcn.00589056
add esp, 8
mov dword [ebp - 0x108c], eax
cmp dword [ebp - 0x108c], 0
je 0x50692d
lea eax, [ebp - 0x1060]
push eax
push 0x648304
mov ecx, dword [ebp - 0x108c]
push ecx
call fcn.0058d27f
add esp, 0xc
mov eax, dword [ebp - 0x108c]
push eax
call fcn.00588a65
add esp, 4
lea eax, [ebp - 0x18]
push eax
call fcn.005106c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00510690
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005884bd
mov esp, ebp
pop ebp
ret 0x10