Function at 0x10070d50
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 0x1013efbf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xa08
push esi
push edi
push 0x2cc
lea eax, [ebp - 0x3a0]
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x24], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0xa10]
push 0x670
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [esi + 0x20], 0
jne 0x10070dc5
mov eax, 0xc0000225
jmp 0x1007164e
push dword [ebx + 0xc]
mov ecx, esi
push dword [ebx + 8]
call fcn.10072190
test eax, eax
js 0x1007164e
mov eax, dword [esi + 0x20]
test eax, eax
je 0x10070de8
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edi, dword [ebx + 0x14]
mov ecx, dword [edi]
call fcn.10087790
test al, al
jne 0x10070e07
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xbf4]
jmp 0x1007164e
mov eax, dword [esi]
lea ecx, [ebp - 0x3c]
xor edx, edx
mov eax, dword [eax + 8]
mov al, byte [eax + 0xd]
test al, al
sete dl
call fcn.1005c460
mov dword [ebp - 4], 0
mov eax, dword [esi]
mov esi, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
mov al, byte [eax + 0xd]
test al, al
jne 0x10071238
mov eax, dword fs:[0x2c]
mov ecx, dword [0x101b23b4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x101b2a18]
cmp eax, dword [ecx + 4]
jle 0x10070f51
push 0x101b2a18
call fcn.1013b04b
add esp, 4
cmp dword [0x101b2a18], 0xffffffff
jne 0x10070f51
movups xmm0, xmmword [0x101926a0]
push 0x101b2a18
movups xmmword [0x101b2a20], xmm0
movups xmm0, xmmword [0x101926d0]
movups xmmword [0x101b2a30], xmm0
movups xmm0, xmmword [0x101926b0]
movups xmmword [0x101b2a40], xmm0
movups xmm0, xmmword [0x101926c0]
movups xmmword [0x101b2a50], xmm0
movups xmm0, xmmword [0x10192700]
movups xmmword [0x101b2a60], xmm0
movups xmm0, xmmword [0x10192710]
movups xmmword [0x101b2a70], xmm0
movups xmm0, xmmword [0x10192720]
movups xmmword [0x101b2a80], xmm0
movups xmm0, xmmword [0x10192730]
movups xmmword [0x101b2a90], xmm0
movups xmm0, xmmword [0x10192740]
movups xmmword [0x101b2aa0], xmm0
movups xmm0, xmmword [0x10192750]
movups xmmword [0x101b2ab0], xmm0
movups xmm0, xmmword [0x10192760]
movups xmmword [0x101b2ac0], xmm0
movups xmm0, xmmword [0x10192770]
movups xmmword [0x101b2ad0], xmm0
movups xmm0, xmmword [0x10192780]
movups xmmword [0x101b2ae0], xmm0
movups xmm0, xmmword [0x10192790]
movups xmmword [0x101b2af0], xmm0
movups xmm0, xmmword [0x101926f0]
movups xmmword [0x101b2b00], xmm0
call fcn.1013b001
add esp, 4
mov edx, dword [edi]
lea edi, [ebp - 0xa10]
mov dword [ebp - 0x9e0], 0x100001
push edi
mov eax, dword [edx]
push dword [edx + 8]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
mov edi, eax
test edi, edi
js 0x10071260
mov eax, dword [esi + 0x70]
lea ecx, [ebp - 0x38]
push sym.msvcp190.dll_struct_asmjit::Operand_const_asmjit::noOperand
push sym.msvcp190.dll_struct_asmjit::Operand_const_asmjit::noOperand
push ecx
lea edi, [esi + 0x70]
mov dword [ebp - 0x38], 4
push 0x101926e0
push 0x261
mov ecx, edi
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x30], 0x78
mov dword [ebp - 0x2c], 0
call dword [eax + 0x18]
mov eax, dword [edi]
mov ecx, edi
push sym.msvcp190.dll_struct_asmjit::Operand_const_asmjit::noOperand
push sym.msvcp190.dll_struct_asmjit::Operand_const_asmjit::noOperand
push sym.msvcp190.dll_struct_asmjit::Operand_const_asmjit::noOperand
push sym.msvcp190.dll_struct_asmjit::Operand_const_asmjit::noOperand
push 0x1f5
call dword [eax + 0x18]
xor eax, eax
mov esi, 0x101b2a20
mov dword [ebp - 0x20], eax
nop word [eax + eax]
push sym.msvcp190.dll_struct_asmjit::Operand_const_asmjit::noOperand
push sym.msvcp190.dll_struct_asmjit::Operand_const_asmjit::noOperand
push esi
mov dword [ebp - 0x38], 3
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x34], 4
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x2c], eax
mov eax, dword [edi]
push ecx
push 0x123
mov ecx, edi
call dword [eax + 0x18]
mov eax, dword [ebp - 0x20]
add esi, 0x10
add eax, 8
mov dword [ebp - 0x20], eax
cmp esi, 0x101b2b10
jl 0x10070ff0
mov esi, dword [ebp - 0x3c]
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
add eax, 0x34
mov dword [ebp - 0x20], eax
mov eax, dword [eax]
test eax, eax
je 0x10071058
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x10071066
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0xd0]
push eax
call fcn.100623c0
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 1
push ecx
lea eax, [ebp - 0x88]
push eax
push ecx
lea ecx, [ebp - 0x34]
call fcn.10061f60
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x100710a7
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x100710b5
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x88]
push eax
call fcn.100623c0
push 1
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x88]
mov ecx, esi
push eax
call dword [ebp - 0x1c]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x50]
test edx, edx
je 0x1007112f
mov ecx, dword [ebp - 0x48]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x10071110
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10071110
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1013b151
add esp, 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x34]
call fcn.100622a0
push 0x1005c400
push 1
push 0x48
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0
push eax
call fcn.1013ba2f
push 8
push ecx
mov ecx, dword [ebp - 0x24]
push 2
push esi
call fcn.100722e0
xor eax, eax
mov esi, 0x101b2a20
mov dword [ebp - 0x1c], eax
nop dword [eax + eax]
push sym.msvcp190.dll_struct_asmjit::Operand_const_asmjit::noOperand
push sym.msvcp190.dll_struct_asmjit::Operand_const_asmjit::noOperand
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], 3
push ecx
mov dword [ebp - 0x34], 4
mov ecx, edi
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x2c], eax
mov eax, dword [edi]
push esi
push 0x123
call dword [eax + 0x18]
mov eax, dword [ebp - 0x1c]
add esi, 0x10
add eax, 8
mov dword [ebp - 0x1c], eax
cmp esi, 0x101b2b10
jl 0x10071170
mov eax, dword [edi]
mov ecx, edi
push sym.msvcp190.dll_struct_asmjit::Operand_const_asmjit::noOperand
push sym.msvcp190.dll_struct_asmjit::Operand_const_asmjit::noOperand
push sym.msvcp190.dll_struct_asmjit::Operand_const_asmjit::noOperand
push sym.msvcp190.dll_struct_asmjit::Operand_const_asmjit::noOperand
push 0x1c9
call dword [eax + 0x18]
push 0
push 0x78
push 0x101926e0
push 2
mov ecx, edi
call sym.msvcp190.dll_public:_unsigned_int___thiscall_asmjit::Assembler::emit_unsigned_int__struct_asmjit::Operand_const___unsigned_long_long_unsigned___int64__
mov eax, dword [edi]
lea ecx, [ebp - 0x1c]
push 2
push ecx
mov ecx, edi
mov dword [ebp - 0x1c], 0x25ff
call dword [eax + 0xc]
mov eax, dword [edi]
lea ecx, [ebp - 0x1c]
push 4
push ecx
mov ecx, edi
mov dword [ebp - 0x1c], 0
call dword [eax + 0xc]
mov eax, dword [ebp - 0x918]
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 0x914]
mov dword [ebp - 0x18], eax
mov eax, dword [edi]
push 8
push ecx
mov ecx, edi
mov dword [ebp - 0x14], edx
call dword [eax + 0xc]
mov esi, dword [ebp - 0x3c]
jmp 0x100714a1
mov edx, dword [edi]
lea edi, [ebp - 0x3a0]
mov dword [ebp - 0x3a0], 0x10001
push edi
mov eax, dword [edx]
push dword [edx + 8]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov edi, eax
test edi, edi
jns 0x10071288
mov edx, dword [ebx + 0x14]
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 4], eax
je 0x10071640
push dword [ecx + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x10071640
mov eax, dword [esi + 0x70]
lea ecx, [esi + 0x70]
push sym.msvcp190.dll_struct_asmjit::Operand_const_asmjit::noOperand
push sym.msvcp190.dll_struct_asmjit::Operand_const_asmjit::noOperand
push sym.msvcp190.dll_struct_asmjit::Operand_const_asmjit::noOperand
push sym.msvcp190.dll_struct_asmjit::Operand_const_asmjit::noOperand
push 0x1f4
call dword [eax + 0x18]
mov eax, dword [esi + 0x70]
lea ecx, [esi + 0x70]
push sym.msvcp190.dll_struct_asmjit::Operand_const_asmjit::noOperand
push sym.msvcp190.dll_struct_asmjit::Operand_const_asmjit::noOperand
push sym.msvcp190.dll_struct_asmjit::Operand_const_asmjit::noOperand
push sym.msvcp190.dll_struct_asmjit::Operand_const_asmjit::noOperand
push 0x1f5
call dword [eax + 0x18]
mov eax, dword [esi]
mov edi, dword [ebp - 0x24]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [edi + 0x34]
mov dword [ebp - 0x20], eax
mov eax, dword [eax]
test eax, eax
je 0x100712ea
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x100712f8
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0xd0]
push eax
call fcn.100623c0
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 4
push ecx
lea eax, [ebp - 0x88]
push eax
push ecx
lea ecx, [ebp - 0x34]
call fcn.10061f60
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x10071336
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x10071344
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x88]
push eax
call fcn.100623c0
push 1
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x88]
mov ecx, esi
push eax
call dword [ebp - 0x1c]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x50]
test edx, edx
je 0x100713be
mov ecx, dword [ebp - 0x48]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x1007139f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007139f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1013b151
add esp, 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x34]
call fcn.100622a0
push 0x1005c400
push 1
push 0x48
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0
push eax
call fcn.1013ba2f
push 0
push 4
push 0x101925e0
push 2
lea ecx, [esi + 0x70]
call sym.msvcp190.dll_public:_unsigned_int___thiscall_asmjit::Assembler::emit_unsigned_int__struct_asmjit::Operand_const___unsigned_long_long_unsigned___int64__
push 0
push ecx
push 0
push esi
mov ecx, edi
call fcn.100722e0
mov eax, dword [esi + 0x70]
lea ecx, [esi + 0x70]
push sym.msvcp190.dll_struct_asmjit::Operand_const_asmjit::noOperand
push sym.msvcp190.dll_struct_asmjit::Operand_const_asmjit::noOperand
push sym.msvcp190.dll_struct_asmjit::Operand_const_asmjit::noOperand
push sym.msvcp190.dll_struct_asmjit::Operand_const_asmjit::noOperand
push 0x1c9
call dword [eax + 0x18]
mov eax, dword [esi + 0x70]
lea ecx, [esi + 0x70]
push sym.msvcp190.dll_struct_asmjit::Operand_const_asmjit::noOperand
push sym.msvcp190.dll_struct_asmjit::Operand_const_asmjit::noOperand
push sym.msvcp190.dll_struct_asmjit::Operand_const_asmjit::noOperand
push sym.msvcp190.dll_struct_asmjit::Operand_const_asmjit::noOperand
push 0x1c7
call dword [eax + 0x18]
mov eax, dword [ebp - 0x2e8]
lea ecx, [ebp - 0x38]
push sym.msvcp190.dll_struct_asmjit::Operand_const_asmjit::noOperand
cdq
push sym.msvcp190.dll_struct_asmjit::Operand_const_asmjit::noOperand
push sym.msvcp190.dll_struct_asmjit::Operand_const_asmjit::noOperand
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x70]
push ecx
push 0x1f3
lea ecx, [esi + 0x70]
mov dword [ebp - 0x38], 4
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x2c], edx
call dword [eax + 0x18]
mov eax, dword [esi + 0x70]
lea ecx, [esi + 0x70]
push sym.msvcp190.dll_struct_asmjit::Operand_const_asmjit::noOperand
push sym.msvcp190.dll_struct_asmjit::Operand_const_asmjit::noOperand
push sym.msvcp190.dll_struct_asmjit::Operand_const_asmjit::noOperand
push sym.msvcp190.dll_struct_asmjit::Operand_const_asmjit::noOperand
push 0x21c
call dword [eax + 0x18]
mov eax, dword [esi + 0x70]
lea ecx, [esi + 0x70]
mov eax, dword [eax + 4]
call eax
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0xb4]
sub eax, dword [esi + 0xa8]
add eax, dword [esi + 0xb0]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x2c]
test eax, eax
jne 0x100714d8
mov edi, 0xc00000a0
jmp 0x100715b1
mov edi, dword [ebx + 0xc]
mov edx, 0
add edi, dword [eax]
push 0
adc edx, dword [eax + 4]
mov eax, dword [eax + 0x14]
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
mov eax, dword [eax + 0x4c]
push edx
push edi
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov edi, eax
test edi, edi
js 0x100715b7
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x2c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
cmp byte [eax + 0xd], 0
je 0x10071563
test ecx, ecx
je 0x10071528
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
mov dword [ebp - 0x14], eax
jmp 0x10071533
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0xc]
lea edi, [ebp - 0x3a0]
add eax, edx
mov edx, dword [ebx + 0x14]
mov dword [ebp - 0x2e8], eax
push edi
mov edx, dword [edx]
mov eax, dword [edx]
push dword [edx + 8]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov edi, eax
mov eax, dword [ebp - 0x24]
add eax, 0x34
jmp 0x100715b4
test ecx, ecx
je 0x1007156e
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x1007157c
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebx + 0xc]
lea edi, [ebp - 0xa10]
add edx, eax
mov eax, 0
mov dword [ebp - 0x918], edx
mov edx, dword [ebx + 0x14]
adc eax, ecx
mov dword [ebp - 0x914], eax
push edi
mov edx, dword [edx]
mov eax, dword [edx]
push dword [edx + 8]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
mov edi, eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 4], eax
je 0x100715d6
push dword [ecx + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test edi, edi
js 0x10071640
mov eax, dword [ebp - 0x24]
push 0x4e20
push dword [eax + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
test eax, eax
jne 0x100715fb
mov edi, 0xc00000a0
jmp 0x10071640
mov edx, dword [eax]
xorps xmm0, xmm0
mov edi, dword [eax + 4]
add edx, 8
mov ecx, dword [eax + 0x14]
mov eax, edx
adc edi, 0
movlpd qword [ebp - 0x18], xmm0
or eax, edi
jne 0x1007161e
mov edi, 0xc0000141
jmp 0x10071640
mov eax, dword [ecx + 0x4c]
lea esi, [ebp - 0x18]
push esi
push 8
push dword [ebx + 0x10]
mov ecx, dword [eax + 8]
push edi
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov esi, dword [ebp - 0x3c]
mov edi, eax
nop dword [eax + eax]
test esi, esi
je 0x1007164c
mov edx, dword [esi]
mov ecx, esi
push 1
call dword [edx]
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10