joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140096650
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x240
xor esi, esi
mov dword [r11 + 0x10], 0xff
lea rax, [r11 + 0x20]
xor edx, edx
mov qword [rsp + 0x38], rax
lea r9, [r11 + 0x10]
mov qword [rsp + 0x30], rsi
lea r8, [rsp + 0x40]
mov qword [rsp + 0x28], rsi
mov rdi, rcx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x14009675c
nop
mov rax, qword [0x14011c188]
lea rdx, [rsp + 0x40]
xor r8d, r8d
mov rcx, rdi
mov r9d, dword [rax + 0xb0]
lea rax, [rsp + 0x270]
or r9d, 0x20019
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x140096769
mov rcx, qword [rsp + 0x270]
call fcn.140096650
mov rcx, qword [rsp + 0x270]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140096769
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
test eax, eax
jne 0x140096769
lea rax, [rsp + 0x278]
mov dword [rsp + 0x268], 0xff
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x268]
mov qword [rsp + 0x30], rsi
lea r8, [rsp + 0x40]
mov qword [rsp + 0x28], rsi
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x1400966a0
xor eax, eax
add rsp, 0x240
pop rdi
pop rsi
pop rbx
ret
mov eax, ebx
add rsp, 0x240
pop rdi
pop rsi
pop rbx
ret

Function at 0x140098190
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx + 0x40]
lea r9, [rsp + 0x40]
xor eax, eax
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rsp + 0x40]
add rsp, 0x38
ret

Function at 0x14009bbc0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x10020
call fcn.1400d7a10
sub rsp, rax
mov rdi, rdx
lea rcx, str.ComSpec
lea rdx, [rsp + 0x20]
mov r8d, 0x7fff
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ebx, eax
test eax, eax
je 0x14009bc29
lea rcx, [rbx + 1]
cmp rcx, 0x7fff
ja 0x14009bc29
lea r8, [rbx*2 + 2]
mov rcx, rdi
lea rdx, [rsp + 0x20]
call fcn.1400b9890
mov eax, ebx
mov rbx, qword [rsp + 0x10030]
add rsp, 0x10020
pop rdi
ret
xor eax, eax
mov word [rdi], ax
mov eax, ebx
mov rbx, qword [rsp + 0x10030]
add rsp, 0x10020
pop rdi
ret
Function at 0x1400a1b60
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x1890]
test rcx, rcx
je 0x1400a1c43
mov eax, dword [rbx]
test eax, eax
je 0x1400a1c43
mov qword [rsp + 0x38], rsi
xor esi, esi
mov qword [rsp + 0x40], rdi
test al, 1
jne 0x1400a1b9f
mov rax, qword [rbx + 0x1018]
cmp word [rax], si
je 0x1400a1bbd
mov r8d, 0x7fff
lea rdx, [rbx + 0x189c]
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x1400a1bbd
mov word [rbx + 0x189c], si
test byte [rbx], 4
je 0x1400a1bd6
mov rcx, qword [rbx + 0x1890]
lea rdx, [rbx + 0x1898]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test byte [rbx], 0x20
je 0x1400a1c14
mov rcx, qword [rbx + 0x1890]
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x1400a1c14
movzx r9d, byte [rbx + 0x1850]
lea rdx, [rbx + 0x11a9c]
mov ecx, dword [rsp + 0x30]
call fcn.140031b40
test eax, eax
jne 0x1400a1c14
mov word [rbx + 0x11a9c], si
test byte [rbx], 8
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
je 0x1400a1c43
mov rcx, qword [rbx + 0x1890]
lea rdx, [rbx + 0x1189a]
mov r8d, 0x101
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_GetClassNameW]
add rsp, 0x20
pop rbx
ret

Function at 0x1400a2120
Capabilities:
Check for foreground window switch
Check for time delay via gettickcount
Get graphical window text
Log keystrokes via polling

Disassembly:
sub rsp, 0x38
cmp qword [0x140122d78], 0
mov rax, qword [0x14011c188]
mov byte [rax + 0x7f], 1
je 0x1400a21f8
movzx r8d, byte [0x140122e84]
mov qword [rsp + 0x30], rbx
movzx eax, r8b
and al, 0xc0
neg al
sbb ecx, ecx
and ecx, 8
mov edx, ecx
or edx, 1
test r8b, 0xc
cmove edx, ecx
mov ecx, edx
or ecx, 4
test r8b, 0x30
cmove ecx, edx
mov r9d, ecx
or r9d, 2
test r8b, 3
cmove r9d, ecx
mov eax, r9d
and al, 2
neg al
sbb al, al
and al, 3
movzx edx, al
movzx eax, dl
or al, 0x30
test r9b, 4
movzx ebx, al
cmove ebx, edx
or bl, 0xcc
not bl
and bl, byte [0x140122e82]
je 0x1400a21f3
cmp r9d, 8
jne 0x1400a21d6
movzx r8d, word [0x14011cb34]
xor r9d, r9d
movzx edx, byte [reloc.OLEAUT32.dll_SafeArrayGetElemsize]
mov dword [rsp + 0x28], 0xffc3d44d
mov byte [rsp + 0x20], 0
lea ecx, [r9 + 2]
call fcn.14001fbb0
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
xor r8d, r8d
mov byte [rsp + 0x20], 0
movzx edx, bl
xor ecx, ecx
call fcn.140021ec0
mov rbx, qword [rsp + 0x30]
mov ecx, 0x4bf
call qword [sym.imp.USER32.dll_GetQueueStatus]
shr eax, 0x10
test ax, ax
je 0x1400a221c
mov edx, 1
lea ecx, [rdx - 2]
add rsp, 0x38
jmp fcn.140001710
add rsp, 0x38
ret
Function at 0x1400a26b0
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x11bd0]
mov eax, 0x11cd0
call fcn.1400d7a10
sub rsp, rax
cmp qword [rcx + 0x10], 0
movzx r14d, dl
mov rsi, rcx
je 0x1400a28fa
xor ebx, ebx
mov byte [rcx], 1
cmp qword [0x1401244e8], rcx
je 0x1400a2706
mov qword [0x1401244e8], rcx
mov dword [0x1401244f8], ebx
cmp qword [0x1401244f0], rbx
jne 0x1400a2729
mov ecx, 0xfa0
call fcn.140096e00
test rax, rax
je 0x1400a2919
mov qword [0x1401244f0], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, qword [0x14011c188]
mov rcx, rsi
sub r8, 0xffffffffffffff80
mov rdx, rax
mov rdi, rax
call fcn.1400a2b60
mov ecx, dword [0x1401244f8]
test rax, rax
mov dword [rbp + 0x1774], ebx
setne r15b
mov qword [rbp + 0x1778], rbx
test rax, rax
mov qword [rbp + 0x1780], rbx
mov qword [rbp + 0x1798], rbx
cmove ecx, ebx
mov qword [rbp + 0x17a8], rbx
mov dword [0x1401244f8], ecx
mov qword [rbp + 0x17b0], rbx
test r14b, r14b
je 0x1400a279a
mov byte [rbp + 0x1771], bl
test r15b, r15b
je 0x1400a27a1
mov byte [rbp + 0x1771], 1
mov rax, qword [0x14011c188]
lea rdx, [0x1400f9b50]
mov r8, qword [0x1401244f0]
mov qword [rbp + 0x1788], r8
mov dword [rbp + 0x1790], ecx
mov qword [rbp + 0xf38], rdx
mov qword [rbp + 0xf40], rbx
mov qword [rbp + 0xf48], rdx
mov qword [rbp + 0xf50], rdx
test rax, rax
je 0x1400a27ef
sub rax, 0xffffffffffffff80
mov qword [rsp + 0x28], rax
jmp 0x1400a27f4
mov qword [rsp + 0x28], rbx
test ecx, ecx
mov qword [rbp + 0xf68], rsi
mov dword [rsp + 0x20], reloc.WSOCK32.dll_recv
setg sil
nop dword [rax]
test r15b, r15b
je 0x1400a2846
mov edx, ebx
test ecx, ecx
jle 0x1400a282f
mov rax, r8
nop
cmp qword [rax], rdi
je 0x1400a2846
inc edx
add rax, 8
cmp edx, ecx
jl 0x1400a2820
cmp ecx, 0x1f4
jge 0x1400a2846
movsxd rax, ecx
inc ecx
mov dword [0x1401244f8], ecx
mov qword [r8 + rax*8], rdi
mov dword [rbp + 0x1790], ecx
lea rdx, [rsp + 0x20]
lea rcx, [0x1400a0820]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rbp + 0x1778]
test rcx, rcx
jne 0x1400a2887
test sil, sil
je 0x1400a28fa
mov r8, qword [0x1401244f0]
mov ecx, ebx
mov dword [0x1401244f8], ebx
xor sil, sil
jmp 0x1400a2810
call fcn.14009f730
movsxd rcx, dword [0x1401244f8]
mov rdx, qword [rbp + 0x1778]
mov r8, qword [0x1401244f0]
test ecx, ecx
jle 0x1400a28b7
mov rax, r8
cmp qword [rax], rdx
je 0x1400a28d2
inc ebx
add rax, 8
cmp ebx, ecx
jl 0x1400a28a8
cmp ecx, 0x1f4
jge 0x1400a28d2
mov qword [r8 + rcx*8], rdx
inc ecx
mov rdx, qword [rbp + 0x1778]
mov dword [0x1401244f8], ecx
mov rax, qword [0x14011c188]
mov ecx, dword [rax + 0x90]
cmp ecx, 0xffffffff
jle 0x1400a28f5
mov edx, 1
call fcn.140001710
mov rdx, qword [rbp + 0x1778]
mov rax, rdx
jmp 0x1400a28fc
xor eax, eax
lea r11, [rsp + 0x11cd0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140011000
int3
Function at 0x1400a2920
Capabilities:
Enumerate gui resources
Find taskbar

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
mov eax, 0x11cd0
call fcn.1400d7a10
sub rsp, rax
xor ebx, ebx
mov byte [rcx], 0
cmp qword [0x1401244e8], rcx
movzx ebp, dl
mov rdi, rcx
je 0x1400a2959
mov qword [0x1401244e8], rcx
mov dword [0x1401244f8], ebx
cmp qword [0x1401244f0], rbx
jne 0x1400a297c
mov ecx, 0xfa0
call fcn.140096e00
test rax, rax
je 0x1400a2b4f
mov qword [0x1401244f0], rax
mov qword [rsp + 0x11ce0], rsi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov edx, 4
mov rsi, rax
call qword [sym.imp.USER32.dll_GetWindow]
test rax, rax
je 0x1400a29b6
mov edx, 4
mov rcx, rax
mov rsi, rax
call qword [sym.imp.USER32.dll_GetWindow]
test rax, rax
jne 0x1400a29a0
mov r8, qword [0x14011c188]
mov rdx, rsi
sub r8, 0xffffffffffffff80
mov rcx, rdi
call fcn.1400a2b60
mov ecx, dword [0x1401244f8]
test rax, rax
lea rax, [0x1400f9b50]
mov dword [rsp + 0x20], ebx
cmovne ecx, ebx
mov qword [rsp + 0x1038], rax
mov dword [0x1401244f8], ecx
mov dword [rsp + 0x1874], ebx
mov qword [rsp + 0x1878], rbx
mov qword [rsp + 0x1880], rbx
mov qword [rsp + 0x18a8], rbx
mov qword [rsp + 0x18b0], rbx
test bpl, bpl
je 0x1400a2a28
mov byte [rsp + 0x1871], bl
test ecx, ecx
je 0x1400a2a30
mov byte [rsp + 0x1871], 1
mov rax, qword [0x1401244f0]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x1888], rax
mov rax, qword [rdi + 0x10]
mov dword [rsp + 0x1890], ecx
lea rcx, [0x1400a2c60]
mov qword [rsp + 0x1898], rax
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rsp + 0x1878]
test rcx, rcx
je 0x1400a2ae1
call qword [sym.imp.USER32.dll_GetLastActivePopup]
mov rcx, rax
call fcn.14009f730
movsxd rcx, dword [0x1401244f8]
mov rdx, qword [rsp + 0x1878]
mov r8, qword [0x1401244f0]
test ecx, ecx
jle 0x1400a2aaf
mov rax, r8
nop dword [rax]
cmp qword [rax], rdx
je 0x1400a2ac3
inc ebx
add rax, 8
cmp ebx, ecx
jl 0x1400a2aa0
cmp ecx, 0x1f4
jge 0x1400a2ac3
mov qword [r8 + rcx*8], rdx
inc ecx
mov dword [0x1401244f8], ecx
mov rax, qword [0x14011c188]
mov ecx, dword [rax + 0x90]
cmp ecx, 0xffffffff
jle 0x1400a2b32
mov edx, 1
call fcn.140001710
jmp 0x1400a2b32
mov eax, dword [0x1401244f8]
test eax, eax
je 0x1400a2b1b
cmp eax, 1
mov dword [0x1401244f8], ebx
setg al
test al, al
je 0x1400a2b32
mov rax, qword [0x1401244f0]
xor edx, edx
mov rcx, rdi
mov dword [0x1401244f8], 1
mov qword [rax], rsi
call fcn.1400a2920
jmp 0x1400a2b32
xor edx, edx
lea rcx, str.Shell_TrayWnd
call qword [sym.imp.USER32.dll_FindWindowW]
mov rcx, rax
call fcn.14009f730
mov rsi, qword [rsp + 0x11ce0]
lea r11, [rsp + 0x11cd0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.140011000
int3
Function at 0x140001487
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1401f1640]
mov dword [rax], 1
mov rax, qword [0x1401f1650]
mov dword [rax], 1
mov rax, qword [0x1401f1660]
mov dword [rax], 1
mov rax, qword [0x1401f15c0]
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 0x140144070
Capabilities:
Query environment variable

Disassembly:
push r13
mov eax, 0x10078
push r12
call fcn.1401cca30
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.140168b20
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 0x1401440d1
mov rcx, r13
call sub.msvcrt.dll__wcsdup
add rsp, 0x10078
pop r12
pop r13
ret

Function at 0x1401440e0
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.140168b20
mov rdx, r12
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
nop
add rsp, 0x78
pop r12
pop r13
ret
Function at 0x140144230
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.140162f20
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 0x1401442ea
mov rdx, r14
mov rcx, rbx
call fcn.1401440e0
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 0x14014432c
sub qword [r14], 1
jne 0x1401442b1
mov rcx, r14
call fcn.1401441a0
sub qword [r13], 1
jne 0x1401442c0
mov rcx, r13
call fcn.1401441a0
sub qword [r12], 1
jne 0x1401442dc
mov rcx, r12
add rsp, 0x70
pop rbx
pop r12
pop r13
pop r14
pop r15
jmp fcn.1401441a0
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.140168b20
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 0x1401442b1
mov rcx, r15
call fcn.1401441b0
jmp 0x1401442b1
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 0x1401c1b80
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 [0x140210cd9], 0
mov r12, rcx
mov r13, rdx
mov rdi, r8
je 0x1401c1c08
lea rdx, [0x1401efb3a]
mov rcx, rdi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1401c1d20
mov rsi, qword [0x140210b98]
jmp 0x1401c1bc5
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 0x1401c1bc0
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.1401af760
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 [0x140210b98], rax
mov rdx, rax
mov r9d, dword [rax]
lea rax, [rax + 4]
mov qword [0x140210b98], rax
mov eax, dword [rdx + 4]
lea rcx, [rdx + 8]
mov qword [0x140210b98], rcx
test eax, eax
je 0x1401c1d08
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 0x1401c1c70
not eax
cmp r9d, eax
jne 0x1401c1db9
mov byte [0x140210cd9], 1
jmp 0x1401c1b9e
cmp byte [0x140210cd8], 0
jne 0x1401c1bb5
mov rbx, qword [sym.imp.python38.dll_PyDict_New]
lea rsi, [0x140210388]
call rbx
mov qword [0x140211608], rax
call rbx
mov qword [0x140211600], rax
call rbx
mov qword [0x1402115f8], rax
call rbx
mov qword [0x1402115f0], rax
call rbx
mov qword [0x1402115e8], rax
call rbx
mov qword [0x1402115e0], rax
call rbx
mov qword [0x1402115d8], rax
call rbx
mov rbp, qword [sym.imp.python38.dll_PyLong_FromLong]
mov rbx, 0xfffffffffffffffb
mov qword [0x1402115d0], rax
nop dword [rax]
mov ecx, ebx
call rbp
mov qword [rsi + rbx*8], rax
add rbx, 1
cmp rbx, 0x101
jne 0x1401c1d98
mov byte [0x140210cd8], 1
jmp 0x1401c1bb5
lea rcx, str.Error__corrupted_constants_object
call sub.msvcrt.dll_puts
call sub.msvcrt.dll_abort
nop
nop dword [rax + rax]
Function at 0x1401cb730
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.1401dc9f0
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.1401dc9f0
mov r8, rbx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x1401cc3e2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140211a68]
test eax, eax
je 0x1401cc47a
lea rax, [0x140211a40]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140211a70]
mov qword [rbp - 8], rax
jmp 0x1401cc45e
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 0x1401cc452
cmp qword [rbp - 0x10], 0
je 0x1401cc452
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 0x1401cc418
lea rax, [0x140211a40]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1401cc47b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1401cc580
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 0x1401cc5a8
mov eax, 0
jmp 0x1401cc5f6
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 0x1401cc5d1
mov eax, 0
jmp 0x1401cc5f6
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 0x1401cc5f1
mov eax, 0
jmp 0x1401cc5f6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x1401cc5fc
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 0x1401cc67a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1401cc671
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 0x1401cc671
mov rax, qword [rbp - 8]
jmp 0x1401cc68f
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 0x1401cc644
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400155d0
Capabilities:
Parse pe header

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

Function at 0x140018cb8
Capabilities:
Parse pe header

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

Function at 0x14001a370
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001a398
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001a398
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140020768
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140020798
xor eax, eax
jmp 0x14002085b
mov rbp, rbx
cmp word [rax], si
je 0x1400207bd
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400207a4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400207a0
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400206b8
movsxd r14, eax
test eax, eax
jne 0x1400207fb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140020791
mov rcx, r14
call fcn.14001d2b4
mov rdi, rax
test rax, rax
jne 0x140020814
xor ecx, ecx
call fcn.14001c32c
jmp 0x1400207f0
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400206b8
test eax, eax
jne 0x140020845
mov rcx, rdi
call fcn.14001c32c
jmp 0x14002084f
xor ecx, ecx
call fcn.14001c32c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret