Function at 0x506180
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0188
mov eax, dword fs:[0]
push eax
mov eax, 0x10c0
call fcn.005890d0
mov eax, dword [0x63ee20]
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 0x5061c4
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0x27
je 0x5061da
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
cmp ecx, dword [eax + 8]
jge 0x5061df
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 4]
jge 0x5061df
jmp 0x5066a5
push 1
mov eax, dword [ebp + 8]
add eax, 0xc
push eax
lea ecx, [ebp - 0x18]
call fcn.00510430
mov dword [ebp - 4], 0
mov byte [ebp - 0x58], 0
push 0x3f
push 0
lea eax, [ebp - 0x57]
push eax
call fcn.00588e40
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
call fcn.005202e0
add esp, 4
lea eax, [ebp - 0x60]
push eax
call fcn.00560430
add esp, 4
push eax
push 0x604380
push 0x40
lea ecx, [ebp - 0x58]
push ecx
call fcn.00589f77
add esp, 0x10
mov byte [ebp - 0x1060], 0
push 0xfff
push 0
lea eax, [ebp - 0x105f]
push eax
call fcn.00588e40
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.00588ffd
add esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
cmp ecx, dword [eax + 8]
jl 0x506288
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 0x50629c
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0x27
jne 0x5062b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00510470
jmp 0x5066a5
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 4]
jl 0x50668d
cmp dword [ebp + 0x10], 0x19
jne 0x506319
push 0x5ef164
mov eax, dword [ebp + 8]
add eax, 0x6024
push eax
call fcn.00588fe6
add esp, 8
mov dword [ebp - 0x1064], eax
cmp dword [ebp - 0x1064], 0
je 0x506314
lea eax, [ebp - 0x1060]
push eax
push 0x5dc194
mov ecx, dword [ebp - 0x1064]
push ecx
call fcn.0058d20f
add esp, 0xc
mov eax, dword [ebp - 0x1064]
push eax
call fcn.005889f5
add esp, 4
jmp 0x50668d
cmp dword [ebp + 0x10], 4
jne 0x506373
push 0x5ef164
mov eax, dword [ebp + 8]
add eax, 0x1024
push eax
call fcn.00588fe6
add esp, 8
mov dword [ebp - 0x1068], eax
cmp dword [ebp - 0x1068], 0
je 0x50636e
lea eax, [ebp - 0x1060]
push eax
push 0x5dc194
mov ecx, dword [ebp - 0x1068]
push ecx
call fcn.0058d20f
add esp, 0xc
mov eax, dword [ebp - 0x1068]
push eax
call fcn.005889f5
add esp, 4
jmp 0x50668d
cmp dword [ebp + 0x10], 9
jne 0x5063cd
push 0x5ef164
mov eax, dword [ebp + 8]
add eax, 0x7024
push eax
call fcn.00588fe6
add esp, 8
mov dword [ebp - 0x106c], eax
cmp dword [ebp - 0x106c], 0
je 0x5063c8
lea eax, [ebp - 0x1060]
push eax
push 0x5dc194
mov ecx, dword [ebp - 0x106c]
push ecx
call fcn.0058d20f
add esp, 0xc
mov eax, dword [ebp - 0x106c]
push eax
call fcn.005889f5
add esp, 4
jmp 0x50668d
cmp dword [ebp + 0x10], 0x26
jne 0x506427
push 0x5ef164
mov eax, dword [ebp + 8]
add eax, 0x2024
push eax
call fcn.00588fe6
add esp, 8
mov dword [ebp - 0x1070], eax
cmp dword [ebp - 0x1070], 0
je 0x506422
lea eax, [ebp - 0x1060]
push eax
push 0x5dc194
mov ecx, dword [ebp - 0x1070]
push ecx
call fcn.0058d20f
add esp, 0xc
mov eax, dword [ebp - 0x1070]
push eax
call fcn.005889f5
add esp, 4
jmp 0x50668d
cmp dword [ebp + 0x10], 0x25
jne 0x506481
push 0x5ef164
mov eax, dword [ebp + 8]
add eax, 0x3024
push eax
call fcn.00588fe6
add esp, 8
mov dword [ebp - 0x1074], eax
cmp dword [ebp - 0x1074], 0
je 0x50647c
lea eax, [ebp - 0x1060]
push eax
push 0x5dc194
mov ecx, dword [ebp - 0x1074]
push ecx
call fcn.0058d20f
add esp, 0xc
mov eax, dword [ebp - 0x1074]
push eax
call fcn.005889f5
add esp, 4
jmp 0x50668d
cmp dword [ebp + 0x10], 0x12
jne 0x5064db
push 0x5ef164
mov eax, dword [ebp + 8]
add eax, 0x4024
push eax
call fcn.00588fe6
add esp, 8
mov dword [ebp - 0x1078], eax
cmp dword [ebp - 0x1078], 0
je 0x5064d6
lea eax, [ebp - 0x1060]
push eax
push 0x5dc194
mov ecx, dword [ebp - 0x1078]
push ecx
call fcn.0058d20f
add esp, 0xc
mov eax, dword [ebp - 0x1078]
push eax
call fcn.005889f5
add esp, 4
jmp 0x50668d
cmp dword [ebp + 0x10], 0x1c
jne 0x506535
push 0x5ef164
mov eax, dword [ebp + 8]
add eax, 0x5024
push eax
call fcn.00588fe6
add esp, 8
mov dword [ebp - 0x107c], eax
cmp dword [ebp - 0x107c], 0
je 0x506530
lea eax, [ebp - 0x1060]
push eax
push 0x5dc194
mov ecx, dword [ebp - 0x107c]
push ecx
call fcn.0058d20f
add esp, 0xc
mov eax, dword [ebp - 0x107c]
push eax
call fcn.005889f5
add esp, 4
jmp 0x50668d
cmp dword [ebp + 0x10], 0x1d
jne 0x50658f
push 0x5ef164
mov eax, dword [ebp + 8]
add eax, 0x8024
push eax
call fcn.00588fe6
add esp, 8
mov dword [ebp - 0x1080], eax
cmp dword [ebp - 0x1080], 0
je 0x50658a
lea eax, [ebp - 0x1060]
push eax
push 0x5dc194
mov ecx, dword [ebp - 0x1080]
push ecx
call fcn.0058d20f
add esp, 0xc
mov eax, dword [ebp - 0x1080]
push eax
call fcn.005889f5
add esp, 4
jmp 0x50668d
cmp dword [ebp + 0x10], 0x1e
jne 0x5065e9
push 0x5ef164
mov eax, dword [ebp + 8]
add eax, 0x9024
push eax
call fcn.00588fe6
add esp, 8
mov dword [ebp - 0x1084], eax
cmp dword [ebp - 0x1084], 0
je 0x5065e4
lea eax, [ebp - 0x1060]
push eax
push 0x5dc194
mov ecx, dword [ebp - 0x1084]
push ecx
call fcn.0058d20f
add esp, 0xc
mov eax, dword [ebp - 0x1084]
push eax
call fcn.005889f5
add esp, 4
jmp 0x50668d
cmp dword [ebp + 0x10], 0x1f
jne 0x506640
push 0x5ef164
mov eax, dword [ebp + 8]
add eax, 0xa024
push eax
call fcn.00588fe6
add esp, 8
mov dword [ebp - 0x1088], eax
cmp dword [ebp - 0x1088], 0
je 0x50663e
lea eax, [ebp - 0x1060]
push eax
push 0x5dc194
mov ecx, dword [ebp - 0x1088]
push ecx
call fcn.0058d20f
add esp, 0xc
mov eax, dword [ebp - 0x1088]
push eax
call fcn.005889f5
add esp, 4
jmp 0x50668d
push 0x5ef164
mov eax, dword [ebp + 8]
add eax, 0x24
push eax
call fcn.00588fe6
add esp, 8
mov dword [ebp - 0x108c], eax
cmp dword [ebp - 0x108c], 0
je 0x50668d
lea eax, [ebp - 0x1060]
push eax
push 0x5dc194
mov ecx, dword [ebp - 0x108c]
push ecx
call fcn.0058d20f
add esp, 0xc
mov eax, dword [ebp - 0x108c]
push eax
call fcn.005889f5
add esp, 4
lea eax, [ebp - 0x18]
push eax
call fcn.005104a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00510470
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.0058844d
mov esp, ebp
pop ebp
ret 0x10