Function at 0x140048c00
Capabilities:
Create thread
Get graphical window text

Disassembly:
push rbp
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x14005f010]
xor rax, rsp
mov qword [rbp + 0x58], rax
mov rcx, 0xfffffffffffffffe
call qword [sym.imp.USER32.dll_SetProcessDpiAwarenessContext]
lea rdx, str.Battlefield_4
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x14005f8f0], rax
test rax, rax
jne 0x140048c4d
lea rdx, str.Cant_find_Battlefield_4
jmp 0x140048c84
lea rdx, [0x14005f8e8]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [0x14005f8e8]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [0x14005f8f8], rax
test rax, rax
jne 0x140048ca3
lea rdx, str.Cant_get_ProcessHandle
mov r9d, 0x40000
lea r8, str.ERROR
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 0xffffffff
jmp 0x14004958b
mov rdx, qword [0x14005f058]
mov r8d, 0x80
mov rcx, qword [0x14005f8f0]
add rdx, 0x78
mov qword [rsp + 0x188], r14
call qword [sym.imp.USER32.dll_GetClassNameA]
mov rdx, qword [0x14005f058]
mov r8d, 0x80
mov rcx, qword [0x14005f8f0]
add rdx, 0xf8
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rdx, qword [0x14005f058]
mov rcx, qword [0x14005f8f0]
add rdx, 0x178
call qword [sym.imp.USER32.dll_GetClientRect]
mov rdx, qword [0x14005f058]
mov rcx, qword [0x14005f8f0]
add rdx, 0x188
call qword [sym.imp.USER32.dll_ClientToScreen]
xor r14d, r14d
mov qword [rbp - 0x50], 0x50
lea rax, [0x140048540]
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x48], rax
lea rcx, [rbp - 0x50]
lea rax, str.NULL
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x18], rax
xorps xmm0, xmm0
lea rax, [0x140056cd8]
movdqa xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x20], r14
mov qword [rbp - 8], r14
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rcx, qword [0x14005f058]
mov r9d, 0x80000000
mov rax, qword [rbp - 0x38]
mov r8, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x10]
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], rax
mov eax, dword [rcx + 0x184]
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], eax
mov eax, dword [rcx + 0x180]
mov dword [rsp + 0x30], eax
mov eax, dword [rcx + 0x18c]
mov dword [rsp + 0x28], eax
mov eax, dword [rcx + 0x188]
mov ecx, 0x800a8
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea r9d, [r14 + 2]
mov r8b, 0xff
mov rcx, rax
mov qword [0x14005f8d8], rax
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x140057220]
lea rdx, [rbp + 0x10]
mov rcx, qword [0x14005f8d8]
movdqu xmmword [rbp + 0x10], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rax, qword [0x14005f8d8]
mov qword [rbp - 0x70], rax
lea rax, [0x14005f938]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x74], r14
mov qword [rbp - 0x78], 2
mov qword [rbp - 0x60], 2
mov qword [rsp + 0x60], r14
mov dword [rsp + 0x70], 0x1c
mov dword [rsp + 0x68], 0x3c
mov dword [rsp + 0x6c], 1
mov dword [rbp - 0x7c], 0x20
mov qword [rsp + 0x7c], 1
mov qword [rbp - 0x68], 1
mov dword [rbp], 0xb000
mov dword [rbp + 4], 0xa000
lea rax, [rbp + 8]
xor r9d, r9d
mov qword [rsp + 0x50], rax
lea rcx, [rbp]
lea rax, [0x14005f930]
xor r8d, r8d
mov qword [rsp + 0x48], rax
lea edx, [r14 + 1]
lea rax, [0x14005f928]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
je 0x140048eea
call fcn.140048450
mov rdx, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.USER32.dll_UnregisterClassA]
lea eax, [r14 + 1]
jmp 0x140049583
mov qword [rsp + 0x170], rbx
mov qword [rsp + 0x180], rdi
call fcn.1400484d0
mov rcx, qword [0x14005f8d8]
mov edx, 0xa
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x14005f8d8]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x14005f8c8]
mov ecx, 0x6180
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x14005f8c8]
mov r9, rax
test r8, r8
je 0x140048f9f
movsx rax, word [r8 + 0x6030]
lea rdx, [r8 + 0x6034]
mov r10d, dword [r8 + 0x3f60]
lea rdx, [rdx + rax*8]
cmp dword [rdx], r10d
je 0x140048f94
lea ecx, [rax + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
lea rdx, [r8 + 0x6034]
sub ecx, eax
mov word [r8 + 0x6030], cx
movsx rax, cx
lea rdx, [rdx + rax*8]
mov dword [rdx], r10d
mov dword [rdx + 4], r14d
inc word [rdx + 4]
inc dword [r8 + 0x6028]
test r9, r9
je 0x140048fb0
xor edx, edx
mov rcx, r9
call fcn.140001460
jmp 0x140048fb3
mov rax, r14
mov qword [0x14005f8c8], rax
call fcn.1400063a0
test rbx, rbx
je 0x140048fcd
mov qword [0x14005f8c8], rbx
jmp 0x140048fd4
mov rbx, qword [0x14005f8c8]
mov qword [rbx + 0x20], r14
mov qword [rbx + 0x28], r14
call fcn.140048630
mov rcx, qword [0x14005f8d8]
call fcn.1400318d0
call fcn.140031700
xor r9d, r9d
mov qword [rsp + 0x28], r14
lea r8, [0x1400495a0]
mov dword [rsp + 0x20], r14d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x14004901e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14005f052], r14b
je 0x140049335
mov qword [rsp + 0x178], rsi
nop dword [rax]
nop word [rax + rax]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x60]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400490a3
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [rsp + 0x68], 0x12
jne 0x140049084
mov byte [0x14005f052], r14b
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x60]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140049060
mov rax, qword [0x14005f8c8]
test rax, rax
je 0x1400490b8
mov rcx, qword [rax + 0x98]
jmp 0x1400490bb
mov rcx, r14
cmp qword [rcx + 0x48], r14
jne 0x1400490c6
call fcn.1400311e0
call fcn.1400322e0
call fcn.140008bc0
mov rax, qword [0x14005f8c8]
lea rcx, str.BF4_Info
xor edx, edx
mov r8d, 0xc028f
or dword [rax + 0x49b8], 3
mov qword [rax + 0x49c8], r14
mov qword [rax + 0x49d0], r14
mov dword [rax + 0x49bc], 1
mov dword [rax + 0x49d8], 0x43960000
mov dword [rax + 0x49dc], 0x42c80000
mov dword [rax + 0x49c0], 1
call fcn.14000e040
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
lea rdx, [rbp]
mov qword [rbp], rax
lea rcx, [rbp + 0x20]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
mov r9d, dword [rbp + 0x20]
lea rcx, str._d:_d:_d
mov r8d, dword [rbp + 0x24]
mov edx, dword [rbp + 0x28]
call fcn.140035540
call fcn.140010350
cmp byte [0x14005f8c1], r14b
je 0x14004916c
call fcn.140049df0
mov rdi, qword [0x14005f058]
cmp byte [rdi + 0x190], r14b
je 0x14004918b
mov rcx, rdi
call fcn.14004a870
mov rdi, qword [0x14005f058]
cmp byte [0x14005f053], r14b
je 0x14004928f
mov rax, qword [0x14005f8c8]
mov ecx, dword [rax + 0x49b8]
or ecx, 0x40
mov dword [rax + 0x4a18], 0x3e99999a
cmp byte [0x14005f949], r14b
mov dword [rax + 0x49b8], ecx
jne 0x140049215
or ecx, 3
mov dword [rax + 0x49c8], 0x41800000
mov dword [rax + 0x49b8], ecx
mov qword [rax + 0x49cc], 0x41800000
mov dword [rax + 0x49d4], r14d
mov dword [rax + 0x49bc], 1
mov dword [rax + 0x49d8], 0x43898000
mov dword [rax + 0x49dc], 0x430c0000
mov dword [rax + 0x49c0], 1
mov byte [0x14005f949], 1
mov r8d, 0x20
lea rdx, [0x14005f053]
lea rcx, str.Spectator_List
call fcn.14000e040
mov rdx, qword [rdi + 0x60]
mov ebx, r14d
mov rax, qword [rdi + 0x68]
sub rax, rdx
sar rax, 5
test rax, rax
je 0x14004928a
mov rsi, r14
nop dword [rax + rax]
cmp qword [rsi + rdx + 0x18], 0x10
lea r8, [rsi + rdx]
jb 0x14004925f
mov r8, qword [r8]
mov edx, ebx
lea rcx, str.__d___s
call fcn.140035540
mov rdx, qword [rdi + 0x60]
inc ebx
mov rcx, qword [rdi + 0x68]
add rsi, 0x20
sub rcx, rdx
movsxd rax, ebx
sar rcx, 5
cmp rax, rcx
jb 0x140049250
call fcn.140010350
call fcn.14000ab90
mov rcx, qword [0x14005f938]
lea r8, [0x14005f920]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rbp + 0x48], xmm0
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rcx, qword [0x14005f938]
lea r8, [rbp + 0x48]
mov rdx, qword [0x14005f920]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x14005f8c8]
mov rcx, qword [rax + 0x4ad0]
mov rax, qword [rcx]
mov rcx, r14
add rax, 0x48
cmp byte [rax], r14b
cmovne rcx, rax
call fcn.140030420
mov rax, qword [0x14005f058]
xor r8d, r8d
mov rcx, qword [0x14005f928]
cmp byte [rax + 0x191], r14b
mov rax, qword [rcx]
je 0x14004931b
lea edx, [r8 + 1]
jmp 0x14004931d
xor edx, edx
call qword [rax + 0x40]
cmp byte [0x14005f052], r14b
jne 0x140049040
mov rsi, qword [rsp + 0x178]
mov rbx, qword [0x14005f8c8]
test rbx, rbx
je 0x14004934a
mov rdi, qword [rbx + 0x98]
jmp 0x14004934d
mov rdi, r14
call fcn.1400315e0
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140049361
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14004936f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14004937e
mov rax, qword [rcx]
call qword [rax + 0x10]
and dword [rbx + 0xc], 0xfffffff7
mov r8, qword [0x14005f8c8]
mov qword [rbx + 0x88], r14
mov qword [rbx + 0x98], r14
test r8, r8
je 0x1400493fc
movsx rdx, word [r8 + 0x6030]
lea rcx, [r8 + 0x6034]
mov r9d, dword [r8 + 0x3f60]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x1400493f1
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 + 0x6030], cx
movsx rax, cx
lea rcx, [r8 + 0x6034]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x602c]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r8, qword [0x14005f8c8]
test r8, r8
je 0x14004941a
mov rdi, qword [r8 + 0x90]
jmp 0x14004941d
mov rdi, r14
mov rcx, qword [rdi + 0x38]
lea rbx, [r8 + 8]
test rcx, rcx
je 0x140049437
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r8, qword [0x14005f8c8]
and dword [rbx + 4], 0xfffffff8
mov qword [rbx + 0x78], r14
mov qword [rbx + 0x88], r14
test r8, r8
je 0x1400494ab
movsx rdx, word [r8 + 0x6030]
mov r9d, dword [r8 + 0x3f60]
lea rcx, [rdx*8 + 0x6034]
add rcx, r8
cmp dword [rcx], r9d
je 0x1400494a0
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 + 0x6030], cx
movsx rax, cx
lea rcx, [rax*8 + 0x6034]
add rcx, r8
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x602c]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x14005f8c8]
mov qword [0x14005f8c8], rbx
call fcn.140006820
mov rdi, qword [rsp + 0x180]
mov qword [0x14005f8c8], r14
test rbx, rbx
je 0x140049559
mov rcx, rbx
call fcn.14001dc20
mov r8, qword [0x14005f8c8]
test r8, r8
je 0x140049550
movsx r10, word [r8 + 0x6030]
lea rdx, [r8 + 0x6034]
mov r9d, dword [r8 + 0x3f60]
lea rdx, [rdx + r10*8]
cmp dword [rdx], r9d
je 0x140049545
lea ecx, [r10 + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
lea rdx, [r8 + 0x6034]
sub ecx, eax
mov word [r8 + 0x6030], cx
movsx rax, cx
lea rdx, [rdx + rax*8]
mov dword [rdx], r9d
mov dword [rdx + 4], r14d
inc word [rdx + 6]
inc dword [r8 + 0x602c]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.140048450
mov rcx, qword [0x14005f8d8]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rbx, qword [rsp + 0x170]
xor eax, eax
mov r14, qword [rsp + 0x188]
mov rcx, qword [rbp + 0x58]
xor rcx, rsp
call fcn.14004e8e0
add rsp, 0x160
pop rbp
ret