Function at 0x4357d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4944c8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4bcad4]
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 edx, dword [ebp + 0x14]
mov esi, ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x30], edx
test dword [esi + 0xc], eax
je 0x435a1c
lea ecx, [esi + 4]
mov dword [ebp - 0x38], ecx
call fcn.0042e2e0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [ebp - 0x12]
mov ecx, dword [esi + 0x68]
mov eax, dword [esi + 0x6c]
push edx
movzx edx, word [ebp - 0x14]
push edx
movzx edx, word [ebp - 0x16]
push edx
movzx edx, word [ebp - 0x18]
push edx
sub eax, ecx
push str.__02u:_02u:_02u._03u_
push eax
push ecx
call fcn.004779e1
mov ebx, dword [esi + 0x6c]
mov edi, eax
mov eax, dword [esi + 0x68]
sub ebx, eax
add eax, edi
add esp, 0x1c
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov eax, dword [ebp - 0x3c]
push str.__04x_
sub ebx, edi
push ebx
push eax
call fcn.004779e1
mov ecx, dword [ebp - 0x34]
mov edx, dword [esi + 0x6c]
add esp, 0x10
add edi, eax
mov eax, dword [esi + 0x68]
push ecx
mov ecx, esi
sub edx, eax
lea ebx, [eax + edi]
call fcn.00434150
push eax
push 0x49d224
sub edx, edi
push edx
push ebx
call fcn.004779e1
mov edx, dword [ebp - 0x40]
add esp, 0x10
add edi, eax
test edx, edx
je 0x4358e3
mov ecx, dword [esi + 0x68]
mov eax, dword [esi + 0x6c]
push edx
sub eax, ecx
push 0x49d224
sub eax, edi
add ecx, edi
push eax
push ecx
call fcn.004779e1
add esp, 0x10
add edi, eax
mov ecx, dword [esi + 0x68]
mov eax, dword [esi + 0x6c]
sub eax, ecx
push 0x4ad624
push 0x497ad0
sub eax, edi
add ecx, edi
push eax
push ecx
call fcn.004779e1
mov edx, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x28]
push edx
push ebx
add edi, eax
call fcn.00479aae
mov ecx, dword [esi + 0x6c]
sub ecx, dword [esi + 0x68]
lea eax, [eax + edi + 3]
add esp, 0x18
cmp eax, ecx
jbe 0x435939
mov ecx, eax
shr ecx, 0xa
test eax, 0x3ff
je 0x43592d
inc ecx
shl ecx, 0xa
push ecx
lea ecx, [esi + 0x68]
call fcn.0040c930
mov edx, dword [ebp - 0x30]
mov ecx, dword [esi + 0x68]
mov eax, dword [esi + 0x6c]
push edx
sub eax, ecx
push ebx
push 0xffffffffffffffff
sub eax, edi
add ecx, edi
push eax
push ecx
call fcn.00479a32
mov ecx, dword [esi + 0x6c]
add edi, eax
mov eax, dword [esi + 0x68]
sub ecx, eax
push 0x49d22c
sub ecx, edi
push ecx
add eax, edi
push eax
call fcn.004779e1
mov edi, dword [ebp - 0x2c]
add esp, 0x20
test byte [edi + 0x10], 1
je 0x43598a
mov eax, dword [esi + 0x68]
push eax
push 0x497ad0
call fcn.004797ba
add esp, 8
test byte [edi + 0x10], 2
je 0x43599a
mov eax, dword [esi + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test byte [edi + 0x10], 4
je 0x4359a7
mov ecx, edi
call fcn.00434f00
mov ebx, dword [esi + 0x6c]
mov ecx, dword [esi + 0x68]
mov eax, dword [esi + 0x6c]
sub ebx, dword [esi + 0x68]
mov byte [ebp - 0x21], 0
mov dword [ebp - 0x28], ecx
cmp ecx, eax
je 0x4359d3
mov edi, eax
sub edi, eax
push edi
push eax
push ecx
call fcn.004756f0
add esp, 0xc
add edi, dword [ebp - 0x28]
mov dword [esi + 0x6c], edi
mov eax, dword [esi + 0x68]
lea ecx, [ebp - 0x21]
push ecx
push ebx
push eax
lea ecx, [esi + 0x68]
call fcn.0040c690
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
mov eax, accept
mov edx, ecx
lock xadd dword [edx], eax
test eax, 0x40000000
jne 0x435a1c
cmp eax, 0x80000000
jle 0x435a1c
mov eax, ecx
lock bts dword [eax], 0x1e
jb 0x435a1c
call fcn.0042e2a0
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
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.004751f1
mov esp, ebp
pop ebp
ret 0x10