Function at 0x439fc0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x190
mov eax, dword [0x64a040]
xor eax, ebp
mov dword [esp + 0x188], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [ecx]
mov dword [esp + 0xc], eax
lea esi, [esp + 0x80]
mov dword [esi], 0xffffffff
mov ebx, 0x4000
mov edi, 0x14
push 0x4000
call fcn.0057f5ae
add esp, 4
push esi
push ebx
mov dword [esp + 0x18], eax
push eax
push 5
call fcn.0043ad80
add esp, 0x10
cmp eax, 0xc0000004
jne 0x43a05e
mov dword [esp + 0x18], eax
mov ebx, dword [esp + 0x80]
mov eax, 0x1000
add ebx, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43a046
push eax
call fcn.0057f43d
add esp, 4
push ebx
call fcn.0057f5ae
add esp, 4
dec edi
lea esi, [esp + 0x80]
jne 0x43a00b
jmp 0x43a93a
cmp eax, 0xc0000023
je 0x43a023
test eax, eax
js 0x43a932
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov esi, eax
mov ecx, dword [esp + 0x10]
mov ebx, ecx
jmp 0x43a093
mov eax, dword [ebx]
test eax, eax
je 0x43a583
add ebx, eax
je 0x43a583
cmp dword [ebx + 0x44], esi
jne 0x43a081
test ebx, ebx
je 0x43a0cd
cmp dword [ebx + 4], 0
je 0x43a0cd
mov eax, dword [esp + 0x1c]
lea ecx, [eax + 0x68]
mov dword [esp + 0x2c], ecx
add eax, 0xd8
mov dword [esp + 0x24], eax
lea ecx, [ebx + 0xd8]
pcmpeqd xmm0, xmm0
xor edi, edi
xor edx, edx
jmp 0x43a247
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x43a0da
push ecx
call fcn.0057f43d
add esp, 4
mov ecx, dword [esp + 0x188]
xor ecx, ebp
call fcn.005810d5
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea edx, [esp + 0x88]
mov eax, dword [edx + 0x14]
mov dword [ecx + 8], eax
movq xmm0, qword [edx + 0xc]
movq qword [ecx], xmm0
jmp 0x43a19f
test edi, edi
je 0x43a5ea
mov al, byte [esp + 0x84]
mov byte [edi + 4], al
mov eax, dword [esp + 0x80]
mov dword [edi], eax
xor eax, eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x88]
mov esi, dword [esp + 0x8c]
sub esi, eax
je 0x43a17b
mov dword [esp + 0x14], eax
js 0x43a601
push esi
call fcn.0057dc30
add esp, 4
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
lea ecx, [eax + esi]
mov dword [esp + 0x28], ecx
mov dword [edi + 0x10], ecx
push esi
push dword [esp + 0x18]
push eax
call fcn.005822f0
add esp, 0xc
mov eax, dword [esp + 0x28]
mov dword [edi + 0xc], eax
lea ecx, [edi + 0x14]
cmp byte [esp + 0x9f], 0
jns 0x43a0f0
push dword [esp + 0x98]
push dword [esp + 0x98]
call fcn.00504f90
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x88]
mov eax, dword [ecx + 0x48]
mov dword [edi + 0x50], eax
movups xmm0, xmmword [ecx + 0x38]
movups xmmword [edi + 0x40], xmm0
movdqu xmm0, xmmword [ecx + 0x18]
movups xmm1, xmmword [ecx + 0x28]
movups xmmword [edi + 0x30], xmm1
movdqu xmmword [edi + 0x20], xmm0
add edi, 0x58
mov eax, dword [esp + 0x1c]
mov dword [eax + 0xdc], edi
push esi
call fcn.0043a990
add esp, 4
xor edi, edi
cmp byte [esp + 0x9f], 0
jns 0x43a1fb
push dword [esp + 0x94]
call fcn.0057dc2b
add esp, 4
mov eax, dword [esp + 0x88]
test eax, eax
mov edx, dword [esp + 0x20]
je 0x43a232
mov ecx, dword [esp + 0x8c]
mov edx, ecx
sub edx, eax
dec ecx
cmp edx, ecx
ja 0x43a604
mov dword [esp + 0x8c], eax
push eax
call fcn.0057dc2b
add esp, 4
mov edx, dword [esp + 0x20]
inc edx
mov ecx, dword [esp + 0x18]
add ecx, 0x40
cmp edx, dword [ebx + 4]
pcmpeqd xmm0, xmm0
jae 0x43a0c9
mov dword [esp + 0x20], edx
movdqa xmmword [esp + 0x80], xmm0
xor edx, edx
dec edx
mov dword [esp + 0xd4], edx
mov dword [esp + 0xd0], edx
movdqa xmmword [esp + 0xc0], xmm0
movdqa xmmword [esp + 0xb0], xmm0
movdqa xmmword [esp + 0xa0], xmm0
movdqa xmmword [esp + 0x90], xmm0
mov dword [esp + 0x80], edi
mov byte [esp + 0x84], 0
lea eax, [esp + 0x88]
pxor xmm0, xmm0
movdqu xmmword [eax + 0x3c], xmm0
movdqu xmmword [eax + 0x30], xmm0
movdqu xmmword [eax + 0x20], xmm0
movdqu xmmword [eax + 0x10], xmm0
movdqu xmmword [eax], xmm0
mov eax, dword [ecx + 4]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edi
mov dword [esp + 0x40], edx
mov dword [esp + 0x60], 0x18
lea eax, [esp + 0x64]
mov dword [eax + 0x10], edi
movdqu xmmword [eax], xmm0
mov dword [esp + 0x18], ecx
push ecx
lea eax, [esp + 0x64]
push eax
push 0x4a
lea eax, [esp + 0x4c]
push eax
call fcn.0043aa80
add esp, 0x10
test eax, eax
js 0x43a77b
mov esi, dword [esp + 0x40]
test esi, esi
je 0x43a1e2
mov eax, dword [esp + 0x1c]
mov al, byte [eax + 0xf0]
mov byte [esp + 0x14], al
mov eax, dword [esp + 0xa0]
mov ecx, dword fs:[0x18]
xor eax, dword [ecx + 0x24]
or eax, dword [esp + 0xa4]
mov dword [esp + 0xc], esi
je 0x43a6a2
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x43a607
mov edi, eax
mov al, byte [esp + 0x14]
test al, al
je 0x43a362
test edi, edi
je 0x43a8b0
movzx eax, al
sub edi, eax
mov dword [esp + 0xc8], edi
lea ecx, [esp + 0x80]
mov edx, esi
call fcn.0043aba0
test al, al
je 0x43a1d7
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
mov ecx, 0
je 0x43a649
mov dword [esp + 0xcc], 0x20
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 8]
mov dword [esp + 0xd0], eax
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x6c], xmm0
movdqa xmmword [esp + 0x60], xmm0
push ecx
push 0x1c
lea eax, [esp + 0x68]
push eax
push ecx
push esi
call fcn.0043ab10
add esp, 0x14
xor edx, edx
test eax, eax
js 0x43a7cd
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x4c], xmm0
movdqa xmmword [esp + 0x40], xmm0
mov eax, dword [esp + 0x64]
mov dword [esp + 0xac], edx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb0], 0xf98
mov ecx, dword [esp + 0x2c]
lea esi, [esp + 0x40]
push esi
push edx
push 0x1c
push edx
push eax
call fcn.004213f0
test al, al
je 0x43a463
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
mov dword [esp + 0xb8], edi
mov dword [esp + 0xbc], 0
cmp edi, esi
ja 0x43a82a
sub esi, edi
mov ecx, 0
sbb ecx, ecx
mov eax, esi
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
mov eax, dword [0x65e81c]
mov ecx, dword [0x64d82c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x43a53e
mov ecx, dword [0x65e818]
test ecx, ecx
mov esi, dword [esp + 0xc]
je 0x43a511
mov dword [esp + 0x3c], 0xffffffff
call dword [0x6445dc]
lea eax, [esp + 0x3c]
push eax
push esi
call ecx
test eax, eax
js 0x43a6e4
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x43a5e7
push esi
call fcn.0057f442
add esp, 4
push eax
push esi
lea eax, [esp + 0xe8]
push eax
call fcn.00557410
add esp, 0xc
cmp byte [esp + 0x9f], 0
js 0x43a5ed
mov eax, dword [esp + 0xe8]
lea ecx, [esp + 0x88]
mov dword [ecx + 0x14], eax
movq xmm0, qword [esp + 0xe0]
movq qword [ecx + 0xc], xmm0
push esi
call fcn.0043aa00
add esp, 4
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x1c]
mov edi, dword [eax + 0xdc]
cmp edi, dword [eax + 0xe0]
jb 0x43a10b
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x80]
call fcn.0043ae10
mov edi, eax
jmp 0x43a1cd
push 0x65e81c
call fcn.0057dc73
add esp, 4
cmp dword [0x65e81c], 0xffffffff
jne 0x43a484
push 0
push str.::GetThreadDescription
push 0x62d994
call fcn.00453e20
add esp, 0xc
mov dword [0x65e818], eax
push 0x65e81c
call fcn.0057dcc2
add esp, 4
jmp 0x43a484
push 2
call fcn.00557ce0
add esp, 4
test al, al
je 0x43a0c9
lea edi, [esp + 0xe0]
mov ecx, edi
push 2
push 0x71
push str.process_reader_win.cc
call fcn.0040ca50
lea eax, [esp + 0xe8]
push 8
push str.process
push eax
call fcn.00545ec0
add esp, 0xc
mov ecx, eax
push esi
call fcn.00443490
push 0xa
push str._not_found
push eax
call fcn.00545ec0
add esp, 0xc
mov ecx, edi
call fcn.0040b060
jmp 0x43a0c9
int3
int3
push dword [esp + 0x94]
call fcn.0057dc2b
add esp, 4
jmp 0x43a4e5
int3
int3
push 2
call fcn.00557ce0
add esp, 4
test al, al
je 0x43a1d7
lea esi, [esp + 0xe8]
call fcn.00417770
lea edi, [esp + 0xe0]
mov ecx, edi
push eax
push 2
push 0x9c
push str.process_reader_win.cc
call fcn.00409720
push 0xd
push 0x641906
jmp 0x43a689
push 2
call fcn.00557ce0
add esp, 4
test al, al
je 0x43a1d7
lea esi, [esp + 0xe8]
call fcn.00417770
lea edi, [esp + 0xe0]
mov ecx, edi
push eax
push 2
push 0xc0
push str.process_reader_win.cc
call fcn.00409720
push 0xc
push 0x641951
push esi
mov esi, dword [esp + 0x18]
call fcn.00545ec0
add esp, 0xc
mov ecx, edi
call fcn.00409610
jmp 0x43a1d7
mov dword [esp + 0xc8], 0
lea ecx, [esp + 0x88]
push 0x2cc
call fcn.0056fca0
mov byte [esp + 0x84], 1
mov eax, dword [esp + 0x88]
add eax, dword [esp + 0x80]
push eax
call fcn.004fdc90
add esp, 4
xor ecx, ecx
jmp 0x43a398
mov edi, eax
push 1
call fcn.00557ce0
add esp, 4
test al, al
je 0x43a50d
lea esi, [esp + 0xe8]
lea ecx, [esp + 0xe0]
push 1
push 0x1dc
push str.process_reader_win.cc
call fcn.0040ca50
push 0x16
push str.GetThreadDescription:
push esi
call fcn.00545ec0
add esp, 0xc
mov dword [esp + 0x14], eax
lea esi, [esp + 0x30]
push edi
push esi
call fcn.004097f0
add esp, 8
movsx eax, byte [esi + 0xb]
test eax, eax
jns 0x43a749
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
push eax
push esi
push dword [esp + 0x1c]
call fcn.00545ec0
add esp, 0xc
cmp byte [esp + 0x3b], 0
jns 0x43a76a
push dword [esp + 0x30]
call fcn.0057dc2b
add esp, 4
lea ecx, [esp + 0xe0]
call fcn.0040b060
jmp 0x43a50d
mov esi, eax
push 2
call fcn.00557ce0
add esp, 4
test al, al
je 0x43a1e0
lea edi, [esp + 0xe0]
mov ecx, edi
push esi
push 2
push 0x80
push str.process_reader_win.cc
call fcn.00608d50
push 0xc
push str.NtOpenThread
lea eax, [esp + 0xf0]
push eax
call fcn.00545ec0
add esp, 0xc
mov ecx, edi
call fcn.00608d80
jmp 0x43a1e0
mov edi, eax
push 2
call fcn.00557ce0
add esp, 4
test al, al
mov esi, dword [esp + 0xc]
je 0x43a1d7
lea esi, [esp + 0xe8]
lea ecx, [esp + 0xe0]
push edi
push 2
push 0x1ab
push str.process_reader_win.cc
call fcn.00608d50
push 0x18
push str.NtQueryInformationThread
push esi
mov esi, dword [esp + 0x18]
call fcn.00545ec0
add esp, 0xc
lea ecx, [esp + 0xe0]
call fcn.00608d80
jmp 0x43a1d7
push 2
call fcn.00557ce0
add esp, 4
mov ecx, 0
test al, al
mov eax, 0
je 0x43a455
lea ecx, [esp + 0xe0]
push 2
push 0x1cb
push str.process_reader_win.cc
call fcn.0040ca50
push 0x15
push str.invalid_stack_range:
lea eax, [esp + 0xf0]
push eax
call fcn.00545ec0
add esp, 0xc
xor edx, edx
mov ecx, eax
push edx
push esi
call fcn.005b62c0
push 3
push 0x62d520
push eax
call fcn.00545ec0
add esp, 0xc
mov ecx, eax
xor eax, eax
push eax
push edi
call fcn.005b62c0
lea ecx, [esp + 0xe0]
call fcn.0040b060
xor eax, eax
xor ecx, ecx
jmp 0x43a455
xor edi, edi
push 1
call fcn.00557ce0
add esp, 4
test al, al
je 0x43a929
lea esi, [esp + 0xe8]
lea ecx, [esp + 0xe0]
push 1
push 0xa1
push str.process_reader_win.cc
call fcn.0040ca50
push 7
push str.Thread
push esi
call fcn.00545ec0
add esp, 0xc
mov ecx, eax
push dword [esp + 0xa4]
push dword [esp + 0xa4]
call fcn.005b62c0
push 0x34
push str._should_be_suspended__but_previous_suspend_count_is
push eax
call fcn.00545ec0
add esp, 0xc
mov ecx, eax
push 0
call fcn.00443490
lea ecx, [esp + 0xe0]
call fcn.0040b060
mov esi, dword [esp + 0xc]
jmp 0x43a367
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
push 2
call fcn.00557ce0
add esp, 4
test al, al
je 0x43a0c9
lea edi, [esp + 0xe0]
mov ecx, edi
push dword [esp + 0x18]
push 2
push 0x5f
push str.process_reader_win.cc
call fcn.00608d50
lea eax, [esp + 0xe8]
push 0x18
push str.NtQuerySystemInformation
push eax
call fcn.00545ec0
add esp, 0xc
mov ecx, edi
call fcn.00608d80
jmp 0x43a0c9