Function at 0x42b1f0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, eax
mov eax, dword [0x52bfc0]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x268]
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateThread]
xor edi, edi
cmp eax, edi
je 0x42b26c
lea ecx, [ebp - 4]
mov dword [ebp - 4], edi
mov edx, dword [eax + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 4], 0x103
jne 0x42b266
mov eax, dword [esi + 0x268]
mov ecx, dword [eax + 0x2c]
push 0xffffffffffffffff
push ecx
call ebx
mov edx, dword [esi + 0x268]
mov eax, dword [edx + 0x2c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x268]
cmp ecx, edi
je 0x42b266
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [esi + 0x268], edi
mov eax, dword [esi + 0x26c]
cmp eax, edi
je 0x42b2c9
lea ecx, [ebp - 8]
mov dword [ebp - 8], edi
mov edx, dword [eax + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 8], 0x103
jne 0x42b2c3
mov eax, dword [esi + 0x26c]
mov ecx, dword [eax + 0x2c]
push 0xffffffffffffffff
push ecx
call ebx
mov edx, dword [esi + 0x26c]
mov eax, dword [edx + 0x2c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x26c]
cmp ecx, edi
je 0x42b2c3
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [esi + 0x26c], edi
mov eax, dword [esi + 0x270]
cmp eax, edi
je 0x42b326
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], edi
mov edx, dword [eax + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0xc], 0x103
jne 0x42b320
mov eax, dword [esi + 0x270]
mov ecx, dword [eax + 0x2c]
push 0xffffffffffffffff
push ecx
call ebx
mov edx, dword [esi + 0x270]
mov eax, dword [edx + 0x2c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x270]
cmp ecx, edi
je 0x42b320
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [esi + 0x270], edi
mov eax, dword [esi + 0x274]
cmp eax, edi
je 0x42b383
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], edi
mov edx, dword [eax + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0x10], 0x103
jne 0x42b37d
mov eax, dword [esi + 0x274]
mov ecx, dword [eax + 0x2c]
push 0xffffffffffffffff
push ecx
call ebx
mov edx, dword [esi + 0x274]
mov eax, dword [edx + 0x2c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x274]
cmp ecx, edi
je 0x42b37d
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [esi + 0x274], edi
mov eax, dword [esi + 0x84]
cmp eax, edi
je 0x42b39c
push eax
call fcn.004509e1
add esp, 4
mov dword [esi + 0x84], edi
mov eax, dword [esi + 0x80]
mov dword [esi + 0x7c], edi
cmp eax, edi
je 0x42b3b8
push eax
call fcn.004509e1
add esp, 4
mov dword [esi + 0x80], edi
mov eax, dword [esi + 0x78]
cmp eax, edi
je 0x42b3cb
push eax
call fcn.0046f56f
add esp, 4
mov dword [esi + 0x78], edi
mov ecx, dword [esi + 0x168]
cmp ecx, edi
je 0x42b3f1
cmp dword [ecx - 4], edi
lea eax, [ecx - 4]
je 0x42b3e8
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 3
call eax
jmp 0x42b3f1
push eax
call fcn.004509e1
add esp, 4
mov ecx, dword [esi + 0x16c]
cmp ecx, edi
je 0x42b404
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov ecx, dword [esi + 0x170]
cmp ecx, edi
je 0x42b417
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov ecx, dword [esi + 0x174]
cmp ecx, edi
je 0x42b42a
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov ecx, dword [esi + 0x178]
cmp ecx, edi
je 0x42b43d
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov ecx, dword [0x52ade4]
cmp ecx, edi
je 0x42b471
mov eax, dword [ecx + 4]
lea esi, [ecx + 4]
cmp eax, edi
je 0x42b462
push eax
call fcn.004509e1
mov ecx, dword [0x52ade4]
add esp, 4
mov dword [esi], edi
push ecx
call fcn.004509e1
add esp, 4
mov dword [0x52ade4], edi
mov ecx, dword [0x52ade8]
cmp ecx, edi
je 0x42b4a5
mov eax, dword [ecx + 4]
lea esi, [ecx + 4]
cmp eax, edi
je 0x42b496
push eax
call fcn.004509e1
mov ecx, dword [0x52ade8]
add esp, 4
mov dword [esi], edi
push ecx
call fcn.004509e1
add esp, 4
mov dword [0x52ade8], edi
mov ecx, dword [0x52adec]
cmp ecx, edi
je 0x42b4d9
mov eax, dword [ecx + 4]
lea esi, [ecx + 4]
cmp eax, edi
je 0x42b4ca
push eax
call fcn.004509e1
mov ecx, dword [0x52adec]
add esp, 4
mov dword [esi], edi
push ecx
call fcn.004509e1
add esp, 4
mov dword [0x52adec], edi
mov ecx, dword [0x52adf0]
cmp ecx, edi
je 0x42b50d
mov eax, dword [ecx + 4]
lea esi, [ecx + 4]
cmp eax, edi
je 0x42b4fe
push eax
call fcn.004509e1
mov ecx, dword [0x52adf0]
add esp, 4
mov dword [esi], edi
push ecx
call fcn.004509e1
add esp, 4
mov dword [0x52adf0], edi
mov ecx, dword [0x52adf4]
cmp ecx, edi
je 0x42b541
mov eax, dword [ecx + 4]
lea esi, [ecx + 4]
cmp eax, edi
je 0x42b532
push eax
call fcn.004509e1
mov ecx, dword [0x52adf4]
add esp, 4
mov dword [esi], edi
push ecx
call fcn.004509e1
add esp, 4
mov dword [0x52adf4], edi
mov ecx, dword [0x52adf8]
cmp ecx, edi
je 0x42b575
mov eax, dword [ecx + 4]
lea esi, [ecx + 4]
cmp eax, edi
je 0x42b566
push eax
call fcn.004509e1
mov ecx, dword [0x52adf8]
add esp, 4
mov dword [esi], edi
push ecx
call fcn.004509e1
add esp, 4
mov dword [0x52adf8], edi
mov ecx, dword [0x52adfc]
cmp ecx, edi
je 0x42b5a9
mov eax, dword [ecx + 4]
lea esi, [ecx + 4]
cmp eax, edi
je 0x42b59a
push eax
call fcn.004509e1
mov ecx, dword [0x52adfc]
add esp, 4
mov dword [esi], edi
push ecx
call fcn.004509e1
add esp, 4
mov dword [0x52adfc], edi
mov ecx, dword [0x52ae00]
cmp ecx, edi
je 0x42b5dd
mov eax, dword [ecx + 4]
lea esi, [ecx + 4]
cmp eax, edi
je 0x42b5ce
push eax
call fcn.004509e1
mov ecx, dword [0x52ae00]
add esp, 4
mov dword [esi], edi
push ecx
call fcn.004509e1
add esp, 4
mov dword [0x52ae00], edi
mov ecx, dword [0x52ad90]
cmp ecx, edi
je 0x42b61d
call fcn.0044a600
lea esi, [ecx + 4]
mov ebx, eax
mov eax, dword [esi]
cmp eax, edi
je 0x42b602
push eax
call fcn.004509e1
add esp, 4
mov dword [esi], edi
push ebx
call fcn.004509e1
mov ecx, dword [0x52ad90]
push ecx
call fcn.004509e1
add esp, 8
mov dword [0x52ad90], edi
mov ecx, dword [0x52ae04]
cmp ecx, edi
je 0x42b651
mov eax, dword [ecx + 4]
lea esi, [ecx + 4]
cmp eax, edi
je 0x42b642
push eax
call fcn.004509e1
mov ecx, dword [0x52ae04]
add esp, 4
mov dword [esi], edi
push ecx
call fcn.004509e1
add esp, 4
mov dword [0x52ae04], edi
mov eax, dword [0x52c008]
sub eax, dword [0x52c004]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
sar eax, 2
xor esi, esi
cmp eax, edi
jbe 0x42b697
cmp esi, eax
jb 0x42b674
call fcn.0046e5b0
mov edx, dword [0x52c004]
mov eax, dword [edx + esi*4]
cmp eax, edi
je 0x42b684
push eax
call ebx
mov eax, dword [0x52c008]
sub eax, dword [0x52c004]
inc esi
sar eax, 2
cmp esi, eax
jb 0x42b674
call fcn.00441370
mov eax, dword [0x52ab5c]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
cmp eax, edi
je 0x42b6b4
push eax
call esi
mov dword [0x52ab5c], edi
mov eax, dword [0x52ab60]
cmp eax, edi
je 0x42b6c6
push eax
call esi
mov dword [0x52ab60], edi
mov eax, dword [0x52adac]
cmp eax, edi
je 0x42b6d8
push eax
call ebx
mov dword [0x52adac], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret