joyce8/EMBER2024-capa huggingface dataset:
Function at 0x36205d500
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 0x36205d53f
jb 0x36205d554
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 0x36205d5c0
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 0x36205d694
jb 0x36205d6f3
movups xmm2, xmmword [rax + 0x10]
movups xmmword [rbx], xmm2
add rbx, 0x10
aeskeygenassist xmm1, xmm2, 1
call sym._expand_key_256a
aeskeygenassist xmm1, xmm0, 1
call sym._expand_key_256b
aeskeygenassist xmm1, xmm2, 2
call sym._expand_key_256a
aeskeygenassist xmm1, xmm0, 2
call sym._expand_key_256b
aeskeygenassist xmm1, xmm2, 4
call sym._expand_key_256a
aeskeygenassist xmm1, xmm0, 4
call sym._expand_key_256b
aeskeygenassist xmm1, xmm2, 8
call sym._expand_key_256a
aeskeygenassist xmm1, xmm0, 8
call sym._expand_key_256b
aeskeygenassist xmm1, xmm2, 0x10
call sym._expand_key_256a
aeskeygenassist xmm1, xmm0, 0x10
call sym._expand_key_256b
aeskeygenassist xmm1, xmm2, 0x20
call sym._expand_key_256a
aeskeygenassist xmm1, xmm0, 0x20
call sym._expand_key_256b
aeskeygenassist xmm1, xmm2, 0x40
call sym._expand_key_256a
jmp 0x36205d761
movq xmm2, qword [rax + 0x10]
aeskeygenassist xmm1, xmm2, 1
call sym._expand_key_192a
aeskeygenassist xmm1, xmm2, 2
call sym._expand_key_192b
aeskeygenassist xmm1, xmm2, 4
call sym._expand_key_192a
aeskeygenassist xmm1, xmm2, 8
call sym._expand_key_192b
aeskeygenassist xmm1, xmm2, 0x10
call sym._expand_key_192a
aeskeygenassist xmm1, xmm2, 0x20
call sym._expand_key_192b
aeskeygenassist xmm1, xmm2, 0x40
call sym._expand_key_192a
aeskeygenassist xmm1, xmm2, 0x80
call sym._expand_key_192b
jmp 0x36205d761
aeskeygenassist xmm1, xmm0, 1
call sym._expand_key_128
aeskeygenassist xmm1, xmm0, 2
call sym._expand_key_128
aeskeygenassist xmm1, xmm0, 4
call sym._expand_key_128
aeskeygenassist xmm1, xmm0, 8
call sym._expand_key_128
aeskeygenassist xmm1, xmm0, 0x10
call sym._expand_key_128
aeskeygenassist xmm1, xmm0, 0x20
call sym._expand_key_128
aeskeygenassist xmm1, xmm0, 0x40
call sym._expand_key_128
aeskeygenassist xmm1, xmm0, 0x80
call sym._expand_key_128
aeskeygenassist xmm1, xmm0, 0x1b
call sym._expand_key_128
aeskeygenassist xmm1, xmm0, 0x36
call sym._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 0x36205d76e
movups xmm0, xmmword [rbx - 0x10]
movups xmmword [rdx + 0x10], xmm0
pop rbp
ret
Function at 0x36205e500
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea r12, [rsp - 0x28]
cmp r12, qword [r14 + 0x10]
jbe 0x36205e6a8
push rbp
mov rbp, rsp
sub rsp, 0xa0
movabs rdx, 0xf908fdcb9c43ac20
mov qword [rsp + 0x18], rdx
movabs rdx, 0xb66627f04caca8fa
mov qword [rsp + 0x20], rdx
movabs rdx, 0x1f856559253fd1e
mov qword [rsp + 0x28], rdx
movabs rdx, 0x706507f5e3e2e259
mov qword [rsp + 0x30], rdx
movabs rdx, 0x6e6d7b78b61af067
mov qword [rsp + 0x38], rdx
movabs rdx, 0x3d75a24eb471df6f
mov qword [rsp + 0x40], rdx
movabs rdx, 0x51cce830775eea60
mov qword [rsp + 0x48], rdx
movabs rdx, 0xc52da93839360750
mov qword [rsp + 0x50], rdx
movabs rdx, 0x250d0e1c2b103032
mov qword [rsp + 0x58], rdx
movabs rdx, 0xa0e3b1f2f233138
mov qword [rsp + 0x60], rdx
movabs rdx, 0x35212d0f3335002c
mov qword [rsp + 0x68], rdx
movabs rdx, 0x43739191f2d2f10
mov qword [rsp + 0x70], rdx
movabs rdx, 0x2433291121161d0d
mov qword [rsp + 0x78], rdx
movabs rdx, 0x1a05092d061c131d
mov qword [rsp + 0x80], rdx
movabs rdx, 0xc172d22030f0436
mov qword [rsp + 0x88], rdx
movabs rdx, 0x1d080c1b3b01070f
mov qword [rsp + 0x90], rdx
movabs rdx, 0x38333d000e3f061b
mov qword [rsp + 0x98], rdx
xor eax, eax
jmp 0x36205e643
movzx r9d, byte [rsp + rsi + 0x18]
lea edx, [r9 + rdx]
lea edx, [rdx + 0x17]
mov byte [rsp + rdi + 0x18], dl
mov byte [rsp + rsi + 0x18], r8b
add rax, 2
cmp rax, 0x48
jge 0x36205e675
movzx edx, byte [rsp + rax + 0x58]
movzx esi, byte [rsp + rax + 0x59]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0x40
jae 0x36205e69b
movzx r8d, byte [rsp + rdi + 0x18]
lea r8d, [r8 + rdx]
lea r8d, [r8 + 0x17]
cmp rsi, 0x40
jb 0x36205e629
jmp 0x36205e68f
xor eax, eax
lea rbx, [rsp + 0x18]
mov ecx, 0x40
call sym.runtime.slicebytetostring
add rsp, 0xa0
pop rbp
ret
mov eax, esi
mov ecx, 0x40
call sym.runtime.panicIndex
mov eax, edi
mov ecx, 0x40
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt.abi0
jmp sym.CocPjxoay.glob..func2
Function at 0x362061fc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x3620620c8
push rbp
mov rbp, rsp
sub rsp, 0x58
movabs rdx, 0xed676e6959f561fb
mov qword [rsp + 0x1b], rdx
movabs rdx, 0x221d61e901641a63
mov qword [rsp + 0x23], rdx
movabs rdx, 0x206efd69dd221d61
mov qword [rsp + 0x28], rdx
movabs rdx, 0x6ce8e8856870fcf8
mov qword [rsp + 0x30], rdx
movabs rdx, 0x1c0d10160d1c0903
mov qword [rsp + 0x38], rdx
movabs rdx, 0x111b120e1a0c1b0f
mov qword [rsp + 0x40], rdx
movabs rdx, 0x15021b1009190a09
mov qword [rsp + 0x48], rdx
movabs rdx, 0x30709001b0b120b
mov qword [rsp + 0x50], rdx
xor eax, eax
jmp 0x36206206b
movzx r9d, byte [rsp + rsi + 0x1b]
sub r9d, edx
lea edx, [r9 - 0x67]
mov byte [rsp + rdi + 0x1b], dl
lea edx, [r8 - 0x67]
mov byte [rsp + rsi + 0x1b], dl
add rax, 2
cmp rax, 0x20
jge 0x362062098
movzx edx, byte [rsp + rax + 0x38]
movzx esi, byte [rsp + rax + 0x39]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0x1d
jae 0x3620620bb
movzx r8d, byte [rsp + rdi + 0x1b]
sub r8d, edx
cmp rsi, 0x1d
jb 0x36206204e
jmp 0x3620620af
xor eax, eax
lea rbx, [rsp + 0x1b]
mov ecx, 0x1d
call sym.runtime.slicebytetostring
add rsp, 0x58
pop rbp
ret
mov eax, esi
mov ecx, 0x1d
call sym.runtime.panicIndex
mov eax, edi
mov ecx, 0x1d
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt.abi0
jmp sym.CocPjxoay.MWFr92ooGz.WithPadding.func2

Function at 0x362063ec0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x362063faa
push rbp
mov rbp, rsp
sub rsp, 0x48
movabs rdx, 0x9a91938569ac8262
mov qword [rsp + 0x1d], rdx
movabs rdx, 0x8e85617a659a9193
mov qword [rsp + 0x22], rdx
movabs rdx, 0x3fc4756f638a653b
mov qword [rsp + 0x2a], rdx
movabs rdx, 0xb04130f0709020f
mov qword [rsp + 0x32], rdx
movabs rdx, 0x4020913140f0b04
mov qword [rsp + 0x38], rdx
movabs rdx, 0xd060514010c0414
mov qword [rsp + 0x40], rdx
xor eax, eax
jmp 0x362063f4d
movzx r9d, byte [rsp + rsi + 0x1d]
sub r9d, edx
lea edx, [r9 + 4]
mov byte [rsp + rdi + 0x1d], dl
lea edx, [r8 + 4]
mov byte [rsp + rsi + 0x1d], dl
add rax, 2
cmp rax, 0x16
jge 0x362063f7a
movzx edx, byte [rsp + rax + 0x32]
movzx esi, byte [rsp + rax + 0x33]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0x15
jae 0x362063f9d
movzx r8d, byte [rsp + rdi + 0x1d]
sub r8d, edx
cmp rsi, 0x15
jb 0x362063f30
jmp 0x362063f91
xor eax, eax
lea rbx, [rsp + 0x1d]
mov ecx, 0x15
call sym.runtime.slicebytetostring
add rsp, 0x48
pop rbp
ret
mov eax, esi
mov ecx, 0x15
call sym.runtime.panicIndex
mov eax, edi
mov ecx, 0x15
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt.abi0
jmp sym.ma1OhiduKwz.glob..func4
Function at 0x362064760
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea r12, [rsp - 8]
cmp r12, qword [r14 + 0x10]
jbe 0x3620648bd
push rbp
mov rbp, rsp
add rsp, 0xffffffffffffff80
movabs rdx, 0xfa20536f69668562
mov qword [rsp + 0x1c], rdx
movabs rdx, 0x65795b76849f6972
mov qword [rsp + 0x24], rdx
movabs rdx, 0x7c059a639a723c07
mov qword [rsp + 0x2c], rdx
movabs rdx, 0x20669f4874496765
mov qword [rsp + 0x34], rdx
movabs rdx, 0x72666a743472f3f8
mov qword [rsp + 0x3c], rdx
movabs rdx, 0x6074433e57666d88
mov qword [rsp + 0x44], rdx
movabs rdx, 0x21170d100107111c
mov qword [rsp + 0x4c], rdx
movabs rdx, 0x1716202a21170d10
mov qword [rsp + 0x50], rdx
movabs rdx, 0x2c23220705232d25
mov qword [rsp + 0x58], rdx
movabs rdx, 0x12d1e0a1d202113
mov qword [rsp + 0x60], rdx
movabs rdx, 0x221e2f231a1a1a17
mov qword [rsp + 0x68], rdx
movabs rdx, 0x1d0e22152801211e
mov qword [rsp + 0x70], rdx
movabs rdx, 0x2d25200b010c1714
mov qword [rsp + 0x78], rdx
xor eax, eax
jmp 0x362064860
movzx r9d, byte [rsp + rsi + 0x1c]
sub r9d, edx
lea edx, [r9 + 0x3a]
mov byte [rsp + rdi + 0x1c], dl
lea edx, [r8 + 0x3a]
mov byte [rsp + rsi + 0x1c], dl
add rax, 2
nop dword [rax + rax]
cmp rax, 0x34
jge 0x36206488d
movzx edx, byte [rsp + rax + 0x4c]
movzx esi, byte [rsp + rax + 0x4d]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0x30
jae 0x3620648b0
movzx r8d, byte [rsp + rdi + 0x1c]
sub r8d, edx
cmp rsi, 0x30
jb 0x36206483e
jmp 0x3620648a4
xor eax, eax
lea rbx, [rsp + 0x1c]
mov ecx, 0x30
call sym.runtime.slicebytetostring
sub rsp, 0xffffffffffffff80
pop rbp
ret
mov eax, esi
mov ecx, 0x30
call sym.runtime.panicIndex
mov eax, edi
mov ecx, 0x30
call sym.runtime.panicIndex
nop
nop dword [rax]
call sym.runtime.morestack_noctxt.abi0
jmp sym.ma1OhiduKwz.glob..func6
Function at 0x362068380
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x362068475
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
lea rcx, [rbx + 1]
nop dword [rax + rax]
test rcx, rcx
jle 0x362068459
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x58], rax
mov qword [rsp], rcx
nop dword [rax]
call sym.main.eTsfaEuf.abi0
xorps xmm15, xmm15
mov r14, qword [0x3621f97a8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x18]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rcx
mov rdx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x60]
cmp rbx, rcx
mov rsi, rcx
cmovl rsi, rbx
mov rdi, qword [rsp + 0x58]
cmp rdi, rdx
jne 0x362068413
cmp rbx, rcx
jmp 0x362068445
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rdx
mov rax, rdx
mov rbx, rdi
mov rcx, rsi
call sym.runtime.memmove
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x18]
cmp rax, rcx
mov rdx, qword [rsp + 0x28]
mov rbx, rax
mov rax, qword [rsp + 0x20]
jae 0x362068451
mov byte [rdx + rbx], 0
add rsp, 0x48
pop rbp
ret
mov rax, rbx
call sym.runtime.panicIndex
call sym.main.t96VAvn5Bwz.func1
nop
call sym.runtime.convTstring
mov rbx, rax
lea rax, [0x362090ac0]
call sym.runtime.gopanic
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
nop
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.main.t96VAvn5Bwz

Function at 0x3620689e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x362068adb
push rbp
mov rbp, rsp
sub rsp, 0x50
movabs rdx, 0xf0ebce3c61e5e528
mov qword [rsp + 0x1e], rdx
movabs rdx, 0xae6fb4e0edfaf0eb
mov qword [rsp + 0x24], rdx
movabs rdx, 0x293320e227372820
mov qword [rsp + 0x2c], rdx
movabs rdx, 0x508110d04120005
mov qword [rsp + 0x34], rdx
movabs rdx, 0x111080908030602
mov qword [rsp + 0x3c], rdx
movabs rdx, 0x100b070a01110809
mov qword [rsp + 0x40], rdx
movabs rdx, 0x50a0d11030b0112
mov qword [rsp + 0x48], rdx
xor eax, eax
jmp 0x362068a79
movzx r9d, byte [rsp + rsi + 0x1e]
lea edx, [r9 + rdx]
lea edx, [rdx + 0x75]
mov byte [rsp + rdi + 0x1e], dl
mov byte [rsp + rsi + 0x1e], r8b
add rax, 2
cmp rax, 0x1c
jge 0x362068aab
movzx edx, byte [rsp + rax + 0x34]
movzx esi, byte [rsp + rax + 0x35]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0x16
jae 0x362068ace
movzx r8d, byte [rsp + rdi + 0x1e]
lea r8d, [r8 + rdx]
lea r8d, [r8 + 0x75]
cmp rsi, 0x16
jb 0x362068a5f
jmp 0x362068ac2
xor eax, eax
lea rbx, [rsp + 0x1e]
mov ecx, 0x16
call sym.runtime.slicebytetostring
add rsp, 0x50
pop rbp
ret
mov eax, esi
mov ecx, 0x16
call sym.runtime.panicIndex
mov eax, edi
mov ecx, 0x16
call sym.runtime.panicIndex
nop
nop dword [rax + rax]
call sym.runtime.morestack_noctxt.abi0
jmp sym.main.init.0.func1
Function at 0x36206a080
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x36206a17d
push rbp
mov rbp, rsp
sub rsp, 0x50
movabs rdx, 0x8a657041856e9e70
mov qword [rsp + 0x18], rdx
movabs rdx, 0xa187a09f8684a78c
mov qword [rsp + 0x20], rdx
movabs rdx, 0x8165554061442063
mov qword [rsp + 0x28], rdx
movabs rdx, 0xf17001209150707
mov qword [rsp + 0x30], rdx
movabs rdx, 0xa0c0c14070b010b
mov qword [rsp + 0x38], rdx
movabs rdx, 0xe17010d0c050407
mov qword [rsp + 0x40], rdx
movabs rdx, 0x8030b04141501
mov qword [rsp + 0x48], rdx
xor eax, eax
jmp 0x36206a120
movzx r9d, byte [rsp + rsi + 0x18]
sub r9d, edx
lea edx, [r9 + 0xc]
mov byte [rsp + rdi + 0x18], dl
lea edx, [r8 + 0xc]
mov byte [rsp + rsi + 0x18], dl
add rax, 2
nop dword [rax]
cmp rax, 0x20
jge 0x36206a14d
movzx edx, byte [rsp + rax + 0x30]
movzx esi, byte [rsp + rax + 0x31]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0x18
jae 0x36206a170
movzx r8d, byte [rsp + rdi + 0x18]
sub r8d, edx
cmp rsi, 0x18
jb 0x36206a0ff
jmp 0x36206a164
xor eax, eax
lea rbx, [rsp + 0x18]
mov ecx, 0x18
call sym.runtime.slicebytetostring
add rsp, 0x50
pop rbp
ret
mov eax, esi
mov ecx, 0x18
call sym.runtime.panicIndex
mov eax, edi
mov ecx, 0x18
call sym.runtime.panicIndex
nop
nop dword [rax]
call sym.runtime.morestack_noctxt.abi0
jmp sym.main.eTsfaEuf.func1

Function at 0x36206aae0
Capabilities:
Create thread

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

Function at 0x36206acb0
Capabilities:
Write file on windows

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

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x3621fd944]
test esi, esi
mov rbx, rcx
jle 0x36206ae50
mov rax, qword [0x3621fd948]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x36206ad6b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x36206adf5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x36206ad50
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov rdi, rax
je 0x36206ae72
mov rax, qword [0x3621fd948]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call sym._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x3621fd948]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x36206ae57
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x36206adee
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x36206ae00
add dword [0x3621fd944], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x3621fd948]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x36206adee
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
nop dword [rax]
xor esi, esi
jmp 0x36206ad78
mov rax, qword [0x3621fd948]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x36206b1f0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x3621fd980]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x3621fd960]
test rbx, rbx
je 0x36206b24c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x36206b243
test rsi, rsi
je 0x36206b243
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x36206b228
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x36206b460
Capabilities:
Parse pe header

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

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx r8d, word [rcx + 6]
movzx eax, word [rcx + 0x14]
test r8w, r8w
lea rax, [rcx + rax + 0x18]
je 0x36206b4dd
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rdx, r8
mov rcx, r8
jb 0x36206b4d4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x36206b4df
add rax, 0x28
cmp rax, r9
jne 0x36206b4c0
xor eax, eax
ret

Function at 0x36206b4e0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x36206b570
mov rdx, qword [0x36219b3d0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x36206b55e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x36206b55e
cmp word [rax + 0x18], 0x20b
jne 0x36206b55e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x36206b570
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x36206b549
add rbx, 0x28
cmp rbx, rdi
je 0x36206b570
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x36206b540
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

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

Disassembly:
mov rdx, qword [0x36219b3d0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x36206b5a0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x36206b5a8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x36206b5a0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x36206b5fd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x36206b5f4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x36206b5a0
add rax, 0x28
cmp rax, r9
jne 0x36206b5e0
xor eax, eax
ret

Function at 0x36206b600
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x36219b3d0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x36206b61f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x36206b628
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x36206b61f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x36206b640
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x36219b3d0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x36206b660
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x36206b668
ret
cmp word [rdx + 0x18], 0x20b
jne 0x36206b660
movzx r8d, word [rdx + 6]
movzx eax, word [rdx + 0x14]
test r8w, r8w
lea rax, [rdx + rax + 0x18]
je 0x36206b6b0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x36206b6a7
test rcx, rcx
je 0x36206b660
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x36206b698
xor eax, eax
ret
Function at 0x36206b6c0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x36219b3d0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x36206b6df
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x36206b6e8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

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

Disassembly:
mov rdx, qword [0x36219b3d0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x36206b720
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x36206b728
ret
cmp word [r8 + 0x18], 0x20b
jne 0x36206b720
movzx r9d, word [r8 + 6]
sub rcx, rdx
movzx edx, word [r8 + 0x14]
test r9w, r9w
lea rdx, [r8 + rdx + 0x18]
je 0x36206b720
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x36206b774
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x36206b780
add rdx, 0x28
cmp r9, rdx
jne 0x36206b760
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x36219b3d0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x36206b7b2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x36206b7c0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x36206b7b2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x36206b7b2
movzx r10d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
test r10w, r10w
lea rdx, [r8 + rdx + 0x18]
je 0x36206b7b2
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
cmp rax, r9
mov r8, r9
jb 0x36206b815
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x36206b828
add rdx, 0x28
cmp rdx, r10
jne 0x36206b800
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x36206b837
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x36206b847
mov edx, dword [rax + 0xc]
test edx, edx
je 0x36206b81e
test ecx, ecx
jg 0x36206b830
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret