Function at 0x42ad10
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x496bab
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bc4a0]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov eax, dword [0x4bde60]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [0x4bde64]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [0x4bde60]
push 0x1c
push str...p2psrc_src_timer.cpp
push edx
push str.__handle_cls:_0x_x__file:__s:_u
call fcn.00416770
mov eax, dword [0x4bde60]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
add esp, 0x10
cmp eax, ebx
je 0x42ad8d
push eax
call esi
mov dword [0x4bde60], ebx
mov eax, dword [0x4bde64]
push 0x1d
push str...p2psrc_src_timer.cpp
push eax
push str.__handle_cls:_0x_x__file:__s:_u
call fcn.00416770
mov eax, dword [0x4bde64]
add esp, 0x10
cmp eax, ebx
je 0x42adb9
push eax
call esi
mov dword [0x4bde64], ebx
lea ecx, [esp + 0x14]
call fcn.0042ab90
push 0x4bde48
mov dword [esp + 0xc0], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x4bde74]
cmp esi, dword [0x4bde78]
jbe 0x42ade7
call fcn.0046814b
mov ebp, dword [0x4bde68]
lea ecx, [ecx]
mov edi, dword [0x4bde78]
cmp dword [0x4bde74], edi
jbe 0x42ae03
call fcn.0046814b
cmp ebp, ebx
je 0x42ae0f
cmp ebp, dword [0x4bde68]
je 0x42ae14
call fcn.0046814b
cmp esi, edi
je 0x42afb1
cmp ebp, ebx
jne 0x42ae7f
call fcn.0046814b
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x42ae31
call fcn.0046814b
mov ecx, dword [esi]
cmp dword [ecx], 0xffffffff
je 0x42af8f
cmp ebp, ebx
jne 0x42ae84
call fcn.0046814b
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x42ae51
call fcn.0046814b
mov edx, dword [esi]
cmp dword [edx + 8], ebx
je 0x42ae8e
cmp ebp, ebx
jne 0x42ae89
call fcn.0046814b
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x42ae6d
call fcn.0046814b
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push ebx
push ebx
push 0x12
push ecx
call dword [sym.imp.USER32.dll_PostThreadMessageA]
jmp 0x42aeb4
mov eax, dword [ebp]
jmp 0x42ae27
mov eax, dword [ebp]
jmp 0x42ae47
mov eax, dword [ebp]
jmp 0x42ae63
cmp ebp, ebx
jne 0x42af2e
call fcn.0046814b
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x42aea7
call fcn.0046814b
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
cmp ebp, ebx
jne 0x42af36
call fcn.0046814b
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x42aec9
call fcn.0046814b
mov ecx, dword [esi]
mov byte [ecx + 0x14], 1
cmp ebp, ebx
jne 0x42af3b
call fcn.0046814b
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x42aee4
call fcn.0046814b
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp ebp, ebx
jne 0x42af40
call fcn.0046814b
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x42af05
call fcn.0046814b
mov ecx, dword [esi]
mov dword [ecx], 0xffffffff
cmp ebp, ebx
jne 0x42af45
call fcn.0046814b
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x42af22
call fcn.0046814b
mov edx, dword [esp + 0x20]
cmp edx, ebx
jne 0x42af4a
xor ecx, ecx
jmp 0x42af53
mov eax, dword [ebp]
jmp 0x42ae9d
mov eax, dword [ebp]
jmp 0x42aebf
mov eax, dword [ebp]
jmp 0x42aeda
mov eax, dword [ebp]
jmp 0x42aefb
mov eax, dword [ebp]
jmp 0x42af18
mov ecx, dword [esp + 0x28]
sub ecx, edx
sar ecx, 2
mov eax, dword [esp + 0x24]
mov edi, eax
sub edi, edx
sar edi, 2
cmp edi, ecx
jae 0x42af6f
mov edx, dword [esi]
mov dword [eax], edx
add eax, 4
mov dword [esp + 0x24], eax
jmp 0x42af8f
mov edi, eax
cmp edx, eax
jbe 0x42af7a
call fcn.0046814b
mov eax, dword [esp + 0x14]
push esi
push edi
push eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x24]
call fcn.0042abf0
cmp ebp, ebx
jne 0x42afac
call fcn.0046814b
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x42afa4
call fcn.0046814b
add esi, 4
jmp 0x42adf0
mov eax, dword [ebp]
jmp 0x42af9a
mov ebp, dword [0x4bde78]
cmp dword [0x4bde74], ebp
jbe 0x42afc4
call fcn.0046814b
mov edi, dword [0x4bde74]
mov esi, dword [0x4bde68]
cmp edi, dword [0x4bde78]
jbe 0x42afdd
call fcn.0046814b
mov ecx, dword [0x4bde68]
push ebp
push esi
push edi
push ecx
lea edx, [esp + 0x3c]
push edx
mov ecx, 0x4bde68
call fcn.0042a3f0
push 0x4bde48
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
sub ebx, eax
xor edi, edi
sar ebx, 2
xor esi, esi
cmp edi, ebx
jge 0x42b05f
mov ecx, dword [esp + 0x24]
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jb 0x42b02c
call fcn.0046814b
mov eax, dword [esp + 0x20]
mov edx, dword [eax + edi*4]
mov ecx, dword [edx + 0x10]
mov edx, dword [esp + 0x24]
sub edx, eax
sar edx, 2
mov dword [esp + esi*4 + 0x34], ecx
cmp edi, edx
jb 0x42b04c
call fcn.0046814b
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + edi*4]
mov edx, dword [ecx + 0xc]
mov dword [esp + esi*4 + 0x38], edx
add esi, 2
inc edi
cmp esi, 0x20
jl 0x42b012
test esi, esi
jle 0x42b0bd
push 0xffffffffffffffff
push 1
lea eax, [esp + 0x3c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
xor ebp, ebp
test esi, esi
jle 0x42b0b9
lea esp, [esp]
mov eax, dword [esp + ebp*4 + 0x34]
test eax, eax
je 0x42b0b4
push 0x49
push str...p2psrc_src_timer.cpp
push eax
push str.__handle_cls:_0x_x__file:__s:_u
call fcn.00416770
mov eax, dword [esp + ebp*4 + 0x44]
add esp, 0x10
test eax, eax
je 0x42b0b4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + ebp*4 + 0x34], 0
inc ebp
cmp ebp, esi
jl 0x42b080
mov eax, dword [esp + 0x20]
cmp esi, 0x1f
jge 0x42b010
mov esi, eax
cmp eax, dword [esp + 0x24]
jbe 0x42b0d7
call fcn.0046814b
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
xor ebx, ebx
lea ecx, [ecx]
mov ebp, dword [esp + 0x24]
cmp eax, ebp
jbe 0x42b0f1
call fcn.0046814b
mov eax, dword [esp + 0x20]
cmp edi, ebx
je 0x42b0fb
cmp edi, dword [esp + 0x14]
je 0x42b104
call fcn.0046814b
mov eax, dword [esp + 0x20]
cmp esi, ebp
je 0x42b1c4
cmp edi, ebx
jne 0x42b1ad
call fcn.0046814b
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x42b125
call fcn.0046814b
mov ecx, dword [esi]
push 0x54
push str...p2psrc_src_timer.cpp
push ecx
push str.__del:_0x_x__file:__s:_u
call fcn.004166d0
add esp, 0x10
cmp edi, ebx
jne 0x42b1b4
call fcn.0046814b
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x42b151
call fcn.0046814b
cmp dword [esi], ebx
je 0x42b18c
cmp edi, ebx
jne 0x42b1b8
call fcn.0046814b
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x42b16a
call fcn.0046814b
mov edx, dword [esi]
push edx
call fcn.0042ec92
add esp, 4
cmp edi, ebx
jne 0x42b1bc
call fcn.0046814b
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x42b18a
call fcn.0046814b
mov dword [esi], ebx
cmp edi, ebx
jne 0x42b1c0
call fcn.0046814b
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x42b1a1
call fcn.0046814b
mov eax, dword [esp + 0x20]
add esi, 4
jmp 0x42b0e0
mov eax, dword [edi]
jmp 0x42b11b
mov eax, dword [edi]
jmp 0x42b147
mov eax, dword [edi]
jmp 0x42b160
mov eax, dword [edi]
jmp 0x42b180
mov eax, dword [edi]
jmp 0x42b197
mov ebp, dword [esp + 0x24]
cmp eax, ebp
jbe 0x42b1d5
call fcn.0046814b
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
mov edi, eax
cmp eax, dword [esp + 0x24]
jbe 0x42b1e6
call fcn.0046814b
mov eax, dword [esp + 0x14]
push ebp
push esi
push edi
push eax
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x28]
call fcn.0042a3f0
push 0x4bde48
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x42b218
push eax
call fcn.0042ec92
add esp, 4
mov edx, dword [esp + 0x14]
push edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.0042ec92
add esp, 4
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret