Function at 0x10041845
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x20
mov eax, 0x100a29f8
call fcn.100597c7
mov esi, dword [ebp + 8]
call fcn.10040090
test eax, eax
jne 0x10041870
cmp dword [ebp + 0x18], 2
je 0x10041869
cmp dword [ebp + 0x18], 3
jne 0x10041870
mov dword [ebp + 0x18], 8
mov esi, dword [ebp + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor eax, eax
lea edi, [ebp - 0x11]
stosb byte es:[edi], al
mov edi, dword [esi + 8]
call ebx
sub eax, dword [edi + 0x48]
mov dword [edi + 0x2c], eax
mov eax, 0xffff
cmp dword [ebp + 0x14], eax
ja 0x10041898
movzx eax, word [ebp + 0x14]
mov word [edi + 0x1c], ax
mov al, byte [ebp + 0x18]
mov byte [edi + 0x21], al
call ebx
mov dword [edi + 0x4c], eax
mov ebx, dword [esi + 8]
mov edx, dword [ebx + 0x5c]
xor eax, eax
lea edi, [ebp - 0x12]
stosb byte es:[edi], al
lea edi, [ebp - 0x13]
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
add eax, 0x1e8
mov ecx, dword [eax]
cmp ecx, 5
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], edx
jne 0x100418d2
mov dword [eax], 1
xor edi, edi
cmp edx, edi
mov word [ebx + 0x46], cx
jne 0x100418f7
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [ebx + 0x4c]
mov dword [ebx + 0x30], eax
call esi
sub eax, dword [ebx + 0x4c]
mov dword [ebx + 0x34], eax
jmp 0x10041a01
push 0x1c
call fcn.100537d9
cmp eax, edi
pop ecx
je 0x1004191b
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], edi
mov ebx, eax
jmp 0x1004191d
xor ebx, ebx
mov edi, dword [ebp + 0x14]
test edi, edi
mov eax, dword [ebp + 0x18]
mov dword [ebx], eax
jbe 0x10041956
push 0x100cc089
push edi
call fcn.10058ceb
test eax, eax
pop ecx
pop ecx
mov dword [ebx + 4], eax
jne 0x10041949
mov esi, ebx
call fcn.10041a09
jmp 0x10041a01
push edi
push dword [ebp + 0x10]
push eax
call fcn.10054070
add esp, 0xc
mov dword [ebx + 8], edi
xor eax, eax
lea edi, [ebp + 0x1b]
stosb byte es:[edi], al
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x60]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x10], eax
xor eax, eax
lea edi, [ebp + 0x17]
stosb byte es:[edi], al
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x54]
push 0x50
mov dword [ebx + 0xc], eax
call fcn.100537d9
test eax, eax
pop ecx
je 0x10041998
mov esi, dword [ebp - 0x1c]
push 0x14
pop ecx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0xc]
jmp 0x1004199a
xor eax, eax
mov dword [ebx + 0x18], eax
mov esi, dword [esi + 8]
xor eax, eax
and word [esi + 4], ax
lea edi, [ebp + 0xf]
push 8
stosb byte es:[edi], al
mov dword [ebp - 0x2c], vtable.fund::memory::_shared_baseptr_struct_Network::CQMCommMgr::NotifyMsg__0__1_.0
mov dword [ebp - 0x28], vtable.fund::memory::_shared_baseptr_struct_Network::CQMCommMgr::NotifyMsg__0__1_::_ptr_data.0
mov dword [ebp - 0x24], ebx
call fcn.100537d9
test eax, eax
pop ecx
je 0x100419d6
mov dword [eax], vtable.fund::memory::counter_1_.0
mov dword [eax + 4], 1
jmp 0x100419d8
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], vtable.fund::mtshared_ptr_struct_Network::CQMCommMgr::NotifyMsg__class_fund::memory::_shared_baseptr_struct_Network::CQMCommMgr::NotifyMsg__0__1__.0
mov edi, dword [ebp + 8]
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
add edi, 0x2c
call fcn.10042e9a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.1004302d
call fcn.10059866
ret 0x14