Function at 0x5eceb2
Capabilities:
Print debug messages

Disassembly:
sub esp, 0xa0
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 0x28]
test ch, 8
mov dword [esp + 0x3c], edx
jne 0x5ed314
mov edi, dword [eax + 0x7b4]
inc edi
mov dword [eax + 0x7b4], edi
mov eax, dword [esi + 0x4c]
dec eax
je 0x5ed107
dec eax
je 0x5ecfa1
sub eax, 2
jne 0x5ed2ae
mov eax, dword [esi]
mov ecx, dword [eax + 4]
test ch, 0x10
je 0x5ecf11
mov eax, dword [eax + 0x10]
push 0
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov eax, dword [esi]
xor edi, edi
mov ebx, dword [esi + 0xc]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov edx, dword [eax + 0x64]
mov dword [esp + 0x28], edx
mov ecx, dword [eax + 0x60]
mov edx, dword [esi + 0x18]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
add ebx, ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x18], ebx
add ecx, edx
mov dword [esp + 0x1c], ecx
mov eax, dword [eax + 0x1c]
push eax
mov edx, dword [eax]
call dword [edx + 0x60]
cmp eax, 0x887601c2
jne 0x5ecf6e
mov eax, dword [esi]
mov eax, dword [eax + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x6c]
test eax, eax
jne 0x5ed314
mov eax, dword [esi]
push edi
lea ebx, [esp + 0x24]
push 0x1000000
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
push ebx
push eax
mov edx, dword [ecx]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [edx + 0x14]
cmp eax, edi
je 0x5ed2ae
mov dword [esi + 0x4c], 1
jmp 0x5ed2ae
mov eax, dword [esi]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x5ed2ae
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x5ecfd7
mov ecx, dword [esi]
push 0
push 0
mov eax, dword [ecx + 0x1c]
push eax
mov edx, dword [eax]
call dword [edx + 0x2c]
cmp eax, 0x887601ae
je 0x5ecfb5
cmp eax, 0x8876021c
je 0x5ecfb5
jmp 0x5ed0e8
mov ecx, dword [eax + 4]
test ch, 0x10
je 0x5ecfec
mov eax, dword [eax + 0x10]
push 0
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov edx, dword [esi]
mov ecx, 0x1b
xor eax, eax
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
mov dword [esp + 0x44], 0x6c
mov eax, dword [edx + 0x1c]
push 0
lea edx, [esp + 0x48]
mov ecx, dword [eax]
push 0x801
push edx
push 0
push eax
call dword [ecx + 0x64]
test eax, eax
jne 0x5ed0e8
mov eax, dword [esp + 0x54]
mov ecx, dword [esi]
mov ebp, dword [esi + 0x648]
mov ebx, dword [esp + 0x68]
mov edi, dword [ecx + 0x64]
mov dword [esp + 0x30], ebp
cdq
and edx, 3
mov dword [esp + 0x34], 0
shl edi, 1
add eax, edx
mov edx, dword [ecx + 0x60]
shr edi, 2
sar eax, 2
test edx, edx
mov dword [esp + 0x40], edi
mov dword [esp + 0x38], eax
jbe 0x5ed0d8
jmp 0x5ed064
mov ebp, dword [esp + 0x30]
test edi, edi
jbe 0x5ed0bb
lea edx, [ebp + 0xc]
add edi, 7
sub ebp, ebx
lea ecx, [ebx + 4]
shr edi, 3
mov eax, dword [edx - 0xc]
add edx, 0x20
mov dword [ecx - 4], eax
mov eax, dword [ebp + ecx]
mov dword [ecx], eax
mov eax, dword [edx - 0x24]
mov dword [ecx + 4], eax
mov eax, dword [edx - 0x20]
mov dword [ecx + 8], eax
mov eax, dword [edx - 0x1c]
mov dword [ecx + 0xc], eax
mov eax, dword [edx - 0x18]
mov dword [ecx + 0x10], eax
mov eax, dword [edx - 0x14]
mov dword [ecx + 0x14], eax
mov eax, dword [edx - 0x10]
mov dword [ecx + 0x18], eax
add ecx, 0x20
dec edi
jne 0x5ed076
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
lea edx, [ebp + edi*4]
mov dword [esp + 0x30], edx
mov edx, dword [esi]
inc ecx
lea ebx, [ebx + eax*4]
mov ebp, dword [edx + 0x60]
mov dword [esp + 0x34], ecx
cmp ecx, ebp
jb 0x5ed060
mov eax, dword [esi]
push 0
mov eax, dword [eax + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x80]
mov eax, dword [esi + 0x50]
test eax, eax
je 0x5ed2ae
mov edx, 1
mov ecx, esi
call fcn.005ed31f
mov dword [esi + 0x50], eax
jmp 0x5ed2ae
mov eax, dword [esi]
mov ecx, dword [eax + 4]
test ch, 4
jne 0x5ed2ae
test ecx, 0x8000000
je 0x5ed122
mov edi, dword [eax + 0x18]
jmp 0x5ed125
mov edi, dword [eax + 0x14]
cmp dword [eax + 0x48], 8
jne 0x5ed165
xor eax, eax
lea ecx, [edx + 2]
mov edx, dword [esi]
add eax, 3
add ecx, 4
cmp eax, 0x300
mov dl, byte [edx + eax + 0xb1]
mov byte [ecx - 6], dl
mov edx, dword [esi]
mov dl, byte [edx + eax + 0xb2]
mov byte [ecx - 5], dl
mov edx, dword [esi]
mov dl, byte [edx + eax + 0xb3]
mov byte [ecx - 4], dl
mov byte [ecx - 3], 0
jl 0x5ed130
mov eax, dword [esi]
xor ebp, ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov ecx, dword [eax + 0x64]
push edi
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 0x60]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x30], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x14], eax
add edx, eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x18], ecx
add eax, ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov ecx, dword [edi]
call dword [ecx + 0x60]
cmp eax, 0x887601c2
jne 0x5ed1ba
mov edx, dword [edi]
push edi
call dword [edx + 0x6c]
test eax, eax
jne 0x5ed314
mov eax, dword [esi]
mov ecx, dword [eax + 4]
test cl, 0x20
je 0x5ed212
cmp dword [eax + 0x60], ebp
jbe 0x5ed2ae
mov ecx, dword [esi + 0x18]
push 0
add ecx, ebp
push 0x1000000
mov dword [esp + 0x1c], ecx
inc ecx
mov dword [esp + 0x24], ecx
mov ecx, ebp
shr ecx, 1
mov dword [esp + 0x2c], ecx
inc ecx
mov dword [esp + 0x34], ecx
mov eax, dword [eax + 0x1c]
mov edx, dword [edi]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x1c]
push eax
push ecx
push edi
call dword [edx + 0x14]
mov eax, dword [esi]
add ebp, 2
cmp ebp, dword [eax + 0x60]
jb 0x5ed1cd
jmp 0x5ed2ae
test cl, 0x10
je 0x5ed294
cmp dword [eax + 0x60], ebp
jbe 0x5ed2ae
mov edx, dword [esi + 0x18]
push 0
push 0x1000000
lea ecx, [ebp + edx]
lea edx, [esp + 0x28]
mov dword [esp + 0x1c], ecx
inc ecx
mov dword [esp + 0x24], ecx
mov ecx, ebp
shr ecx, 1
mov dword [esp + 0x2c], ecx
inc ecx
mov dword [esp + 0x34], ecx
mov eax, dword [eax + 0x1c]
mov ecx, dword [edi]
push edx
lea edx, [esp + 0x1c]
push eax
push edx
push edi
call dword [ecx + 0x14]
mov eax, dword [esi + 0x18]
add eax, ebp
push 0
push 0x1000000
lea ecx, [eax + 1]
add eax, 2
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi]
mov dword [esp + 0x24], eax
mov edx, dword [edi]
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 0x1c]
lea ecx, [esp + 0x1c]
push eax
push ecx
push edi
call dword [edx + 0x14]
mov eax, dword [esi]
add ebp, 2
cmp ebp, dword [eax + 0x60]
jb 0x5ed220
jmp 0x5ed2ae
mov eax, dword [eax + 0x1c]
mov edx, dword [edi]
push ebp
lea ecx, [esp + 0x24]
push 0x1000000
push ecx
lea ecx, [esp + 0x1c]
push eax
push ecx
push edi
call dword [edx + 0x14]
mov eax, dword [esi]
test dword [eax + 4], 0x8000000
je 0x5ed314
cmp dword [esi + 0x4c], 1
jne 0x5ed314
mov ecx, dword [eax + 0x48]
mov eax, dword [eax + 0x14]
cmp ecx, 8
jne 0x5ed2f8
mov edx, dword [eax]
push 1
push 0
push eax
call dword [edx + 0x2c]
mov eax, dword [esi]
mov edx, dword [esp + 0x3c]
mov eax, dword [eax + 0x24]
push edx
push 0x100
push 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
mov ecx, dword [eax]
push 1
push 0
push eax
call dword [ecx + 0x2c]
test eax, eax
je 0x5ed314
mov ecx, eax
call fcn.005f059f
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret