Function at 0x10002380
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100693dc
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x10082094]
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 edi, ecx
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov byte [0x10084430], 1
cmp dword [0x1008443c], 0
je 0x100023ee
mov eax, dword [0x1008443c]
push 0x1388
push eax
call ebx
test eax, eax
je 0x100023e4
mov eax, dword [0x1008443c]
push 0
push eax
call esi
mov dword [0x1008443c], 0
cmp dword [0x10084438], 0
je 0x1000241c
mov eax, dword [0x10084438]
push 0x898
push eax
call ebx
test eax, eax
je 0x10002412
mov eax, dword [0x10084438]
push 0
push eax
call esi
mov dword [0x10084438], 0
cmp dword [0x10084434], 0
je 0x1000244a
mov eax, dword [0x10084434]
push 0xc8
push eax
call ebx
test eax, eax
je 0x10002440
mov eax, dword [0x10084434]
push 0
push eax
call esi
mov dword [0x10084434], 0
mov eax, dword [edi + 0x416c]
test eax, eax
je 0x10002474
push 0xc8
push eax
call ebx
test eax, eax
je 0x1000246a
push 0
push dword [edi + 0x416c]
call esi
mov dword [edi + 0x416c], 0
cmp dword [0x100a2574], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
je 0x100024c2
lea eax, [ebp - 0x18]
push eax
mov eax, dword [0x100a2574]
push eax
call esi
test eax, eax
je 0x1000249c
cmp dword [ebp - 0x18], 0x103
jne 0x100024aa
mov eax, dword [0x100a2574]
push 0
push eax
call dword [0x100a2900]
mov eax, dword [0x100a2574]
push eax
call fcn.1000ef70
add esp, 4
mov dword [0x100a2574], 0
cmp dword [0x10084444], 0
je 0x1000250a
lea eax, [ebp - 0x14]
push eax
mov eax, dword [0x10084444]
push eax
call esi
test eax, eax
je 0x100024e4
cmp dword [ebp - 0x14], 0x103
jne 0x100024f2
mov eax, dword [0x10084444]
push 0
push eax
call dword [0x100a2900]
mov eax, dword [0x10084444]
push eax
call fcn.1000ef70
add esp, 4
mov dword [0x10084444], 0
mov eax, dword [edi + 8]
test eax, eax
je 0x10002521
push eax
call fcn.1000ef70
add esp, 4
mov dword [edi + 8], 0
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10002538
push eax
call fcn.1000ef70
add esp, 4
mov dword [edi + 0xc], 0
mov eax, dword [edi + 0x10]
test eax, eax
je 0x1000254f
push eax
call fcn.1000ef70
add esp, 4
mov dword [edi + 0x10], 0
cmp dword [0x10084440], 0
je 0x10002570
mov eax, dword [0x10084440]
push eax
call fcn.1000ef70
add esp, 4
mov dword [0x10084440], 0
mov eax, dword [edi + 0x41b0]
lea esi, [edi + 0x419c]
cmp eax, 8
jb 0x1000258c
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.1000da60
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x100025a2
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
or eax, 0xffffffff
mov edx, dword [edi + 0x4198]
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100025c5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 0x4194]
lea esi, [edi + 0x4180]
cmp eax, 8
jb 0x100025e1
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.1000da60
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x100025f7
mov esi, dword [esi]
xor eax, eax
lea ebx, [edi + 0x413c]
mov word [esi], ax
mov eax, dword [ebx]
test eax, eax
je 0x1000264d
push dword [ebp - 0x14]
push ebx
push dword [ebx + 4]
push eax
call fcn.1000a230
mov esi, dword [ebx]
mov eax, 0x2aaaaaab
mov ecx, dword [ebx + 8]
add esp, 0x10
sub ecx, esi
imul ecx
mov ecx, ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.1000dac0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov eax, dword [edi + 0x4130]
lea ebx, [edi + 0x4130]
test eax, eax
je 0x100026a2
push dword [ebp - 0x14]
push ebx
push dword [ebx + 4]
push eax
call fcn.1000a230
mov esi, dword [ebx]
mov eax, 0x2aaaaaab
mov ecx, dword [ebx + 8]
add esp, 0x10
sub ecx, esi
imul ecx
mov ecx, ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.1000dac0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov eax, dword [edi + 0x4124]
lea ebx, [edi + 0x4124]
test eax, eax
je 0x100026f7
push dword [ebp - 0x14]
push ebx
push dword [ebx + 4]
push eax
call fcn.1000a230
mov esi, dword [ebx]
mov eax, 0x2aaaaaab
mov ecx, dword [ebx + 8]
add esp, 0x10
sub ecx, esi
imul ecx
mov ecx, ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.1000dac0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
lea ecx, [edi + 0x40e0]
call fcn.1000ad00
mov eax, dword [edi + 0x40d0]
lea ecx, [edi + 0x40d0]
push eax
mov dword [ebp - 4], 0
push dword [eax]
lea eax, [ebp - 0x1c]
push eax
call fcn.1000db20
push dword [edi + 0x40d0]
call fcn.10013dcc
mov eax, dword [edi + 0x40bc]
lea esi, [edi + 0x40a8]
add esp, 4
cmp eax, 8
jb 0x1000274b
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.1000da60
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x10002761
mov esi, dword [esi]
xor eax, eax
lea ecx, [edi + 0x4090]
mov word [esi], ax
call fcn.1000cd30
push dword [edi + 0x4090]
call fcn.10013dcc
add esp, 4
mov dword [edi + 0x4090], 0
lea ecx, [edi + 0x407c]
call fcn.1000cd30
push dword [edi + 0x407c]
call fcn.10013dcc
lea ebx, [edi + 0x60]
mov dword [edi + 0x407c], 0
mov eax, dword [ebx]
add esp, 4
test eax, eax
je 0x100027fa
push dword [ebp - 0x1c]
push ebx
push dword [ebx + 4]
push eax
call fcn.1000a230
mov esi, dword [ebx]
mov eax, 0x2aaaaaab
mov ecx, dword [ebx + 8]
add esp, 0x10
sub ecx, esi
imul ecx
mov ecx, ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.1000dac0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov eax, dword [edi + 0x54]
lea ebx, [edi + 0x54]
test eax, eax
je 0x10002849
push dword [ebp - 0x1c]
push ebx
push dword [ebx + 4]
push eax
call fcn.1000a230
mov esi, dword [ebx]
mov eax, 0x2aaaaaab
mov ecx, dword [ebx + 8]
add esp, 0x10
sub ecx, esi
imul ecx
mov ecx, ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.1000dac0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov ecx, dword [edi + 0x48]
lea ebx, [edi + 0x48]
test ecx, ecx
je 0x10002898
push dword [ebp - 0x1c]
push ebx
push dword [ebx + 4]
push ecx
call fcn.1000a230
mov esi, dword [ebx]
mov eax, 0x2aaaaaab
mov ecx, dword [ebx + 8]
add esp, 0x10
sub ecx, esi
imul ecx
mov ecx, ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.1000dac0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov eax, dword [edi + 0x44]
cmp eax, 8
jb 0x100028ad
inc eax
lea ecx, [edi + 0x30]
push eax
push dword [edi + 0x30]
call fcn.1000da60
mov dword [edi + 0x44], 7
cmp dword [edi + 0x44], 8
mov dword [edi + 0x40], 0
jb 0x100028cb
mov eax, dword [edi + 0x30]
xor ecx, ecx
mov word [eax], cx
jmp 0x100028d1
xor eax, eax
mov word [edi + 0x30], ax
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.100143ff
mov esp, ebp
pop ebp
ret