Function at 0x404360
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x58
push ebx
push ebp
mov ebp, ecx
mov ebx, edx
mov ecx, dword [0x4e8c4c]
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], ebx
lea esi, [eax + eax*2]
mov eax, dword [0x4e9eb0]
lea edi, [eax + esi*4]
mov eax, dword [edi]
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], eax
cmp ecx, dword [0x4e4784]
jge 0x40461e
mov al, byte [edi + 8]
cmp al, byte [edi + 9]
jae 0x40461e
mov esi, dword [0x4e4788]
cmp dword [esi + 0x3c], 0
jg 0x40461e
mov edx, dword [0x4e8c38]
inc ecx
add esi, 0xa0
mov dword [0x4e8c4c], ecx
mov dword [0x4e4788], esi
test edx, edx
je 0x4043d7
add edx, 0x58
jmp 0x4043d9
xor edx, edx
movups xmm0, xmmword [edx]
mov ecx, esi
lea eax, [esi + 0x58]
neg ecx
push 0x58
sbb ecx, ecx
and ecx, eax
push 0
push esi
movups xmmword [ecx], xmm0
movups xmm0, xmmword [edx + 0x10]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [edx + 0x20]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [edx + 0x30]
movups xmmword [ecx + 0x30], xmm0
mov eax, dword [edx + 0x40]
mov dword [ecx + 0x40], eax
call fcn.0049dcb0
add esp, 0xc
mov byte [esi + 0x53], 1
mov ecx, 0x4e9ec0
mov dword [esi + 0x3c], 0
push 0
call fcn.00439750
mov al, byte [esi + 0x96]
test al, al
jne 0x40443c
mov byte [esi + 0x96], al
cmp dword [0x4ea5a8], 0
je 0x40444e
cmp dword [0x4ea5a4], 0
jne 0x404452
test al, al
je 0x404484
mov dword [esi + 0x5c], 0x10
mov byte [esi + 0x53], 0
test al, al
jne 0x404484
cmp dword [0x4ea5a8], 0
jge 0x404473
mov dword [esi + 0x44], 0xffffffff
jmp 0x404484
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [esi + 0x48], eax
mov eax, dword [0x4ea5a8]
mov dword [esi + 0x44], eax
mov ecx, dword [0x4e9e3c]
cmp ecx, dword [0x4e9e40]
jne 0x40449d
call fcn.004071ee
mov ecx, dword [0x4e9e3c]
cmp ecx, dword [0x4e9e38]
jb 0x4044b2
mov eax, dword [0x4ea504]
mov dword [ecx], eax
mov ecx, dword [0x4e9e3c]
add ecx, 0xc
mov dword [0x4e9e3c], ecx
mov dword [ecx], 0
mov dword [ecx + 4], 0x4cef38
mov dword [ecx + 8], 0
test ebx, ebx
jne 0x4044d7
xor esi, esi
jmp 0x40450a
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, ebx
push 0xfffffffffffffff0
push ebx
call edi
test eax, 0x40000000
je 0x404506
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push esi
call ebx
test eax, eax
je 0x404506
push 0xfffffffffffffff0
push eax
mov esi, eax
call edi
test eax, 0x40000000
jne 0x4044f1
mov edi, dword [esp + 0x14]
mov ecx, dword [0x4e4788]
mov eax, dword [esp + 0x78]
mov dword [ecx + 0x20], esi
test eax, eax
je 0x404521
mov eax, dword [eax + 0x10]
mov dword [ecx + 0x24], eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov edx, dword [esp + 0x24]
mov dword [0x4ea5ac], eax
inc byte [edi + 8]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
push 0
push ecx
mov dword [esp + 0x60], eax
mov ecx, edx
lea eax, [esp + 0x20]
mov dword [esp + 0x38], 1
push eax
push 4
lea eax, [esp + 0x38]
mov dword [esp + 0x3c], 0
push eax
push 0
mov dword [esp + 0x58], 1
mov dword [esp + 0x54], 0
mov dword [esp + 0x68], 1
mov dword [esp + 0x64], 0
mov dword [esp + 0x78], 1
mov dword [esp + 0x74], 0
call fcn.00473ed0
add esp, 0x18
cmp eax, 7
sete bl
jne 0x4045c0
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, dword [0x4e9e3c]
sub eax, 0xc
mov dword [0x4e9e3c], eax
cmp eax, dword [0x4e9e38]
jb 0x4045e1
mov eax, dword [eax]
mov dword [0x4e9e4c], eax
mov dword [0x4ea504], eax
call fcn.00404630
cmp byte [ebp + 0x10], 0
jne 0x404610
mov eax, dword [ebp + 8]
lea ecx, [eax + eax*2]
mov eax, dword [0x4e9eb0]
lea ecx, [eax + ecx*4]
mov al, byte [ecx + 8]
test al, al
je 0x404614
dec al
mov byte [ecx + 8], al
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
mov byte [ebp + 0x10], 0
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x58
ret