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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov eax, dword [edi + 0x248]
mov ecx, dword [esi + 0x38]
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x158], 0
cmp byte [edi + 1], 0
mov dword [ebp + 8], eax
jne 0x439b0d
push 0x3e8
push 0
lea edx, [ebp - 0xc]
push edx
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
sub ebx, dword [ebp + 8]
test edi, edi
je 0x4399c9
cmp edi, 1
je 0x439a09
cmp edi, 0x102
jne 0x439a88
mov eax, dword [ebp + 0xc]
mov edx, dword [esi + 4]
push 0
push eax
lea ecx, [esi + 0x3c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
jne 0x439a34
cmp eax, 0xea
je 0x439a34
mov ecx, dword [esi + 0x54]
cmp ecx, 6
jne 0x439992
cmp ebx, 0x3e8
jbe 0x439992
mov dword [esi + 0x158], edi
cmp eax, 0x3e4
jne 0x439a42
cmp ecx, 4
jne 0x4399ae
cmp ebx, 0x2710
ja 0x439ad4
mov eax, dword [ebp - 4]
cmp byte [eax + 1], 0
je 0x439910
pop edi
pop esi
mov eax, 2
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov edi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x4399f4
cmp eax, 0xffffffff
je 0x4399f4
push eax
mov dword [esi + 0x54], 0x64
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov dword [esi + 0x54], 0x65
call ebx
sub eax, edi
add dword [esi + 0x24], eax
pop edi
mov dword [esi + 0x28], eax
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi + 4]
push 0
push ecx
lea edx, [esi + 0x3c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x439a34
cmp eax, 0xea
jne 0x439b0d
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.PipeServerThread:GetOverlappedResult_failed_with_0x_08X
lea edi, [esi + 0x58]
push 0x80
push edi
call fcn.0044cff0
mov ecx, dword [ebp - 4]
add esp, 0x10
add ecx, 0xc
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.PipeServerError__PID_u__TID_u_n___s_n___s_n
push 0x208
lea edx, [ebp - 0x41c]
push edx
jmp 0x439acc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.PipeServerThread:WaitForMultipleObjects_failed_with_0x_08X
lea edi, [esi + 0x58]
push 0x80
push edi
call fcn.0044cff0
mov eax, dword [ebp - 4]
add esp, 0x10
add eax, 0xc
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.PipeServerError__PID_u__TID_u_n___s_n___s_n
push 0x208
lea ecx, [ebp - 0x41c]
push ecx
call fcn.0044cff0
add esp, 0x1c
mov eax, dword [esi + 4]
test eax, eax
je 0x439b0d
cmp eax, 0xffffffff
je 0x439b0d
push eax
mov dword [esi + 0x54], 0x64
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov edx, dword [esi + 4]
push edx
mov dword [esi + 0x54], 0xc8
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov dword [esi + 0x54], 0xc9
pop edi
pop esi
mov eax, 2
pop ebx
mov esp, ebp
pop ebp
ret 8