Function at 0x419380
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 0x492739
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 - 0x398]
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x24], esi
call fcn.00470f10
add esp, 0xc
lea eax, [ebp - 0xa10]
push 0x670
push 0
push eax
call fcn.00470f10
add esp, 0xc
cmp dword [esi + 0x20], 0
jne 0x4193f5
mov eax, 0xc0000225
jmp 0x419c40
push dword [ebx + 0xc]
mov ecx, esi
push dword [ebx + 8]
call fcn.0041a750
test eax, eax
js 0x419c40
mov eax, dword [esi + 0x20]
test eax, eax
je 0x419418
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edi, dword [ebx + 0x14]
mov ecx, dword [edi]
call fcn.0042e660
test al, al
jne 0x419437
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xbf4]
jmp 0x419c40
mov eax, dword [esi]
lea ecx, [ebp - 0x28]
xor edx, edx
mov eax, dword [eax + 8]
mov al, byte [eax + 0xd]
test al, al
sete dl
call fcn.00403b00
mov dword [ebp - 4], 0
mov eax, dword [esi]
mov esi, dword [ebp - 0x28]
mov eax, dword [eax + 8]
mov al, byte [eax + 0xd]
test al, al
jne 0x419848
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0xb39c80]
cmp eax, dword [ecx + 4]
jle 0x41957a
push 0xb39c80
call fcn.0046d861
add esp, 4
cmp dword [0xb39c80], 0xffffffff
jne 0x41957a
movups xmm0, xmmword [0x4a9a50]
push 0xb39c80
movups xmmword [0xb39c88], xmm0
movups xmm0, xmmword [0x4a9a80]
movups xmmword [0xb39c98], xmm0
movups xmm0, xmmword [0x4a9a60]
movups xmmword [0xb39ca8], xmm0
movups xmm0, xmmword [0x4a9a70]
movups xmmword [0xb39cb8], xmm0
movups xmm0, xmmword [0x4a9ab0]
movups xmmword [0xb39cc8], xmm0
movups xmm0, xmmword [0x4a9ac0]
movups xmmword [0xb39cd8], xmm0
movups xmm0, xmmword [0x4a9ad0]
movups xmmword [0xb39ce8], xmm0
movups xmm0, xmmword [0x4a9ae0]
movups xmmword [0xb39cf8], xmm0
movups xmm0, xmmword [0x4a9af0]
movups xmmword [0xb39d08], xmm0
movups xmm0, xmmword [0x4a9b00]
movups xmmword [0xb39d18], xmm0
movups xmm0, xmmword [0x4a9b10]
movups xmmword [0xb39d28], xmm0
movups xmm0, xmmword [0x4a9b20]
movups xmmword [0xb39d38], xmm0
movups xmm0, xmmword [0x4a9b30]
movups xmmword [0xb39d48], xmm0
movups xmm0, xmmword [0x4a9b40]
movups xmmword [0xb39d58], xmm0
movups xmm0, xmmword [0x4a9aa0]
movups xmmword [0xb39d68], xmm0
call fcn.0046d817
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
mov dword [ebp - 0x14], edi
test edi, edi
js 0x419887
mov eax, dword [esi + 0x70]
lea ecx, [ebp - 0x38]
push sym.Loader.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.Loader.exe_struct_asmjit::Operand_const_asmjit::noOperand
push ecx
lea edi, [esi + 0x70]
mov dword [ebp - 0x38], 4
push 0x4a9a90
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.Loader.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.Loader.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.Loader.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.Loader.exe_struct_asmjit::Operand_const_asmjit::noOperand
push 0x1f5
call dword [eax + 0x18]
xor eax, eax
mov esi, 0xb39c88
mov dword [ebp - 0x14], eax
push sym.Loader.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.Loader.exe_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 - 0x14]
add esi, 0x10
add eax, 8
mov dword [ebp - 0x14], eax
cmp esi, 0xb39d78
jl 0x419612
mov esi, dword [ebp - 0x28]
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x419675
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x419683
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0xc8]
push eax
call fcn.004098a0
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 1
push ecx
lea eax, [ebp - 0x80]
push eax
push ecx
lea ecx, [ebp - 0x34]
call fcn.00409310
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x4196c1
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x4196cf
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x80]
push eax
call fcn.004098a0
push 1
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x80]
mov ecx, esi
push eax
call dword [ebp - 0x14]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x419741
mov edx, dword [ebp - 0x40]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x419722
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419c55
push edx
push ecx
call fcn.0046d4cf
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x34]
call fcn.00409780
push 0x403ab0
push 1
push 0x48
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0
push eax
call fcn.0046d38a
push 8
push ecx
mov ecx, dword [ebp - 0x24]
push 2
push esi
call fcn.0041a8a0
xor eax, eax
mov esi, 0xb39c88
mov dword [ebp - 0x14], eax
nop word [eax + eax]
push sym.Loader.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.Loader.exe_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 - 0x14]
add esi, 0x10
add eax, 8
mov dword [ebp - 0x14], eax
cmp esi, 0xb39d78
jl 0x419780
mov eax, dword [edi]
mov ecx, edi
push sym.Loader.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.Loader.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.Loader.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.Loader.exe_struct_asmjit::Operand_const_asmjit::noOperand
push 0x1c9
call dword [eax + 0x18]
push 0
push 0x78
push 0x4a9a90
push 2
mov ecx, edi
call sym.Loader.exe_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 - 0x14]
push 2
push ecx
mov ecx, edi
mov dword [ebp - 0x14], 0x25ff
call dword [eax + 0xc]
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
push 4
push ecx
mov ecx, edi
mov dword [ebp - 0x14], 0
call dword [eax + 0xc]
mov eax, dword [ebp - 0x918]
mov ecx, dword [ebp - 0x914]
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [edi]
push 8
push ecx
mov ecx, edi
call dword [eax + 0xc]
mov esi, dword [ebp - 0x28]
jmp 0x419aad
mov edi, dword [edi]
lea eax, [ebp - 0x394]
push 0x2c8
push 0
push eax
call fcn.00470f10
mov dword [ebp - 0x398], 0x10001
lea edx, [ebp - 0x398]
mov eax, dword [edi]
add esp, 0xc
mov ecx, dword [eax + 8]
push edx
push dword [edi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov dword [ebp - 0x14], eax
test eax, eax
jns 0x4198a9
mov edx, dword [ebx + 0x14]
mov edi, dword [edx]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi + 4], eax
je 0x419c31
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x419c31
mov eax, dword [esi + 0x70]
lea edi, [esi + 0x70]
push sym.Loader.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.Loader.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.Loader.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.Loader.exe_struct_asmjit::Operand_const_asmjit::noOperand
push 0x1f4
mov ecx, edi
call dword [eax + 0x18]
mov eax, dword [edi]
mov ecx, edi
push sym.Loader.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.Loader.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.Loader.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.Loader.exe_struct_asmjit::Operand_const_asmjit::noOperand
push 0x1f5
call dword [eax + 0x18]
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x419906
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x419914
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0xc8]
push eax
call fcn.004098a0
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 4
push ecx
lea eax, [ebp - 0x80]
push eax
push ecx
lea ecx, [ebp - 0x34]
call fcn.00409310
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x419952
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x419960
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x80]
push eax
call fcn.004098a0
push 1
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x80]
mov ecx, esi
push eax
call dword [ebp - 0x14]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x4199d2
mov edx, dword [ebp - 0x40]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x4199b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419c5a
push edx
push ecx
call fcn.0046d4cf
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x34]
call fcn.00409780
push 0x403ab0
push 1
push 0x48
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0
push eax
call fcn.0046d38a
push 0
push 4
push 0x4a9990
push 2
mov ecx, edi
call sym.Loader.exe_public:_unsigned_int___thiscall_asmjit::Assembler::emit_unsigned_int__struct_asmjit::Operand_const___unsigned_long_long_unsigned___int64__
push 0
push ecx
mov ecx, dword [ebp - 0x24]
push 0
push esi
call fcn.0041a8a0
mov eax, dword [edi]
mov ecx, edi
push sym.Loader.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.Loader.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.Loader.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.Loader.exe_struct_asmjit::Operand_const_asmjit::noOperand
push 0x1c9
call dword [eax + 0x18]
mov eax, dword [edi]
mov ecx, edi
push sym.Loader.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.Loader.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.Loader.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.Loader.exe_struct_asmjit::Operand_const_asmjit::noOperand
push 0x1c7
call dword [eax + 0x18]
mov eax, dword [ebp - 0x2e0]
lea ecx, [ebp - 0x38]
push sym.Loader.exe_struct_asmjit::Operand_const_asmjit::noOperand
cdq
push sym.Loader.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.Loader.exe_struct_asmjit::Operand_const_asmjit::noOperand
mov dword [ebp - 0x30], eax
mov eax, dword [edi]
push ecx
push 0x1f3
mov ecx, edi
mov dword [ebp - 0x38], 4
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x2c], edx
call dword [eax + 0x18]
mov eax, dword [edi]
mov ecx, edi
push sym.Loader.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.Loader.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.Loader.exe_struct_asmjit::Operand_const_asmjit::noOperand
push sym.Loader.exe_struct_asmjit::Operand_const_asmjit::noOperand
push 0x21c
call dword [eax + 0x18]
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 4]
call eax
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x44]
sub eax, dword [edi + 0x38]
add eax, dword [edi + 0x40]
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x2c]
test eax, eax
jne 0x419adb
mov dword [ebp - 0x14], 0xc00000a0
jmp 0x419bab
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 - 0x14]
push dword [ebp - 0x1c]
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, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
test eax, eax
js 0x419bab
mov eax, dword [edi]
mov ecx, dword [edi + 0x2c]
mov eax, dword [eax + 8]
cmp byte [eax + 0xd], 0
je 0x419b59
test ecx, ecx
je 0x419b2c
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
mov dword [ebp - 0x1c], eax
jmp 0x419b37
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 0xc]
lea esi, [ebp - 0x398]
add eax, edx
mov edx, dword [ebx + 0x14]
mov dword [ebp - 0x2e0], eax
mov edx, dword [edx]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
jmp 0x419b9f
test ecx, ecx
je 0x419b64
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x419b72
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebx + 0xc]
lea esi, [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
mov edx, dword [edx]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
push esi
push dword [edx + 8]
call eax
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 4], eax
je 0x419bca
push dword [ecx + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp dword [ebp - 0x14], 0
jl 0x419c31
push 0x4e20
push dword [edi + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [edi + 0x34]
test eax, eax
jne 0x419bee
mov dword [ebp - 0x14], 0xc00000a0
jmp 0x419c31
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 - 0x20], xmm0
or eax, edi
jne 0x419c13
mov dword [ebp - 0x14], 0xc0000141
jmp 0x419c31
mov eax, dword [ecx + 0x4c]
lea esi, [ebp - 0x20]
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 - 0x28]
mov dword [ebp - 0x14], eax
test esi, esi
je 0x419c3d
mov edx, dword [esi]
mov ecx, esi
push 1
call dword [edx]
mov eax, dword [ebp - 0x14]
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
call fcn.00472aca
call fcn.00472aca
int3