Function at 0x140052940
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x140129668]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov r15, rcx
xor r12d, r12d
lea ecx, [r12 + 0x64]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rsi, qword [r15]
lea rbx, [rsi + 0x4a0]
mov qword [rsp + 0x48], rbx
mov rcx, rbx
call fcn.140098d08
test eax, eax
jne 0x1400532d1
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x1400532dc
cmp qword [rsi + 0x500], 1
jae 0x140052ace
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], reloc.OLEAUT32.dll_SafeArrayDestroy
lea edx, [r12 + 0x50]
lea rcx, [rsp + 0x60]
call fcn.140027f90
mov rcx, rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], 0x4f
mov qword [rsp + 0x78], 0x4f
movaps xmm0, xmmword [str.https:__flingtrainer.com_wp_content_check_for_trainer_update_get_trainer_update]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x1400d3bb0]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x1400d3bc0]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x1400d3bd0]
movups xmmword [rax + 0x30], xmm1
movsd xmm0, qword [0x1400d3be0]
movsd qword [rax + 0x40], xmm0
mov eax, dword [0x1400d3be8]
mov dword [rcx + 0x48], eax
movzx eax, word [0x1400d3bec]
mov word [rcx + 0x4c], ax
movzx eax, byte [0x1400d3bee]
mov byte [rcx + 0x4e], al
mov byte [rcx + 0x4f], r12b
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x40]
call fcn.140062950
add rsi, 0x4f0
mov rdx, rax
mov rcx, rsi
call fcn.14004a650
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x140052aba
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052ab5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400532ec
call fcn.14009a8c4
movdqa xmm0, xmmword [0x1400cbbd0]
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x40], r12w
jmp 0x140052ad5
add rsi, 0x4f0
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], r12
mov r14, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 8
jb 0x140052af2
mov rsi, qword [rsi]
movabs rdi, 0x7ffffffffffffffe
cmp r14, rdi
ja 0x1400532f2
mov ecx, 0xa
mov qword [rbp - 0x48], 7
cmp r14, 8
jae 0x140052b25
mov qword [rbp - 0x50], r14
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x60], xmm0
jmp 0x140052b68
mov rax, r14
or rax, 7
cmp rax, rdi
ja 0x140052b3b
mov rdi, rax
cmp rax, rcx
cmovb rdi, rcx
lea rdx, [rdi + 1]
lea rcx, [rbp - 0x60]
call fcn.1400281b0
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], rdi
lea r8, [r14*2 + 2]
mov rdx, rsi
mov rcx, rax
call fcn.14009cbd0
nop
mov rcx, rbx
call fcn.140098d10
nop
mov r8d, 0x7c
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x80]
call fcn.1400646e0
mov rsi, rax
mov rdi, qword [r15]
add rdi, 0x570
cmp rdi, rax
je 0x140052c25
mov rbx, qword [rdi]
test rbx, rbx
je 0x140052c04
mov r14, qword [rdi + 8]
cmp rbx, r14
je 0x140052bc1
nop dword [rax + rax]
mov rcx, rbx
call fcn.140027ac0
add rbx, 0x20
cmp rbx, r14
jne 0x140052bb0
mov rcx, qword [rdi]
mov rdx, qword [rdi + 0x10]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
cmp rdx, 0x1000
jb 0x140052bf4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400532f8
mov rcx, r8
call fcn.14009a8c4
mov qword [rdi], r12
mov qword [rdi + 8], r12
mov qword [rdi + 0x10], r12
mov rax, qword [rsi]
mov qword [rdi], rax
mov rax, qword [rsi + 8]
mov qword [rdi + 8], rax
mov rax, qword [rsi + 0x10]
mov qword [rdi + 0x10], rax
mov qword [rsi], r12
mov qword [rsi + 8], r12
mov qword [rsi + 0x10], r12
mov rbx, qword [rbp - 0x80]
test rbx, rbx
je 0x140052c84
mov rdi, qword [rbp - 0x78]
cmp rbx, rdi
je 0x140052c4c
mov rcx, rbx
call fcn.140027ac0
add rbx, 0x20
cmp rbx, rdi
jne 0x140052c37
mov rbx, qword [rbp - 0x80]
mov rdx, qword [rbp - 0x70]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x140052c7c
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400532f8
mov rcx, rbx
call fcn.14009a8c4
mov rax, qword [r15]
mov rdx, qword [rax + 0x570]
mov rcx, qword [rax + 0x578]
sub rcx, rdx
sar rcx, 5
cmp rcx, 1
jb 0x140053262
lea rcx, [rbp - 0x20]
call fcn.140006d70
nop
lea r8, [rbp - 0x20]
mov rdi, qword [rbp - 0x20]
mov rsi, qword [rbp - 8]
cmp rsi, 8
cmovae r8, rdi
lea r13, str.false
mov rdx, qword [rbp - 0x10]
cmp rdx, 5
jne 0x140052e3d
mov rcx, r13
test rdx, rdx
je 0x140052d08
sub r8, r13
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x140052e3d
add rcx, 2
sub rdx, 1
jne 0x140052cf0
mov rax, qword [r15]
mov rbx, qword [rax + 0x590]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov r8d, SafeArrayUnaccessData
lea rdx, str.SyK3aYzQCG44zzWsj3
lea rcx, [rsp + 0x60]
call fcn.140003540
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov r8d, 4
lea rdx, str.DXWM
lea rcx, [rbp - 0x80]
call fcn.140003540
mov r9, qword [rbx]
cmp qword [r9 + 0x18], 8
jb 0x140052d6d
mov r9, qword [r9]
lea r8, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae r8, qword [rsp + 0x60]
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rdx, qword [rbp - 0x80]
lea rcx, [rbx + 8]
cmp qword [rcx + 0x18], 8
jb 0x140052d9a
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140052de0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052ddb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400532fe
call fcn.14009a8c4
movdqa xmm0, xmmword [0x1400cbbd0]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r12w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140053226
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052e33
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140053304
call fcn.14009a8c4
jmp 0x140053226
lea r14, [0x14013c620]
mov qword [rsp + 0x58], r14
mov rcx, r14
call fcn.140098d08
test eax, eax
jne 0x14005330a
cmp dword [0x14013c66c], 0x7fffffff
je 0x140053315
lea edx, [rax + 0xa]
mov rcx, qword [r15]
call fcn.14005ee50
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 5
mov qword [rsp + 0x78], reloc.OLEAUT32.dll_SafeArrayDestroy
mov eax, dword [str.WMURL]
mov dword [rsp + 0x60], eax
movzx eax, byte [0x1400d3aa0]
mov byte [rsp + 0x64], al
mov byte [rsp + 0x65], 0
lea rdx, [rsp + 0x60]
mov rcx, qword [r15]
call fcn.14005a500
mov rcx, qword [r15]
mov dword [rsp + 0x50], r12d
mov dword [rsp + 0x48], r12d
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x48]
mov r8d, 4
lea rdx, [rsp + 0x50]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rsp + 0x50], 1
jne 0x140052f5b
mov rbx, qword [r15]
mov rcx, qword [0x14013c530]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0x39
jb 0x14005332a
lea rax, [0x14013c520]
cmp qword [0x14013c538], 0x10
cmovae rax, qword [0x14013c520]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x39
lea r9, str.https:__flingtrainer.com_download_wemod_trainer.php_name
lea r8, [0x14013c520]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.140006c40
lea rdx, [rbp - 0x40]
mov rcx, rbx
call fcn.14005a500
mov rax, qword [r15]
mov rbx, qword [rax + 0x590]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov r8d, 5
lea rdx, [0x1400d3780]
lea rcx, [rbp - 0x80]
call fcn.140003540
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov r8d, 4
lea rdx, str.DXWM
lea rcx, [rsp + 0x60]
call fcn.140003540
nop
lea r8, [rbx + 8]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
lea rdx, [rbp]
mov rcx, qword [rbx]
call fcn.14005e870
lea r8, [rbp]
mov r9, qword [rbp]
mov r10, qword [rbp + 0x18]
cmp r10, 8
cmovae r8, r9
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x12
jne 0x140053018
lea rcx, str.SyK3aYzQCG44zzWsj3
test rdx, rdx
je 0x140053014
sub r8, rcx
nop
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140053018
add rcx, 2
sub rdx, 1
jne 0x140053000
mov bl, 1
jmp 0x14005301a
xor bl, bl
cmp r10, 8
jb 0x140053056
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x14005304d
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140053330
mov rcx, r9
call fcn.14009a8c4
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140053098
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140053093
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140053336
call fcn.14009a8c4
movdqa xmm0, xmmword [0x1400cbbd0]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r12w
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x1400530ec
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400530e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005333c
call fcn.14009a8c4
test bl, bl
je 0x14005321d
mov rax, qword [r15]
mov rbx, qword [rax + 0x590]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov r8d, 5
mov rdx, r13
lea rcx, [rsp + 0x60]
call fcn.140003540
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov r8d, 4
lea rdx, str.DXWM
lea rcx, [rbp - 0x80]
call fcn.140003540
mov r9, qword [rbx]
cmp qword [r9 + 0x18], 8
jb 0x140053155
mov r9, qword [r9]
lea r8, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae r8, qword [rsp + 0x60]
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rdx, qword [rbp - 0x80]
lea rcx, [rbx + 8]
cmp qword [rcx + 0x18], 8
jb 0x140053182
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x1400531c8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400531c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140053342
call fcn.14009a8c4
movdqa xmm0, xmmword [0x1400cbbd0]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r12w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14005321d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140053217
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140053348
call fcn.14009a8c4
nop
mov rcx, r14
call fcn.140098d10
nop
cmp rsi, 8
jb 0x140053262
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140053259
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005334e
mov rcx, rdi
call fcn.14009a8c4
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x14005329e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140053299
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400532cb
call fcn.14009a8c4
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.14009ad50
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400a1404
int3
mov ecx, 5
call fcn.140098e60
int3
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.140098e60
nop
call fcn.1400a1404
nop
call fcn.140027f30
nop
call fcn.1400a1404
nop
call fcn.1400a1404
nop
call fcn.1400a1404
int3
mov ecx, 5
call fcn.140098e60
int3
mov dword [0x14013c66c], 0x7ffffffe
mov ecx, 6
call fcn.140098e60
nop
call fcn.140027f30
nop
call fcn.1400a1404
nop
call fcn.1400a1404
nop
call fcn.1400a1404
nop
call fcn.1400a1404
nop
call fcn.1400a1404
nop
call fcn.1400a1404
int3