joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6f2120
Capabilities:
Create process on windows

Disassembly:
push rbp
sub rsp, 0x100
mov rbp, rsp
mov qword [rbp + 0x50], 0
mov qword [rbp + 0xe8], 0
mov qword [rbp + 0x58], rbp
mov qword [rbp + 0x110], rcx
mov qword [rbp + 0x118], rdx
mov qword [rbp + 0x120], r8
mov qword [rbp + 0x128], r9
movzx rax, byte [rbp + 0x130]
mov byte [rbp + 0x130], al
movzx rax, byte [rbp + 0x138]
mov byte [rbp + 0x138], al
mov eax, dword [rbp + 0x140]
mov dword [rbp + 0x140], eax
mov rcx, qword [rbp + 0x128]
call fcn.00410210
nop
nop
mov byte [rbp + 0xf7], 1
lea rcx, [rbp + 0xe8]
mov edx, 4
lea r8, [0x006f23c0]
mov r9, qword [rbp + 0x118]
lea rax, [0x006f23d0]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x120]
mov qword [rsp + 0x28], rax
call fcn.004118c0
cmp qword [rbp + 0x128], 0
jne 0x6f21fc
lea rcx, [rbp + 0x50]
mov rdx, qword [rbp + 0x118]
call fcn.00438da0
lea rcx, [rbp + 0x128]
mov rdx, qword [rbp + 0x50]
call fcn.00445180
lea rcx, [rbp + 0x78]
mov edx, 0x68
xor r8, r8
call fcn.0040bf00
mov dword [rbp + 0x78], 0x68
mov dword [rbp + 0xb4], 1
movzx rax, word [rbp + 0x140]
mov word [rbp + 0xb8], ax
cmp qword [rbp + 0x128], 0
je 0x6f224c
mov rcx, qword [rbp + 0x128]
call fcn.004113a0
mov qword [rbp + 0xe0], rax
jmp 0x6f2257
mov qword [rbp + 0xe0], 0
mov rcx, qword [rbp + 0xe8]
call fcn.004113a0
xor ecx, ecx
mov rdx, rax
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov rax, qword [rbp + 0xe0]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x78]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x48], rax
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x6f22bc
mov byte [rbp + 0xf7], 0
call sub.kernel32.dll_GetLastError
jmp 0x6f2331
mov rcx, qword [rbp + 0x68]
call sub.kernel32.dll_CloseHandle
cmp byte [rbp + 0x138], 0
je 0x6f22da
mov rcx, qword [rbp + 0x60]
or edx, 0xffffffff
call sub.user32.dll_WaitForInputIdle
cmp byte [rbp + 0x130], 0
je 0x6f2314
mov rax, qword [0x00749378]
mov rcx, qword [rax]
call fcn.006c77d0
mov ecx, 1
lea rdx, [rbp + 0x60]
xor r8, r8
or r9d, 0xffffffff
mov dword [rsp + 0x20], 0x1cff
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x6f22e3
mov rcx, qword [rbp + 0x60]
call sub.kernel32.dll_CloseHandle
jmp 0x6f2330
nop
lea rcx, [rbp + 0x50]
call fcn.00410040
lea rcx, [rbp + 0xe8]
call fcn.00410040
lea rcx, [rbp + 0x128]
call fcn.00410040
movzx rax, byte [rbp + 0xf7]
lea rsp, [rbp + 0x100]
pop rbp
ret
Function at 0x6f2630
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0x70
mov rbp, rsp
mov qword [rbp + 0x20], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x80], rcx
mov qword [rbp + 0x88], rdx
mov qword [rbp + 0x90], r8
mov rcx, qword [rbp + 0x88]
call fcn.00410210
mov rcx, qword [rbp + 0x90]
call fcn.00410210
nop
nop
mov dword [rbp + 0x5c], 0
lea rcx, [rbp + 0x20]
mov rdx, qword [rbp + 0x90]
call fcn.00438e10
mov rcx, qword [rbp + 0x20]
call fcn.00438640
mov rcx, qword [0x004cbcd0]
mov dl, 1
call fcn.0040cde0
mov qword [rbp + 0x68], rax
nop
mov rcx, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x88]
call fcn.00508280
mov rcx, qword [rbp + 0x68]
xor edx, edx
call fcn.00505040
mov rcx, qword [rbp + 0x68]
mov rax, qword [rbp + 0x68]
mov rax, qword [rax]
call qword [rax]
mov qword [rbp + 0x48], rax
lea rcx, [rbp + 0x50]
mov rdx, qword [0x00406570]
mov r8d, 1
mov r9, qword [rbp + 0x48]
call fcn.00414580
mov rcx, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x50]
mov r8, qword [rbp + 0x48]
call fcn.00506820
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x30], rax
cmp qword [rbp + 0x30], 0
je 0x6f2720
mov rax, qword [rbp + 0x30]
mov rax, qword [rax - 8]
mov qword [rbp + 0x30], rax
xor eax, eax
mov rcx, qword [rbp + 0x30]
lea rcx, [rcx - 1]
mov qword [rbp + 0x40], rax
cmp qword [rbp + 0x40], rcx
jg 0x6f2769
sub rcx, rax
add rcx, 1
mov rax, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x40]
lea rax, [rax + rdx]
mov rdx, qword [rbp + 0x50]
mov r8, qword [rbp + 0x40]
movzx rdx, byte [rdx + r8]
add edx, edx
and dl, 0xaa
xor byte [rax], dl
add qword [rbp + 0x40], 1
sub rcx, 1
test rcx, rcx
jne 0x6f273b
nop
mov rcx, qword [rbp + 0x68]
call fcn.00508200
mov rcx, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x50]
mov r8, qword [rbp + 0x48]
call fcn.00506d40
mov rcx, qword [rbp + 0x68]
xor edx, edx
call fcn.00505040
mov rcx, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x90]
call fcn.00508130
mov dword [rbp + 0x5c], 0xffffffff
nop
mov rcx, qword [rbp + 0x68]
call fcn.0040cea0
jmp 0x6f27c0
nop
lea rcx, [rbp + 0x20]
call fcn.00410040
lea rcx, [rbp + 0x50]
mov rdx, qword [0x00406570]
call fcn.00414750
lea rcx, [rbp + 0x88]
mov edx, 2
call fcn.00410120
mov eax, dword [rbp + 0x5c]
lea rsp, [rbp + 0x70]
pop rbp
ret
Function at 0x140001534
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x140001b7c
Capabilities:
Parse pe header

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

Function at 0x14000e550
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rbp, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x14000e57c
xor al, al
jmp 0x14000e6a0
movdqa xmm0, xmmword [0x14002eae0]
movdqa xmm1, xmmword [0x14002eaf0]
mov rax, qword [r9]
xor r11d, r11d
mov qword [rsp + 0x50], r12
mov rcx, r8
movdqa xmmword [rsp], xmm0
movdqa xmm0, xmmword [0x14002eb00]
movdqa xmmword [rsp + 0x10], xmm1
lea r12, [r8 + rax]
mov edx, r11d
movdqa xmm1, xmmword [0x14002eb10]
movdqa xmmword [rsp + 0x20], xmm0
movdqa xmmword [rsp + 0x30], xmm1
test rbx, rbx
je 0x14000e692
add r8, 4
nop word [rax + rax]
movzx r9d, byte [rdx + rdi]
inc rdx
shl r9d, 0x10
cmp rdx, rbx
jne 0x14000e5f9
mov r11d, 2
jmp 0x14000e61d
movzx eax, byte [rdx + rdi]
inc rdx
shl eax, 8
or r9d, eax
cmp rdx, rbx
jne 0x14000e613
mov r11d, 1
jmp 0x14000e61d
movzx eax, byte [rdx + rdi]
or r9d, eax
inc rdx
mov r10d, r9d
and r9d, 0x3f
cmp r8, r12
ja 0x14000e6b5
mov eax, r10d
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx], al
mov eax, r10d
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx + 1], al
cmp r11, 1
jbe 0x14000e65a
mov byte [rcx + 2], 0x3d
jmp 0x14000e66a
shr r10, 6
and r10d, 0x3f
movzx eax, byte [rsp + r10]
mov byte [rcx + 2], al
add rcx, 3
add r8, 3
test r11, r11
je 0x14000e67c
mov byte [rcx], 0x3d
jmp 0x14000e683
movzx eax, byte [rsp + r9]
mov byte [rcx], al
inc rcx
inc r8
cmp rdx, rbx
jb 0x14000e5e0
sub rcx, rsi
mov al, 1
mov qword [rbp], rcx
mov r12, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
xor al, al
jmp 0x14000e69b

Function at 0x1400b70a5
Capabilities:
Encode data using xor

Disassembly:
js 0x14011c760
add dword [rax - 0x206222c], 0x66bd0c0e
div dword [rdx - 0x71]
out dx, al
jrcxz 0x1400b70df
outsb dx, byte [rsi]
and dword [rcx - 0xb], ebp
adc dword es:[rdi], ebx
cmpsd dword [rsi], dword [rdi]
invalid
push rdx
shr esp, 1
retf 0x4420
call fcn.14000678f
Function at 0x1400fb54e
Capabilities:
Encode data using xor

Disassembly:
add byte [rax - 9], cl
pop rsp
and al, 0x10
mov r14, qword [rsp + 0x30]
mov word [rsp + 0x38], 0xba0
push qword [rsp + 0x50]
popfq
lea rsp, [rsp + 0x58]
call fcn.1402ef923
lodsd eax, dword [rsi]
adc al, 0xb4
pop rsp
and ah, byte [rbx + rcx*4]
mov word [rcx + rax*4 - 0x52], ds
xchg dword ss:[rcx + riz*4], ebx
pop rsi
insd dword [rdi], dx
and r10, r12
or edx, dword [rsi - 0x234b5c86]
in al, dx
jle 0x1400fb529
and bl, 0x7f
and ebp, dword [rbp + 0x15]
mov cl, 0xbb
fcomp qword [rdi - 0x34]
test byte [rdi - 0x5d], 0x13
push rbp
and esi, dword [rax + 0x63]
fimul word [rdi + 0x57]
js 0x1400fb602
fiadd word [edi - 0x52]
pushfq
mov esi, 0x5c949538
invalid
invalid

Function at 0x140159c9c
Capabilities:
Encode data using xor

Disassembly:
xchg ebp, eax
or byte [rax - 0x254db813], dh
mov cl, 0xd
invalid
movzx r8, byte [rsp + 0x10]
cmove r15w, word [rsp + 0x14]
mov qword [rsp + 0x50], r14
call fcn.1401f5885
mov ebx, 0x1bcfdcdc
adc edi, dword [rbx + riz*8]
in al, 0xc1
and eax, 0x47c6c331
xor dword [rax], edi
jrcxz 0x140159c90
push 0x56
cmp eax, dword [rbx - 0x3a54d457]
fsubr qword [rax]
and al, 0xe1
invalid

Function at 0x140212674
Capabilities:
Encode data using xor

Disassembly:
jl 0x1400144eb
or dword [rsp + 0x28], 0x1b7c40be
or qword [rsp + 0x28], 0x7729608e
xchg qword [rsp + rdi + 0x6ad2280d], rbx
test byte [rsp + 0x28], 0x46
call fcn.1401ccc82
mov edi, 0x20de2b24
scasb al, byte [rdi]
invalid
Function at 0x1406edd7e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r10, qword [rsp + 0x18]
mov qword [rsp + 0x18], 0xc49bfcb
jbe 0x14070bd3c
call 0x140818c07
call rax
mov r11, rax
test r9b, r15b
test rax, rax
je 0x140822d3e
cmp r11, rsi
jmp 0x140822def
lea rsp, [rsp + 0x28]
call fcn.1408db472
ret 0x40a6
sub eax, eax
jmp 0x140822d45
jmp 0x140822f48
jne 0x140822e92
cmp byte [rsp + 0x180], dil
jmp 0x140822e02
je 0x140822e73
lea rax, [rsp + 0x40]
sub rbp, rax
movzx edx, si
nop
movsx rdx, cx
lea rdx, [rsp + rdi + 0x40]
cdqe
mov ecx, edi
bt eax, 0xd3
seta ah
cdqe
mov eax, 0x3b5812ef
cmc
rol eax, cl
add al, dil
jmp 0x140822e40
xor al, byte [rdx + rbp]
jmp 0x140822e48
mov byte [rdx], al
jmp 0x140822e4f
je 0x140822e6c
inc rdi
stc
cmc
jmp 0x140822e5f
cmp rdi, 0x104
jb 0x140822e18
lea rbp, [rsp + 0x40]
cbw
mov rdx, rbp
movzx eax, r15w
mov rcx, rsi
mov al, r10b
movzx eax, si
lahf
mov rax, qword [0x1403800e0]
call rax
jmp 0x140822f48
cmp byte [rbx + 1], 0x23
sete dl
cwd
movsx edx, r13w
lea rdx, [rbx + 1]
jne 0x140822f20
movzx edx, byte [rbx + 2]
clc
jmp 0x140822eb3
add rbx, 2
stc
test dl, dl
jmp 0x140822ebf
je 0x140822f1d
nop
not ax
inc ah
lea eax, [rdx - 0x30]
jmp 0x140822ed3
inc rbx
cmp al, 9
jmp 0x140822edd
ja 0x140822f1d
movsx eax, dl
movsx rcx, bx
rcl dx, 0xe5
movzx edx, byte [rbx]
rcl ch, cl
movsx ecx, r9w
sar cx, cl
lea ecx, [rdi + rdi*4]
xadd di, di
ror di, cl
lea edi, [rax + rcx*2 - 0x30]
cmp r9d, edx
jmp 0x140822f10
test dl, dl
jmp 0x140822f17
jne 0x140822ecb
movsxd rdx, edi
sub r8d, r8d
jmp 0x140822f28
mov rcx, r11
jmp 0x140822f30
call fcn.140822964
jmp 0x140822f48
mov rbx, qword [rsp + 0x178]
mov rdi, qword [rsp + 0x150]
shld rbp, r10, 6
add rsp, 0x158
movsx si, r12b
cmovp si, ax
pop rsi
pop rbp
jmp 0x140822f74
ret
Function at 0x10007510
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xa0
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor edi, edi
xor eax, eax
lock cmpxchg qword [0x10015150], rbx
je 0x10007566
cmp rax, rbx
jne 0x10007559
mov edi, 1
jmp 0x10007566
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10007540
mov eax, dword [0x10015148]
cmp eax, 1
jne 0x1000757b
lea ecx, [rax + 0x1e]
call sub.MSVCR80.dll__amsg_exit
jmp 0x100075ba
mov eax, dword [0x10015148]
test eax, eax
jne 0x100075b0
mov dword [0x10015148], 1
lea rdx, [0x100014d0]
lea rcx, [0x100014b8]
call sub.MSVCR80.dll__initterm_e
test eax, eax
je 0x100075ba
mov eax, 0xff
jmp 0x10007714
mov dword [0x10014314], 1
mov eax, dword [0x10015148]
cmp eax, 1
jne 0x100075e2
lea rdx, [0x100014b0]
lea rcx, [0x10001470]
call sub.MSVCR80.dll__initterm
mov dword [0x10015148], 2
test edi, edi
jne 0x100075ef
xor eax, eax
xchg qword [0x10015150], rax
cmp qword [0x10015168], 0
je 0x10007618
lea rcx, [0x10015168]
call fcn.10007b90
test eax, eax
je 0x10007618
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x10015168]
mov rax, qword [sym.imp.MSVCR80.dll__acmdln]
mov rbx, qword [rax]
mov qword [rsp + 0x28], rbx
mov edi, dword [rsp + 0x20]
nop
nop
movzx ecx, byte [rbx]
cmp cl, 0x20
ja 0x100076aa
test cl, cl
je 0x10007640
test edi, edi
jne 0x100076aa
movzx eax, byte [rbx]
test al, al
je 0x10007656
cmp al, 0x20
ja 0x10007656
add rbx, 1
mov qword [rsp + 0x28], rbx
jmp 0x10007640
test byte [rsp + 0x6c], 1
je 0x10007665
movzx r9d, word [rsp + 0x70]
jmp 0x1000766b
mov r9d, 0xa
mov r8, rbx
xor edx, edx
lea rcx, [0x10000000]
call fcn.10005300
mov dword [0x10014310], eax
cmp dword [0x100142f4], 0
jne 0x10007693
mov ecx, eax
call qword [sym.imp.MSVCR80.dll_exit]
cmp dword [0x10014314], 0
jne 0x100076a8
call qword [sym.imp.MSVCR80.dll__cexit]
mov eax, dword [0x10014310]
jmp 0x1000770d
cmp cl, 0x22
jne 0x100076bc
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [rsp + 0x20], eax
movzx ecx, cl
call qword [sym.imp.MSVCR80.dll__ismbblead]
test eax, eax
je 0x100076d2
add rbx, 1
mov qword [rsp + 0x28], rbx
add rbx, 1
mov qword [rsp + 0x28], rbx
jmp 0x10007630
jmp 0x10007714
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rdi
ret
sub rsp, 0x28
call fcn.10183000
add rsp, 0x28
jmp 0x10007510
Function at 0x401e80
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 fcn.00403000
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.00403000
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x401ef0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x00409614]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x402098
mov rax, qword [0x00409618]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x401f3c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x401fc7
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x401f20
mov rcx, r12
call fcn.00402c50
mov rbp, rax
test rax, rax
je 0x4020d2
mov rax, qword [0x00409618]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.00402d80
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x00409618]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x4020e1
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x401fc0
sub eax, 4
and eax, 0xfffffffb
jne 0x402050
add dword [0x00409614], 1
cmp ebx, 8
jae 0x401ff8
test bl, 4
jne 0x4020a0
test ebx, ebx
je 0x401fe9
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x4020c0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x401fe9
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x40202a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
add rdi, qword [0x00409618]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x401fc0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.00401e80
nop dword [rax]
xor edi, edi
jmp 0x401f47
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x401fe9
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x401fe9
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.00401e80
mov rax, qword [0x00409618]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.00401e80
nop
nop dword [rax]
Function at 0x4028c0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00409900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004098e0]
test rbx, rbx
je 0x402914
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 0x40290b
test r12, r12
je 0x40290b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x4028f0
lea rcx, [0x00409900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x402c50
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x00406210]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x402cc9
mov rcx, r10
call fcn.00402b20
test eax, eax
je 0x402cc9
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x402cc6
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x402cbd
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x402cc9
add r8, 0x28
cmp r8, r9
jne 0x402ca8
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x415c40
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x415deb
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00430080
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
nop
jne 0x415cae
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x415cc1
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x415ce5
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x415cf9
cmp rbx, 0x1000
jae 0x415cb8
nop
jmp 0x415d69
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x415d0d
xor edx, edx
jmp 0x415d60
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00430080
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop
test dl, dl
jne 0x415cef
jmp 0x415cd5
call fcn.0045efc0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00435040
lea rax, [0x004adddf]
mov ebx, 0x18
nop dword [rax + rax]
call fcn.00435940
mov rax, qword [rsp + 0x38]
call fcn.00435640
lea rax, [0x004ade6f]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00435940
mov rax, qword [rsp + 0x30]
call fcn.00435640
call fcn.004352a0
call fcn.004350c0
lea rax, [0x004aff44]
mov ebx, 0x21
call fcn.004338c0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045b440
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00415c40
Function at 0x415e20
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41604a
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00430100
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x415e9b
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x415eae
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x415ed0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x415ee4
cmp rbx, 0x1000
jae 0x415ea5
jmp 0x415f6e
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x415ef6
xor esi, esi
jmp 0x415f60
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
nop dword [rax]
call fcn.00430100
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
test sil, sil
jne 0x415eda
jmp 0x415ec2
call fcn.0045efc0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x415fe9
call fcn.00435040
lea rax, [0x004ae225]
mov ebx, 0x19
call fcn.00435940
mov rax, qword [rsp + 0x68]
call fcn.00435640
lea rax, [0x004ade6f]
mov ebx, 0x19
nop
call fcn.00435940
mov eax, dword [rsp + 0x34]
call fcn.00435640
call fcn.004352a0
call fcn.004350c0
lea rax, [0x004aaeb3]
mov ebx, 0xd
call fcn.004338c0
cmp eax, 0x5af
je 0x415f93
call fcn.00435040
lea rax, [0x004ae225]
mov ebx, 0x19
call fcn.00435940
mov rax, qword [rsp + 0x38]
call fcn.00435640
lea rax, [0x004ade6f]
mov ebx, 0x19
nop dword [rax]
call fcn.00435940
mov eax, dword [rsp + 0x34]
call fcn.00435640
call fcn.004352a0
call fcn.004350c0
lea rax, [0x004af8b6]
mov ebx, 0x1f
call fcn.004338c0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045b440
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00415e20
Function at 0x41d500
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
cmp byte [0x00664294], 0
jne 0x41d5f9
nop
nop
nop
nop
sub rbx, qword [rax + 0x18]
nop
mov edx, dword [rax + 0x5c]
imul rbx, rdx
mov rdx, rbx
shr rbx, 0x20
nop
shr rdx, 0x23
and rbx, 7
mov rsi, rcx
mov rcx, rbx
mov r8d, 1
shl r8d, cl
nop
add rdx, qword [rax + 0x50]
lock or byte [rdx], r8b
nop
nop
mov rcx, qword [rax + 0x18]
nop
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rax, 0x2a
cmp rax, 0x40
jae 0x41d5ef
lea rbx, [0x006366f8]
mov rax, qword [rbx + rax*8]
shr rdx, 0x16
and rdx, 0xfffff
mov rdx, qword [rax + rdx*8]
test byte [rdx], al
test byte [rax], al
mov rax, rcx
shr rcx, 0x10
and rcx, 0x3f
movzx ebx, byte [rdx + rcx + 0x21040]
lea rdx, [rdx + rcx]
lea rdx, [rdx + 0x21040]
shr rax, 0xd
and rax, 7
mov rcx, rax
mov eax, 1
shl eax, cl
test al, bl
jne 0x41d5ca
lock or byte [rdx], al
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
add qword [rax + 0x16a8], rsi
add qword [rax + 0x16b0], rdi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov ecx, 0x40
call fcn.0045db60
lea rax, [0x004b17a7]
mov ebx, 0x2c
call fcn.004338c0
nop
int3