Function at 0x424400
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, eax
mov eax, dword [0x512eb8]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x260]
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateThread]
xor edi, edi
cmp eax, edi
je 0x42447c
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 0x424476
mov eax, dword [esi + 0x260]
mov ecx, dword [eax + 0x2c]
push 0xffffffffffffffff
push ecx
call ebx
mov edx, dword [esi + 0x260]
mov eax, dword [edx + 0x2c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x260]
cmp ecx, edi
je 0x424476
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [esi + 0x260], edi
mov eax, dword [esi + 0x264]
cmp eax, edi
je 0x4244d9
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 0x4244d3
mov eax, dword [esi + 0x264]
mov ecx, dword [eax + 0x2c]
push 0xffffffffffffffff
push ecx
call ebx
mov edx, dword [esi + 0x264]
mov eax, dword [edx + 0x2c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x264]
cmp ecx, edi
je 0x4244d3
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [esi + 0x264], edi
mov eax, dword [esi + 0x268]
cmp eax, edi
je 0x424536
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 0x424530
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 0x424530
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 0x424593
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 0x42458d
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 0x42458d
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [esi + 0x26c], edi
mov eax, dword [esi + 0x84]
cmp eax, edi
je 0x4245ac
push eax
call fcn.0043e28c
add esp, 4
mov dword [esi + 0x84], edi
mov eax, dword [esi + 0x80]
mov dword [esi + 0x7c], edi
cmp eax, edi
je 0x4245c8
push eax
call fcn.0043e28c
add esp, 4
mov dword [esi + 0x80], edi
mov eax, dword [esi + 0x78]
cmp eax, edi
je 0x4245db
push eax
call fcn.0045c9f0
add esp, 4
mov dword [esi + 0x78], edi
mov ecx, dword [esi + 0x168]
cmp ecx, edi
je 0x424601
cmp dword [ecx - 4], edi
lea eax, [ecx - 4]
je 0x4245f8
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 3
call eax
jmp 0x424601
push eax
call fcn.0043e28c
add esp, 4
mov ecx, dword [esi + 0x16c]
cmp ecx, edi
je 0x424614
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov ecx, dword [esi + 0x170]
cmp ecx, edi
je 0x424627
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov ecx, dword [esi + 0x174]
cmp ecx, edi
je 0x42463a
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov ecx, dword [esi + 0x178]
cmp ecx, edi
je 0x42464d
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov ecx, dword [0x511cec]
cmp ecx, edi
je 0x424681
mov eax, dword [ecx + 4]
lea esi, [ecx + 4]
cmp eax, edi
je 0x424672
push eax
call fcn.0043e28c
mov ecx, dword [0x511cec]
add esp, 4
mov dword [esi], edi
push ecx
call fcn.0043e28c
add esp, 4
mov dword [0x511cec], edi
mov ecx, dword [0x511cf0]
cmp ecx, edi
je 0x4246b5
mov eax, dword [ecx + 4]
lea esi, [ecx + 4]
cmp eax, edi
je 0x4246a6
push eax
call fcn.0043e28c
mov ecx, dword [0x511cf0]
add esp, 4
mov dword [esi], edi
push ecx
call fcn.0043e28c
add esp, 4
mov dword [0x511cf0], edi
mov ecx, dword [0x511cf4]
cmp ecx, edi
je 0x4246e9
mov eax, dword [ecx + 4]
lea esi, [ecx + 4]
cmp eax, edi
je 0x4246da
push eax
call fcn.0043e28c
mov ecx, dword [0x511cf4]
add esp, 4
mov dword [esi], edi
push ecx
call fcn.0043e28c
add esp, 4
mov dword [0x511cf4], edi
mov ecx, dword [0x511cf8]
cmp ecx, edi
je 0x42471d
mov eax, dword [ecx + 4]
lea esi, [ecx + 4]
cmp eax, edi
je 0x42470e
push eax
call fcn.0043e28c
mov ecx, dword [0x511cf8]
add esp, 4
mov dword [esi], edi
push ecx
call fcn.0043e28c
add esp, 4
mov dword [0x511cf8], edi
mov ecx, dword [0x511cfc]
cmp ecx, edi
je 0x424751
mov eax, dword [ecx + 4]
lea esi, [ecx + 4]
cmp eax, edi
je 0x424742
push eax
call fcn.0043e28c
mov ecx, dword [0x511cfc]
add esp, 4
mov dword [esi], edi
push ecx
call fcn.0043e28c
add esp, 4
mov dword [0x511cfc], edi
mov ecx, dword [0x511d00]
cmp ecx, edi
je 0x424785
mov eax, dword [ecx + 4]
lea esi, [ecx + 4]
cmp eax, edi
je 0x424776
push eax
call fcn.0043e28c
mov ecx, dword [0x511d00]
add esp, 4
mov dword [esi], edi
push ecx
call fcn.0043e28c
add esp, 4
mov dword [0x511d00], edi
mov ecx, dword [0x511d04]
cmp ecx, edi
je 0x4247b9
mov eax, dword [ecx + 4]
lea esi, [ecx + 4]
cmp eax, edi
je 0x4247aa
push eax
call fcn.0043e28c
mov ecx, dword [0x511d04]
add esp, 4
mov dword [esi], edi
push ecx
call fcn.0043e28c
add esp, 4
mov dword [0x511d04], edi
mov ecx, dword [0x511d08]
cmp ecx, edi
je 0x4247ed
mov eax, dword [ecx + 4]
lea esi, [ecx + 4]
cmp eax, edi
je 0x4247de
push eax
call fcn.0043e28c
mov ecx, dword [0x511d08]
add esp, 4
mov dword [esi], edi
push ecx
call fcn.0043e28c
add esp, 4
mov dword [0x511d08], edi
mov ecx, dword [0x511cac]
cmp ecx, edi
je 0x42482d
call fcn.00439050
lea esi, [ecx + 4]
mov ebx, eax
mov eax, dword [esi]
cmp eax, edi
je 0x424812
push eax
call fcn.0043e28c
add esp, 4
mov dword [esi], edi
push ebx
call fcn.0043e28c
mov ecx, dword [0x511cac]
push ecx
call fcn.0043e28c
add esp, 8
mov dword [0x511cac], edi
mov ecx, dword [0x511d0c]
cmp ecx, edi
je 0x424861
mov eax, dword [ecx + 4]
lea esi, [ecx + 4]
cmp eax, edi
je 0x424852
push eax
call fcn.0043e28c
mov ecx, dword [0x511d0c]
add esp, 4
mov dword [esi], edi
push ecx
call fcn.0043e28c
add esp, 4
mov dword [0x511d0c], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret