Function at 0x4ad4bc
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push dword [ebp + 8]
mov ebx, ecx
inc dword [ebx + 0x19c]
call fcn.004ac925
test al, al
je 0x4ad4e4
inc dword [ebx + 0x1a0]
jmp 0x4ad85a
xor eax, eax
mov dword [ebp - 0xc], eax
cmp byte [ebx + 0x198], al
je 0x4ad4fd
mov byte [ebp - 1], 1
cmp byte [ebx + 0x18f], al
jne 0x4ad500
mov byte [ebp - 1], al
push esi
push edi
push ecx
lea esi, [ebx + 0x1b8]
mov byte [ebx + 0x198], al
mov edi, 0x10400
mov ecx, esi
push edi
call fcn.004addc3
test al, al
je 0x4ad5bc
lea eax, [ebp - 2]
mov dword [ebp - 8], edi
push eax
lea eax, [ebp - 8]
mov ecx, ebx
push eax
push dword [esi]
push dword [ebp + 8]
call fcn.004acd96
mov ecx, eax
test ecx, ecx
je 0x4ad56b
mov eax, dword [ebx + 0x1ac]
test eax, eax
jne 0x4ad55f
push ecx
push 0x414be0
call dword [sym.imp.msvcrt.dll_wprintf]
mov eax, dword [ebx + 0x1ac]
pop ecx
pop ecx
inc eax
mov dword [ebx + 0x1ac], eax
jmp 0x4ad858
cmp byte [ebp - 2], 0
je 0x4ad57c
inc dword [ebx + 0x1a4]
jmp 0x4ad858
cmp byte [ebx + 0x18f], 0
jne 0x4ad58d
mov edi, dword [ebp - 8]
jmp 0x4ad768
movzx esi, byte [ebp - 1]
lea eax, [ebx + 0x1c8]
neg esi
mov dword [ebp - 0x10], eax
push ecx
sbb esi, esi
mov ecx, eax
and esi, 0x89
xor edi, edi
add esi, 0x10000
push esi
mov dword [ebp - 8], esi
call fcn.004addc3
test al, al
jne 0x4ad5e4
mov eax, dword [ebx + 0x1a8]
test eax, eax
jne 0x4ad5d8
push 0x414b60
call dword [sym.imp.msvcrt.dll_wprintf]
mov eax, dword [ebx + 0x1a8]
pop ecx
inc eax
mov dword [ebx + 0x1a8], eax
jmp 0x4ad858
cmp byte [ebp - 1], 0
je 0x4ad604
mov edi, dword [ebx + 0x1c8]
mov esi, 0x414df0
push 0x44
pop ecx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, dword [ebp - 8]
mov edi, 0x89
mov ecx, dword [ebx + 0x1c8]
mov eax, esi
mov edx, dword [ebx + 0x1b8]
sub eax, edi
push 0
push eax
lea eax, [ecx + edi*2]
mov dword [ebp - 8], edx
mov edx, dword [edx + 0x14]
mov ecx, dword [ebp - 8]
push eax
call fcn.004ad365
mov edx, dword [ebx + 0x1c8]
add edi, eax
mov ecx, dword [ebx + 0x1b8]
mov eax, esi
sub eax, edi
push 0
push eax
lea eax, [edx + edi*2]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x18]
call fcn.004ad365
mov ecx, dword [ebx + 0x1c8]
add edi, eax
mov eax, dword [ebp - 8]
push dword [eax + 0x44]
push dword [eax + 0x40]
push dword [eax + 0x38]
push dword [eax + 0x3c]
push dword [eax + 0x1c]
mov eax, esi
push 0x414bb8
sub eax, edi
push 0xffffffffffffffff
push eax
lea eax, [ecx + edi*2]
push eax
call dword [sym.imp.msvcrt.dll__snwprintf_s]
add esp, 0x24
test eax, eax
jns 0x4ad68c
lea edi, [esi - 1]
jmp 0x4ad764
mov edx, dword [ebx + 0x1c8]
add edi, eax
mov ecx, dword [ebx + 0x1b8]
mov eax, esi
sub eax, edi
push 0
push eax
lea eax, [edx + edi*2]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x54]
call fcn.004ad365
mov edx, dword [ebx + 0x1c8]
add edi, eax
mov ecx, dword [ebx + 0x1b8]
mov eax, esi
sub eax, edi
push 0
push eax
lea eax, [edx + edi*2]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x58]
call fcn.004ad365
mov edx, dword [ebx + 0x1c8]
add edi, eax
mov ecx, dword [ebx + 0x1b8]
mov eax, esi
sub eax, edi
push 0
push eax
lea eax, [edx + edi*2]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x50]
call fcn.004ad365
mov edx, dword [ebx + 0x1c8]
add edi, eax
mov ecx, dword [ebx + 0x1b8]
mov eax, esi
sub eax, edi
push 0
push eax
lea eax, [edx + edi*2]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x4c]
call fcn.004ad365
mov edx, dword [ebx + 0x1c8]
add edi, eax
mov ecx, dword [ebx + 0x1b8]
mov eax, esi
sub eax, edi
push 0
push eax
lea eax, [edx + edi*2]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x48]
call fcn.004ad365
mov ecx, dword [ebx + 0x1b8]
add edi, eax
mov eax, dword [ebx + 0x1c8]
sub esi, edi
push 1
push esi
lea eax, [eax + edi*2]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x5c]
call fcn.004ad365
add edi, eax
mov esi, dword [ebp - 0x10]
inc edi
mov eax, dword [esi]
push 0xa
pop ecx
mov word [eax + edi*2 - 2], cx
xor ecx, ecx
mov eax, dword [esi]
mov word [eax + edi*2], cx
cmp byte [ebx + 0x199], cl
jne 0x4ad82b
push dword [ebx + 8]
push dword [esi]
call dword [sym.imp.msvcrt.dll_fputws]
pop ecx
pop ecx
test eax, eax
jns 0x4ad7aa
call dword [sym.imp.msvcrt.dll__errno]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x4ad7aa
or dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4ad858
cmp eax, 0x2a
jne 0x4ad7e5
cmp byte [ebx + 0xd], 0
jne 0x4ad7e5
mov eax, dword [ebx + 0x1b0]
test eax, eax
jne 0x4ad7dc
push 0x414cf8
call dword [sym.imp.msvcrt.dll_wprintf]
mov eax, dword [ebx + 0x1b0]
pop ecx
inc eax
mov dword [ebx + 0x1b0], eax
jmp 0x4ad80c
mov ecx, dword [ebx + 0x1b4]
test ecx, ecx
jne 0x4ad803
push eax
push 0x414c60
call dword [sym.imp.msvcrt.dll_wprintf]
pop ecx
pop ecx
mov ecx, dword [ebx + 0x1b4]
lea eax, [ecx + 1]
mov dword [ebx + 0x1b4], eax
push dword [ebx + 8]
push 0xa
call dword [sym.imp.msvcrt.dll_fputwc]
pop ecx
pop ecx
mov ecx, 0xffff
cmp ax, cx
jne 0x4ad858
call dword [sym.imp.msvcrt.dll__errno]
jmp 0x4ad858
cmp byte [ebx + 0x19a], cl
je 0x4ad858
mov esi, dword [esi]
cmp byte [ebx + 0x19b], cl
je 0x4ad846
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4ad858
push 1
call fcn.004c591d
push eax
push esi
call dword [sym.imp.msvcrt.dll_fputws]
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret 4