Function at 0x506230
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0218
mov eax, dword fs:[0]
push eax
mov eax, 0x10c0
call fcn.005890e0
mov eax, dword [0x65ee20]
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 0x506274
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0x27
je 0x50628a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
cmp ecx, dword [eax + 8]
jge 0x50628f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 4]
jge 0x50628f
jmp 0x506755
push 1
mov eax, dword [ebp + 8]
add eax, 0xc
push eax
lea ecx, [ebp - 0x18]
call fcn.00510460
mov dword [ebp - 4], 0
mov byte [ebp - 0x58], 0
push 0x3f
push 0
lea eax, [ebp - 0x57]
push eax
call fcn.00588e50
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
call fcn.005179c0
add esp, 4
lea eax, [ebp - 0x60]
push eax
call fcn.0055fa00
add esp, 4
push eax
push 0x6243e0
push 0x40
lea ecx, [ebp - 0x58]
push ecx
call fcn.00589f87
add esp, 0x10
mov byte [ebp - 0x1060], 0
push 0xfff
push 0
lea eax, [ebp - 0x105f]
push eax
call fcn.00588e50
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.0058900d
add esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
cmp ecx, dword [eax + 8]
jl 0x506338
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 0x50634c
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0x27
jne 0x506360
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.005104a0
jmp 0x506755
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 4]
jl 0x50673d
cmp dword [ebp + 0x10], 0x19
jne 0x5063c9
push 0x60f1c4
mov eax, dword [ebp + 8]
add eax, 0x6024
push eax
call fcn.00588ff6
add esp, 8
mov dword [ebp - 0x1064], eax
cmp dword [ebp - 0x1064], 0
je 0x5063c4
lea eax, [ebp - 0x1060]
push eax
push 0x5fc1f4
mov ecx, dword [ebp - 0x1064]
push ecx
call fcn.0058d21f
add esp, 0xc
mov eax, dword [ebp - 0x1064]
push eax
call fcn.00588a05
add esp, 4
jmp 0x50673d
cmp dword [ebp + 0x10], 4
jne 0x506423
push 0x60f1c4
mov eax, dword [ebp + 8]
add eax, 0x1024
push eax
call fcn.00588ff6
add esp, 8
mov dword [ebp - 0x1068], eax
cmp dword [ebp - 0x1068], 0
je 0x50641e
lea eax, [ebp - 0x1060]
push eax
push 0x5fc1f4
mov ecx, dword [ebp - 0x1068]
push ecx
call fcn.0058d21f
add esp, 0xc
mov eax, dword [ebp - 0x1068]
push eax
call fcn.00588a05
add esp, 4
jmp 0x50673d
cmp dword [ebp + 0x10], 9
jne 0x50647d
push 0x60f1c4
mov eax, dword [ebp + 8]
add eax, 0x7024
push eax
call fcn.00588ff6
add esp, 8
mov dword [ebp - 0x106c], eax
cmp dword [ebp - 0x106c], 0
je 0x506478
lea eax, [ebp - 0x1060]
push eax
push 0x5fc1f4
mov ecx, dword [ebp - 0x106c]
push ecx
call fcn.0058d21f
add esp, 0xc
mov eax, dword [ebp - 0x106c]
push eax
call fcn.00588a05
add esp, 4
jmp 0x50673d
cmp dword [ebp + 0x10], 0x26
jne 0x5064d7
push 0x60f1c4
mov eax, dword [ebp + 8]
add eax, 0x2024
push eax
call fcn.00588ff6
add esp, 8
mov dword [ebp - 0x1070], eax
cmp dword [ebp - 0x1070], 0
je 0x5064d2
lea eax, [ebp - 0x1060]
push eax
push 0x5fc1f4
mov ecx, dword [ebp - 0x1070]
push ecx
call fcn.0058d21f
add esp, 0xc
mov eax, dword [ebp - 0x1070]
push eax
call fcn.00588a05
add esp, 4
jmp 0x50673d
cmp dword [ebp + 0x10], 0x25
jne 0x506531
push 0x60f1c4
mov eax, dword [ebp + 8]
add eax, 0x3024
push eax
call fcn.00588ff6
add esp, 8
mov dword [ebp - 0x1074], eax
cmp dword [ebp - 0x1074], 0
je 0x50652c
lea eax, [ebp - 0x1060]
push eax
push 0x5fc1f4
mov ecx, dword [ebp - 0x1074]
push ecx
call fcn.0058d21f
add esp, 0xc
mov eax, dword [ebp - 0x1074]
push eax
call fcn.00588a05
add esp, 4
jmp 0x50673d
cmp dword [ebp + 0x10], 0x12
jne 0x50658b
push 0x60f1c4
mov eax, dword [ebp + 8]
add eax, 0x4024
push eax
call fcn.00588ff6
add esp, 8
mov dword [ebp - 0x1078], eax
cmp dword [ebp - 0x1078], 0
je 0x506586
lea eax, [ebp - 0x1060]
push eax
push 0x5fc1f4
mov ecx, dword [ebp - 0x1078]
push ecx
call fcn.0058d21f
add esp, 0xc
mov eax, dword [ebp - 0x1078]
push eax
call fcn.00588a05
add esp, 4
jmp 0x50673d
cmp dword [ebp + 0x10], 0x1c
jne 0x5065e5
push 0x60f1c4
mov eax, dword [ebp + 8]
add eax, 0x5024
push eax
call fcn.00588ff6
add esp, 8
mov dword [ebp - 0x107c], eax
cmp dword [ebp - 0x107c], 0
je 0x5065e0
lea eax, [ebp - 0x1060]
push eax
push 0x5fc1f4
mov ecx, dword [ebp - 0x107c]
push ecx
call fcn.0058d21f
add esp, 0xc
mov eax, dword [ebp - 0x107c]
push eax
call fcn.00588a05
add esp, 4
jmp 0x50673d
cmp dword [ebp + 0x10], 0x1d
jne 0x50663f
push 0x60f1c4
mov eax, dword [ebp + 8]
add eax, 0x8024
push eax
call fcn.00588ff6
add esp, 8
mov dword [ebp - 0x1080], eax
cmp dword [ebp - 0x1080], 0
je 0x50663a
lea eax, [ebp - 0x1060]
push eax
push 0x5fc1f4
mov ecx, dword [ebp - 0x1080]
push ecx
call fcn.0058d21f
add esp, 0xc
mov eax, dword [ebp - 0x1080]
push eax
call fcn.00588a05
add esp, 4
jmp 0x50673d
cmp dword [ebp + 0x10], 0x1e
jne 0x506699
push 0x60f1c4
mov eax, dword [ebp + 8]
add eax, 0x9024
push eax
call fcn.00588ff6
add esp, 8
mov dword [ebp - 0x1084], eax
cmp dword [ebp - 0x1084], 0
je 0x506694
lea eax, [ebp - 0x1060]
push eax
push 0x5fc1f4
mov ecx, dword [ebp - 0x1084]
push ecx
call fcn.0058d21f
add esp, 0xc
mov eax, dword [ebp - 0x1084]
push eax
call fcn.00588a05
add esp, 4
jmp 0x50673d
cmp dword [ebp + 0x10], 0x1f
jne 0x5066f0
push 0x60f1c4
mov eax, dword [ebp + 8]
add eax, 0xa024
push eax
call fcn.00588ff6
add esp, 8
mov dword [ebp - 0x1088], eax
cmp dword [ebp - 0x1088], 0
je 0x5066ee
lea eax, [ebp - 0x1060]
push eax
push 0x5fc1f4
mov ecx, dword [ebp - 0x1088]
push ecx
call fcn.0058d21f
add esp, 0xc
mov eax, dword [ebp - 0x1088]
push eax
call fcn.00588a05
add esp, 4
jmp 0x50673d
push 0x60f1c4
mov eax, dword [ebp + 8]
add eax, 0x24
push eax
call fcn.00588ff6
add esp, 8
mov dword [ebp - 0x108c], eax
cmp dword [ebp - 0x108c], 0
je 0x50673d
lea eax, [ebp - 0x1060]
push eax
push 0x5fc1f4
mov ecx, dword [ebp - 0x108c]
push ecx
call fcn.0058d21f
add esp, 0xc
mov eax, dword [ebp - 0x108c]
push eax
call fcn.00588a05
add esp, 4
lea eax, [ebp - 0x18]
push eax
call fcn.005104d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.005104a0
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.0058845d
mov esp, ebp
pop ebp
ret 0x10