Function at 0x405380
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41f648
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x42bba8]
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 eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x18]
mov edx, dword [0x42bb74]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x38], ecx
mov ecx, 0x42bb74
call eax
add eax, 0x10
mov dword [ebp - 0x24], eax
mov edx, dword [0x42bb74]
mov eax, dword [edx + 0xc]
mov ecx, 0x42bb74
mov dword [ebp - 4], 0
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x28], ebx
test byte [0x42d120], 8
mov byte [ebp - 4], 1
je 0x40542c
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [ebp - 0x12]
movzx eax, word [ebp - 0x14]
movzx ecx, word [ebp - 0x16]
push edx
movzx edx, word [ebp - 0x18]
push eax
push ecx
push edx
lea eax, [ebp - 0x28]
push str._0.2d:_0.2d:_0.2d._0.3d
push eax
call fcn.00403eb0
mov ebx, dword [ebp - 0x28]
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [0x42bb74]
mov esi, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x42bb74
call eax
add eax, 0x10
mov dword [ebp - 0x2c], eax
push esi
lea ecx, [ebp - 0x2c]
push 0x4228d8
push ecx
mov byte [ebp - 4], 2
call fcn.00403eb0
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx - 0xc]
add esp, 0xc
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.00403df0
test byte [0x42d120], 8
je 0x40549e
mov eax, dword [ebx - 0xc]
push eax
push ebx
lea ecx, [ebp - 0x24]
call fcn.00403df0
test byte [0x42d120], 8
je 0x40549e
push 1
push 0x4228d4
lea ecx, [ebp - 0x24]
call fcn.00403df0
push edi
lea ecx, [ebp - 0x30]
call fcn.00404400
push 5
mov bl, 3
push 0x4228c8
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.00403df0
push 5
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x30]
call fcn.00405240
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x24]
push 0x4228c0
push ecx
mov byte [ebp - 4], 4
call fcn.00405360
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
add esp, 0xc
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405503
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test byte [0x42d120], 2
je 0x40552d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push esi
push eax
lea ecx, [ebp - 0x24]
push str.__5d:_5d_
push ecx
call fcn.00405360
add esp, 0x10
test byte [0x42d120], 4
je 0x40554b
mov edx, dword [ebp - 0x34]
push edx
lea eax, [ebp - 0x24]
push str.__s_
push eax
call fcn.00405360
add esp, 0xc
mov ecx, dword [ebp - 0x38]
push ecx
lea edx, [ebp - 0x24]
push str.__s_r_n
push edx
call fcn.00405360
mov esi, dword [ebp - 0x24]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
push 0x42ce08
call fcn.004012d0
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40559b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4055be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4055e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405604
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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.0040fba6
mov esp, ebp
pop ebp
ret