Function at 0x41c790
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c3dfb
mov eax, dword fs:[0]
push eax
sub esp, 0x814
mov eax, dword [0x624500]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x81c], edx
mov edi, dword [edx + 4]
mov edx, dword [edx]
mov ebx, dword [ebp + 8]
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 8]
sub ecx, dword [eax]
sub ecx, 8
sar ecx, 3
mov dword [ebp - 0x820], ecx
mov ecx, dword [edi + 0xc]
mov ecx, dword [ecx + 0x28]
call fcn.004368b0
mov esi, dword [edi + 8]
mov edx, ebx
mov dword [ebp - 0x814], 0
mov ecx, dword [eax]
mov dword [esi], ecx
lea ecx, [ebp - 0x814]
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
add dword [edi + 8], 8
call fcn.0040926c
mov ebx, dword [ebp - 0x81c]
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x814]
mov esi, dword [ebx + 4]
test edi, edi
jne 0x41c83b
mov eax, dword [esi + 8]
mov dword [eax + 4], 0x7ff7a500
jmp 0x41c877
mov eax, dword [esi + 0xc]
cmp dword [eax + 0xc], 0
jle 0x41c84b
mov ecx, esi
call fcn.0043c530
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41c850
sub ecx, edx
mov edx, edi
push ecx
mov ecx, esi
call fcn.0043d3c0
mov ecx, dword [esi + 8]
add esp, 4
mov dword [ecx], eax
movzx eax, byte [eax + 4]
or eax, 0x7ff7a540
mov dword [ecx + 4], eax
add dword [esi + 8], 8
mov edx, dword [ebp - 0x814]
add edx, 0xfffffff0
mov dword [ebp - 4], 1
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41c8a0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
call fcn.00408b3b
mov ebx, dword [ebx + 4]
mov ecx, dword [ebx + 8]
mov edi, ecx
mov eax, dword [ebx + 0x10]
sub edi, dword [eax]
sub edi, 8
mov dword [ecx], 0x41b4a0
sar edi, 3
mov dword [ecx + 4], 0x7ff7a516
dec edi
add dword [ebx + 8], 8
mov edx, edi
mov ecx, ebx
call fcn.004310e0
push 0
push ecx
push edi
push 1
mov edx, 1
mov ecx, ebx
call fcn.00432480
add esp, 0x10
mov edx, edi
mov ecx, ebx
mov esi, eax
call fcn.00431050
test esi, esi
je 0x41c9dd
mov ebx, dword [ebp - 0x81c]
mov dword [ebp - 0x818], 0
mov esi, dword [ebx + 4]
mov ecx, dword [esi + 8]
sub ecx, 8
mov eax, dword [ecx + 4]
or eax, 0x70
cmp eax, 0x7ff7a574
je 0x41c94f
mov edx, ecx
mov ecx, esi
call fcn.00436d40
test eax, eax
jne 0x41c939
xor edx, edx
jmp 0x41c954
mov eax, dword [esi + 0xc]
cmp dword [eax + 0xc], 0
jle 0x41c949
mov ecx, esi
call fcn.0043c530
mov ecx, dword [esi + 8]
sub ecx, 8
mov edx, dword [ecx]
add edx, 0x10
lea ecx, [ebp - 0x818]
call fcn.00409c4a
mov eax, dword [0x5fd6e0]
mov dword [ebp - 0x810], eax
mov eax, dword [0x5fd6e4]
push 0x7f8
mov dword [ebp - 0x80c], eax
lea eax, [ebp - 0x808]
push 0
push eax
call fcn.0058d810
push dword [ebp - 0x818]
lea eax, [ebp - 0x80a]
push str._s_r_n
push eax
call fcn.0040988e
add esp, 0x18
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebx + 4]
add dword [eax + 8], 0xfffffff8
mov edx, dword [ebp - 0x818]
add edx, 0xfffffff0
mov dword [ebp - 4], 2
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41c9f1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41c9f1
mov ecx, dword [ebp - 0x81c]
mov edx, dword [ebp - 0x820]
mov ecx, dword [ecx + 4]
call fcn.00431000
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00539e65
mov esp, ebp
pop ebp
ret 4