Function at 0x140047568
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0x100
mov rax, qword [0x14010d440]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, rcx
xor r13d, r13d
lea ecx, [r13 + 0x64]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rbp + 0xf]
mov rcx, qword [rsi]
call fcn.14004a45c
nop
lea r8d, [r13 + 0x7c]
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x51]
call fcn.140057e38
mov rbx, rax
mov rdi, qword [rsi]
mov r14d, 0x590
add rdi, r14
cmp rdi, rax
je 0x1400475ff
mov rcx, rdi
call fcn.1400217bc
mov rcx, qword [rbx]
mov qword [rdi], rcx
mov rcx, qword [rbx + 8]
mov qword [rdi + 8], rcx
mov rax, qword [rbx + 0x10]
mov qword [rdi + 0x10], rax
mov qword [rbx], r13
mov qword [rbx + 8], r13
mov qword [rbx + 0x10], r13
lea rcx, [rbp - 0x51]
call fcn.1400217bc
mov rax, qword [rsi]
mov rdx, qword [rax + r14]
mov rcx, qword [rax + r14 + 8]
sub rcx, rdx
sar rcx, 5
mov edi, 1
cmp rcx, rdi
jb 0x140047b87
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], r13
mov qword [rbp - 0x19], r13
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 7
jbe 0x140047646
mov rdx, qword [rdx]
lea rcx, [rbp - 0x31]
call fcn.140003390
nop
lea rdx, [rbp - 0x31]
mov r14, qword [rbp - 0x31]
mov r12, qword [rbp - 0x19]
cmp r12, 7
cmova rdx, r14
lea rax, str.false
mov rcx, qword [rbp - 0x21]
mov ebx, 5
cmp rcx, rbx
jne 0x1400477ca
mov r8, rax
test rcx, rcx
je 0x1400476a0
sub rdx, rax
movzx eax, word [rdx + r8]
cmp ax, word [r8]
jne 0x1400477ca
add r8, 2
sub rcx, rdi
jne 0x140047688
mov rax, qword [rsi]
mov rbx, qword [rax + 0x5b0]
xorps xmm0, xmm0
movups xmmword [rbp - 0x71], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x61], xmm1
mov r8d, SafeArrayUnaccessData
lea rdx, str.SyK3aYzQCG44zzWsj3
lea rcx, [rbp - 0x71]
call fcn.1400031c0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x41], xmm1
mov r8d, 4
lea rdx, str.DXWM
lea rcx, [rbp - 0x51]
call fcn.1400031c0
mov r9, qword [rbx]
cmp qword [r9 + 0x18], 7
jbe 0x140047702
mov r9, qword [r9]
lea r8, [rbp - 0x71]
cmp qword [rbp - 0x59], 7
cmova r8, qword [rbp - 0x71]
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], 7
cmova rdx, qword [rbp - 0x51]
lea rcx, [rbx + 8]
cmp qword [rcx + 0x18], 7
jbe 0x14004772c
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ebx, 0x1000
mov rdx, qword [rbp - 0x39]
cmp rdx, 7
jbe 0x140047773
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, rbx
jb 0x14004776e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047bbe
call fcn.140086ebc
movdqa xmm0, xmmword [0x1400b6d20]
movdqu xmmword [rbp - 0x41], xmm0
mov word [rbp - 0x51], r13w
mov rdx, qword [rbp - 0x59]
cmp rdx, 7
jbe 0x140047b53
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, rbx
jb 0x1400477c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047bc4
call fcn.140086ebc
jmp 0x140047b53
lea rax, [0x140120a20]
mov qword [rbp - 0x79], rax
mov rcx, rax
call fcn.14008528c
test eax, eax
jne 0x140047bca
cmp dword [0x140120a6c], 0x7fffffff
je 0x140047bd2
lea edx, [rax + 0xa]
mov rcx, qword [rsi]
call fcn.140052d6c
xorps xmm0, xmm0
movups xmmword [rbp - 0x71], xmm0
mov qword [rbp - 0x61], rbx
mov qword [rbp - 0x59], reloc.OLEAUT32.dll_SafeArrayDestroy
mov eax, dword [str.WMURL]
mov dword [rbp - 0x71], eax
mov al, byte [0x1400bf058]
mov byte [rbp - 0x6d], al
mov byte [rbp - 0x6c], r13b
lea rdx, [rbp - 0x71]
mov rcx, qword [rsi]
call fcn.14004f548
mov rcx, qword [rsi]
mov dword [rsp + 0x44], r13d
mov dword [rsp + 0x48], r13d
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x48]
mov r8d, 4
lea rdx, [rsp + 0x44]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rsp + 0x44], edi
jne 0x1400478d5
mov rbx, qword [rsi]
mov rcx, qword [0x140120920]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0x39
jb 0x140047be7
lea r8, [0x140120910]
mov rax, r8
cmp qword [0x140120928], 0xf
cmova rax, qword [0x140120910]
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
mov dl, byte [rsp + 0x40]
lea rcx, [rbp - 0x71]
call fcn.140007af0
lea rdx, [rbp - 0x71]
mov rcx, rbx
call fcn.14004f548
mov rax, qword [rsi]
mov rbx, qword [rax + 0x5b0]
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x41], xmm1
mov r8d, 5
lea rdx, [0x1400becb8]
lea rcx, [rbp - 0x51]
call fcn.1400031c0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x71], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x61], xmm1
mov r8d, 4
lea rdx, str.DXWM
lea rcx, [rbp - 0x71]
call fcn.1400031c0
nop
lea r8, [rbx + 8]
lea rax, [rbp - 0x51]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x71]
lea rdx, [rbp - 0x11]
mov rcx, qword [rbx]
call fcn.14005274c
lea r8, [rbp - 0x11]
cmp qword [rbp + 7], 7
cmova r8, qword [rbp - 0x11]
mov rdx, qword [rbp - 1]
cmp rdx, 0x12
jne 0x140047984
lea rcx, str.SyK3aYzQCG44zzWsj3
test rdx, rdx
je 0x140047987
sub r8, rcx
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140047984
add rcx, 2
sub rdx, rdi
jne 0x14004796f
jmp 0x140047987
mov dil, r13b
lea rcx, [rbp - 0x11]
call fcn.140021960
nop
mov ebx, 0x1000
mov rdx, qword [rbp - 0x59]
cmp rdx, 7
jbe 0x1400479d2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, rbx
jb 0x1400479cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047bed
call fcn.140086ebc
movdqa xmm0, xmmword [0x1400b6d20]
movdqu xmmword [rbp - 0x61], xmm0
mov word [rbp - 0x71], r13w
mov rdx, qword [rbp - 0x39]
cmp rdx, 7
jbe 0x140047a20
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, rbx
jb 0x140047a1b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047bf3
call fcn.140086ebc
test dil, dil
je 0x140047b46
mov rax, qword [rsi]
mov rdi, qword [rax + 0x5b0]
xorps xmm0, xmm0
movups xmmword [rbp - 0x71], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x61], xmm1
mov r8d, 5
lea rdx, str.false
lea rcx, [rbp - 0x71]
call fcn.1400031c0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x41], xmm1
mov r8d, 4
lea rdx, str.DXWM
lea rcx, [rbp - 0x51]
call fcn.1400031c0
mov r9, qword [rdi]
cmp qword [r9 + 0x18], 7
jbe 0x140047a8b
mov r9, qword [r9]
lea r8, [rbp - 0x71]
cmp qword [rbp - 0x59], 7
cmova r8, qword [rbp - 0x71]
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], 7
cmova rdx, qword [rbp - 0x51]
lea rcx, [rdi + 8]
cmp qword [rcx + 0x18], 7
jbe 0x140047ab5
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rdx, qword [rbp - 0x39]
cmp rdx, 7
jbe 0x140047af7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, rbx
jb 0x140047af2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047bf9
call fcn.140086ebc
movdqa xmm0, xmmword [0x1400b6d20]
movdqu xmmword [rbp - 0x41], xmm0
mov word [rbp - 0x51], r13w
mov rdx, qword [rbp - 0x59]
cmp rdx, 7
jbe 0x140047b46
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, rbx
jb 0x140047b40
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047bff
call fcn.140086ebc
nop
lea rcx, [0x140120a20]
call fcn.140085294
nop
cmp r12, 7
jbe 0x140047b87
lea rdx, [r12*2 + 2]
mov rax, r14
cmp rdx, rbx
jb 0x140047b7e
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047bb8
mov rcx, r14
call fcn.140086ebc
nop
lea rcx, [rbp + 0xf]
call fcn.140021960
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140087330
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
call fcn.14008deb0
nop
call fcn.14008deb0
nop
call fcn.14008deb0
int3
mov ecx, ebx
call fcn.140085508
int3
mov dword [0x140120a6c], 0x7ffffffe
mov ecx, 6
call fcn.140085508
nop
call fcn.140021bc4
nop
call fcn.14008deb0
nop
call fcn.14008deb0
nop
call fcn.14008deb0
nop
call fcn.14008deb0
int3