Function at 0x53e780
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffbe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1420], ebx
mov dword [ebp - 0x141c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov eax, dword [ebp - 0x14]
mov edx, dword [0x53deac]
call fcn.00407048
xor eax, eax
push ebp
push 0x53edeb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x141c]
mov ecx, ebx
mov edx, 0x53ee08
call fcn.00406a64
mov eax, dword [ebp - 0x141c]
call fcn.0040671c
push eax
call sub.KERNEL32.DLL_OutputDebugStringW
mov eax, ebx
call fcn.0045d720
test al, al
je 0x53edb8
xor eax, eax
push ebp
push 0x53e85a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x20
mov ecx, ebx
mov dl, 1
mov eax, dword [0x46f93c]
call fcn.00475338
mov ebx, eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
sub eax, 0x1400
sbb edx, 0
push edx
push eax
mov eax, ebx
call fcn.00474e7c
lea edx, [ebp - 0x1415]
mov ecx, 0x1400
mov eax, ebx
call fcn.004750b0
mov eax, ebx
call fcn.00404578
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53e896
lea eax, [ebp - 4]
lea edx, [ebp - 0x1415]
mov ecx, 0x1401
push 0
call fcn.00405b60
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004068ac
push 0x53ee4c
call sub.KERNEL32.DLL_OutputDebugStringW
mov edx, dword [ebp - 8]
mov eax, 0x53ee64
call fcn.00406ffc
mov ebx, eax
cmp ebx, 1
jl 0x53edb8
push 0x53ee6c
call sub.KERNEL32.DLL_OutputDebugStringW
mov edx, dword [ebp - 8]
mov eax, 0x53ee84
call fcn.00406ffc
mov esi, eax
cmp esi, 1
jl 0x53edb8
add ebx, 3
push 0x53ee8c
call sub.KERNEL32.DLL_OutputDebugStringW
cmp esi, ebx
jl 0x53edb8
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
sub ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.00406ce4
mov eax, dword [ebp - 0xc]
call fcn.0040671c
push eax
call sub.KERNEL32.DLL_OutputDebugStringW
mov edx, dword [ebp - 0xc]
mov eax, 0x53eea4
call fcn.00406ffc
mov ebx, eax
dec esi
jl 0x53edb8
mov edx, dword [ebp - 0xc]
mov eax, 0x53eec0
call fcn.00406ffc
mov esi, eax
cmp esi, 1
jl 0x53edb8
add ebx, 6
cmp esi, ebx
jl 0x53edb8
mov eax, dword [ebp - 0x14]
push eax
mov ecx, esi
sub ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00406ce4
mov edx, dword [ebp - 0xc]
mov eax, 0x53eedc
call fcn.00406ffc
mov ebx, eax
dec esi
jl 0x53edb8
mov edx, dword [ebp - 0xc]
mov eax, 0x53eef4
call fcn.00406ffc
mov esi, eax
cmp esi, 1
jl 0x53edb8
add ebx, 5
cmp esi, ebx
jl 0x53edb8
mov eax, dword [ebp - 0x14]
add eax, 8
push eax
mov ecx, esi
sub ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00406ce4
mov edx, dword [ebp - 0xc]
mov eax, 0x53ef10
call fcn.00406ffc
mov ebx, eax
dec esi
jl 0x53edb8
mov edx, dword [ebp - 0xc]
mov eax, 0x53ef2c
call fcn.00406ffc
mov esi, eax
cmp esi, 1
jl 0x53edb8
add ebx, 6
cmp esi, ebx
jl 0x53edb8
mov eax, dword [ebp - 0x14]
add eax, 0xc
push eax
mov ecx, esi
sub ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00406ce4
mov edx, dword [ebp - 0xc]
mov eax, 0x53ef48
call fcn.00406ffc
mov ebx, eax
dec esi
jl 0x53edb8
mov edx, dword [ebp - 0xc]
mov eax, 0x53ef78
call fcn.00406ffc
mov esi, eax
cmp esi, 1
jl 0x53edb8
add ebx, 0x11
cmp esi, ebx
jl 0x53edb8
mov eax, dword [ebp - 0x14]
add eax, 0x18
push eax
mov ecx, esi
sub ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00406ce4
mov edx, dword [ebp - 0xc]
mov eax, 0x53efac
call fcn.00406ffc
mov ebx, eax
dec esi
jl 0x53edb8
mov edx, dword [ebp - 0xc]
mov eax, 0x53efe4
call fcn.00406ffc
mov esi, eax
cmp esi, 1
jl 0x53edb8
add ebx, 0x15
cmp esi, ebx
jl 0x53edb8
mov eax, dword [ebp - 0x14]
add eax, 0x20
push eax
mov ecx, esi
sub ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00406ce4
mov edx, dword [ebp - 0xc]
mov eax, 0x53f020
call fcn.00406ffc
mov ebx, eax
dec esi
jl 0x53edb8
mov edx, dword [ebp - 0xc]
mov eax, 0x53f04c
call fcn.00406ffc
mov esi, eax
cmp esi, 1
jl 0x53edb8
add ebx, 0xe
cmp esi, ebx
jl 0x53edb8
mov eax, dword [ebp - 0x14]
add eax, 0x1c
push eax
mov ecx, esi
sub ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00406ce4
mov edx, dword [ebp - 0xc]
mov eax, 0x53f078
call fcn.00406ffc
mov ebx, eax
dec esi
jl 0x53edb8
mov edx, dword [ebp - 0xc]
mov eax, 0x53f0b0
call fcn.00406ffc
mov esi, eax
cmp esi, 1
jl 0x53edb8
add ebx, 0x14
cmp esi, ebx
jl 0x53edb8
mov eax, dword [ebp - 0x14]
add eax, 0x24
push eax
mov ecx, esi
sub ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00406ce4
mov edx, dword [ebp - 0xc]
mov eax, 0x53f0e8
call fcn.00406ffc
mov ebx, eax
dec esi
jl 0x53edb8
mov edx, dword [ebp - 0xc]
mov eax, 0x53f120
call fcn.00406ffc
mov esi, eax
cmp esi, 1
jl 0x53edb8
add ebx, 0x15
cmp esi, ebx
jl 0x53edb8
mov eax, dword [ebp - 0x14]
add eax, 0x2c
push eax
mov ecx, esi
sub ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00406ce4
mov edx, dword [ebp - 0xc]
mov eax, 0x53f15c
call fcn.00406ffc
mov ebx, eax
dec esi
jl 0x53edb8
mov edx, dword [ebp - 0xc]
mov eax, 0x53f1a0
call fcn.00406ffc
mov esi, eax
cmp esi, 1
jl 0x53edb8
add ebx, 0x1b
cmp esi, ebx
jl 0x53edb8
mov eax, dword [ebp - 0x14]
add eax, 0x30
push eax
mov ecx, esi
sub ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00406ce4
mov edx, dword [ebp - 0xc]
mov eax, 0x53f1e8
call fcn.00406ffc
mov ebx, eax
dec esi
jl 0x53edb8
mov edx, dword [ebp - 0xc]
mov eax, 0x53f20c
call fcn.00406ffc
mov esi, eax
cmp esi, 1
jl 0x53edb8
add ebx, 0xa
cmp esi, ebx
jl 0x53edb8
mov eax, dword [ebp - 0x14]
add eax, 0x34
push eax
mov ecx, esi
sub ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00406ce4
mov edx, dword [ebp - 0xc]
mov eax, 0x53f230
call fcn.00406ffc
mov ebx, eax
dec esi
jl 0x53edb8
mov edx, dword [ebp - 0xc]
mov eax, 0x53f248
call fcn.00406ffc
mov esi, eax
cmp esi, 1
jl 0x53edb8
add ebx, 4
cmp esi, ebx
jl 0x53edb8
mov eax, dword [ebp - 0x14]
add eax, 4
push eax
mov ecx, esi
sub ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00406ce4
mov edx, dword [ebp - 0xc]
mov eax, 0x53f260
call fcn.00406ffc
mov ebx, eax
dec esi
jl 0x53edb8
mov edx, dword [ebp - 0xc]
mov eax, 0x53f294
call fcn.00406ffc
mov esi, eax
cmp esi, 1
jl 0x53edb8
add ebx, 0x13
cmp esi, ebx
jl 0x53edb8
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
sub ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00406ce4
mov eax, dword [ebp - 0x10]
mov edx, 0x53f2cc
call fcn.00406cdc
jne 0x53ece9
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x28], 1
jmp 0x53ecf0
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x28], 0
mov edx, dword [ebp - 0xc]
mov eax, 0x53f2dc
call fcn.00406ffc
mov ebx, eax
dec esi
jl 0x53edb8
mov edx, dword [ebp - 0xc]
mov eax, 0x53f310
call fcn.00406ffc
mov esi, eax
cmp esi, 1
jl 0x53edb8
add ebx, 0x12
cmp esi, ebx
jl 0x53edb8
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
sub ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00406ce4
mov eax, dword [ebp - 0x10]
mov edx, 0x53f2cc
call fcn.00406cdc
jne 0x53ed53
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x38], 1
jmp 0x53ed5a
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x38], 0
mov edx, dword [ebp - 0xc]
mov eax, 0x53f344
call fcn.00406ffc
mov ebx, eax
dec esi
jl 0x53edb8
mov edx, dword [ebp - 0xc]
mov eax, 0x53f384
call fcn.00406ffc
mov esi, eax
cmp esi, 1
jl 0x53edb8
add ebx, 0x18
cmp esi, ebx
jl 0x53edb8
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
sub ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00406ce4
mov eax, dword [ebp - 0x10]
mov edx, 0x53f2cc
call fcn.00406cdc
jne 0x53edb1
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x39], 1
jmp 0x53edb8
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x39], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53edf2
lea eax, [ebp - 0x1420]
mov edx, 2
call fcn.00406688
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00406688
lea eax, [ebp - 4]
call fcn.00405828
ret