Function at 0x42cf70
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48705d
push eax
mov dword fs:[0], esp
sub esp, 0x4b0
push ebx
push esi
push edi
push 1
push 0
mov ebx, ecx
call fcn.0042d340
push dword [ebp + 0xc]
mov ecx, ebx
push dword [ebp + 8]
call fcn.0042e690
mov edi, eax
test edi, edi
jne 0x42d2b6
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x42cfc1
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov esi, dword [ebp + 0x14]
mov ecx, esi
call fcn.0043c910
test al, al
jne 0x42cfee
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xbf4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x2cc
lea eax, [ebp - 0x4b8]
push 0
push eax
call fcn.004663d0
mov eax, dword [esi]
lea edx, [ebp - 0x4b8]
mov dword [ebp - 0x4b8], 0x1003f
add esp, 0xc
mov ecx, dword [eax + 8]
push edx
push dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 0x28]
test eax, eax
sete al
test al, al
je 0x42d262
lea ecx, [ebp - 0x1a8]
call fcn.0042f450
push sym.SeaPub.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.SeaPub.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.SeaPub.exe_struct_asmjit::Operand_const_asmjit::noOperand
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x138]
mov eax, dword [ebp - 0x138]
push sym.SeaPub.exe_struct_asmjit::Operand_const_asmjit::noOperand
push 0x1f4
call dword [eax + 0x18]
mov eax, dword [ebp - 0x138]
lea ecx, [ebp - 0x138]
push sym.SeaPub.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.SeaPub.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.SeaPub.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.SeaPub.exe_struct_asmjit::Operand_const_asmjit::noOperand
push 0x1f5
call dword [eax + 0x18]
push dword [ebx + 0x58]
lea ecx, [ebp - 0x58]
call fcn.004196d0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x18]
push dword [ebp + 0x14]
mov dword [ebp - 0x18], 0
push eax
mov eax, ecx
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], 0
call fcn.0040bd65
push dword [ebx + 0x40]
lea ecx, [ebp - 0x1e8]
call fcn.004196d0
push 1
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
mov eax, ecx
lea ecx, [ebp - 0x1a8]
push eax
call fcn.0042f5d0
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x1b0]
test esi, esi
je 0x42d11c
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x42d11c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x42d11c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x18]
call fcn.0040a998
push 0x408a7d
push 1
push 0x40
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0
push eax
call fcn.0044d8d3
push 0
push 4
push 2
lea eax, [ebp - 0x1a8]
mov ecx, ebx
push eax
call fcn.0042e780
mov eax, dword [ebp - 0x138]
lea ecx, [ebp - 0x138]
push sym.SeaPub.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.SeaPub.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.SeaPub.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.SeaPub.exe_struct_asmjit::Operand_const_asmjit::noOperand
push 0x1c9
call dword [eax + 0x18]
mov eax, dword [ebp - 0x138]
lea ecx, [ebp - 0x138]
push sym.SeaPub.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.SeaPub.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.SeaPub.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.SeaPub.exe_struct_asmjit::Operand_const_asmjit::noOperand
push 0x1c7
call dword [eax + 0x18]
push 0
push dword [ebp - 0x400]
lea ecx, [ebp - 0x138]
push 0x1f3
call sym.SeaPub.exe_public:_unsigned_int___thiscall_asmjit::Assembler::emit_unsigned_int__unsigned_long_long_unsigned___int64__
mov eax, dword [ebp - 0x138]
lea ecx, [ebp - 0x138]
push sym.SeaPub.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.SeaPub.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.SeaPub.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.SeaPub.exe_struct_asmjit::Operand_const_asmjit::noOperand
push 0x21c
call dword [eax + 0x18]
mov esi, dword [ebp - 0xf4]
lea ecx, [ebp - 0x138]
mov eax, dword [ebp - 0x138]
sub esi, dword [ebp - 0x100]
add esi, dword [ebp - 0xf8]
call dword [eax + 4]
push eax
push esi
mov esi, dword [ebp + 0xc]
lea ecx, [ebx + 0x40]
push esi
call fcn.0042c340
test eax, eax
jne 0x42d235
mov eax, dword [ebx + 0x40]
add eax, esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x400], eax
mov ecx, esi
push 1
lea eax, [ebp - 0x4b8]
push eax
call fcn.0043cb50
test al, al
jne 0x42d244
jmp 0x42d238
mov esi, dword [ebp + 0x14]
mov eax, dword fs:[0x18]
mov edi, dword [eax + 0xbf4]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a8]
mov dword [ebp - method.blackbone::AsmHelper32.virtual_0], vtable.blackbone::AsmHelper32.0
call fcn.0042f2a0
jmp 0x42d26e
mov eax, dword fs:[0x18]
mov edi, dword [eax + 0xbf4]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 4], eax
je 0x42d282
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test edi, edi
jne 0x42d2b4
push 0xffffffffffffffff
push dword [ebx + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ecx
mov ecx, dword [ebx + 0x6c]
lea eax, [ebp + 0xc]
push eax
push 4
push dword [ebx + 0x5c]
mov dword [ebp + 0xc], edi
push dword [ebx + 0x58]
call fcn.0042f200
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], edi
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10