Function at 0x411916
Capabilities:
Print debug messages

Disassembly:
mov dx, word [ebx + 0x7c]
and dx, 3
or dx, 4
and dx, cx
mov word [eax + 0x7c], dx
jmp 0x411a4e
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebx + 8]
mov eax, dword [esi + 0x84]
mov dword [ebp + 0xc], eax
lea eax, [ebx + 0x44]
mov ecx, dword [eax]
push edi
mov edi, dword [ebx + 0x84]
mov dword [ebp - 4], esi
mov dword [ebp - 8], edi
mov edx, 0x10000
cmp ecx, dword [eax + 0x10]
jne 0x42485e
cmp dword [eax + 4], 0
jne 0x42485e
cmp dword [eax + 0xc], 0
jne 0x42485e
cmp ecx, edx
jne 0x42485e
cmp byte [ebx + 0xac], 0
je 0x42d98d
xor ecx, ecx
cmp dword [esi + 0x8c], ecx
jne 0x4169cc
cmp dword [esi + 0x94], ecx
jne 0x4169cc
xor esi, esi
mov eax, dword [ebx + 0x34]
cmp eax, 1
jne 0x42d9fe
mov eax, dword [ebx + 8]
cmp byte [eax + 0xac], cl
je 0x42d9e9
lea eax, [ebp + 0x10]
push eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebx + 0x44]
push eax
movzx eax, byte [ebx + 0x6a]
push eax
movzx eax, byte [ebx + 0xac]
push eax
movzx eax, byte [ebx + 0x38]
push eax
movzx eax, word [ebx + 0x3c]
push eax
movzx eax, word [ebx + 0x3a]
push eax
lea edi, [ebp + 8]
call fcn.0041150c
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp - 8]
mov eax, esi
call fcn.00411e8d
cmp byte [ebx + 0x69], 0
mov eax, dword [ebp - 4]
je 0x411a34
mov byte [eax + 0x68], 1
movsx ecx, word [esi + 0x28]
mov edx, dword [esi + 0x20]
mov cx, word [edx + ecx*2 - 2]
mov edi, dword [esi]
inc cx
movzx edx, cx
mov ecx, edx
mov edi, dword [edi + ecx*4]
mov dword [eax + 0x6c], edi
mov edi, dword [esi + 4]
mov ecx, dword [edi + ecx*4]
mov dword [eax + 0x70], ecx
inc edx
movzx ecx, dx
mov edx, dword [esi]
mov edx, dword [edx + ecx*4]
mov dword [eax + 0x74], edx
mov edx, dword [esi + 4]
mov ecx, dword [edx + ecx*4]
mov dword [eax + 0x78], ecx
movzx ecx, word [eax + 0x7c]
mov edx, 0xffff
cmp cx, dx
jne 0x4115cf
mov cx, word [ebx + 0x7c]
mov word [eax + 0x7c], cx
mov eax, dword [ebp + 0xc]
mov edi, esi
call fcn.004118c3
xor eax, eax
mov word [esi + 0x28], ax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [esi + 0x88], ecx
je 0x42d9d5
push 2
pop esi
jmp 0x411993
movsx ecx, word [edi + 0x28]
push edx
push edx
mov edx, dword [edi + 0x20]
mov cx, word [edx + ecx*2 - 2]
push dword [edi]
add cx, 9
movzx ecx, cx
push ecx
mov ecx, dword [edi + 4]
call fcn.004164ae
jmp 0x41196a
mov eax, dword [ebx + 8]
cmp byte [eax + 0xac], 0
je 0x411977
mov eax, dword [ebp + 8]
cmp byte [eax + 0x121], 0
mov esi, edi
setne cl
mov byte [eax + 0x13d], 1
mov byte [eax + 0x13e], cl
call fcn.0044c8be
mov eax, dword [ebp + 8]
call fcn.0044c93d
mov esi, dword [ebp - 4]
mov byte [ebx + 0xac], 1
jmp 0x411977
cmp dword [esi + 0x98], ecx
jne 0x4169d8
xor esi, esi
inc esi
jmp 0x411993
push dword [ebp + 0x10]
mov edi, dword [ebp + 8]
add eax, 0x88
call fcn.0044c6cd
jmp 0x4119ae
cmp eax, ecx
je 0x42da0d
push 0x42da78
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 0x28]
test cx, cx
je 0x42da6d
mov eax, dword [eax + 0x20]
movzx edx, word [ebx + 0x3e]
movsx ecx, cx
movsx eax, word [eax + ecx*2 - 2]
add eax, 8
cmp edx, eax
jg 0x42da6d
movsx ecx, word [edi + 0x28]
mov esi, dword [edi + 0x20]
movsx ecx, word [esi + ecx*2 - 2]
movzx eax, word [ebx + 0x40]
add ecx, 8
cmp eax, ecx
jg 0x42da6d
mov esi, dword [edi]
mov ecx, eax
mov eax, edx
mov edx, ecx
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
mov ecx, dword [ecx + eax*4]
sub ecx, dword [esi + edx*4]
mov esi, dword [edi + 4]
mov edi, dword [ebp + 0xc]
mov edi, dword [edi + 4]
mov edi, dword [edi + eax*4]
sub edi, dword [esi + edx*4]
jmp 0x4119e4
mov eax, 0x1401
jmp 0x411a5e