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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
cmp dword [0x507a24], 4
push ebx
push esi
push edi
mov esi, ecx
jl 0x43efec
push str.CFileHandleNames::CreateSnapshot__...
push 4
call fcn.00445f0b
pop ecx
pop ecx
mov ecx, esi
call fcn.0043e1be
xor edi, edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esi + 0x34], edi
xor ebx, ebx
cmp dword [0x507a24], 4
mov dword [ebp - 0x14], eax
jl 0x43f021
push dword [esi + 0x2c]
push str._Iu_handles
push 4
call fcn.00445f0b
add esp, 0xc
xor edx, edx
cmp dword [esi + 0x2c], edi
jbe 0x43f04c
mov eax, dword [esi + 4]
add eax, 4
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x14]
je 0x43f043
cmp ecx, 4
je 0x43f043
cmp ecx, ebx
je 0x43f043
inc dword [esi + 0x34]
mov ebx, ecx
inc edx
add eax, 0x1c
cmp edx, dword [esi + 0x2c]
jb 0x43f02e
cmp dword [esi + 0xc], edi
jne 0x43f305
mov eax, dword [esi + 0x34]
cmp eax, edi
je 0x43f305
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043ff54
mov dword [esi + 0x30], eax
cmp dword [0x507a24], 4
pop ecx
jl 0x43f091
push eax
push str.ProcessInfos_new0x_08Ix
push 4
call fcn.00445f0b
add esp, 0xc
mov eax, dword [esi + 0x34]
shl eax, 2
push eax
push edi
push dword [esi + 0x30]
call fcn.0043fd94
xor eax, eax
push 0x206
mov word [ebp - 0x43c], ax
lea eax, [ebp - 0x43a]
push edi
push eax
mov dword [esi + 0x34], edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call fcn.0043fd94
add esp, 0x18
xor ebx, ebx
cmp dword [esi + 0x2c], edi
jbe 0x43f2e4
jmp 0x43f0d7
xor edi, edi
cmp dword [esi + 0xc], edi
jne 0x43f305
mov edi, dword [esi + 4]
mov ecx, ebx
imul ecx, ecx, 0x1c
add edi, ecx
mov eax, dword [edi + 4]
mov dword [ebp - 0xc], ecx
test eax, eax
je 0x43f2d2
cmp eax, 4
je 0x43f2d2
cmp eax, dword [ebp - 0x14]
je 0x43f2d2
cmp eax, dword [ebp - 8]
je 0x43f1df
cmp dword [ebp - 4], 0
mov dword [ebp - 8], eax
je 0x43f125
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test byte [0x506c38], 1
jne 0x43f14f
or dword [0x506c38], 1
cmp dword [0x4fabc0], 6
sbb eax, eax
and eax, 0xfffff400
add eax, 0x1000
mov dword [0x506c34], eax
jmp 0x43f154
mov eax, dword [0x506c34]
push dword [edi + 4]
or eax, 0x40
push 0
push eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
test eax, eax
je 0x43f1b0
push 0x104
lea eax, [ebp - 0x43c]
push eax
push dword [edi + 4]
call fcn.00427bb0
test eax, eax
je 0x43f1aa
lea eax, [ebp - 0x43c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
je 0x43f1aa
push eax
call fcn.0043e65f
test eax, eax
je 0x43f1aa
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 4], 0
cmp dword [ebp - 4], 0
jne 0x43f1eb
inc ebx
cmp ebx, dword [esi + 0x2c]
jae 0x43f2d2
mov ecx, dword [esi + 4]
mov eax, ebx
imul eax, eax, 0x1c
lea eax, [eax + ecx + 4]
mov ecx, dword [ebp - 8]
cmp dword [eax], ecx
jne 0x43f2d1
inc ebx
add eax, 0x1c
cmp ebx, dword [esi + 0x2c]
jb 0x43f1c6
jmp 0x43f2d2
cmp dword [ebp - 4], 0
je 0x43f2d2
jmp 0x43f1ee
mov ecx, dword [ebp - 0xc]
mov edi, dword [edi + 4]
mov edx, dword [esi + 4]
mov eax, ebx
cmp dword [ecx + edx + 4], edi
jne 0x43f208
lea ecx, [ecx + edx + 4]
add ecx, 0x1c
inc eax
cmp dword [ecx], edi
je 0x43f200
mov ecx, dword [ebp - 4]
sub eax, ebx
mov edi, eax
imul edi, edi, 0x14
mov dword [ebp - 0x22c], ebx
add ebx, eax
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], edi
call fcn.0043fd94
add esp, 0xc
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [0x493a74], 2
jne 0x43f273
lea eax, [ebp - 0x234]
push eax
call fcn.0043ed57
jmp 0x43f2d1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x18], eax
push 0
lea eax, [ebp - 0x234]
push eax
push fcn.0043ed57
call fcn.00425584
add edi, 0xa
push edi
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0xc]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x43f2d1
lea eax, [ebp - 0x43c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x18]
xor edi, edi
push eax
push str.timeout_waiting_for_GetHandleNamesForProcess_ThreadProc_t_u_exe_s
inc edi
push edi
call fcn.00445f0b
add esp, 0x10
mov dword [ebp - 0x10], edi
dec ebx
inc ebx
cmp ebx, dword [esi + 0x2c]
jb 0x43f0d5
cmp dword [ebp - 0x10], 0
jne 0x43f2ee
xor edi, edi
push dword [esi]
call fcn.0043ffc9
pop ecx
mov dword [esi], edi
cmp dword [0x507a24], 4
jl 0x43f305
push str.______CFileHandleNames::CreateSnapshot______
push 4
call fcn.00445f0b
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret