Function at 0x10008720
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004221b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x8e8
push esi
push edi
xor edi, edi
mov dword [ebp - 0x88], ecx
mov esi, edx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 4], edi
call fcn.1000ab60
mov eax, dword [0x1012d870]
mov dword [ebp - 0xb4], eax
xor eax, eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
mov byte [ebp - 4], 1
cmp dword [ebx + 0xc], eax
je 0x100090c2
cmp dword [ebx + 0x10], eax
je 0x100090c2
mov edi, dword [ebx + 8]
cmp edi, 0x8664
jg 0x1000881c
je 0x10008828
mov eax, edi
sub eax, 0x14c
je 0x10008804
sub eax, 0x78
jne 0x100088b4
call fcn.10007560
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x14], 0x10002
jmp 0x100088ac
cmp edi, 0xaa64
jne 0x100088b4
mov edx, 8
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], 0
call fcn.100074e0
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xfffff9a0
jb 0x10008886
ja 0x10008860
mov eax, dword [ebp - 0x20]
cmp eax, 0x26a438
jbe 0x10008889
lea ebx, [ebx]
mov edx, 8
lea ecx, [ebp - 0x20]
call fcn.100074e0
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xfffff9a0
ja 0x10008860
jb 0x10008886
mov eax, dword [ebp - 0x20]
cmp eax, 0x26a438
ja 0x10008860
jmp 0x10008889
mov eax, dword [ebp - 0x20]
push 0x6a0
push 1
push ecx
push eax
call fcn.10041a20
add eax, 0
mov dword [ebp - 0x14], 0x100002
mov ecx, edx
adc ecx, 0x100
mov dword [ebp - 0x3c], ecx
and eax, 0xffff0000
mov dword [ebp - 0x38], eax
cmp dword [esi], 0
je 0x10008bd0
lea edx, [ebp - 0x78]
mov ecx, edi
call fcn.10009140
test eax, eax
jne 0x100088f4
cmp dword [ebp - 0x64], 8
lea edx, [ebp - 0x78]
mov ecx, dword [ebp - 0x78]
jb 0x100088d9
mov edx, ecx
mov eax, dword [ebp - 0x68]
lea edx, [edx + eax*2]
lea eax, [ebp - 0x78]
jb 0x100088e6
mov eax, ecx
push edx
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x78]
call fcn.10007bd0
cmp dword [esi + 4], 0
jne 0x100089d7
mov eax, dword [esi]
lea edx, [ebp - 0x30]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x148], eax
add ecx, 0x40
mov eax, dword [ebp - 0x3c]
adc eax, 0
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x13c], eax
lea ecx, [ebp - 0x148]
xor eax, eax
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x130], 1
mov dword [ebp - 0x118], 0x40000
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
call fcn.10011c70
test eax, eax
je 0x10008bd0
mov eax, dword [ebp - 0x28]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0xc], eax
mov dword [ebp - 0x8c], 1
call fcn.1000ab60
cmp dword [0x1012e444], 6
ja 0x10008a1c
jb 0x100089f0
cmp dword [0x1012e448], 1
jae 0x10008a1c
cmp dword [ebp - 0xb4], 0x8664
jne 0x10008a1c
xor eax, eax
cmp edi, 0x14c
sete al
mov dword [ebp - 0x40], eax
cmp edi, 0x8664
jne 0x10008a1c
or dword [ebp - 0x14], 0x100001
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0xac]
mov edx, edi
push eax
mov eax, dword [ebp - 0x68]
push ecx
push dword [ebx + 0x10]
mov ecx, dword [ebp - 0x88]
lea eax, [eax*2 + 2]
push eax
call fcn.10007cf0
add esp, 0x10
test eax, eax
je 0x10008bd0
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x10008bd0
mov ecx, dword [esi]
push 0x40
push 0
push eax
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
call fcn.1000bb40
mov ecx, eax
mov dword [ebp - 0x44], edx
add esp, 0x14
mov dword [ebp - 0x34], ecx
or eax, edx
jne 0x10008a9e
mov ecx, dword [esi]
push 0x40
push eax
push dword [ebp - 0x98]
push eax
push eax
call fcn.1000bb40
add esp, 0x14
mov dword [ebp - 0x34], eax
mov ecx, eax
mov dword [ebp - 0x44], edx
or eax, edx
je 0x10008bd0
cmp dword [ebp - 0x64], 8
mov eax, dword [ebp - 0x68]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x78]
jb 0x10008ab7
mov eax, dword [ebp - 0x78]
lea edi, [ebp - 0x84]
push edi
mov edi, dword [ebx + 8]
push edx
push ecx
mov ecx, dword [ebp - 0x88]
mov edx, eax
push edi
push dword [esi + 0xc]
push dword [esi + 8]
sub esp, 8
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push dword [ebp - 0x1c]
call fcn.10007e40
add esp, 0x2c
test eax, eax
je 0x10008bd0
mov ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x84]
sub ecx, eax
push 0
push ecx
mov ecx, dword [esi]
cdq
push edx
push eax
push dword [ebp - 0x44]
lea edx, [ebp - 0x60]
push dword [ebp - 0x34]
call fcn.1000bd40
add esp, 0x18
test eax, eax
je 0x10008bd0
mov eax, dword [ebp - 0x80]
sub eax, dword [ebp - 0x84]
cmp dword [ebp - 0x5c], 0
jb 0x10008bd0
ja 0x10008b38
cmp dword [ebp - 0x60], eax
jb 0x10008bd0
cmp dword [ebp - 0x8c], 0
je 0x10008b55
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x34]
jne 0x10008b55
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x44]
je 0x10009016
cmp edi, 0x14c
jne 0x10009052
push 0x2c8
lea eax, [ebp - 0x41c]
push 0
push eax
call fcn.1002fe10
add esp, 0xc
cmp dword [ebp - 0xb4], edi
jne 0x10008c0f
mov edi, dword [ebp - 0x14]
lea edx, [ebp - 0x420]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x420], edi
call fcn.10001990
test eax, eax
js 0x10008bc6
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x420]
add eax, 0x40
mov dword [ebp - 0x420], edi
mov dword [ebp - 0x370], eax
mov ecx, dword [esi + 4]
call fcn.10001b30
test eax, eax
jns 0x10009016
mov ecx, 0x307
call fcn.10006110
xor edi, edi
mov edx, dword [ebp - 0x64]
cmp edx, 8
jb 0x100090c2
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100090b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000911e
jmp 0x100090b8
cmp dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x420], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x1c], eax
je 0x10008d5f
mov eax, dword [0x1012e6f4]
test eax, eax
jne 0x10008d46
mov dword [ebp - 0xac], eax
mov edx, 0x1a
mov dword [ebp - 0xa8], eax
mov ecx, 0x10049184
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov word [ebp - 0x94], ax
lea eax, [ebp - 0xac]
push eax
push 4
push 0x10049180
call fcn.10007600
add esp, 0xc
lea edx, [ebp - 0xac]
call fcn.10005490
mov edi, eax
test edi, edi
je 0x10008d39
xor eax, eax
mov edx, 0x16
mov dword [ebp - 0xd0], eax
mov ecx, 0x10049744
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], eax
mov word [ebp - 0xbc], ax
lea eax, [ebp - 0xd0]
push eax
push 4
push 0x10049740
call fcn.10007600
mov edi, dword [edi + 0x18]
add esp, 0xc
call fcn.10005a20
test edi, edi
je 0x10008d18
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x10008d18
mov ecx, dword [edi + eax + 0x7c]
test ecx, ecx
je 0x10008d18
mov eax, dword [edi + eax + 0x78]
test eax, eax
je 0x10008d18
lea edx, [ebp - 0xd0]
push edx
push ecx
lea edx, [eax + edi]
mov ecx, edi
call fcn.100055c0
add esp, 8
test eax, eax
jne 0x10008d32
mov eax, dword [0x1012e404]
test eax, eax
jne 0x10008d28
mov dword [0x1012e6f4], eax
jmp 0x10008d3e
lea ecx, [ebp - 0xd0]
push ecx
push edi
call eax
mov dword [0x1012e6f4], eax
jmp 0x10008d3e
mov eax, dword [0x1012e6f4]
test eax, eax
je 0x10008bd0
lea ecx, [ebp - 0x420]
push ecx
push dword [ebp - 0x1c]
call eax
test eax, eax
je 0x10008bd0
jmp 0x10008e6d
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], 0
push ecx
lea ecx, [ebp - 0x420]
mov dword [ebp - 0x5c], 0
push 0x2cc
push ecx
mov ecx, eax
call fcn.100014b0
add esp, 0xc
test eax, eax
jns 0x10008e6d
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x21]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x21], 0
push ecx
push 0x5b8
call fcn.1000a200
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
cdq
mov edi, eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x30]
push 0
push eax
push edi
call fcn.100014b0
add esp, 0xc
test eax, eax
js 0x10008f92
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x420]
push 0x2cc
test esi, esi
je 0x10008dff
push esi
push eax
call fcn.10031b90
add esp, 0xc
jmp 0x10008e1d
push 0
push eax
call fcn.1002fe10
add esp, 0xc
call fcn.10033727
mov dword [eax], 0x16
call fcn.1003330c
mov esi, dword [ebp - 0x30]
mov byte [ebp - 4], 1
test esi, esi
je 0x10008e67
mov ecx, dword [ebp - 0x28]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x10008e48
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009123
push ecx
push esi
call fcn.1002e4ba
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov esi, dword [ebp - 0x90]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp - 0x34]
add eax, 0x40
cmp dword [ebp - 0x40], 0
mov dword [ebp - 0x370], eax
je 0x10009031
mov eax, dword [esi + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x1012e6f8]
test eax, eax
jne 0x10009002
mov dword [ebp - 0x104], eax
mov edx, 0x1a
mov dword [ebp - 0x100], eax
mov ecx, 0x10049184
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], eax
mov word [ebp - 0xec], ax
lea eax, [ebp - 0x104]
push eax
push 4
push 0x10049180
call fcn.10007600
add esp, 0xc
lea edx, [ebp - 0x104]
call fcn.10005490
mov edi, eax
test edi, edi
je 0x10008ff5
xor eax, eax
mov edx, 0x16
mov dword [ebp - 0xe8], eax
mov ecx, 0x100497e4
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], eax
mov word [ebp - 0xd4], ax
lea eax, [ebp - 0xe8]
push eax
push 4
push 0x100497e0
call fcn.10007600
mov edi, dword [edi + 0x18]
add esp, 0xc
call fcn.10005a20
test edi, edi
je 0x10008f82
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x10008f82
mov ecx, dword [edi + eax + 0x7c]
test ecx, ecx
je 0x10008f82
mov eax, dword [edi + eax + 0x78]
test eax, eax
je 0x10008f82
lea edx, [ebp - 0xe8]
push edx
push ecx
lea edx, [eax + edi]
mov ecx, edi
call fcn.100055c0
add esp, 8
test eax, eax
jne 0x10008fee
mov eax, dword [0x1012e404]
test eax, eax
jne 0x10008fe4
mov dword [0x1012e6f8], eax
jmp 0x10008ffa
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x10008bc6
mov edx, dword [ebp - 0x28]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10008fc0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009128
push edx
push ecx
call fcn.1002e4ba
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
jmp 0x10008bc6
lea ecx, [ebp - 0xe8]
push ecx
push edi
call eax
mov dword [0x1012e6f8], eax
jmp 0x10008ffa
mov eax, dword [0x1012e6f8]
test eax, eax
je 0x10008bd0
lea ecx, [ebp - 0x420]
push ecx
push dword [ebp - 0x1c]
call eax
test eax, eax
je 0x10008bd0
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
je 0x10008bd0
mov edi, 1
jmp 0x10008bd2
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x420]
push 0x2cc
push eax
mov edx, 0x1d
call fcn.100011d0
add esp, 8
jmp 0x10008bbe
cmp edi, 0x8664
jne 0x10009016
push 0x4d0
lea eax, [ebp - 0x8f0]
push 0
push eax
call fcn.1002fe10
mov edi, dword [ebp - 0x14]
lea edx, [ebp - 0x8f0]
mov ecx, dword [esi + 4]
add esp, 0xc
mov dword [ebp - 0x8c0], edi
call fcn.10001990
test eax, eax
js 0x10008bc6
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x8f0]
mov ecx, dword [ebp - 0x44]
add eax, 0x40
mov dword [ebp - 0x8c0], edi
adc ecx, 0
mov dword [ebp - 0x870], eax
mov dword [ebp - 0x86c], ecx
jmp 0x10008bb6
push edx
push ecx
call fcn.1002e4ba
add esp, 8
mov ecx, dword [ebp - 0x84]
xor eax, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
test ecx, ecx
je 0x10009109
mov edx, dword [ebp - 0x7c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x100090ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000912d
push edx
push ecx
call fcn.1002e4ba
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1003331c
call fcn.1003331c
call fcn.1003331c
call fcn.1003331c
int3