Function at 0x4e1350
Capabilities:
Print debug messages

Disassembly:
sub esp, 0xec
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 8
push 0x5432b8
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ebp
call fcn.00466fd0
mov edi, eax
add esp, 8
xor ecx, ecx
mov dword [esp + 0x20], edi
mov edx, dword [edi + 4]
mov eax, edx
cmp eax, ebp
je 0x4e13c4
mov esi, dword [esp + 0x100]
mov ebx, dword [eax + 0xc]
cmp ebx, esi
je 0x4e139c
mov ecx, eax
mov eax, dword [eax]
cmp eax, ebp
jne 0x4e1384
jmp 0x4e13cb
cmp dword [esp + 0x104], ebp
je 0x4e13b6
cmp ecx, ebp
jne 0x4e13b0
mov eax, dword [edx]
mov dword [edi + 4], eax
jmp 0x4e13cb
mov edx, dword [eax]
mov dword [ecx], edx
jmp 0x4e13cb
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 0x4e13e6
pop edi
pop esi
pop ebp
mov eax, 0x542250
pop ebx
add esp, 0xec
ret
lea eax, [esp + 0x28]
push eax
call fcn.0046e130
mov eax, dword [esp + 0x10c]
add esp, 4
cmp eax, ebp
jne 0x4e1573
push ebp
push str.TclEval
push esi
call fcn.004e1e00
add esp, 0xc
cmp eax, ebp
jne 0x4e1433
push esi
call fcn.0044ee30
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x18]
push ecx
push edx
push eax
push esi
call fcn.0044b0b0
add esp, 0x14
cmp eax, ebp
je 0x4e1450
push esi
call fcn.0044ed10
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 0x4e1462
mov esi, dword [esp + 0x100]
cmp ebp, 1
mov dword [esp + 0x24], ebp
jle 0x4e14cb
cmp ebp, 2
jne 0x4e14b1
mov eax, dword [esp + 0x104]
push 0xffffffffffffffff
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.0046e150
push ebp
lea edx, [esp + 0x38]
push 0x53d17c
push edx
call fcn.0046e150
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], eax
add eax, 0x18
push eax
lea eax, [esp + 0x44]
push eax
call fcn.0046e2c0
mov ebx, dword [esp + 0x48]
add esp, 0x20
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
push ebp
add ecx, edx
push 0x525ff8
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov eax, dword [esp + 0x14]
xor edi, edi
test eax, eax
jle 0x4e154e
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
push 1
mov edx, dword [ecx + edi*4]
push edx
push esi
call fcn.0044b310
mov eax, dword [esp + 0x2c]
push eax
call fcn.0044c840
add esp, 0x14
mov esi, eax
mov ecx, ebx
mov dl, byte [ecx]
mov al, dl
cmp dl, byte [esi]
jne 0x4e151f
test al, al
je 0x4e151b
mov dl, byte [ecx + 1]
mov al, dl
cmp dl, byte [esi + 1]
jne 0x4e151f
add ecx, 2
add esi, 2
test al, al
jne 0x4e14fb
xor eax, eax
jmp 0x4e1524
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4e153a
mov eax, dword [esp + 0x14]
inc edi
cmp edi, eax
jge 0x4e1547
mov esi, dword [esp + 0x100]
jmp 0x4e14d5
mov eax, dword [esp + 0x24]
inc ebp
cmp ebp, eax
jne 0x4e145b
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
push ecx
lea ecx, [esp + 0x2c]
push ecx
call fcn.0046e2c0
add esp, 8
push 0x10
call fcn.0044ffd0
mov ebp, eax
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp + 0xc], esi
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.0044ffd0
mov ecx, dword [esp + 0x28]
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x114]
add esp, 8
mov edx, dword [ecx + 4]
mov dword [ebp + 8], eax
test eax, eax
mov dword [ebp], edx
je 0x4e15b0
inc dword [eax]
mov dword [ecx + 4], ebp
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [ebp + 4]
shr ecx, 2
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]
push esi
call fcn.004605f0
add esp, 4
test eax, eax
je 0x4e15fa
push 0x524bb8
push 0x524bb8
push esi
call fcn.0043e660
add esp, 0xc
push 0x4e1680
push ebp
push 0x4e05f0
push 0x524bb8
push esi
call fcn.0043e920
push esi
call fcn.004605f0
add esp, 0x18
test eax, eax
je 0x4e1630
push 0x524bb8
push 0x524bb8
push esi
call fcn.0043e520
add esp, 0xc
lea ecx, [esp + 0x28]
push ecx
call fcn.0046e340
add esp, 4
call fcn.004e1250
mov eax, dword [ebp + 4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xec
ret