Function at 0x140046e90
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x258]
sub rsp, 0x330
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x14005d010]
xor rax, rsp
mov qword [rbp + 0x1f8], rax
mov rbx, rcx
lea rdx, str.Russian
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
mov dword [rbp + 0x124], 0x40
lea rax, [0x140048060]
mov qword [rbp + 0x128], rax
xor esi, esi
mov qword [rbp + 0x130], rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp + 0x138], rax
mov qword [rbp + 0x148], rsi
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x150], xmm0
lea rax, str.ImGui_Example
mov qword [rbp + 0x160], rax
mov qword [rbp + 0x168], rsi
mov dword [rbp + 0x120], 0x50
lea edx, [rsi + 0x65]
mov rcx, rbx
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rbp + 0x140], rax
lea rcx, [rbp + 0x120]
call qword [sym.imp.USER32.dll_RegisterClassExW]
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rbp + 0x108]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov qword [rsp + 0x58], rsi
mov rax, qword [rbp + 0x138]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov eax, dword [rbp + 0x114]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x110]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x10c]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x108]
mov dword [rsp + 0x20], eax
mov r9d, 0x80000000
lea r8, str._bloodyinject
mov rdx, qword [rbp + 0x160]
mov ecx, 0x80008
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r14, rax
lea r9d, [rsi + 1]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov r15, qword [0x140139b08]
mov rdx, qword [0x140139af8]
mov ecx, 0x5618
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r9, rax
mov r8, qword [0x140139b08]
test r8, r8
je 0x14004707a
mov r10d, dword [r8 + 0x3fe8]
movsx rdx, word [r8 + 0x5488]
lea rcx, [r8 + 0x548c]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r10d
je 0x14004706f
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x5488], cx
movsx rax, cx
lea rcx, [r8 + 0x548c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r10d
mov dword [rcx + 4], esi
inc word [rcx + 4]
inc dword [r8 + 0x5480]
mov qword [rbp + 0x1a0], r9
lea rax, [rsp + 0x60]
mov qword [rbp + 0x100], rax
mov qword [rbp - 0x78], r9
test r9, r9
je 0x1400470a5
xor edx, edx
mov rcx, r9
call fcn.140004280
mov rdi, rax
jmp 0x1400470a8
mov rdi, rsi
mov qword [0x140139b08], rdi
call fcn.140005330
mov rbx, qword [0x140139b08]
test r15, r15
cmovne rbx, r15
mov qword [0x140139b08], rbx
test rdi, rdi
je 0x140047dc6
xorps xmm7, xmm7
movups xmmword [rbp + 0x70], xmm7
movups xmmword [rbp + 0x80], xmm7
movups xmmword [rbp + 0xc0], xmm7
mov byte [rbp + 0x7c], 1
movss xmm6, dword [0x140053c44]
movss xmm8, dword [0x140053ba4]
mov dword [rbp + 0xc0], 0x3f800000
mov dword [rbp + 0xc4], 0x3f800000
mov eax, 0xffff
mov word [rbp + 0xc8], ax
mov dword [rbp + 0x88], 3
mov dword [rbp + 0x8c], 1
xor ecx, ecx
call fcn.140024a40
mov rax, qword [0x140139b08]
movaps xmm0, xmmword [0x140053d90]
movups xmmword [rax + 0x3b68], xmm0
movaps xmm1, xmmword [0x140053ff0]
movups xmmword [rax + 0x3b78], xmm1
movaps xmm0, xmmword [0x140053fd0]
movups xmmword [rax + 0x3b88], xmm0
movaps xmm1, xmmword [0x140053ca0]
movups xmmword [rax + 0x3a38], xmm1
movaps xmm0, xmmword [0x140053ec0]
movups xmmword [0x1400a5850], xmm0
movaps xmm0, xmmword [rbp + 0x70]
movaps xmmword [rbp - 0x30], xmm0
movaps xmm1, xmmword [rbp + 0x80]
movaps xmmword [rbp - 0x20], xmm1
movaps xmmword [rbp - 0x10], xmm7
movaps xmmword [rbp], xmm7
xorps xmm0, xmm0
shufps xmm0, xmm0, 0xe1
movss xmm0, xmm6
shufps xmm0, xmm0, 0xe1
movaps xmmword [rbp + 0xb0], xmm0
movaps xmmword [rbp + 0x10], xmm0
movaps xmm0, xmmword [rbp + 0xc0]
movaps xmmword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x30], xmm7
movaps xmmword [rbp + 0x40], xmm7
movaps xmmword [rbp + 0x50], xmm7
lea rax, [0x140077a30]
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x28], 0x2de20
movss xmm0, dword [0x140053bec]
movss dword [rbp - 0x1c], xmm0
lea rax, [0x140053618]
mov qword [rbp + 8], rax
lea rdx, [rbp - 0x30]
mov rcx, qword [rbx + 0x38]
call fcn.1400288f0
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rbx, rax
mov edx, 0x74
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edi, eax
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov edx, edi
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov qword [rbp + 0x70], rsi
mov qword [rbp + 0x84], rsi
mov qword [rbp + 0x98], 1
mov qword [rbp + 0xb0], 2
mov dword [rbp + 0x80], 0x1c
mov dword [rbp + 0x78], edi
mov dword [rbp + 0x7c], 1
mov dword [rbp + 0x94], 0x20
mov qword [rbp + 0xa0], r14
mov qword [rbp + 0x8c], 1
mov qword [rbp + 0xa8], 1
mov dword [rbp + 0x1e0], 0xb000
mov dword [rbp + 0x1e4], 0xa000
lea rax, [0x140139b28]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x170]
mov qword [rsp + 0x50], rax
lea rax, [0x140139b30]
mov qword [rsp + 0x48], rax
lea rax, [0x140139b40]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp + 0x1e0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
je 0x140047335
call fcn.140048150
mov rdx, qword [rbp + 0x138]
mov rcx, qword [rbp + 0x160]
call qword [sym.imp.USER32.dll_UnregisterClassW]
jmp 0x140047dc6
call fcn.1400481d0
mov qword [rbp + 0x70], 0xffffffffffffffff
mov qword [rbp + 0x78], 0xffffffffffffffff
mov qword [rbp + 0x80], 0xffffffffffffffff
mov qword [rbp + 0x88], 0xffffffffffffffff
mov dword [rbp + 0x90], 0xffffffff
mov qword [rbp + 0x94], 0xfffffffffffffffd
mov dword [rbp + 0x9c], 0xffffffff
mov qword [rbp + 0xa0], rsi
mov qword [rsp + 0x30], rsi
lea rax, [0x140139b88]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x70]
mov r8d, 0x1a9d9
lea rdx, [0x14005d050]
mov rcx, qword [0x140139b30]
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
mov ebx, eax
mov qword [rbp + 0x70], 0xffffffffffffffff
mov qword [rbp + 0x78], 0xffffffffffffffff
mov qword [rbp + 0x80], 0xffffffffffffffff
mov qword [rbp + 0x88], 0xffffffffffffffff
mov dword [rbp + 0x90], 0xffffffff
mov qword [rbp + 0x94], 0xfffffffffffffffd
mov dword [rbp + 0x9c], 0xffffffff
mov qword [rbp + 0xa0], rsi
mov qword [rsp + 0x30], rsi
lea rax, [0x140139b90]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x70]
mov r8d, 0x93a10
lea rdx, [0x1400a5860]
mov rcx, qword [0x140139b30]
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
test eax, eax
sete al
test ebx, ebx
jne 0x140047da9
test al, al
je 0x140047da9
mov rcx, r14
call fcn.14002e280
call fcn.14002e0b0
lea edx, [rbx + 0xa]
mov rcx, r14
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r14
call qword [sym.imp.USER32.dll_UpdateWindow]
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], bl
lea r8d, [rbx + 0x14]
lea rdx, str.Initilizating_adb...
lea rcx, [rsp + 0x68]
call fcn.140048770
nop
mov dword [rbp - 0x70], 2
movss dword [rbp - 0x6c], xmm8
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], rsi
lea r15, [rsp + 0x68]
mov r13, qword [rbp - 0x80]
cmp r13, 0x10
setae r12b
mov rdi, qword [rsp + 0x68]
cmovae r15, rdi
mov r14, qword [rsp + 0x78]
cmp r14, 0x10
jae 0x1400474f2
movups xmm0, xmmword [r15]
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x50], 0xf
jmp 0x140047573
mov rbx, r14
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140047549
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140047e0a
mov rcx, rax
call fcn.14004a68c
mov rcx, rax
test rax, rax
je 0x140047542
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140047558
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140047555
call fcn.14004a68c
jmp 0x140047558
mov rax, rsi
mov qword [rbp - 0x68], rax
lea r8, [r14 + 1]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x50], rbx
movups xmm0, xmmword [rbp - 0x68]
mov qword [rbp - 0x58], r14
mov dword [rbp + 0x70], 1
mov dword [rbp + 0x78], 2
movss dword [rbp + 0x7c], xmm8
movups xmmword [rbp + 0x80], xmm0
movups xmm0, xmmword [rbp - 0x58]
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], 0
lea r8, [rbp + 0x70]
lea rdx, [rbp + 0x1e8]
call fcn.140048d30
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 0x10
jb 0x140047603
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400475fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400475fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004a33c
nop
test r12b, r12b
je 0x14004763c
lea rdx, [r13 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140047634
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140047634
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14004a33c
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov ecx, 1
call fcn.14004a68c
mov qword [rbp + 0x1a0], rax
lea rcx, [rbp + 0x188]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140049720]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x180], rax
test rax, rax
je 0x140047d97
cmp dword [rbp + 0x188], 0
jne 0x14004769c
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp + 0x180]
movdqa xmmword [rbp + 0x1a0], xmm0
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x1400476c5
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x180], xmm0
xorps xmm1, xmm1
movups xmmword [rbp + 0x1b0], xmm1
movups xmmword [rbp + 0x1c0], xmm1
movups xmmword [rbp + 0x1d0], xmm1
lea r13, [0x140139ba8]
lea r12, [0x140139b98]
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14004773c
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x140047c11
call fcn.1400466f0
mov rbx, qword [0x140139b08]
test rbx, rbx
je 0x140047756
mov rax, qword [rbx + 0xa0]
jmp 0x140047759
mov rax, rsi
cmp qword [rax + 0x48], 0
jne 0x14004776c
call fcn.14002db90
mov rbx, qword [0x140139b08]
test rbx, rbx
je 0x14004777a
mov rdi, qword [rbx + 0x98]
jmp 0x14004777d
mov rdi, rsi
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x60], xmm0
lea rdx, [rbp + 0x60]
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp + 0x6c]
sub eax, dword [rbp + 0x64]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [rbp + 0x68]
sub eax, dword [rbp + 0x60]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x10], xmm0
movss dword [rbx + 0x14], xmm1
mov qword [rbp + 0x190], rsi
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp + 0x190]
mov rax, rcx
sub rax, qword [rdi + 0x18]
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [rdi + 0x20]
divss xmm1, xmm0
movss dword [rbx + 0x18], xmm1
mov qword [rdi + 0x18], rcx
mov r14, qword [0x140139b08]
test r14, r14
je 0x14004780b
mov r15, qword [r14 + 0x98]
jmp 0x14004780e
mov r15, rsi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [r15]
cmp rax, rcx
jne 0x1400478c0
cmp byte [r14 + 0xb3], 0
je 0x140047875
cvttss2si eax, dword [r14 + 0xe0]
mov dword [rbp + 0x170], eax
cvttss2si eax, dword [r14 + 0xe4]
mov dword [rbp + 0x174], eax
lea rdx, [rbp + 0x170]
call qword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x14004786b
mov edx, dword [rbp + 0x174]
mov ecx, dword [rbp + 0x170]
call qword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [r14 + 0xb3], 0
jne 0x1400478c0
cmp dword [r15 + 0x10], 0
jne 0x1400478c0
lea rcx, [rbp + 0x1e0]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1400478c0
lea rdx, [rbp + 0x1e0]
mov rcx, qword [r15]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1400478c0
movd xmm2, dword [rbp + 0x1e4]
cvtdq2ps xmm2, xmm2
movd xmm1, dword [rbp + 0x1e0]
cvtdq2ps xmm1, xmm1
lea rcx, [r14 + 8]
call fcn.140001a90
call fcn.14002e640
cmp byte [rbx + 0x58], 0
je 0x1400478d2
mov eax, 0xffffffff
jmp 0x1400478df
mov rax, qword [0x140139b08]
mov eax, dword [rax + 0x5040]
cmp dword [rdi + 0x28], eax
je 0x1400478ec
mov dword [rdi + 0x28], eax
call fcn.14002e4d0
call fcn.14002e810
call fcn.140007b20
xor r8d, r8d
xor edx, edx
lea rcx, str.ID_Replacement_Tool
call fcn.14000d670
mov qword [rbp - 0x48], 0
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x10
mov r8, r13
xor edx, edx
lea rcx, str.ID_Replace
call fcn.14003d390
mov qword [rbp - 0x40], 0
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x10
mov r8, r12
xor edx, edx
lea rcx, str.ID_New
call fcn.14003d390
mov qword [rbp + 0x60], rsi
lea rcx, [rbp + 0x60]
call fcn.140046920
test al, al
je 0x140047d4b
mov qword [rbp - 0x78], 0
xor r8d, r8d
lea rdx, [rbp - 0x78]
lea rcx, [0x140053ad0]
call fcn.1400371e0
test al, al
je 0x140047b68
mov r8, 0xffffffffffffffff
inc r8
cmp byte [r8 + r13], 0
jne 0x1400479b2
test r8, r8
je 0x140047b5c
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [r12 + rax], 0
jne 0x1400479d0
test rax, rax
je 0x140047b5c
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
mov rdx, r13
lea rcx, [rsp + 0x68]
call fcn.140048770
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rax
lea rbx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rbx, qword [rsp + 0x68]
mov dword [rax], esi
mov r8d, 0xa
lea rdx, [rbp + 0x100]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
cmp rbx, qword [rbp + 0x100]
je 0x140047c6b
cmp dword [rdi], 0x22
je 0x140047c5d
mov dword [0x140139b24], eax
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140047a91
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047a8c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047c33
call fcn.14004a33c
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [r12 + r8], 0
jne 0x140047ab0
mov rdx, r12
lea rcx, [rsp + 0x68]
call fcn.140048770
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rax
lea rbx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rbx, qword [rsp + 0x68]
mov dword [rax], esi
mov r8d, 0xa
lea rdx, [rbp + 0x1a0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
cmp rbx, qword [rbp + 0x1a0]
je 0x140047c4f
cmp dword [rdi], 0x22
je 0x140047c41
mov dword [0x140139b38], eax
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140047b51
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047b4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047c3a
call fcn.14004a33c
lea rcx, [rbp + 0x60]
call fcn.140046b00
jmp 0x140047b68
lea rcx, [0x140053ae0]
call fcn.140036420
call fcn.14000fa90
cmp byte [0x140139b01], 0
je 0x140047b7b
call fcn.1400464a0
call fcn.140009b60
xorps xmm0, xmm0
movups xmmword [rbp + 0x1e8], xmm0
mov rcx, qword [0x140139b28]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x140139b48]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rcx, qword [0x140139b28]
mov rax, qword [rcx]
lea r8, [rbp + 0x1e8]
mov rdx, qword [0x140139b48]
call qword [rax + 0x190]
mov rax, qword [0x140139b08]
mov rax, qword [rax + 0x4bd0]
mov rcx, qword [rax]
add rcx, 0x50
mov rax, rsi
cmp byte [rcx], sil
cmovne rax, rcx
mov rcx, rax
call fcn.14002cf40
mov rcx, qword [0x140139b40]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 1]
call qword [rax + 0x40]
nop
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x140047c11
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbp + 0x1b8], 0x12
jne 0x1400476f6
mov rbx, qword [0x140139b08]
test rbx, rbx
je 0x140047c79
mov rdi, qword [rbx + 0xa0]
jmp 0x140047c7c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
nop
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
nop
mov rdi, rsi
call fcn.14002df90
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140047c90
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi]
test rcx, rcx
je 0x140047c9e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140047cad
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x90], rsi
mov qword [rbx + 0xa0], rsi
and dword [rbx + 0xc], 0xfffffff7
mov rcx, rdi
call fcn.140006f60
mov rbx, qword [0x140139b08]
test rbx, rbx
je 0x140047cdc
mov rdi, qword [rbx + 0x98]
jmp 0x140047cdf
mov rdi, rsi
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140047cee
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx + 0x88], rsi
mov qword [rbx + 0x98], rsi
and dword [rbx + 0xc], 0xfffffff8
mov rcx, rdi
call fcn.140006f60
mov rbx, qword [0x140139b08]
call fcn.140005880
mov qword [0x140139b08], rsi
test rbx, rbx
je 0x140047d30
mov rcx, rbx
call fcn.14001dbf0
mov rcx, rbx
call fcn.140006f60
call fcn.140048150
mov rdx, qword [rbp + 0x138]
mov rcx, qword [rbp + 0x160]
call qword [sym.imp.USER32.dll_UnregisterClassW]
jmp 0x140047d83
lea rdx, [0x140053ab8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140048900
lea rdx, [0x140048ad0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x140047d7e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 0xffffffff
cmp dword [rbp + 0x188], 0
je 0x140047d93
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov eax, esi
jmp 0x140047dcb
mov dword [rbp + 0x188], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov r9d, 1
lea r8, str.Error_when_load_image
lea rdx, str.Error_when_load_image
mov rcx, r14
call qword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 1
mov rcx, qword [rbp + 0x1f8]
xor rcx, rsp
call fcn.14004a1a0
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400453c0
nop
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, rax
movabs rax, 0x346dc5d63886594b
imul rcx
sar rdx, 0xb
mov r12, rdx
shr r12, 0x3f
add rdx, 0xffffffffffffb1e0
add r12, rdx
xor r13d, r13d
mov qword [rbp - 0x31], r13
mov qword [rbp - 0x21], r13
mov qword [rbp - 0x19], 0xf
mov byte [rbp - 0x31], r13b
lea r8d, [r13 + 0xb]
lea rdx, str.Inited_adb_
lea rcx, [rbp - 0x31]
call fcn.140048770
nop
mov dword [rbp - 0x59], r13d
mov dword [rbp - 0x55], 0x3f800000
mov qword [rbp - 0x51], r13
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x41], xmm1
lea r15, [rbp - 0x31]
mov rdi, qword [rbp - 0x31]
mov r14, qword [rbp - 0x19]
cmp r14, 0x10
cmovae r15, rdi
mov rsi, qword [rbp - 0x21]
cmp rsi, 0x10
jae 0x140047ed5
movups xmm0, xmmword [r15]
movups xmmword [rbp - 0x51], xmm0
mov qword [rbp - 0x39], 0xf
jmp 0x140047f56
mov rbx, rsi
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140047f2c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140048051
mov rcx, rax
call fcn.14004a68c
mov rcx, rax
test rax, rax
je 0x140047f25
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140047f3b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140047f38
call fcn.14004a68c
jmp 0x140047f3b
mov rax, r13
mov qword [rbp - 0x51], rax
lea r8, [rsi + 1]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x39], rbx
movups xmm0, xmmword [rbp - 0x51]
mov qword [rbp - 0x41], rsi
mov dword [rbp - 0x11], r12d
mov dword [rbp - 9], r13d
mov dword [rbp - 5], 0x3f800000
movups xmmword [rbp - 1], xmm0
movups xmm0, xmmword [rbp - 0x41]
movups xmmword [rbp + 0xf], xmm0
movdqa xmm1, xmmword [0x140053c90]
movdqu xmmword [rbp - 0x41], xmm1
mov byte [rbp - 0x51], 0
lea r8, [rbp - 0x11]
lea rdx, [rbp + 0x1f]
call fcn.140048d30
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x140047fd3
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047fcd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140047fcd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004a33c
nop
cmp r14, 0x10
jb 0x14004800d
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140048005
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140048005
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14004a33c
lea rdx, str.ADB_initialization_logged.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140048900
lea rdx, [0x140048ad0]
mov rcx, rax
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
jmp qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call fcn.1400453c0
nop
int3
or al, 0x63
call 0x18768b492
shl dword [rdi - 0x3e], 1
push rcx
invalid
xor eax, 0xe45a5c59
out dx, al
cmp ebp, edi
and dl, byte [rdi - 0x1397ee35]
invalid
invalid
int3
sbb ecx, esp
int 0xcd
invalid
mov word [rsp + rcx*4 - 0x56e9b6bc], cs
push rsp
mov dl, byte [rdx - 0x57]
mov bl, 0xd9
jle 0x1400a773a
invalid
test eax, 0x64d9b344
jle 0x1400a773a
sahf
sbb dword [r8 - 0x49], ecx
fnsave dword [rsi + 0x1b]
stc
jl 0x1400a7666
test eax, 0x868629a9
xchg byte [rax - 0x8fd1e90], bh
fidivr word [rbx + 0x2f]
xchg byte [rsi + 0x2e170b8], al
neg esi
jnp 0x1400a7705
ja 0x1400a76b5
jne 0x1400a76f1
invalid
add dword [rsi + 0x658a3d1e], ecx
pop rcx
je 0x1400a76eb
hlt
and al, cl
rcl dl, cl
adc bl, byte [rsi - 0x4e87ba19]
out 0x45, eax
js 0x1400a76ba
int1
int1
jno 0x1400a76ab
jg 0x1400a770d
jns 0x1400a76ff
mov ebp, 0xf57e5ef7
jle 0x1400a770b
push rdi
jg 0x1400a76ae
invalid
xor cl, byte [rsi]
fiadd word gs:[rbp + 0x6063e5b7]
loopne 0x1400a773e
test dword [rdi - 0x1f9f9c1b], esi
stc
retf 0x28bb
mov qword [rdx + r14 - 0x3d], rcx
cmc
xlatb
pop rdi
movabs r13, 0x1020b889e032c75e
invalid
xchg ebp, eax
mov es, word [rax - 0x3c0f0a7]
invalid
cld
xor byte [rbp - 0x45a34243], bh
je 0x1400a7701
invalid
invalid
cmp eax, 0xdb098445
sal dword [rdx], 0x4d
jl 0x1400a7769
invalid
movabs byte [0x3819541f180c8d8f], al
cmp byte [rbx + 0x2b], dl
jo 0x1400a781e
jo 0x1400a781e
test dword [rsi], ebp
shr cl, cl
invalid
xor al, 9
invalid
jmp 0x1159780fd
xor bh, cl
xchg esi, eax
shl dword [rsi], 0x26
js 0x1400a77bf
in al, dx
sbb byte [rax + 0x58], al
add al, 0xcc
invalid
cmpsb byte [rsi], byte [rdi]
invalid
mov al, 0x5a
pop rdx
in eax, 0x9a
popfq
xlatb
invalid
xor dword [rsi - 0xd], edi
invalid
movsd dword [rdi], dword [rsi]
sbb al, byte [rsi - 0x6d84115f]
test dword [rbp + 0x22c58a05], eax
mov dh, 0x6d
shr dword [rdx - 0x49], cl
leave
imul edx, dword [rax - 0x22], 0x9304c4c4
push rdi
invalid
in eax, dx
invalid