Function at 0x100154e0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e0909
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x33c
push ebx
push esi
push edi
mov edi, ecx
push ecx
lea ecx, [ebp - 0x204]
call fcn.10029ba0
mov dword [ebp - method.blackbone::AsmHelper32.virtual_0], vtable.blackbone::AsmHelper32.0
mov dword [ebp - 4], 0
mov ecx, edi
mov ebx, dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
call fcn.10016960
mov esi, eax
test esi, esi
jne 0x100159ba
mov eax, dword [edi]
lea ecx, [ebp - 0x68]
push 9
push 0x1011ab80
mov dword [ebp - 0x54], 7
mov eax, dword [eax + 8]
mov dword [ebp - 0x58], esi
mov eax, dword [eax + 8]
cmp eax, 3
mov dword [ebp + 8], eax
sete byte [ebp - 0x14]
xor eax, eax
mov word [ebp - 0x68], ax
call fcn.10013010
mov byte [ebp - 4], 1
lea edx, [ebp - 0x68]
mov esi, dword [edi + 4]
lea ecx, [ebp - 0x50]
call fcn.100216b0
xor eax, eax
mov byte [ebp - 4], 2
cmp dword [ebp + 8], 3
mov ecx, esi
push 0x10119200
setne al
inc eax
push eax
push 0
lea eax, [ebp - 0x50]
push eax
call fcn.10010980
mov byte [ebp - 4], 1
mov esi, eax
mov ecx, dword [ebp - 0x3c]
cmp ecx, 8
jb 0x100155b7
inc ecx
push ecx
push dword [ebp - 0x50]
lea ecx, [ebp - 0x50]
call fcn.10013a40
mov ecx, dword [edi + 4]
xor eax, eax
push 0x1011ab68
push 0x1011ab6c
mov word [ebp - 0x50], ax
lea eax, [ebp - 0x304]
push esi
push eax
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], 0
call fcn.10010f90
lea ecx, [ebp - 0x304]
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], eax
call fcn.100115f0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x54]
cmp eax, 8
jb 0x10015614
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.10013a40
mov eax, esi
or eax, dword [ebp - 0x24]
jne 0x10015635
mov eax, dword fs:[0x18]
mov esi, 0xc0000225
mov dword [eax + 0xbf4], 0xc0000225
jmp 0x100159ba
push dword [ebp - 0x14]
lea ecx, [ebp - 0x204]
call fcn.10029e40
cmp dword [ebp + 8], 3
jne 0x10015848
push 0x1011abbc
lea ecx, [ebp - 0xb4]
call fcn.10012320
push 0x1011ab94
push 0x1011ab98
push 1
push 0
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 3
mov ecx, dword [edi + 4]
push eax
call fcn.10010910
mov ecx, dword [edi + 4]
push eax
lea eax, [ebp - 0x344]
push eax
call fcn.10010f90
mov ecx, dword [eax]
mov esi, dword [eax + 4]
mov dword [ebp + 8], ecx
lea ecx, [ebp - 0x344]
call fcn.100115f0
lea ecx, [ebp - 0xb4]
call fcn.10010e80
mov eax, dword [ebp + 8]
or eax, esi
je 0x10015848
mov eax, dword [edi + 0x58]
lea ecx, [ebp - 0x244]
add eax, 0x3100
push eax
call fcn.10010690
mov byte [ebp - 4], 4
lea eax, [ebp - 0x204]
mov byte [ebp - 0x14], 0
push dword [ebp - 0x14]
mov dword [ebp - 0x38], 0
push eax
mov eax, ecx
mov dword [ebp - 0x34], 0
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x30], 0
call fcn.10014940
push dword [ebp + 8]
lea ecx, [ebp - 0x284]
call fcn.10010690
push 1
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 6
push eax
mov eax, ecx
lea ecx, [ebp - 0x204]
push eax
call fcn.10029f20
lea ecx, [ebp - 0x284]
call fcn.10010760
lea ecx, [ebp - 0x38]
call fcn.10012090
push fcn.10010760
push 1
push 0x40
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 0
push eax
call fcn.100659aa
mov eax, dword [edi + 0x58]
lea ecx, [ebp - 0x194]
push 0
add eax, 0x3100
push eax
lea eax, [ebp - 0x134]
push eax
push 0x123
call fcn.1002b370
movzx eax, byte [ebp - 0x133]
movzx ecx, byte [ebp - 0x173]
and eax, 4
movzx edx, byte [ebp - 0x132]
shl eax, 0x11
add eax, ecx
mov dword [ebp - 0x78], edx
shl eax, 8
lea ecx, [ebp - 0x194]
add eax, 3
mov dword [ebp - 0x74], 0xffffffff
push 0x1012b2b8
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x7c]
push 0x1012b2b8
push eax
lea eax, [ebp - 0x134]
mov dword [ebp - 0x70], 0
push eax
mov eax, dword [ebp - 0x194]
push 0x123
call dword [eax + 0x18]
lea ecx, [ebp - 0x204]
call fcn.10015170
movzx eax, byte [ebp - 0x113]
movzx ecx, byte [ebp - 0x173]
and eax, 4
movzx edx, byte [ebp - 0x112]
shl eax, 0x11
add eax, ecx
shl eax, 8
lea ecx, [ebp - 0x194]
add eax, 3
mov dword [ebp - 0x88], edx
push 0x1012b2b8
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x134]
push 0x1012b2b8
push eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x84], 0xffffffff
push eax
mov eax, dword [ebp - 0x194]
push 0x123
mov dword [ebp - 0x80], 0x2c8
call dword [eax + 0x18]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push dword [edi + 0x40]
lea ecx, [ebp - 0x2c4]
call fcn.10010690
push 1
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 8
push eax
mov eax, ecx
lea ecx, [ebp - 0x204]
push eax
call fcn.10029f20
mov byte [ebp - 4], 9
mov esi, dword [ebp - 0x28c]
test esi, esi
je 0x100158b5
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x100158b2
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x100158b2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ebx, dword [ebp + 0xc]
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x100158e0
push dword [ebp + 0xc]
mov edx, dword [ebp - 0x1c]
push ecx
mov ecx, esi
call fcn.100149c0
mov eax, dword [ebp - 0x18]
add esp, 8
sub eax, esi
sar eax, 6
push eax
push esi
call fcn.100138c0
push dword [edi + 0x58]
lea eax, [edi + 0x58]
push dword [ebp - 0x28]
lea ecx, [ebp - 0x204]
mov dword [ebp + 0xc], eax
call fcn.1002a150
mov esi, dword [ebp - 0x154]
lea ecx, [ebp - 0x194]
mov eax, dword [ebp - 0x194]
sub esi, dword [ebp - 0x15c]
add esi, dword [ebp - 0x150]
call dword [eax + 4]
push eax
push esi
push ebx
lea ecx, [edi + 0x40]
call fcn.10010140
test eax, eax
jne 0x100159ae
add ebx, dword [edi + 0x40]
push ecx
push dword [edi + 0x5c]
adc eax, dword [edi + 0x44]
push dword [edi + 0x58]
mov ecx, dword [edi + 0xc]
push eax
push ebx
lea eax, [ebp - 0x9c]
push eax
call fcn.1002b410
mov byte [ebp - 4], 0xa
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, dword [ebp - 0x94]
cmp dword [ebp - 0x98], eax
je 0x10015968
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp + 0xc]
neg eax
xorps xmm0, xmm0
sbb esi, esi
movlpd qword [ebp - 0x2c], xmm0
lea eax, [ebp - 0x2c]
inc esi
push eax
push 0
call fcn.10016ea0
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov byte [ebp - 4], 0xb
cmp byte [ebp - 0x90], 0
je 0x100159ba
test edi, edi
je 0x100159ba
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100159ba
mov eax, dword fs:[0x18]
mov esi, dword [eax + 0xbf4]
lea ecx, [ebp - 0x204]
mov dword [ebp - method.blackbone::AsmHelper32.virtual_0], vtable.blackbone::AsmHelper32.0
call fcn.10029c20
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc