Function at 0x140035140
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 [0x1400dc438]
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 + 0x578]
mov qword [rsp + 0x48], rbx
mov rcx, rbx
call fcn.14007e26c
test eax, eax
jne 0x140035ad1
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x140035adc
cmp qword [rsi + 0x5d8], 1
jae 0x1400352ce
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.140025d10
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 [0x1400ab3b0]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x1400ab3c0]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x1400ab3d0]
movups xmmword [rax + 0x30], xmm1
movsd xmm0, qword [0x1400ab3e0]
movsd qword [rax + 0x40], xmm0
mov eax, dword [0x1400ab3e8]
mov dword [rcx + 0x48], eax
movzx eax, word [0x1400ab3ec]
mov word [rcx + 0x4c], ax
movzx eax, byte [0x1400ab3ee]
mov byte [rcx + 0x4e], al
mov byte [rcx + 0x4f], r12b
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x40]
call fcn.140046bf0
add rsi, 0x5c8
mov rdx, rax
mov rcx, rsi
call fcn.14002b3a0
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x1400352ba
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400352b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140035aec
call fcn.140080134
movdqa xmm0, xmmword [0x1400a7960]
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x40], r12w
jmp 0x1400352d5
add rsi, 0x5c8
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 0x1400352f2
mov rsi, qword [rsi]
movabs rdi, 0x7ffffffffffffffe
cmp r14, rdi
ja 0x140035af2
mov ecx, 0xa
mov qword [rbp - 0x48], 7
cmp r14, 8
jae 0x140035325
mov qword [rbp - 0x50], r14
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x60], xmm0
jmp 0x140035368
mov rax, r14
or rax, 7
cmp rax, rdi
ja 0x14003533b
mov rdi, rax
cmp rax, rcx
cmovb rdi, rcx
lea rdx, [rdi + 1]
lea rcx, [rbp - 0x60]
call fcn.140025f30
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.140082480
nop
mov rcx, rbx
call fcn.14007e274
nop
mov r8d, 0x7c
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x80]
call fcn.140048690
mov rsi, rax
mov rdi, qword [r15]
add rdi, 0x648
cmp rdi, rax
je 0x140035425
mov rbx, qword [rdi]
test rbx, rbx
je 0x140035404
mov r14, qword [rdi + 8]
cmp rbx, r14
je 0x1400353c1
nop dword [rax + rax]
mov rcx, rbx
call fcn.140025840
add rbx, 0x20
cmp rbx, r14
jne 0x1400353b0
mov rcx, qword [rdi]
mov rdx, qword [rdi + 0x10]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
cmp rdx, 0x1000
jb 0x1400353f4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140035af8
mov rcx, r8
call fcn.140080134
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 0x140035484
mov rdi, qword [rbp - 0x78]
cmp rbx, rdi
je 0x14003544c
mov rcx, rbx
call fcn.140025840
add rbx, 0x20
cmp rbx, rdi
jne 0x140035437
mov rbx, qword [rbp - 0x80]
mov rdx, qword [rbp - 0x70]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x14003547c
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140035af8
mov rcx, rbx
call fcn.140080134
mov rax, qword [r15]
mov rdx, qword [rax + 0x648]
mov rcx, qword [rax + 0x650]
sub rcx, rdx
sar rcx, 5
cmp rcx, 1
jb 0x140035a62
lea rcx, [rbp - 0x20]
call fcn.140005910
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 0x14003563d
mov rcx, r13
test rdx, rdx
je 0x140035508
sub r8, r13
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x14003563d
add rcx, 2
sub rdx, 1
jne 0x1400354f0
mov rax, qword [r15]
mov rbx, qword [rax + 0x668]
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.1400024b0
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.1400024b0
mov r9, qword [rbx]
cmp qword [r9 + 0x18], 8
jb 0x14003556d
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 0x14003559a
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x1400355e0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400355db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140035afe
call fcn.140080134
movdqa xmm0, xmmword [0x1400a7960]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r12w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140035a26
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140035633
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140035b04
call fcn.140080134
jmp 0x140035a26
lea r14, [0x1400dea50]
mov qword [rsp + 0x58], r14
mov rcx, r14
call fcn.14007e26c
test eax, eax
jne 0x140035b0a
cmp dword [0x1400dea9c], 0x7fffffff
je 0x140035b15
lea edx, [rax + 0xa]
mov rcx, qword [r15]
call fcn.1400418d0
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 [0x1400ab2a0]
mov byte [rsp + 0x64], al
mov byte [rsp + 0x65], 0
lea rdx, [rsp + 0x60]
mov rcx, qword [r15]
call fcn.14003c8f0
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 0x14003575b
mov rbx, qword [r15]
mov rcx, qword [0x1400de970]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0x39
jb 0x140035b2a
lea rax, [0x1400de960]
cmp qword [0x1400de978], 0x10
cmovae rax, qword [0x1400de960]
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, [0x1400de960]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.1400057e0
lea rdx, [rbp - 0x40]
mov rcx, rbx
call fcn.14003c8f0
mov rax, qword [r15]
mov rbx, qword [rax + 0x668]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov r8d, 5
lea rdx, [0x1400aaf80]
lea rcx, [rbp - 0x80]
call fcn.1400024b0
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.1400024b0
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.140041490
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 0x140035818
lea rcx, str.SyK3aYzQCG44zzWsj3
test rdx, rdx
je 0x140035814
sub r8, rcx
nop
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140035818
add rcx, 2
sub rdx, 1
jne 0x140035800
mov bl, 1
jmp 0x14003581a
xor bl, bl
cmp r10, 8
jb 0x140035856
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x14003584d
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140035b30
mov rcx, r9
call fcn.140080134
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140035898
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140035893
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140035b36
call fcn.140080134
movdqa xmm0, xmmword [0x1400a7960]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r12w
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x1400358ec
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400358e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140035b3c
call fcn.140080134
test bl, bl
je 0x140035a1d
mov rax, qword [r15]
mov rbx, qword [rax + 0x668]
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.1400024b0
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.1400024b0
mov r9, qword [rbx]
cmp qword [r9 + 0x18], 8
jb 0x140035955
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 0x140035982
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x1400359c8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400359c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140035b42
call fcn.140080134
movdqa xmm0, xmmword [0x1400a7960]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r12w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140035a1d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140035a17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140035b48
call fcn.140080134
nop
mov rcx, r14
call fcn.14007e274
nop
cmp rsi, 8
jb 0x140035a62
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140035a59
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140035b4e
mov rcx, rdi
call fcn.140080134
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x140035a9e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140035a99
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140035acb
call fcn.140080134
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400805c0
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.140086adc
int3
mov ecx, 5
call fcn.14007e3c4
int3
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.14007e3c4
nop
call fcn.140086adc
nop
call fcn.140025cb0
nop
call fcn.140086adc
nop
call fcn.140086adc
nop
call fcn.140086adc
int3
mov ecx, 5
call fcn.14007e3c4
int3
mov dword [0x1400dea9c], 0x7ffffffe
mov ecx, 6
call fcn.14007e3c4
nop
call fcn.140025cb0
nop
call fcn.140086adc
nop
call fcn.140086adc
nop
call fcn.140086adc
nop
call fcn.140086adc
nop
call fcn.140086adc
nop
call fcn.140086adc
int3