Function at 0x404770
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov dword [ebp - 0x54], 0x1ca8
mov dword [ebp - 0x20], 0xe8ce
mov dword [ebp - 0x30], 0x9886
mov dword [ebp - 0xc], 0x1330d
mov dword [ebp - 0x48], 0x88a8
mov dword [ebp - 0x10], 0x1815e
mov dword [ebp - 0x34], 0x13eaf
mov dword [ebp - 4], 0x12b2e
mov dword [ebp - 0x24], 0xb748
mov dword [ebp - 0x64], 0x3017
mov dword [ebp - 0x18], 0x2e4e
mov dword [ebp - 0x6c], 0xaf3a
mov dword [ebp - 0x1c], 0x15346
mov dword [ebp - 0x50], 0x13a54
mov dword [ebp - 0x14], 0x41e5
mov dword [ebp - 0x40], 0x3f2c
mov dword [ebp - 8], 0x4e1a
mov dword [ebp - 0x70], 0x47e9
mov dword [ebp - 0x74], 0xcd83
mov dword [ebp - 0x58], 0x2cd5
mov dword [ebp - 0x44], 0x611c
mov dword [ebp - 0x68], 0x1a00
mov eax, dword [ebp - 0x34]
sub eax, 0xf7ff
push eax
mov ecx, dword [ebp - 0xc]
sub ecx, 0x29e3
push ecx
call fcn.0041dfa0
add esp, 8
mov edx, dword [ebp - 0x54]
cmp edx, dword [ebp - 0x20]
jge 0x40483c
mov dword [ebp - 0x28], 1
jmp 0x404843
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 4]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 4]
sub edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x60]
jge 0x40486c
mov dword [ebp - 0x2c], 1
jmp 0x404873
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x30]
xor ecx, dword [ebp - 0x28]
or ecx, dword [ebp - 0x2c]
je 0x4049c1
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0x1c]
jne 0x4049c1
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
jne 0x4049c1
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [ebp - 0x14]
jne 0x4049c1
mov edx, dword [ebp - 0x40]
cmp edx, dword [ebp - 8]
jne 0x4049c1
push 0x2a48
push 0x12a48
push 0x751e
push 0x9026
push 0xfb74
push 0xf7b3
push 0xb66
push 0x43d5
push 0x5daf
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 0x24
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
jge 0x4048f9
mov dword [ebp - 0x3c], 1
jmp 0x404900
mov dword [ebp - 0x3c], 0
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp - 8]
jge 0x404911
mov dword [ebp - 0x38], 1
jmp 0x404918
mov dword [ebp - 0x38], 0
mov edx, dword [ebp - 0x34]
and edx, dword [ebp - 0x38]
or edx, dword [ebp - 0x3c]
je 0x4049c1
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 8]
jne 0x4049c1
mov ecx, dword [ebp - 0x64]
cmp ecx, dword [ebp - 0x44]
jne 0x4049c1
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x40]
jne 0x4049c1
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x18]
jne 0x4049c1
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x18]
jne 0x4049c1
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x1c]
jge 0x404968
mov dword [ebp - 0x4c], 1
jmp 0x40496f
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x44]
xor eax, dword [ebp - 0x48]
and eax, dword [ebp - 0x4c]
je 0x4049a9
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x10]
jne 0x4049a9
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0xc]
jne 0x4049a9
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x10]
jne 0x4049a9
mov ecx, dword [ebp - 0x68]
cmp ecx, dword [ebp - 0x10]
jne 0x4049a9
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjectsEx]
mov edx, dword [ebp - 0x50]
add edx, 1
mov dword [ebp - 0x50], edx
push 0x535f
push 0x10b56
push 0xdaec
call dword [sym.imp.KERNEL32.dll_WakeAllConditionVariable]
add esp, 0xc
mov esp, ebp
pop ebp
ret