Function at 0x42b940
Capabilities:
Check for time delay via gettickcount
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f65df
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x65b500]
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 esi, ecx
mov eax, dword [esi + 0x48]
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x448], edi
mov dword [ebp - 0x470], edi
mov dword [ebp - 0x46c], ebx
mov edx, dword [eax + 4]
sub edx, dword [eax]
xor eax, eax
sar edx, 2
mov dword [ebp - 0x450], edx
mov dword [ebp - 0x454], eax
mov dword [ebp - 0x468], eax
xor ecx, ecx
mov dword [ebp - 4], eax
mov dword [ebp - 0x444], ecx
test edx, edx
jle 0x42bb1b
mov eax, dword [esi + 0x48]
push 8
mov eax, dword [eax]
lea eax, [eax + ecx*4]
mov dword [ebp - 0x448], eax
call fcn.004da3a2
mov edi, eax
add esp, 4
test edi, edi
je 0x42b9e9
mov ecx, dword [ebp - 0x448]
mov ecx, dword [ecx]
mov dword [edi], ecx
mov dword [edi + 4], 0x4d6ea0
jmp 0x42b9eb
xor edi, edi
mov dword [ebp - 0x448], edi
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 1
call fcn.0041b6c0
mov dword [ebp - 0x424], 0x6064b0
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x414], edi
lea eax, [ebp - 0x45c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x424]
call fcn.0042d7b0
mov eax, dword [ebp - 0x414]
test eax, eax
je 0x42ba45
push 8
push eax
call fcn.004da0c6
add esp, 8
mov edi, dword [ebp - 0x41c]
mov eax, dword [ebp - 0x420]
push edi
mov byte [ebp - 4], 3
mov dword [ebp - 0x44c], eax
call fcn.004408c1
add esp, 4
test eax, eax
je 0x42ba71
push eax
call fcn.00440954
add esp, 4
push edi
call fcn.00440805
push dword [ebp - 0x44c]
call fcn.00440cd0
add esp, 8
mov byte [ebp - 4], 4
cmp dword [ebp - 0x454], ebx
je 0x42babf
mov eax, dword [ebp - 0x45c]
mov dword [ebx], eax
mov eax, dword [ebp - 0x458]
mov dword [ebx + 4], eax
xor eax, eax
add ebx, 8
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x46c], ebx
jmp 0x42baea
lea eax, [ebp - 0x45c]
push eax
push ebx
lea ecx, [ebp - 0x470]
call fcn.00419b40
mov eax, dword [ebp - 0x468]
mov ebx, dword [ebp - 0x46c]
mov dword [ebp - 0x454], eax
mov eax, dword [ebp - 0x458]
mov byte [ebp - 4], 0
test eax, eax
jne 0x42c15a
mov ecx, dword [ebp - 0x444]
inc ecx
mov dword [ebp - 0x444], ecx
cmp ecx, dword [ebp - 0x450]
jl 0x42b9b8
mov edi, dword [ebp - 0x470]
mov dword [ebp - 0x448], edi
cmp edi, ebx
je 0x42bb6b
nop
cmp dword [edi + 4], 0
je 0x42bb64
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [edi + 4], eax
jne 0x42bb3a
push 5
call fcn.00440981
add esp, 4
push 0
push dword [edi + 4]
push dword [edi]
call fcn.00440a16
add esp, 0xc
test eax, eax
je 0x42bb57
push 2
call fcn.00440981
add esp, 4
mov dword [edi], 0
mov dword [edi + 4], 0
add edi, 8
cmp edi, ebx
jne 0x42bb20
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0
push 0x428
push dword [esi + 0x4c]
call edi
call fcn.0045c630
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42bce1
push 0x3d
push str.d:jenkins.jenkinsworkspacehalodeskhalosearch_findtread.h
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x42c], 0xf
mov byte [ebp - 0x440], al
call fcn.00411900
push 3
push 0x604a04
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 5
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
call fcn.00411900
mov byte [ebp - 4], 6
call fcn.0045c630
mov ebx, eax
lea ecx, [ebp - 0xa8]
push 0xf6
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.0040edb0
mov edi, eax
push str.post_WM_LOADFILE_DONE
push edi
mov byte [ebp - 4], 7
call fcn.0040fca0
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.0040fe30
mov edx, dword [ebp - 0x414]
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x42bc82
mov ecx, dword [ebp - 0x428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42bc78
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c155
push edx
push ecx
call fcn.004da0c6
add esp, 8
mov edx, dword [ebp - 0x42c]
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x42bcdb
mov ecx, dword [ebp - 0x440]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42bcd1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c15f
push edx
push ecx
call fcn.004da0c6
add esp, 8
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esi + 0x50]
mov dword [ebp - 0x464], eax
mov eax, dword [esi + 0x54]
push 0xffffffffffffffff
mov dword [ebp - 0x460], eax
lea eax, [ebp - 0x464]
push 0
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 1
je 0x42c09e
lea ebx, [esi + 0x90]
push 0
push 0
push 0x42b
push dword [esi + 0x4c]
call edi
xor eax, eax
mov byte [esi + 0xa8], 0
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x44c], eax
lea eax, [ebp - 0x41c]
cmp ebx, eax
je 0x42bd67
mov eax, dword [ebx]
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 0x444], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x44c], eax
mov dword [ebx + 8], 0
lea ecx, [esi + 0x9c]
call fcn.0040bd20
mov ecx, dword [esi + 0xac]
test ecx, ecx
je 0x42bdfe
call fcn.0042aff0
mov edi, dword [esi + 0xac]
test edi, edi
je 0x42bdf4
mov ecx, edi
call fcn.0042aff0
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x42bde9
mov eax, dword [edi + 0x10]
sub eax, ecx
sar eax, 3
lea edx, [eax*8]
cmp edx, 0x1000
jb 0x42bdca
mov ebx, dword [ecx - 4]
add edx, 0x23
sub ecx, ebx
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x42c155
mov ecx, ebx
push edx
push ecx
call fcn.004da0c6
mov dword [edi + 8], 0
add esp, 8
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
push 0x14
push edi
call fcn.004da0c6
add esp, 8
mov dword [esi + 0xac], 0
lea edi, [esi + 0x10]
push edi
push dword [edi + 4]
mov byte [ebp - 4], 8
push dword [edi]
call fcn.00419300
mov eax, dword [edi]
add esp, 0xc
mov dword [edi + 4], eax
mov edi, dword [esi + 0x1c]
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 9
push dword [edi + 4]
call fcn.0042d600
mov eax, dword [esi + 0x1c]
mov ecx, dword [ebp - 0x444]
mov byte [ebp - 4], 0
mov dword [eax + 4], edi
mov eax, dword [esi + 0x1c]
mov dword [eax], edi
mov eax, dword [esi + 0x1c]
mov dword [eax + 8], edi
mov dword [esi + 0x20], 0
test ecx, ecx
je 0x42be8a
mov eax, dword [ebp - 0x44c]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x42be80
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c155
push edx
push ecx
call fcn.004da0c6
add esp, 8
mov eax, dword [esi + 0x98]
lea ecx, [esi + 0x90]
sub eax, dword [ecx]
sar eax, 2
cmp eax, 0xf4240
jae 0x42beac
push 0xf4240
call fcn.0042d810
cmp dword [esi + 0xac], 0
jne 0x42befa
push 0x6682ac
push 0x14
call fcn.004da74a
add esp, 8
mov dword [ebp - 0x44c], eax
test eax, eax
je 0x42bef2
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax], 0x500000
mov dword [eax + 4], 0
jmp 0x42bef4
xor eax, eax
mov dword [esi + 0xac], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x665780]
mov edi, eax
mov dword [ebp - 0x444], edi
test ecx, ecx
jne 0x42bf6e
push 0x65a04c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x665780], 0
jne 0x42bf5d
push 8
call fcn.004da3a2
add esp, 4
mov dword [ebp - 0x474], eax
mov byte [ebp - 4], 0xa
test eax, eax
je 0x42bf47
mov ecx, eax
call fcn.0040c110
jmp 0x42bf49
xor eax, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x458]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x665780], eax
push 0x65a04c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x665780]
call fcn.0040c4c0
mov edx, dword [esi + 0x88]
mov ebx, eax
cmp edx, 0xffffffff
jne 0x42c0f8
xor edi, edi
cmp dword [ebp - 0x450], edi
jbe 0x42bfd2
nop
cmp byte [esi + 0xa8], 0
jne 0x42bfd2
mov ecx, esi
lea eax, [esi + 0xc]
neg ecx
sbb ecx, ecx
and ecx, eax
cmp dword [esi + 0x6c], 0x10
lea eax, [esi + 0x58]
jb 0x42bfaf
mov eax, dword [eax]
push 0
push 1
push ebx
push dword [esi + 0xa4]
push ecx
push eax
mov eax, dword [esi + 0x48]
mov ecx, dword [eax]
mov ecx, dword [ecx + edi*4]
call fcn.004d80d0
inc edi
cmp edi, dword [ebp - 0x450]
jb 0x42bf90
mov edi, dword [ebp - 0x444]
mov ecx, dword [esi + 0x94]
lea ebx, [esi + 0x90]
mov eax, ecx
sub eax, dword [ebx]
sar eax, 2
test eax, eax
je 0x42c00f
cmp byte [esi + 0xa8], 0
jne 0x42c00f
push eax
push 0
push 0x429
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x94]
sub ecx, dword [ebx]
sar ecx, 2
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
push eax
lea eax, [ebp - 0x410]
push str.search:_d_counts:_d_n
push eax
call fcn.0042e040
add esp, 0x10
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
sar eax, 2
push eax
movzx eax, byte [esi + 0xa8]
push eax
push 0x42a
push dword [esi + 0x4c]
call edi
push dword [esi + 0x50]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov byte [esi + 0x8c], 0
mov eax, dword [esi + 0x50]
mov dword [ebp - 0x464], eax
mov eax, dword [esi + 0x54]
push 0xffffffffffffffff
mov dword [ebp - 0x460], eax
lea eax, [ebp - 0x464]
push 0
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 1
jne 0x42bd15
mov ecx, esi
call fcn.0041eb70
mov edx, dword [ebp - 0x448]
test edx, edx
je 0x42c137
mov ecx, dword [ebp - 0x46c]
mov eax, edx
cmp eax, ecx
je 0x42c0d1
nop
cmp dword [eax + 4], 0
jne 0x42c15a
add eax, 8
cmp eax, ecx
jne 0x42c0c0
mov ecx, dword [ebp - 0x454]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x42c12d
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c164
jmp 0x42c12d
mov ecx, esi
lea eax, [esi + 0xc]
neg ecx
sbb ecx, ecx
and ecx, eax
cmp dword [esi + 0x6c], 0x10
lea eax, [esi + 0x58]
jb 0x42c10e
mov eax, dword [eax]
push 0
push 1
push ebx
push dword [esi + 0xa4]
push ecx
push eax
mov eax, dword [esi + 0x48]
mov ecx, dword [eax]
mov ecx, dword [ecx + edx*4]
call fcn.004d80d0
jmp 0x42bfd8
push ecx
push edx
call fcn.004da0c6
add esp, 8
xor eax, eax
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.004da36e
mov esp, ebp
pop ebp
ret
call fcn.005c8d19
call fcn.005cc06b
call fcn.005c8d19
call fcn.005c8d19
int3