Function at 0x4c6750
Capabilities:
Print debug messages

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0x64
push 0xffffffffffffffff
push 0x5a3dfd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x6063f8]
push ebx
mov ebx, ecx
mov ecx, 0x6063f8
mov dword [ebp + 0x58], ebx
mov eax, dword [eax + 0x14]
call eax
test al, al
jne 0x4c67a6
push str.Error:_this_function_can_be_called_only_from_main_thread._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
lea esp, [ebp + 0x64]
pop ebp
ret 0x10
cmp byte [0x613e15], 0
jne 0x4c6a84
mov eax, dword [ebx + 0x24]
lea ecx, [ebx + 0x24]
push esi
push edi
call dword [eax]
mov esi, eax
lea ecx, [ebp + 0xc]
push esi
mov dword [ebp + 0x30], esi
call int.00418110
push esi
lea ecx, [ebp + 0x1c]
mov dword [ebp - 4], 0
call int.00418110
xor al, al
mov dword [ebp + 0x48], 0
mov byte [ebp + 0x62], al
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 0
mov dword [ebp + 0x44], 0x5c9ff4
xor edi, edi
test esi, esi
je 0x4c6a07
mov byte [ebp + 0x63], 1
nop word [eax + eax]
mov eax, dword [ebx + 0x28]
mov esi, dword [eax + edi*4]
mov dword [ebp + 0x54], esi
test esi, esi
je 0x4c6824
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 3
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0xc]
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp + 0x74]
mov dword [ebp + 0x40], eax
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp + 0x74]
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp + 0x40]
mov dword [ebp - 0x10], ecx
lea ecx, [ebp + 0x3c]
push ecx
mov ecx, eax
mov dword [ebp - 0x1c], 0x5c916c
mov dword [ebp - 0x14], fcn.00448f30
call fcn.0058fb80
add esp, 4
test al, al
je 0x4c6995
mov dword [ebp + 0x5c], 0
mov eax, dword [ebp + 0x70]
lea edx, [ebp + 0x38]
mov ecx, dword [ebp + 0x78]
mov byte [ebp - 4], 4
push dword [ebp + 0x3c]
mov ebx, dword [eax]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
mov edx, dword [ebp + 0x38]
lea ecx, [ebp]
push ecx
mov dword [ebp + 8], eax
lea ecx, [ebp + 0x5c]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
mov dword [ebp], fcn.00408c70
mov dword [ebp + 4], edx
call dword [eax + 0x14]
mov ebx, dword [ebp + 0x58]
lea eax, [ebp + 0x5c]
push eax
push edi
push ecx
mov ecx, ebx
call fcn.004c7c60
test al, al
jne 0x4c68ed
cmp edi, dword [ebp + 0x18]
jae 0x4c68e4
mov cl, byte [ebp + 0x63]
mov eax, edi
shr eax, 3
add eax, dword [ebp + 0x10]
or byte [eax], cl
mov byte [ebp + 0x62], 1
jmp 0x4c698a
mov eax, dword [esi]
mov ecx, esi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], esi
call dword [eax + 4]
mov ecx, dword [ebp + 0x5c]
mov dword [ebp + 0x34], ecx
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x4c690c
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x48]
mov ebx, dword [ebp + 0x4c]
lea eax, [ebx + 1]
push eax
call fcn.004cf720
mov eax, dword [ebp + 0x48]
lea ecx, [ebx + ebx*2]
mov dword [eax + ecx*4], edi
lea ebx, [eax + ecx*4]
mov eax, dword [esi]
mov ecx, esi
mov dword [ebp + 0x54], ebx
call dword [eax + 4]
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x4c6940
mov eax, dword [ecx]
call dword [eax]
mov dword [ebx + 4], esi
mov ebx, dword [ebp + 0x34]
test ebx, ebx
je 0x4c6951
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov eax, dword [ebp + 0x54]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4c6962
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [ebp + 0x54]
mov dword [eax + 8], ebx
cmp edi, dword [ebp + 0x28]
jae 0x4c6977
mov cl, byte [ebp + 0x63]
mov eax, edi
shr eax, 3
add eax, dword [ebp + 0x20]
or byte [eax], cl
test ebx, ebx
je 0x4c6981
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov ebx, dword [ebp + 0x58]
mov ecx, dword [ebp + 0x5c]
test ecx, ecx
je 0x4c6995
mov eax, dword [ecx]
call dword [eax]
mov byte [ebp - 4], 2
mov ecx, esi
mov eax, dword [esi]
call dword [eax]
mov cl, byte [ebp + 0x63]
inc edi
rol cl, 1
mov byte [ebp + 0x63], cl
cmp edi, dword [ebp + 0x30]
jb 0x4c6810
cmp dword [ebp + 0x4c], 0
mov esi, dword [ebp + 0x6c]
jbe 0x4c69f0
mov bl, byte [0x613e15]
mov dword [ebp + 0x30], 0x613e15
mov byte [ebp + 0x2c], bl
mov byte [0x613e15], 1
lea eax, [ebp + 0x44]
mov byte [ebp - 4], 6
push eax
lea edx, [ebp + 0x1c]
mov ecx, esi
call fcn.004be064
mov byte [ebp - 4], 2
add esp, 4
mov byte [0x613e15], bl
cmp byte [ebp + 0x62], 0
mov ebx, dword [ebp + 0x58]
je 0x4c6a07
push 1
lea eax, [ebp + 0xc]
mov ecx, ebx
push eax
push esi
call fcn.004c73a0
push 0
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 7
call fcn.004cf9c0
push 0
lea ecx, [ebp + 0x48]
call fcn.004cf8a0
mov byte [ebp - 4], 8
cmp dword [ebp + 0x24], 0
jbe 0x4c6a3a
push 0
lea ecx, [ebp + 0x20]
mov dword [ebp + 0x24], 0
call fcn.00418b40
mov dword [ebp - 4], 9
cmp dword [ebp + 0x14], 0
jbe 0x4c6a58
push 0
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x14], 0
call fcn.00418b40
mov edi, dword [ebp + 0x78]
mov esi, dword [ebp + 0x74]
mov edx, dword [ebp + 0x70]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebx + 0x48]
push edi
push esi
call fcn.004c6610
mov edx, dword [ebp + 0x70]
mov ecx, dword [ebx + 0x4c]
push edi
push esi
call fcn.004c6610
add esp, 0x10
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
lea esp, [ebp + 0x64]
pop ebp
ret 0x10