joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007a5e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x14010a0a8]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
mov qword [rbp + 0x47], rcx
movdqa xmm0, xmmword [0x1400da430]
movdqu xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x39], 0xf9
mov byte [rbp - 0x37], 1
xor ecx, ecx
lea eax, [rcx - 0x35]
xor byte [rbp + rcx - 0x49], al
inc rcx
cmp rcx, 0x11
jb 0x14007a620
mov byte [rbp - 0x37], 0
movdqa xmm0, xmmword [0x1400da360]
movdqu xmmword [rbp - 0x31], xmm0
movdqa xmm1, xmmword [0x1400da320]
movdqu xmmword [rbp - 0x21], xmm1
mov dword [rbp - 0x11], 0x9c829e99
mov dword [rbp - 0xd], 0xd2d7d6cf
mov dword [rbp - 9], 0x999d9796
mov word [rbp - 5], 0xd7
mov byte [rbp - 3], 1
xor eax, eax
nop
lea ecx, [rax - 0x35]
xor byte [rbp + rax - 0x31], cl
inc rax
cmp rax, 0x2d
jb 0x14007a670
mov byte [rbp - 3], 0
mov r8, rbx
lea rdx, [rbp - 0x31]
lea rcx, [rbp + 0x27]
call fcn.14004ff20
nop
lea rcx, [rbp - 0x49]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rcx + r8], 0
jne 0x14007a6a0
lea rdx, [rbp - 0x49]
mov rcx, rax
call fcn.14003dde0
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 1], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp - 1]
cmp qword [rbp + 0x17], 0x10
cmovae rcx, qword [rbp - 1]
call qword [fcn.1400d8c00]
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x14007a739
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007a734
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007a734
call qword [fcn.1400d8c30]
int3
call fcn.1400d2d20
movdqa xmm0, xmmword [0x1400f7180]
movdqu xmmword [rbp + 0xf], xmm0
mov byte [rbp - 1], 0
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0x10
jb 0x14007a788
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007a783
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007a783
call qword [fcn.1400d8c30]
int3
call fcn.1400d2d20
xor ecx, ecx
int 0x29
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14007a7c2
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14007a7bd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14007a7f2
mov rcx, r8
call fcn.1400d2d20
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400d3560
mov rbx, qword [rsp + 0xd8]
add rsp, 0xc0
pop rbp
ret
call qword [fcn.1400d8c30]
int3
Function at 0x14007e240
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14010a0a8]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rbp - 0x18], rdx
xor edi, edi
mov dword [rbp - 0x50], 0xadaeb9b8
mov dword [rbp - 0x4c], 0xa2a3aa
mov byte [rbp - 0x48], 1
mov ecx, edi
nop dword [rax]
lea eax, [rcx - 0x35]
xor byte [rbp + rcx - 0x50], al
inc rcx
cmp rcx, 7
jb 0x14007e280
mov byte [rbp - 0x48], 0
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x38]
call fcn.14003eb60
nop
cmp byte [rbx], 0
jne 0x14007e2bb
mov byte [rbx], 1
call fcn.140071de0
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x14007e2d2
lea rdx, [rbp - 0x38]
mov rcx, qword [rbx + 8]
call fcn.140076d20
mov rcx, rax
jmp 0x14007e2d6
mov rcx, qword [rbp - 0x18]
lea rax, [rcx + 8]
cmp byte [rcx], 4
cmovne rax, rdi
movzx eax, byte [rax]
mov byte [rsi + 0x210], al
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14007e328
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007e323
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007e323
call qword [fcn.1400d8c30]
int3
call fcn.1400d2d20
mov dword [rbp - 0x50], 0xbdbea9a6
mov dword [rbp - 0x4c], 0xb4b7ae
mov byte [rbp - 0x48], 1
mov rcx, rdi
nop dword [rax]
lea eax, [rcx - 0x35]
xor byte [rbp + rcx - 0x50], al
inc rcx
cmp rcx, 7
jb 0x14007e340
mov byte [rbp - 0x48], 0
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x38]
call fcn.14003eb60
nop
cmp byte [rbx], 0
jne 0x14007e37b
mov byte [rbx], 1
call fcn.140071de0
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x14007e38f
lea rdx, [rbp - 0x38]
mov rcx, qword [rbx + 8]
call fcn.140076d20
jmp 0x14007e393
mov rax, qword [rbp - 0x18]
cmp byte [rax], 3
jne 0x14007e39c
mov rdi, qword [rax + 8]
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14007e3a9
mov rdx, qword [rdi]
lea rcx, [rsi + 0x218]
mov r8, qword [rdi + 0x10]
call fcn.14006cca0
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14007e3f9
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007e3f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007e3f3
call qword [fcn.1400d8c30]
int3
call fcn.1400d2d20
nop
lea rcx, [rbx + 8]
movzx edx, byte [rbx]
call fcn.140079a50
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400d3560
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x14009e000
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov r8d, dword [rcx + 0x28]
mov rdi, rdx
mov rbx, rcx
cmp r8d, 0x40
jae 0x14009e1b8
lea ecx, [r8*8]
mov qword [rsp + 0x30], rsi
add qword [rbx], rcx
mov byte [r8 + rbx + 0x2c], 0x80
mov eax, dword [rbx + 0x28]
inc eax
mov dword [rbx + 0x28], eax
cmp eax, 0x38
jbe 0x14009e078
cmp eax, 0x40
jae 0x14009e062
nop word [rax + rax]
mov byte [rax + rbx + 0x2c], 0
mov eax, dword [rbx + 0x28]
inc eax
mov dword [rbx + 0x28], eax
cmp eax, 0x40
jb 0x14009e050
lea rsi, [rbx + 0x2c]
mov rcx, rbx
mov rdx, rsi
call fcn.14009e2e0
xor eax, eax
mov dword [rbx + 0x28], eax
jmp 0x14009e080
lea rsi, [rbx + 0x2c]
jae 0x14009e092
nop
mov byte [rax + rbx + 0x2c], 0
mov eax, dword [rbx + 0x28]
inc eax
mov dword [rbx + 0x28], eax
cmp eax, 0x38
jb 0x14009e080
movzx eax, byte [rbx + 7]
mov rdx, rsi
mov byte [rbx + 0x64], al
mov rcx, rbx
movzx eax, byte [rbx + 6]
mov byte [rbx + 0x65], al
movzx eax, byte [rbx + 5]
mov byte [rbx + 0x66], al
movzx eax, byte [rbx + 4]
mov byte [rbx + 0x67], al
movzx eax, byte [rbx + 3]
mov byte [rbx + 0x68], al
movzx eax, byte [rbx + 2]
mov byte [rbx + 0x69], al
movzx eax, byte [rbx + 1]
mov byte [rbx + 0x6a], al
movzx eax, byte [rbx]
mov byte [rbx + 0x6b], al
call fcn.14009e2e0
movzx eax, byte [rbx + 0xb]
mov byte [rdi], al
movzx eax, byte [rbx + 0xa]
mov byte [rdi + 1], al
movzx eax, byte [rbx + 9]
mov byte [rdi + 2], al
movzx eax, byte [rbx + 8]
mov byte [rdi + 3], al
movzx eax, byte [rbx + 0xf]
mov byte [rdi + 4], al
movzx eax, byte [rbx + 0xe]
mov byte [rdi + 5], al
movzx eax, byte [rbx + 0xd]
mov byte [rdi + 6], al
movzx eax, byte [rbx + 0xc]
mov byte [rdi + 7], al
movzx eax, byte [rbx + 0x13]
mov byte [rdi + 8], al
movzx eax, byte [rbx + 0x12]
mov byte [rdi + 9], al
movzx eax, byte [rbx + 0x11]
mov byte [rdi + 0xa], al
movzx eax, byte [rbx + 0x10]
mov byte [rdi + 0xb], al
movzx eax, byte [rbx + 0x17]
mov byte [rdi + 0xc], al
movzx eax, byte [rbx + 0x16]
mov byte [rdi + 0xd], al
movzx eax, byte [rbx + 0x15]
mov byte [rdi + 0xe], al
movzx eax, byte [rbx + 0x14]
mov byte [rdi + 0xf], al
movzx eax, byte [rbx + 0x1b]
mov byte [rdi + 0x10], al
movzx eax, byte [rbx + 0x1a]
mov byte [rdi + 0x11], al
movzx eax, byte [rbx + 0x19]
mov byte [rdi + 0x12], al
movzx eax, byte [rbx + 0x18]
mov byte [rdi + 0x13], al
movzx eax, byte [rbx + 0x1f]
mov byte [rdi + 0x14], al
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 0x15], al
movzx eax, byte [rbx + 0x1d]
mov byte [rdi + 0x16], al
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 0x17], al
movzx eax, byte [rbx + 0x23]
mov byte [rdi + 0x18], al
movzx eax, byte [rbx + 0x22]
mov byte [rdi + 0x19], al
movzx eax, byte [rbx + 0x21]
mov byte [rdi + 0x1a], al
movzx eax, byte [rbx + 0x20]
mov byte [rdi + 0x1b], al
movzx eax, byte [rbx + 0x27]
mov byte [rdi + 0x1c], al
movzx eax, byte [rbx + 0x26]
mov byte [rdi + 0x1d], al
movzx eax, byte [rbx + 0x25]
mov byte [rdi + 0x1e], al
movzx eax, byte [rbx + 0x24]
mov rsi, qword [rsp + 0x30]
mov byte [rdi + 0x1f], al
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14009e1d0
Capabilities:
Hash data using sha256

Disassembly:
xor eax, eax
mov qword [rcx + 0x24], 0x5be0cd19
mov qword [rcx], rax
mov dword [rcx + 8], 0x6a09e667
mov dword [rcx + 0xc], 0xbb67ae85
mov dword [rcx + 0x10], 0x3c6ef372
mov dword [rcx + 0x14], 0xa54ff53a
mov dword [rcx + 0x18], 0x510e527f
mov dword [rcx + 0x1c], 0x9b05688c
mov dword [rcx + 0x20], 0x1f83d9ab
ret
Function at 0x1400b81f0
Capabilities:
Check http status code

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
lea eax, [rdx - 0xc8]
mov rdi, rcx
mov rcx, qword [rcx]
mov esi, r8d
cmp eax, 0x64
jb 0x1400b8225
lea rdx, [0x1400e2e40]
call fcn.14009a530
lea eax, [rbx + 0x11]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
cmp edx, 0xc8
je 0x1400b823c
mov r8d, edx
lea rdx, [0x1400e2e60]
call fcn.14009a6b0
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], r14
cmp esi, 0x13
jne 0x1400b8258
mov rcx, rdi
call fcn.1400b8130
jmp 0x1400b838f
cmp esi, 0x14
jne 0x1400b8371
mov rsi, qword [rdi]
mov rbp, rbx
cmp dword [rsi + 0xba0], 2
jne 0x1400b82d9
mov rax, qword [rsi + 0x1e0]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400b82d9
mov byte [rsp + 0x28], 1
lea r9, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rcx, rsi
mov qword [rsp + 0x50], rbx
call fcn.140084730
test eax, eax
jne 0x1400b838f
mov rcx, qword [rsp + 0x50]
lea edx, [rax + 0x2f]
call fcn.1400d45ac
test rax, rax
je 0x1400b82ce
mov rbp, qword [rsp + 0x50]
mov ecx, 1
sub rax, rbp
cmovne rcx, rax
mov byte [rcx + rbp], bl
jmp 0x1400b82d9
mov rcx, qword [rsp + 0x50]
call qword [fcn.14010a028]
mov rdx, qword [rsi + 0xc08]
test rdx, rdx
jne 0x1400b82fd
cmp byte [rsi + 0xf0d], bl
lea rax, [0x1400e2ae0]
lea rdx, [0x1400e1c2c]
cmovne rdx, rax
lea r8, [0x1400e7d0a]
test rbp, rbp
mov r9, r8
lea rax, [0x1400f1564]
cmovne r9, rbp
lea rcx, [0x1400dd510]
cmovne r8, rax
call fcn.140088eb0
mov rcx, rbp
mov r14, rax
call qword [fcn.14010a028]
test r14, r14
jne 0x1400b833c
lea ebx, [r14 + 0x1b]
jmp 0x1400b8391
lea rcx, [rdi + 0xa00]
mov r8, r14
lea rdx, [0x1400ec778]
call fcn.1400ce350
mov rcx, r14
mov esi, eax
call qword [fcn.14010a028]
test esi, esi
je 0x1400b8365
mov ebx, esi
jmp 0x1400b8391
mov dword [rdi + 0xab8], 0x1f
jmp 0x1400b8391
cmp esi, 0x15
jne 0x1400b837c
lea r8d, [rsi - 8]
jmp 0x1400b8385
cmp esi, 0x16
jne 0x1400b8391
lea r8d, [rsi - 8]
mov dl, 1
mov rcx, rdi
call fcn.1400b7c60
mov ebx, eax
mov r14, qword [rsp + 0x60]
mov eax, ebx
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400d2bd0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [fcn.14010a020]
mov rdi, rax
test rax, rax
jne 0x1400d2c12
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400d2c59
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + 8]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + 0x10]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400d2cb2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + 8]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + 8]
sub rbp, 1
jne 0x1400d2c70
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400d2cf3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400e73e2]
mov r8d, 1
call qword [rbx + 8]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400e73e3]
mov r8d, 1
call qword [rbx + 8]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400d2cc0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1400d3c28
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call fcn.141112c51
nop
test rax, rax
je 0x1400d3c72
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400d3c72
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400d3c72
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400d3c72
cmp dword [rcx + 0x84], 0xe
jbe 0x1400d3c72
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400d3c74
xor al, al
add rsp, 0x28
ret
Function at 0x1400054e0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push rdi
push r12
push r15
sub rsp, 0x40
xor r12d, r12d
mov r15, rdx
mov qword [rsp + 0x30], r12
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r12 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000552d
xor eax, eax
add rsp, 0x40
pop r15
pop r12
pop rdi
ret
xor r9d, r9d
mov qword [rsp + 0x28], r12
xor edx, edx
mov qword [rsp + 0x70], rsi
mov rcx, rdi
mov dword [rsp + 0x20], r12d
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rsi, rax
test rax, rax
jne 0x140005570
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x70]
xor eax, eax
add rsp, 0x40
pop r15
pop r12
pop rdi
ret
xor r9d, r9d
mov qword [rsp + 0x78], r14
xor r8d, r8d
mov qword [rsp + 0x20], r12
mov rcx, rsi
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r14, rax
test rax, rax
jne 0x1400055ab
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140005626
mov qword [rsp + 0x60], rbx
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x68], rbp
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov rax, qword [r15]
test rax, rax
je 0x1400055d1
cmp rax, rbx
cmovbe rbx, rax
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 4]
call fcn.140005480
mov rbp, rax
test rax, rax
je 0x1400055f8
mov r8, rbx
mov rdx, r14
mov rcx, rax
call fcn.140009aa0
jmp 0x1400055fb
mov rbx, r12
mov rcx, r14
mov qword [r15], rbx
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov rax, rbp
mov rbp, qword [rsp + 0x68]
mov r14, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r12
pop rdi
ret
Function at 0x140006bd0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14003e080]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r12, rcx
xor r15d, r15d
cmp qword [rcx + 0x68], r15
je 0x140006d68
cmp byte [rcx + 0x71], r15b
je 0x140006d68
mov rax, qword [rcx]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call fcn.140009018
or edx, 0xffffffff
mov rcx, r12
call rbx
cmp eax, 0xffffffff
jne 0x140006c42
xor al, al
jmp 0x140006d6d
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp - 0x30]
call fcn.140006480
nop
mov r13d, 1
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rcx, qword [rbp - 0x30]
lea r14, [rbp - 0x30]
cmovae r14, qword [rbp - 0x30]
mov rsi, qword [r12 + 0x68]
mov rdx, qword [rsi]
mov rbx, qword [rbp - 0x20]
add rbx, rcx
mov rdi, qword [rdx + 0x40]
mov rcx, rdi
call fcn.140009018
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, r14
lea rdx, [r12 + 0x74]
mov rcx, rsi
call rdi
mov ecx, eax
test eax, eax
je 0x140006cb6
sub ecx, r13d
je 0x140006cbb
cmp ecx, 2
jne 0x140006d29
jmp 0x140006d26
mov byte [r12 + 0x71], r15b
lea rax, [rbp - 0x30]
mov r8, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
cmovae rax, r8
mov rbx, qword [rbp - 0x40]
sub rbx, rax
je 0x140006cfc
lea rcx, [rbp - 0x30]
cmp rdx, 0x10
cmovae rcx, r8
mov r9, qword [r12 + 0x80]
mov r8, rbx
mov rdx, r13
call fcn.140010414
cmp rbx, rax
jne 0x140006d23
cmp byte [r12 + 0x71], r15b
je 0x140006d20
test rbx, rbx
jne 0x140006c59
xor r8d, r8d
lea edx, [rbx + 8]
lea rcx, [rbp - 0x30]
call fcn.1400064fc
jmp 0x140006c59
mov r15b, r13b
mov r13b, r15b
mov r15b, r13b
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x140006d63
inc rdx
mov r8, qword [rbp - 0x30]
mov rax, r8
cmp rdx, 0x1000
jb 0x140006d5b
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006d97
mov rcx, r8
call fcn.140008974
mov al, r15b
jmp 0x140006d6d
mov eax, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140008a90
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14000ca94
int3

Function at 0x14000c5a4
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea r9, [0x14002e998]
xor ecx, ecx
lea r8, [0x14002e990]
lea rdx, str.FlsAlloc
call fcn.14000c3cc
mov rbx, rax
test rax, rax
je 0x14000c5e4
mov rcx, rax
call fcn.140009018
mov rcx, rdi
call rbx
jmp 0x14000c5ea
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000c64c
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x14002e9a8]
mov ecx, 2
lea r8, [0x14002e9a0]
lea rdx, str.FlsGetValue
call fcn.14000c3cc
mov rdi, rax
test rax, rax
je 0x14000c68d
mov rcx, rax
call fcn.140009018
mov ecx, ebx
call rdi
jmp 0x14000c695
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000c6a0
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x14002e9b0]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x14002e9a8]
call fcn.14000c3cc
mov rsi, rax
test rax, rax
je 0x14000c6ec
mov rcx, rax
call fcn.140009018
mov rdx, rbx
mov ecx, edi
call rsi
jmp 0x14000c6f7
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140014778
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001459c
Function at 0x1400047e4
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1400128b8]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea r14, str.en_US
mov rsi, rcx
mov qword [rcx], r14
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov word [rsp + 0x30], ax
mov ebx, 0x10
mov r9d, ebx
lea rdx, [0x140008110]
lea rax, [0x140004df0]
mov r8d, 0x1b3
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call sub.api_ms_win_crt_private_l1_1_0.dll__o_bsearch
xor ebp, ebp
test rax, rax
jne 0x14000485f
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400048e5
cmp dword [rax + 0xc], 0x7c
jne 0x14000486c
cmp word [rax + 8], 0x7f
jne 0x14000484f
mov r8, qword [rax]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [r8 + rcx*2], bp
jne 0x140004873
inc rcx
cmp rcx, 0x7ffffffe
jbe 0x140004890
mov word [rsp + 0x38], bp
jmp 0x1400048d7
lea rax, [rsp + 0x38]
mov r9d, ebp
sub r8, rax
lea rdx, [rsp + 0x38]
lea rax, [rbx - 0x10]
add rax, rcx
je 0x1400048c0
movzx eax, word [r8 + rdx]
test ax, ax
je 0x1400048c0
mov word [rdx], ax
add rdx, 2
sub rbx, 1
jne 0x1400048a0
test rbx, rbx
jne 0x1400048cf
sub rdx, 2
mov r9d, 0x8007007a
mov word [rdx], bp
test r9d, r9d
jns 0x1400048e1
mov ecx, 0x7a
jmp 0x140004854
test ecx, ecx
jne 0x1400048f1
mov rcx, qword [rsp + 0x78]
call fcn.14000494c
jmp 0x14000492a
mov rbx, rbp
mov rdi, rbp
mov rdx, qword [rdi + r14]
lea rcx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
test eax, eax
je 0x14000491c
inc rbx
add rdi, 0x30
cmp rdi, 0x750
jb 0x1400048f7
jmp 0x14000492a
lea rax, [rbx + rbx*2]
shl rax, 4
add rax, r14
mov qword [rsi], rax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400050e0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140005104
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140012e60], eax
call fcn.1400056f0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140012e60], 0
jne case.default.0x14000515a
mov ecx, 1
call fcn.1400056f0
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]
shr ebx, 1
invalid
Function at 0x140001938
Capabilities:
Parse pe header

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

Function at 0x140004190
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140003fbc

Function at 0x14000d3b0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000d3d8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000d3d8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400112ee
Capabilities:
Terminate process

Disassembly:
jmp 0x14003cd10
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400113c5
Capabilities:
Parse pe header

Disassembly:
jmp 0x14003e060
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14003e080
xor al, al
jmp 0x14003e101
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14003e093
xor al, al
jmp 0x14003e101
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14003e0bd
xor al, al
jmp 0x14003e101
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14003e0d1
xor al, al
jmp 0x14003e101
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14003e0e3
xor al, al
jmp 0x14003e101
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14003e0ff
xor al, al
jmp 0x14003e101
mov al, 1
add rsp, 0x38
ret