joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002e6c0
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x14002e946
push rbp
mov rbp, rsp
sub rsp, 0x38
test byte [rax], al
mov rcx, qword [rax + 0x1268]
lea rsi, [rax + 0x1278]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x14002e93a
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1268], 0
cmp byte [0x14018d393], 0
jne 0x14002e71a
xor edx, edx
xor ebx, ebx
jmp 0x14002e760
xor edx, edx
jmp 0x14002e745
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1278]
mov rax, rcx
call dbg.runtime.shade
mov rdx, qword [rsp + 0x28]
inc rdx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x14002e71e
add rax, 0x1268
call dbg.runtime.(*wbBuf).reset
add rsp, 0x38
pop rbp
ret
inc rdx
nop
cmp rdx, rcx
jge 0x14002e8d4
mov rsi, qword [rax + rdx*8 + 0x1278]
cmp rsi, 0x1000
jb 0x14002e75b
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
call dbg.runtime.findObject
test rax, rax
jne 0x14002e7ac
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x14002e75b
mov rsi, qword [rbx + 0x50]
test byte [rsi], al
mov r8, rcx
shr r8, 3
movzx r9d, byte [rsi + r8]
and ecx, 7
mov r10d, 1
shl r10d, cl
nop
add rsi, r8
test r10b, r9b
je 0x14002e7ec
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x14002e75b
nop
lock or byte [rsi], r10b
mov rcx, qword [rbx + 0x18]
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
nop
nop
nop
cmp r8, 0x40
jae 0x14002e92d
lea r10, [0x14015f778]
mov r8, qword [r10 + r8*8]
test byte [r8], al
mov r10, rcx
shr r10, 0x10
and r10d, 0x3f
shr rcx, 0xd
and ecx, 7
mov r11d, 1
shl r11d, cl
shr r9, 0x16
and r9d, 0xfffff
mov r8, qword [r8 + r9*8]
test byte [r8], al
movzx r9d, byte [r8 + r10 + 0x11440]
lea r8, [r8 + r10]
lea r8, [r8 + 0x11440]
test r11b, r9b
jne 0x14002e86f
lock or byte [r8], r11b
movzx r8d, byte [rbx + 0x6a]
test r8b, 1
je 0x14002e8a5
mov rax, qword [rsp + 0x48]
mov r8, qword [rax + 0x1250]
add r8, qword [rbx + 0x70]
mov qword [rax + 0x1250], r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x14002e75b
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x14002e925
mov rbx, qword [rsp + 0x48]
mov qword [rbx + r8*8 + 0x1278], rax
inc r8
mov rax, rbx
mov rdx, qword [rsp + 0x28]
mov rbx, r8
jmp 0x14002e75b
cmp rbx, 0x200
ja 0x14002e914
lea rdx, [rax + 0x1278]
lea rsi, [rax + 0x1240]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call dbg.runtime.(*gcWork).putBatch
mov rax, qword [rsp + 0x48]
add rax, 0x1268
call dbg.runtime.(*wbBuf).reset
add rsp, 0x38
pop rbp
ret
mov rcx, rbx
mov edx, 0x200
nop dword [rax]
call dbg.runtime.panicSliceAcap
mov rax, r8
call dbg.runtime.panicIndex
mov rax, r8
mov ecx, 0x40
call dbg.runtime.panicIndexU
mov edx, 0x200
nop
call dbg.runtime.panicSliceAlenU
nop
mov qword [rsp + 8], rax
call dbg.runtime.morestackc
mov rax, qword [rsp + 8]
jmp dbg.runtime.wbBufFlush1
Function at 0x1400430e0
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140043247
push rbp
mov rbp, rsp
sub rsp, 0x18
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x1400430f2
cmp edx, ecx
jne 0x140043235
nop word [rax + rax]
test rsi, rsi
jne 0x140043235
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x140043154
nop
call dbg.runtime.nanotime1
xorps xmm15, xmm15
mov r14, qword [0x14018d5b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call dbg.runtime.updateTimerPMask
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx]
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1b
add edx, ebx
mov esi, edx
and edx, 0xffffffe0
sub ebx, edx
test ebx, ebx
jl 0x140043230
mov rdx, qword [0x14013a4e8]
sar esi, 5
mov rax, rcx
mov ecx, ebx
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and edi, r8d
cmp rdx, rsi
jbe 0x140043225
mov rcx, qword [0x14013a4e0]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], edi
mov rcx, qword [0x14013b010]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x14013b010], rax
nop
mov edx, 1
lea rsi, [0x14013b018]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1228]
shr rdx, 0x3d
test dl, dl
jne 0x140043213
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1228], rdx
add rsp, 0x18
pop rbp
ret
lea rax, [0x1400b8d76]
mov ebx, 0x28
nop
call dbg.runtime.throw
mov rax, rsi
mov rcx, rdx
call dbg.runtime.panicIndex
call dbg.runtime.panicshift
lea rax, [0x1400b816c]
mov ebx, 0x23
call dbg.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp dbg.runtime.pidleput
Function at 0x14004e280
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x14004e3f7
movzx edx, byte [rax]
test edx, edx
jne 0x14004e2b4
nop dword [rax]
test r8b, r8b
jne 0x14004e2b4
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x14004e2c7
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x14004e3b7
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x14004e3a5
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x14004e397
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x14004e31d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x14004e360
mov eax, 1
cmp rax, rbx
ja 0x14004e34b
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call dbg.runtime.panicSliceB
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x14004e38f
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x14004e353
mov rcx, r11
mov eax, r12d
jmp 0x14004e322
mov rcx, rbx
call dbg.runtime.panicIndex
xor eax, eax
mov rcx, rax
nop dword [rax]
call dbg.runtime.panicIndex
mov eax, r8d
mov rcx, rbx
call dbg.runtime.panicSliceB
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x14004e3ed
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x14004e3b0
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x14004e2cd
mov eax, edx
mov rcx, rbx
call dbg.runtime.panicIndex
xor eax, eax
mov rcx, rax
nop dword [rax]
call dbg.runtime.panicIndex
nop
int3
Function at 0x140055960
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140055a0f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [dbg.runtime.callers.func1]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call dbg.runtime.systemstack
xorps xmm15, xmm15
mov r14, qword [0x14018d5b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp dbg.runtime.callers

Function at 0x14005fe00
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x14018d38c], 0
je 0x14005fe0e
jmp dbg.aeshashbody
jmp dbg.runtime.memhashFallback

Function at 0x14005fe20
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x14018d38c], 0
je 0x14005fe35
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp dbg.aeshashbody
jmp dbg.runtime.strhashFallback

Function at 0x14005fe40
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x14018d38c], 0
je 0x14005fe75
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x14018d900]
aesenc xmm0, xmmword [0x14018d910]
aesenc xmm0, xmmword [0x14018d920]
movq rax, xmm0
ret
jmp sym.runtime.memhash32Fallback

Function at 0x14005fe80
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x14018d38c], 0
je 0x14005feb6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x14018d900]
aesenc xmm0, xmmword [0x14018d910]
aesenc xmm0, xmmword [0x14018d920]
movq rax, xmm0
ret
jmp sym.runtime.memhash64Fallback

Function at 0x140061760
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov rdx, 2
jmp dbg.sigtramp
Function at 0x1400683e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1400684aa
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call dbg.internal/bytealg.IndexByteString
xorps xmm15, xmm15
mov r14, qword [0x14018d5b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x14006848f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x14009fda0]
xor ebx, ebx
mov rcx, rdx
call dbg.runtime.makeslice
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call dbg.syscall.encodeWTF16
inc rbx
cmp rcx, rbx
jae 0x14006847e
mov edi, 1
lea rsi, [0x14009fda0]
call dbg.runtime.growslice
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x1400d1fb8]
lea rsi, [0x1400d1b18]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp dbg.syscall.UTF16FromString

Function at 0x14006c840
Capabilities:
Encode data using xor

Disassembly:
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdx, qword [rsp + 0x20]
test rdx, 0xf
jne 0x14006c8ab
mov rax, 0
movdqu xmm0, xmmword [rsi + rax]
movdqu xmm1, xmmword [rcx + rax]
pxor xmm0, xmm1
movdqu xmmword [rbx + rax], xmm0
add rax, 0x10
cmp rdx, rax
jne 0x14006c864
ret
sub rdx, 1
mov dil, byte [rsi + rdx]
mov al, byte [rcx + rdx]
xor dil, al
mov byte [rbx + rdx], dil
test rdx, 7
jne 0x14006c881
cmp rdx, 0
je 0x14006c8cd
test rdx, 0xf
je 0x14006c85d
test rdx, 7
jne 0x14006c881
sub rdx, 8
mov rdi, qword [rsi + rdx]
mov rax, qword [rcx + rdx]
xor rdi, rax
mov qword [rbx + rdx], rdi
cmp rdx, 0x10
jge 0x14006c85d
ret
Function at 0x14006e980
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword [rsp + 8]
mov rax, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rbx]
add rax, 0x10
pxor xmm0, xmm1
sub rcx, 0xc
je 0x14006e9bf
jb 0x14006e9d4
movups xmm1, xmmword [rax]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesdec xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesdec xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x20]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x30]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x40]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x50]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x60]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x70]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x80]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x90]
aesdeclast xmm0, xmm1
movups xmmword [rdx], xmm0
ret
Function at 0x14006ea40
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push rbp
mov rbp, rsp
mov rcx, qword [rsp + 0x10]
mov rax, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
add rbx, 0x10
pxor xmm4, xmm4
cmp ecx, 0xc
je 0x14006eb14
jb 0x14006eb73
movups xmm2, xmmword [rax + 0x10]
movups xmmword [rbx], xmm2
add rbx, 0x10
aeskeygenassist xmm1, xmm2, 1
call dbg._expand_key_256a
aeskeygenassist xmm1, xmm0, 1
call dbg._expand_key_256b
aeskeygenassist xmm1, xmm2, 2
call dbg._expand_key_256a
aeskeygenassist xmm1, xmm0, 2
call dbg._expand_key_256b
aeskeygenassist xmm1, xmm2, 4
call dbg._expand_key_256a
aeskeygenassist xmm1, xmm0, 4
call dbg._expand_key_256b
aeskeygenassist xmm1, xmm2, 8
call dbg._expand_key_256a
aeskeygenassist xmm1, xmm0, 8
call dbg._expand_key_256b
aeskeygenassist xmm1, xmm2, 0x10
call dbg._expand_key_256a
aeskeygenassist xmm1, xmm0, 0x10
call dbg._expand_key_256b
aeskeygenassist xmm1, xmm2, 0x20
call dbg._expand_key_256a
aeskeygenassist xmm1, xmm0, 0x20
call dbg._expand_key_256b
aeskeygenassist xmm1, xmm2, 0x40
call dbg._expand_key_256a
jmp 0x14006ebe1
movq xmm2, qword [rax + 0x10]
aeskeygenassist xmm1, xmm2, 1
call dbg._expand_key_192a
aeskeygenassist xmm1, xmm2, 2
call dbg._expand_key_192b
aeskeygenassist xmm1, xmm2, 4
call dbg._expand_key_192a
aeskeygenassist xmm1, xmm2, 8
call dbg._expand_key_192b
aeskeygenassist xmm1, xmm2, 0x10
call dbg._expand_key_192a
aeskeygenassist xmm1, xmm2, 0x20
call dbg._expand_key_192b
aeskeygenassist xmm1, xmm2, 0x40
call dbg._expand_key_192a
aeskeygenassist xmm1, xmm2, 0x80
call dbg._expand_key_192b
jmp 0x14006ebe1
aeskeygenassist xmm1, xmm0, 1
call dbg._expand_key_128
aeskeygenassist xmm1, xmm0, 2
call dbg._expand_key_128
aeskeygenassist xmm1, xmm0, 4
call dbg._expand_key_128
aeskeygenassist xmm1, xmm0, 8
call dbg._expand_key_128
aeskeygenassist xmm1, xmm0, 0x10
call dbg._expand_key_128
aeskeygenassist xmm1, xmm0, 0x20
call dbg._expand_key_128
aeskeygenassist xmm1, xmm0, 0x40
call dbg._expand_key_128
aeskeygenassist xmm1, xmm0, 0x80
call dbg._expand_key_128
aeskeygenassist xmm1, xmm0, 0x1b
call dbg._expand_key_128
aeskeygenassist xmm1, xmm0, 0x36
call dbg._expand_key_128
sub rbx, 0x10
movups xmm1, xmmword [rbx]
movups xmmword [rdx], xmm1
dec rcx
movups xmm1, xmmword [rbx - 0x10]
aesimc xmm0, xmm1
movups xmmword [rdx + 0x10], xmm0
sub rbx, 0x10
add rdx, 0x10
dec rcx
jne 0x14006ebee
movups xmm0, xmmword [rbx - 0x10]
movups xmmword [rdx + 0x10], xmm0
pop rbp
ret
Function at 0x140071d80
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x140071d97
inc rax
cmp rax, 4
jge 0x140071daf
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x140071d94
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x140071dc0
inc rax
cmp rax, 4
jge 0x140071dce
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x140071df7
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x140071ddb
jmp 0x140071dbd

Function at 0x140079e30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rsi
push rbx
movsxd rax, dword [rcx + 0x3c]
mov esi, dword [rcx + rax + 0x88]
add rsi, rcx
mov r10, rcx
mov ebx, edx
mov r8d, dword [rsi + 0x20]
mov r11d, dword [rsi + 0x18]
add r8, rcx
test r11d, r11d
je 0x140079e91
xor r9d, r9d
nop dword [rax + rax]
mov ecx, dword [r8]
xor edx, edx
add rcx, r10
movsx eax, byte [rcx]
test al, al
je 0x140079e80
nop
rol edx, 7
add rcx, 1
add edx, eax
movsx eax, byte [rcx]
test al, al
jne 0x140079e70
cmp ebx, edx
je 0x140079e96
add r9, 1
add r8, 4
cmp r11, r9
jne 0x140079e60
xor eax, eax
pop rbx
pop rsi
ret
mov edx, dword [rsi + 0x24]
lea rcx, [r10 + r9*2]
mov eax, dword [rsi + 0x1c]
movzx edx, word [rcx + rdx]
lea rdx, [r10 + rdx*4]
mov eax, dword [rdx + rax]
add rax, r10
pop rbx
pop rsi
ret

Function at 0x14007a5f0
Capabilities:
Create thread

Disassembly:
mov rdx, rcx
lea rcx, [dbg.threadentry]
jmp sym._cgo_beginthread

Function at 0x14007f740
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]
Function at 0x14007f7b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x140191f54]
mov r12, rcx
test ebx, ebx
jle 0x14007f8e0
mov rax, qword [0x140191f58]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x14007f7fc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x14007f883
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x14007f7e0
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rsi, rax
test rax, rax
je 0x14007f902
mov rax, qword [0x140191f58]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call dbg._GetPEImageBase
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x140191f58]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14007f8e7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14007f87c
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14007f890
add dword [0x140191f54], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x140191f58]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14007f87c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor ebx, ebx
jmp 0x14007f807
mov rax, qword [0x140191f58]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14007fdc0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x140191fc0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140191fa0]
test rbx, rbx
je 0x14007fe14
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x14007fe0b
test r12, r12
je 0x14007fe0b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14007fdf0
lea rcx, [0x140191fc0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140080030
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140080048
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140080050
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x140080060
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
mov r8, rdx
lea rdx, [rax + rcx]
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x1400800ac
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov ecx, dword [rax + 0xc]
mov rdx, rcx
cmp rcx, r8
ja 0x1400800a3
add edx, dword [rax + 8]
cmp rdx, r8
ja 0x1400800ae
add rax, 0x28
cmp rax, r9
jne 0x140080090
xor eax, eax
ret

Function at 0x1400800b0
Capabilities:
Parse pe header

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
call sym.strlen
cmp rax, 8
ja 0x140080140
mov rdx, qword [0x140133660]
xor r12d, r12d
cmp word [rdx], 0x5a4d
jne 0x14008012e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14008012e
cmp word [rax + 0x18], 0x20b
jne 0x14008012e
movzx edx, word [rax + 0x14]
lea r12, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x140080140
sub eax, 1
lea rax, [rax + rax*4]
lea rsi, [r12 + rax*8 + 0x28]
jmp 0x140080119
add r12, 0x28
cmp r12, rsi
je 0x140080140
mov r8d, 8
mov rdx, rbx
mov rcx, r12
call sym.strncmp
test eax, eax
jne 0x140080110
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
xor r12d, r12d
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret

Function at 0x140080150
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140133660]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140080170
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140080178
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140080170
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x1400801c5
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400801bc
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140080170
add rax, 0x28
cmp rax, r9
jne 0x1400801a8
xor eax, eax
ret

Function at 0x1400801d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140133660]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1400801f0
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400801f8
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400801f0
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x140080210
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140133660]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140080230
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140080238
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140080230
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x140080278
sub edx, 1
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x14008026f
test rcx, rcx
je 0x140080230
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140080260
xor eax, eax
ret