Function at 0x414b00
Capabilities:
Print debug messages

Disassembly:
sub esp, 0xec
mov eax, dword [0x5debe0]
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 8
push 0x5debfc
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ebp
call dword [eax + 0x4cc]
mov edi, eax
mov edx, dword [edi + 4]
mov eax, edx
add esp, 8
xor ecx, ecx
cmp eax, ebp
mov dword [esp + 0x20], edi
je 0x414b78
mov esi, dword [esp + 0x100]
cmp dword [eax + 0xc], esi
je 0x414b50
mov ecx, eax
mov eax, dword [eax]
cmp eax, ebp
jne 0x414b3a
jmp 0x414b7f
cmp dword [esp + 0x104], ebp
je 0x414b6a
cmp ecx, ebp
jne 0x414b64
mov ecx, dword [edx]
mov dword [edi + 4], ecx
jmp 0x414b7f
mov edx, dword [eax]
mov dword [ecx], edx
jmp 0x414b7f
mov eax, dword [eax + 4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xec
ret
mov esi, dword [esp + 0x100]
mov ebx, dword [esp + 0x104]
cmp ebx, ebp
jne 0x414b9a
pop edi
pop esi
pop ebp
mov eax, 0x5debc4
pop ebx
add esp, 0xec
ret
mov ecx, dword [0x5debe0]
lea eax, [esp + 0x28]
push eax
call dword [ecx + 0x1f0]
mov eax, dword [esp + 0x10c]
add esp, 4
cmp eax, ebp
jne 0x414d6e
push ebp
push str.TclEval
push esi
call fcn.004156f0
add esp, 0xc
cmp eax, ebp
jne 0x414bfb
mov edx, dword [0x5debe0]
push esi
call dword [edx + 0x2a0]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [0x5debe0]
push esi
call dword [eax + 0xbc]
add esp, 0x14
cmp eax, ebp
je 0x414c1f
mov ecx, dword [0x5debe0]
push esi
call dword [ecx + 0x2c0]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xec
ret
mov dword [esp + 0x10], ebp
mov ebp, 1
jmp 0x414c31
mov esi, dword [esp + 0x100]
cmp ebp, 1
mov dword [esp + 0x24], ebp
jle 0x414cad
cmp ebp, 2
jne 0x414c94
mov edx, dword [esp + 0x104]
mov ecx, dword [0x5debe0]
push 0xffffffffffffffff
push edx
lea eax, [esp + 0x30]
push eax
call dword [ecx + 0x1dc]
mov eax, dword [0x5debe0]
push ebp
lea edx, [esp + 0x38]
push 0x5ab498
push edx
call dword [eax + 0x1dc]
mov eax, dword [esp + 0x44]
mov edx, dword [0x5debe0]
mov dword [esp + 0x28], eax
add eax, 0x18
push eax
lea ecx, [esp + 0x44]
push ecx
call dword [edx + 0x1f8]
mov ebx, dword [esp + 0x48]
add esp, 0x20
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
push ebp
add eax, ecx
push 0x5ab494
push eax
call fcn.005827d9
add esp, 0xc
mov eax, dword [esp + 0x14]
xor edi, edi
test eax, eax
jle 0x414d42
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + edi*4]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [0x5debe0]
push 1
push ecx
push esi
call dword [edx + 0xc0]
mov eax, dword [esp + 0x2c]
mov ecx, dword [0x5debe0]
push eax
call dword [ecx + 0x558]
add esp, 0x14
mov esi, eax
mov ecx, ebx
mov dl, byte [ecx]
mov al, dl
cmp dl, byte [esi]
jne 0x414d13
test al, al
je 0x414d0f
mov dl, byte [ecx + 1]
mov al, dl
cmp dl, byte [esi + 1]
jne 0x414d13
add ecx, 2
add esi, 2
test al, al
jne 0x414cef
xor eax, eax
jmp 0x414d18
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x414d2e
mov eax, dword [esp + 0x14]
inc edi
cmp edi, eax
jge 0x414d3b
mov esi, dword [esp + 0x100]
jmp 0x414cbb
mov eax, dword [esp + 0x24]
inc ebp
cmp ebp, eax
jne 0x414c2a
mov esi, dword [esp + 0x100]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
or ecx, 0xffffffff
lea edi, [eax + edx]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, edx
mov edx, dword [0x5debe0]
push ecx
lea ecx, [esp + 0x2c]
push ecx
call dword [edx + 0x1f8]
add esp, 8
mov eax, dword [0x5debe0]
push 0x10
call dword [eax + 0x14]
mov ebp, eax
or ecx, 0xffffffff
mov dword [ebp + 0xc], esi
xor eax, eax
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [0x5debe0]
call dword [ecx + 0x14]
mov ecx, dword [esp + 0x28]
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x114]
mov edx, dword [ecx + 4]
add esp, 8
test eax, eax
mov dword [ebp], edx
mov dword [ebp + 8], eax
je 0x414db2
inc dword [eax]
mov dword [ecx + 4], ebp
or ecx, 0xffffffff
xor eax, eax
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
mov edi, dword [ebp + 4]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x100]
mov ecx, dword [0x5debe0]
push esi
call dword [ecx + 0x2ec]
add esp, 4
test eax, eax
je 0x414e0a
mov edx, dword [0x5debe0]
push 0x5a837c
push 0x5a837c
push esi
call dword [edx + 0x220]
add esp, 0xc
mov eax, dword [0x5debe0]
push 0x414eb0
push ebp
push 0x413b40
push 0x5a837c
push esi
call dword [eax + 0x188]
mov ecx, dword [0x5debe0]
push esi
call dword [ecx + 0x2ec]
add esp, 0x18
test eax, eax
je 0x414e54
mov edx, dword [0x5debe0]
push 0x5a837c
push 0x5a837c
push esi
call dword [edx + 0x2d4]
add esp, 0xc
mov ecx, dword [0x5debe0]
lea eax, [esp + 0x28]
push eax
call dword [ecx + 0x1e8]
add esp, 4
call fcn.004149e0
mov eax, dword [ebp + 4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xec
ret