joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427fe0
Capabilities:
Access peb ldr_data

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x42824e
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
nop
lea rax, [0x005f8c90]
mov qword [rsp], rax
call fcn.0040b0e0
lea rax, [0x005f8c00]
mov qword [rsp], rax
call fcn.00418de0
mov rax, qword [rsp + 8]
mov qword [rsp + 0x48], rax
nop
nop
lea rcx, [0x005f8c90]
mov qword [rsp], rcx
call fcn.0040b340
mov rax, qword [rsp + 0x48]
mov byte [rax + 0xa], 1
lea rdi, [rax + 0x10]
cmp dword [0x006106c0], 0
jne 0x42823f
mov rcx, qword [rsp + 0x68]
mov qword [rax + 0x10], rcx
mov qword [rsp + 0x40], rdi
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x18], rcx
cmp dword [0x006106c0], 0
nop dword [rax]
jne 0x428218
mov rcx, qword [rsp + 0x78]
mov qword [rax + 0x20], rcx
mov rcx, qword [rsp + 0x80]
mov qword [rax + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
call fcn.00427b40
cmp byte [rsp + 0x10], 0
je 0x4281b6
cmp dword [0x00610470], 0
jne 0x4280d4
mov byte [rsp + 0x88], 1
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
mov rax, qword [rsp + 0x60]
mov qword [rsp], rax
xorps xmm0, xmm0
movups xmmword [rsp + 8], xmm0
call fcn.004137a0
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov rcx, qword [rax + 0x30]
mov rdx, qword [rsp + 0x18]
nop
inc dword [rcx + 0xd8]
mov rcx, qword [rax + 0x30]
mov qword [rsp + 0x30], rcx
mov rbx, qword [rcx + 0xa0]
test byte [rbx], al
test byte [rax], al
mov qword [rsp], rdx
lea rax, [rbx + 0x1698]
mov qword [rsp + 0x38], rax
mov qword [rsp + 8], rax
call fcn.0041fb40
mov rax, qword [rsp + 0x40]
mov qword [rsp], rax
mov qword [rsp + 8], 8
lea rax, [0x005b5160]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], 0
call fcn.0041f9a0
nop
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
mov edx, dword [rcx + 0xd8]
lea ebx, [rdx - 1]
mov dword [rcx + 0xd8], ebx
cmp edx, 1
jne 0x4280c2
cmp byte [rax + 0xb1], 0
je 0x4280c2
mov qword [rax + 0x10], 0xfffffffffffffade
jmp 0x4280c2
nop
nop
lea rax, [0x005f8c90]
mov qword [rsp], rax
call fcn.0040b0e0
nop
mov rax, qword [0x005f8c30]
sub rax, qword [0x005f8c00]
mov qword [0x005f8c30], rax
mov rax, qword [0x005f8c18]
mov rcx, qword [rsp + 0x48]
mov qword [rcx], rax
mov qword [0x005f8c18], rcx
nop
nop
lea rax, [0x005f8c90]
mov qword [rsp], rax
call fcn.0040b340
mov byte [rsp + 0x88], 0
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
lea rcx, [rax + 0x20]
mov rdi, rcx
mov rbx, qword [rsp + 0x78]
call fcn.004669e0
lea rdi, [rax + 0x28]
mov rcx, qword [rsp + 0x80]
call fcn.004669a0
jmp 0x42809b
mov rcx, qword [rsp + 0x68]
call fcn.004669a0
jmp 0x428068
call fcn.00464b60
jmp fcn.00427fe0
Function at 0x451240
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov rcx, qword [rsp + 0x28]
test rcx, rcx
jbe 0x4513f9
mov rdx, qword [rsp + 0x20]
movzx ebx, byte [rdx]
test ebx, ebx
jne 0x451276
movzx esi, byte [rsp + 0x48]
test sil, sil
je 0x4513a7
bt ebx, 7
nop word [rax + rax]
jae 0x451399
xor eax, eax
xor ebx, ebx
xor esi, esi
jmp 0x4512a0
lea esi, [rcx + 7]
mov rcx, rax
mov eax, r8d
nop word [rax + rax]
cmp rcx, rax
jbe 0x4513f4
movzx edi, byte [rax + rdx]
lea r8d, [rax + 1]
mov r9d, edi
and edi, 0x7f
mov rax, rcx
mov ecx, esi
shl edi, cl
or ebx, edi
test r9b, 0x80
jne 0x45128e
mov esi, ebx
and ebx, 1
neg ebx
shr esi, 1
xor ebx, esi
mov rsi, qword [rsp + 0x40]
add dword [rsi], ebx
nop dword [rax + rax]
cmp rax, r8
jb 0x4513e9
sub rax, r8
mov rbx, qword [rsp + 0x30]
sub rbx, r8
mov rsi, rbx
neg rbx
sar rbx, 0x3f
and r8, rbx
lea rbx, [rdx + r8]
test rax, rax
jbe 0x4513df
movzx edx, byte [rdx + r8]
bt edx, 7
jae 0x451391
xor ecx, ecx
xor edx, edx
xor edi, edi
nop
jmp 0x451328
lea edi, [rcx + 7]
mov ecx, r9d
cmp rax, rcx
jbe 0x4513d2
movzx r8d, byte [rcx + rbx]
lea r9d, [rcx + 1]
mov r10d, r8d
and r8d, 0x7f
mov ecx, edi
shl r8d, cl
or edx, r8d
test r10b, 0x80
jne 0x451322
cmp rax, r9
jb 0x4513c7
mov rcx, qword [rsp + 0x38]
add qword [rcx], rdx
sub rsi, r9
mov rcx, rsi
neg rsi
sar rsi, 0x3f
and rsi, r9
lea rdx, [rbx + rsi]
mov qword [rsp + 0x50], rdx
sub rax, r9
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rcx
mov byte [rsp + 0x68], 1
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov r9d, 1
jmp 0x45134f
mov rax, rcx
mov r8d, 1
jmp 0x4512c6
mov qword [rsp + 0x50], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x68], 0
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rcx, rax
mov eax, r9d
call fcn.00466e00
mov rdx, rax
mov eax, ecx
mov rcx, rdx
call fcn.00466d40
mov rcx, rax
xor eax, eax
call fcn.00466d40
mov rcx, rax
mov eax, r8d
call fcn.00466e00
call fcn.00466d40
xor eax, eax
nop dword [rax + rax]
call fcn.00466d40
nop
int3

Function at 0x458620
Capabilities:
Access peb ldr_data

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x458701
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x18], xmm0
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [0x004604e0]
mov qword [rsp + 0x10], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x18], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.00464a00
mov rax, qword [rsp + 8]
mov qword [rsp + 0x88], rax
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
nop
ret
call fcn.00464b60
jmp fcn.00458620
Function at 0x466740
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x4026c0
sub rsp, 0x28
mov qword [rsp + 0x20], rbp
lea rbp, [rsp + 0x20]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
mov rax, qword [rax + 8]
mov qword [rsp], rcx
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rax
call fcn.00409780
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x40], rax
mov rbp, qword [rsp + 0x20]
add rsp, 0x28
ret
call fcn.00464b60
jmp 0x402660
cmp byte [0x00610432], 0
je 0x46675f
mov rax, qword [rsp + 8]
mov rcx, qword [rax + 8]
mov rax, qword [rax]
lea rdx, [rsp + 0x18]
jmp 0x463b80
jmp 0x402660

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

Disassembly:
mov rax, qword [0x00610700]
nop
mov rcx, qword [rsp + 8]
mov ecx, dword [rcx]
mov rdx, qword [rsp + 0x10]
lea rax, [rdx + rax*4]
xor rax, rcx
shl rcx, 0x20
xor rcx, rax
movabs rax, 0xea38ec9079f01541
imul rax, rcx
rol rax, 0x1f
movabs rcx, 0x2723a30d96da1399
imul rcx, rax
mov rax, rcx
shr rcx, 0x1d
xor rcx, rax
movabs rax, 0x83cf8eadf876d2d7
imul rax, rcx
mov rcx, rax
shr rax, 0x20
xor rax, rcx
mov qword [rsp + 0x18], rax
ret
cmp byte [0x00610432], 0
je 0x4667bc
mov rax, qword [rsp + 8]
movq xmm0, qword [rsp + 0x10]
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x00610980]
aesenc xmm0, xmmword [0x00610990]
aesenc xmm0, xmmword [0x006109a0]
movq qword [rsp + 0x18], xmm0
ret
jmp 0x409a00

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

Disassembly:
mov rax, qword [0x00610700]
mov rcx, qword [rsp + 8]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0x10]
lea rax, [rdx + rax*8]
xor rcx, rax
movabs rax, 0xea38ec9079f01541
imul rax, rcx
rol rax, 0x1f
movabs rcx, 0x2723a30d96da1399
imul rcx, rax
mov rax, rcx
shr rcx, 0x1d
xor rax, rcx
movabs rcx, 0x83cf8eadf876d2d7
imul rcx, rax
mov rax, rcx
shr rcx, 0x20
xor rax, rcx
mov qword [rsp + 0x18], rax
ret
cmp byte [0x00610432], 0
je 0x46681d
mov rax, qword [rsp + 8]
movq xmm0, qword [rsp + 0x10]
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x00610980]
aesenc xmm0, xmmword [0x00610990]
aesenc xmm0, xmmword [0x006109a0]
movq qword [rsp + 0x18], xmm0
ret
jmp 0x409a80

Function at 0x468060
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x00610900]
mov qword [rsp + 8], rdx
lea r8d, [0x00610448]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
add rsp, 0x30
ret
Function at 0x48ac40
Capabilities:
Encode data using base64

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rdx + 8]
lea rsi, [rbx + 0x2e]
imul rsi, rsi, 0xffffffffffffffe4
movabs rax, 0x5816058160581606
mov rcx, rdx
imul rsi
sar rdx, 5
sar rsi, 0x3f
sub rdx, rsi
lea rsi, [rdx + 0x15c]
sar rsi, 0x3f
shr rsi, 0x3d
lea rdx, [rsi + rdx]
lea rdx, [rdx + 0x15c]
sar rdx, 3
cmp rdx, 0x57
jae 0x48ad19
lea rsi, [rdx + rdx*2]
lea rdi, [0x005c1780]
mov r8, qword [rdi + rsi*8 + 8]
lea r9, [r8 + rbx]
lea r9, [r9 + 0x40]
cmp r9, 0xffffffffffffffc4
jge 0x48acc2
inc rdx
nop
jmp 0x48ac98
cmp r9, 0xffffffffffffffe0
jle 0x48accd
dec rdx
jmp 0x48ac98
mov rbx, qword [rdi + rsi*8]
mov rax, qword [rcx]
mov rsi, rdx
mul rbx
shr rax, 0x3f
add rdx, rax
mov qword [rcx], rdx
mov rdx, qword [rcx + 8]
lea rdx, [rdx + r8]
lea rdx, [rdx + 0x40]
mov qword [rcx + 8], rdx
mov rcx, rsi
shl rsi, 3
lea rdx, [rsi - 0x15c]
neg rdx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rcx
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rax, rdx
mov ecx, 0x57
call fcn.00466d40
nop
int3
Function at 0x49a520
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov edx, dword [rsp + 8]
xor ebx, ebx
jmp 0x49a541
movzx esi, byte [rax + rbx]
inc rbx
imul edx, edx, 0x1000193
xor edx, esi
cmp rcx, rbx
jg 0x49a532
mov dword [rsp + 0x28], edx
ret

Function at 0x4d02e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x4d0426
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x4d03ed
mov rdx, qword [rsp + 0x38]
nop dword [rax + rax]
cmp rcx, rdx
ja 0x4d0420
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x40]
cmp rdx, rbx
jne 0x4d03b4
mov rsi, qword [rsp + 0x20]
movzx edi, byte [rsi + 0x400]
movzx r8d, byte [rsi + 0x401]
lea rax, [rcx - 1]
mov r9, qword [rsp + 0x30]
cmp rax, r9
jae 0x4d03f7
xor eax, eax
jmp 0x4d0397
movzx r9d, byte [rbx + rax]
inc edi
movzx r10d, dil
mov r11d, dword [rsi + r10*4]
add r8d, r11d
movzx r12d, r8b
mov r13d, dword [rsi + r12*4]
mov dword [rsi + r10*4], r13d
mov dword [rsi + r12*4], r11d
lea r10d, [r11 + r13]
movzx r10d, r10b
xor r9d, dword [rsi + r10*4]
mov byte [rdx + rax], r9b
inc rax
cmp rcx, rax
jg 0x4d0362
mov byte [rsi + 0x400], dil
mov byte [rsi + 0x401], r8b
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
nop
mov rsi, rdx
lea rdi, [rcx + rbx]
lea rdi, [rdi - 1]
cmp rdx, rdi
ja 0x4d03e5
mov rdx, rbx
lea rdi, [rcx + rsi]
lea rdi, [rdi - 1]
cmp rbx, rdi
jbe 0x4d03ff
mov rbx, rdx
mov rdx, rsi
nop dword [rax + rax]
jmp 0x4d0338
mov rdx, rsi
jmp 0x4d0338
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rcx, r9
call fcn.00466d40
lea rax, [0x004ed380]
mov qword [rsp], rax
lea rax, [0x0053c120]
mov qword [rsp + 8], rax
call fcn.00435c20
nop dword [rax + rax]
call fcn.00466dc0
nop
call fcn.00464b60
jmp fcn.004d02e0
Function at 0x140001487
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14012cd90]
mov dword [rax], 1
mov rax, qword [0x14012cda0]
mov dword [rax], 1
mov rax, qword [0x14012cdb0]
mov dword [rax], 1
mov rax, qword [0x14012cd20]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014d8
mov eax, 0
jmp 0x140001585
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140001504
mov eax, 0
jmp 0x140001585
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000152a
cmp eax, 0x20b
je 0x140001551
jmp 0x140001580
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000153d
mov eax, 0
jmp 0x140001585
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001585
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000156c
mov eax, 0
jmp 0x140001585
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001585
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140082420
Capabilities:
Query environment variable

Disassembly:
push r13
mov eax, 0x10078
push r12
call fcn.14010ac80
sub rsp, rax
xor eax, eax
mov r8d, 0x28
mov rdx, rcx
lea r12, [rsp + 0x20]
xor ecx, ecx
mov word [rsp + 0x70], ax
mov word [rsp + 0x20], cx
lea r13, [rsp + 0x70]
mov rcx, r12
call fcn.1400a6e00
mov rdx, r13
mov r8d, 0x10000
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [rax - 1]
xor eax, eax
cmp edx, 0xffff
ja 0x140082481
mov rcx, r13
call sub.msvcrt.dll__wcsdup
add rsp, 0x10078
pop r12
pop r13
ret

Function at 0x140082490
Capabilities:
Set environment variable

Disassembly:
push r13
push r12
sub rsp, 0x78
xor eax, eax
mov r8d, 0x28
lea r13, [rsp + 0x20]
mov r12, rdx
mov rdx, rcx
mov word [rsp + 0x20], ax
mov rcx, r13
call fcn.1400a6e00
mov rdx, r12
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
nop
add rsp, 0x78
pop r12
pop r13
ret
Function at 0x140082560
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbx
sub rsp, 0x70
mov rbx, rdx
mov r14, r8
mov r15, rcx
call fcn.1400a1200
lea rdx, str.environ
mov rcx, rax
call qword [sym.imp.python38.dll_PyObject_GetAttrString]
mov rcx, rbx
mov r12, rax
call qword [sym.imp.python38.dll_PyUnicode_FromString]
mov r13, rax
test r14, r14
je 0x14008261a
mov rdx, r14
mov rcx, rbx
call fcn.140082490
mov rcx, r14
mov rdx, 0xffffffffffffffff
call sub.python38.dll_PyUnicode_FromWideChar
mov rdx, r13
mov rcx, r12
mov r14, rax
mov r8, rax
call qword [sym.imp.python38.dll_PyObject_SetItem]
test eax, eax
jne 0x14008265c
sub qword [r14], 1
jne 0x1400825e1
mov rcx, r14
call fcn.1400824d0
sub qword [r13], 1
jne 0x1400825f0
mov rcx, r13
call fcn.1400824d0
sub qword [r12], 1
jne 0x14008260c
mov rcx, r12
add rsp, 0x70
pop rbx
pop r12
pop r13
pop r14
pop r15
jmp fcn.1400824d0
add rsp, 0x70
pop rbx
pop r12
pop r13
pop r14
pop r15
ret
lea r14, [rsp + 0x20]
mov r8d, 0x28
mov rdx, rbx
mov word [rsp + 0x20], 0
mov rcx, r14
call fcn.1400a6e00
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.python38.dll_PyObject_DelItem]
test eax, eax
je 0x1400825e1
mov rcx, r15
call fcn.1400824e0
jmp 0x1400825e1
mov ecx, 1
call qword [sym.imp.python38.dll_PyErr_PrintEx]
mov ecx, 1
call qword [sym.imp.python38.dll_Py_Exit]
nop
nop word cs:[rax + rax]
nop
Function at 0x1400ffe70
Capabilities:
Encode data using xor
Extract resource via kernel32 functions
Hash data with crc32

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp byte [0x140144999], 0
mov r12, rcx
mov r13, rdx
mov rdi, r8
je 0x1400ffef8
lea rdx, [0x14012b2d2]
mov rcx, rdi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140100010
mov rsi, qword [0x140144858]
jmp 0x1400ffeb5
lea rsi, [rdx + rax + 4]
mov rdx, rsi
mov rcx, rdi
call sub.msvcrt.dll_strcmp
mov rcx, rsi
mov ebx, eax
call sub.msvcrt.dll_strlen
lea rdx, [rsi + rax + 1]
mov eax, dword [rdx]
test ebx, ebx
jne 0x1400ffeb0
movzx r9d, word [rdx + 4]
lea r8, [rdx + 6]
mov rcx, r12
mov rdx, r13
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp fcn.1400eda50
mov r8d, 0xa
mov edx, 3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [0x140144858], rax
mov rdx, rax
mov r9d, dword [rax]
lea rax, [rax + 4]
mov qword [0x140144858], rax
mov eax, dword [rdx + 4]
lea rcx, [rdx + 8]
mov qword [0x140144858], rcx
test eax, eax
je 0x1400ffff8
sub eax, 1
lea r8, [rdx + rax + 9]
mov eax, 0xffffffff
nop word [rax + rax]
movzx edx, byte [rcx]
xor edx, eax
mov eax, edx
and edx, 1
neg edx
shr eax, 1
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
mov eax, edx
and edx, 1
neg edx
shr eax, 1
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
mov eax, edx
and edx, 1
neg edx
shr eax, 1
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
mov eax, edx
shr eax, 1
and edx, 1
add rcx, 1
neg edx
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor eax, edx
cmp r8, rcx
jne 0x1400fff60
not eax
cmp r9d, eax
jne 0x1401000a9
mov byte [0x140144999], 1
jmp 0x1400ffe8e
cmp byte [0x140144998], 0
jne 0x1400ffea5
mov rbx, qword [sym.imp.python38.dll_PyDict_New]
lea rsi, [0x140144048]
call rbx
mov qword [0x1401452c8], rax
call rbx
mov qword [0x1401452c0], rax
call rbx
mov qword [0x1401452b8], rax
call rbx
mov qword [0x1401452b0], rax
call rbx
mov qword [0x1401452a8], rax
call rbx
mov qword [0x1401452a0], rax
call rbx
mov qword [0x140145298], rax
call rbx
mov rbp, qword [sym.imp.python38.dll_PyLong_FromLong]
mov rbx, 0xfffffffffffffffb
mov qword [0x140145290], rax
nop dword [rax]
mov ecx, ebx
call rbp
mov qword [rsi + rbx*8], rax
add rbx, 1
cmp rbx, 0x101
jne 0x140100088
mov byte [0x140144998], 1
jmp 0x1400ffea5
lea rcx, str.Error__corrupted_constants_object
call sub.msvcrt.dll_puts
call sub.msvcrt.dll_abort
nop
nop dword [rax + rax]
Function at 0x140109980
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.14011ac40
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.14011ac40
mov r8, rbx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x14010a632
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140145728]
test eax, eax
je 0x14010a6ca
lea rax, [0x140145700]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140145730]
mov qword [rbp - 8], rax
jmp 0x14010a6ae
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x14010a6a2
cmp qword [rbp - 0x10], 0
je 0x14010a6a2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x14010a668
lea rax, [0x140145700]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14010a6cb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x14010a7d0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x14010a7f8
mov eax, 0
jmp 0x14010a846
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x14010a821
mov eax, 0
jmp 0x14010a846
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x14010a841
mov eax, 0
jmp 0x14010a846
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x14010a84c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14010a8ca
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x14010a8c1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x14010a8c1
mov rax, qword [rbp - 8]
jmp 0x14010a8df
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x14010a894
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14001be80
Capabilities:
Write file on windows

Disassembly:
movsxd rax, dword [rcx - 4]
sub rcx, rax
jmp 0x14001be80
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov r15, r8
mov rsi, rcx
lea rax, [rcx - 0x28]
mov qword [rsp + 0x40], rax
mov byte [rsp + 0x48], 0
lea rcx, [rsp + 0x40]
call fcn.14001b940
nop
mov r14b, 1
xor r12d, r12d
mov dword [rsp + 0x90], r12d
mov ebx, r12d
nop dword [rax]
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x90]
mov r8d, 8
lea rdx, [rsp + 0x98]
mov rcx, qword [rsi - 0x30]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
inc ebx
cmp ebx, 0x3e8
jg 0x14001bf34
mov eax, 0x66666667
imul ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea ecx, [rdx + rdx*4]
add ecx, ecx
cmp ebx, ecx
jne 0x14001bf26
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [rsp + 0x90]
cmp eax, 8
jne 0x14001bed0
jmp 0x14001bf3b
mov eax, dword [rsp + 0x90]
test edi, edi
je 0x14001bff5
cmp eax, 8
jne 0x14001bff5
mov edi, dword [rsp + 0x98]
mov dword [rsp + 0xa8], r12d
mov ebx, r12d
nop
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0xa8]
mov r8d, edi
mov rdx, r15
mov rcx, qword [rsi - 0x30]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ebp, eax
inc ebx
cmp ebx, 0x3e8
jg 0x14001bfbb
mov eax, 0x66666667
imul ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea ecx, [rdx + rdx*4]
add ecx, ecx
cmp ebx, ecx
jne 0x14001bfae
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [rsp + 0xa8]
cmp edi, eax
jne 0x14001bf60
jmp 0x14001bfc2
mov eax, dword [rsp + 0xa8]
test ebp, ebp
je 0x14001bfe6
cmp edi, eax
jne 0x14001bfe6
lea rdx, [0x14001b8d0]
lea rcx, [rsp + 0x30]
call fcn.14001b4f0
mov rax, qword [rsp + 0x30]
mov qword [rsi - 0x48], rax
jmp 0x14001c00c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Blob_WriteFile_failed__GLE_d._n
jmp 0x14001c002
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Header_WriteFile_failed__GLE_d._n
mov edx, eax
call fcn.14001a720
xor r14b, r14b
cmp byte [rsp + 0x48], 0
je 0x14001c01d
mov rcx, qword [rsp + 0x40]
call fcn.14001c4a0
movzx eax, r14b
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret