joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400dfd00
Capabilities:
Check http status code

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
mov rsi, rcx
xor r14b, r14b
call fcn.140006dc0
movzx edx, al
lea rcx, [rbp + 0x7f]
call fcn.140007130
nop
mov rdx, qword [rax]
xor r15d, r15d
mov qword [rbp - 1], r15
mov qword [rbp + 0xf], r15
mov qword [rbp + 0x17], 0xf
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop
inc r8
cmp byte [rdx + r8], r15b
jne 0x1400dfd50
lea rcx, [rbp - 1]
call fcn.140005be0
mov r12d, 1
mov r9d, r12d
lea r8d, [r12 + 0x4f]
lea rdx, [rbp - 1]
mov rcx, rsi
call fcn.1400de4e0
nop
mov rdx, qword [rbp + 0x7f]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, r12d
jg 0x1400dfd9a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
movzx eax, byte [rsi + 0x20]
test al, al
je 0x1400dff3a
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x3d], xmm0
mov qword [rbp - 0x2d], rax
mov dword [rbp - 0x25], eax
mov dword [rbp + 0x77], eax
mov word [rbp + 0x7b], ax
mov qword [rbp - 0x49], rax
mov dword [rbp - 0x41], eax
lea rcx, [rbp - 0x49]
call fcn.1400e7590
mov qword [rbp - 0x21], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], 0xf
mov byte [rbp - 0x21], 0
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400dfde1
mov r8, rdi
mov rdx, rax
lea rcx, [rbp - 0x21]
call fcn.140005be0
nop
lea rdi, [rbp - 0x49]
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
lea rdi, [rbp - 0x45]
mov ecx, 8
rep stosb byte [rdi], al
lea rbx, [rbp - 0x21]
cmp qword [rbp - 9], 0x10
cmovae rbx, qword [rbp - 0x21]
lea rcx, [rbp - 0x3d]
call fcn.1400e6830
mov rdi, rax
lea rcx, [rbp + 0x77]
call fcn.1400e47c0
mov r8, rax
mov dword [rsp + 0x30], 0x4080000
mov r9, rdi
mov rdx, rbx
mov rcx, qword [rsi + 0x30]
call fcn.14008fd60
mov rbx, rax
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x1400dfe8d
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400dfe88
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400dff50
call fcn.14011b7c4
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], 0xf
mov byte [rbp - 0x21], 0
lea rdi, [rbp + 0x77]
xor eax, eax
mov ecx, 2
rep stosb byte [rdi], al
lea rdi, [rbp + 0x79]
mov ecx, 4
rep stosb byte [rdi], al
lea rdi, [rbp - 0x3d]
mov ecx, 9
rep stosb byte [rdi], al
lea rdi, [rbp - 0x33]
mov ecx, 0x12
rep stosb byte [rdi], al
test rbx, rbx
je 0x1400dff14
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400903a0
mov dword [rbp + 0x67], r15d
mov dword [rbp + 0x6f], 4
lea r9, [rbp + 0x6f]
lea r8, [rbp + 0x67]
mov edx, 0x20000013
mov rcx, rbx
call fcn.140090190
movzx r14d, r14b
cmp dword [rbp + 0x67], 0xc8
cmove r14d, r12d
mov rcx, rbx
call fcn.14008ffb0
movzx eax, byte [rsi + 0x20]
test al, al
je 0x1400dff3a
mov rcx, qword [rsi + 0x30]
call fcn.14008ffb0
mov rcx, qword [rsi + 0x28]
call fcn.14008ffb0
mov byte [rsi + 0x20], 0
movzx eax, r14b
add rsp, 0xb0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14012be60
nop
int3
Function at 0x1400e8edd
Capabilities:
Encode data using xor

Disassembly:
xor byte [edi + 0x4c], cl
pop r14
invalid
jno 0x1400e8ecf
insb byte [rdi], dx
int1
imul ebp, eax, 0xee62ef6b
outsd dx, dword [rsi]
in al, dx
outsd dx, dword [rsi]
call 0x12971755a
imul ebp, edi, 0x6b
invalid

Function at 0x1400e9616
Capabilities:
Authenticate hmac

Disassembly:
jp 0x1400e9609
jno 0x1400e960d
jne 0x1400e960c
jnp 0x1400e9603
ja 0x1400e9608
jne 0x1400e9614
jb 0x1400e9609
jg 0x1400e960f
jge 0x1400e9610
jbe 0x1400e9617
jb 0x1400e961c
jl 0x1400e9619
je 0x1400e9618
invalid
jge 0x1400e9617
ja 0x1400e9619
or al, 0x7a
or edi, dword [rdx + 0x15]
jp 0x1400e961a
jp 0x1400e9626
adc eax, 0x1472137a
jp 0x1400e9626
jb 0x1400e9629
adc al, 0x76
jbe 0x1400e9643
insd dword [rdi], dx
and r15b, byte [rax]
cmp byte [rbx + 0x43], ch
xor eax, 0x67307143
outsd dx, dword [rsi]
and dword [rbp + rax*2 + 0x6d], eax
invalid

Function at 0x1400e9633
Capabilities:
Authenticate hmac

Disassembly:
and edi, dword [rbx]
sbb dh, byte [0x1752ccc5e]
and al, 0x36
sbb dword [rcx], edi
and eax, 0x1e3a1938
sub byte [rsi], sil
and al, 0x38
sbb al, 0x3f

Function at 0x1400ea14b
Capabilities:
Encode data using xor

Disassembly:
pop rsp
and word [rdi + rbx*2 + 0x25], cx
push rsp
and byte [rdx + 0x38], bh
imul sp, word gs:[rbp + 0x3a], 0x63
xor al, 0x64
pop rdi
push rcx
and eax, 0xe277d67a
jl 0x1400ea137
ja 0x1400ea135
invalid

Function at 0x1400eb928
Capabilities:
Authenticate hmac

Disassembly:
and al, 0x27
jnp 0x1400eb9ae
xor bh, byte [rax]
push r12
outsb dx, byte [rsi]
xor edx, dword [rsp + rdi*2 + 0x7d]
and ah, byte [rdx + 0x3d]

Function at 0x1400eb93e
Capabilities:
Authenticate hmac

Disassembly:
mov cl, 0x3c
mov cl, 0x3e
mov ch, 0x3c
lodsd eax, dword [rsi]
cmp ebp, dword [rcx + rdi + 0x45b146a7]

Function at 0x1400eb94c
Capabilities:
Authenticate hmac

Disassembly:
jge 0x1400eb9c0
and eax, 0x40536421
pop rsp
and esp, dword [rsi]
and al, 0x7a
jge 0x1400eb9ae
push rdi
pop rbp
invalid
sub r13d, dword [r14]
and al, 0x75
push rsp
push rsp
xor dh, byte [rsi + 0x50]
push rdx
pop rbp
push rsi
xor byte [rax + 0x5c], bh
push 0x253a795a
xor dword [rax + 0x76], esi
jo 0x1400eba3e
jae 0x1400eba44
js 0x1400eba36
jnp 0x1400eba37
jne 0x1400eba11
imul r15, qword [r15 + rdx*2 + 0x70], 0x24
jle 0x1400eba55
pop r14
jo 0x1400eba2e
sub byte [rbx + 0x6b], r11b
push rsi
jp 0x1400eba36
invalid
and al, 0x36
js 0x1400eba73
push r11
push rsp
ja fcn.1400eba75
sub dword [rdi], edi
outsd dx, dword [rsi]
cmp edi, dword cs:[rcx]
xor dword [rbx], esp
cmp bh, byte [rcx + 0x39]
jge 0x1400ebaa0
jo 0x1400eba9e
jo 0x1400eba92
xor bh, byte [rdi]
invalid
xor dh, byte [rax + 0x3d]
outsd dx, dword fs:[rsi]
imul r15, qword [r9], 0x38237a45
invalid
invalid
jo 0x1400ebaa5
xor dword [rcx + 0x75], eax
cmp esp, dword [rbx]
cmp al, 0x7a
outsd dx, dword [rsi]
push 0x51
invalid
int3
pop rdi
invalid
pop rbp
invalid
Function at 0x1400eb971
Capabilities:
Authenticate hmac

Disassembly:
imul ecx, dword [rsi + rax*2 + 0x55], 0x2c
imul esi, dword [rcx], 0x2a3c5660
cmp eax, 0x4d66463a
push rdi
imul ecx, dword [rbx + 0x48], 0x8a85824d
test dword [rdx - 0x7d747374], ecx
xchg byte [rdi + rcx*2], ah
and al, 0x4f
pop rcx
pop rsp
jp 0x1400eba09
and eax, 0x556b424a
sub eax, 0x54443965
cmp byte [r9 + 0x45], r11b
pop rcx
jne 0x1400eb958
invalid
cmp dword [rsi + 0x3637bc33], edi
invalid

Function at 0x1400eb987
Capabilities:
Authenticate hmac

Disassembly:
imul ecx, dword [rsi + rax*2 + 0x55], 0x2c
imul esi, dword [rcx], 0x2a3c5660
cmp eax, 0x4d66463a
push rdi
imul ecx, dword [rbx + 0x48], 0x8a85824d
test dword [rdx - 0x7d747374], ecx
xchg byte [rdi + rcx*2], ah
and al, 0x4f
pop rcx
pop rsp
jp 0x1400eba09
and eax, 0x556b424a
sub eax, 0x54443965
cmp byte [r9 + 0x45], r11b
pop rcx
jne 0x1400eb958
invalid
cmp dword [rsi + 0x3637bc33], edi
invalid

Function at 0x1400eb98f
Capabilities:
Authenticate hmac

Disassembly:
imul ecx, dword [rsi + rax*2 + 0x55], 0x2c
imul esi, dword [rcx], 0x2a3c5660
cmp eax, 0x4d66463a
push rdi
imul ecx, dword [rbx + 0x48], 0x8a85824d
test dword [rdx - 0x7d747374], ecx
xchg byte [rdi + rcx*2], ah
and al, 0x4f
pop rcx
pop rsp
jp 0x1400eba09
and eax, 0x556b424a
sub eax, 0x54443965
cmp byte [r9 + 0x45], r11b
pop rcx
jne 0x1400eb958
invalid
cmp dword [rsi + 0x3637bc33], edi
invalid

Function at 0x1401105d4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1400f8e32
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1400f8e15
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1400f8e00
Function at 0x140139e90
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x140139be0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140139be0
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140139be0
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140139be0
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140139be0
cmp dword [rcx + 0x84], 0xe
jbe 0x140139be0
cmp dword [rcx + 0xf8], esi
je 0x140139be0
mov ecx, r14d
call fcn.140139da4
mov ecx, 2
call fcn.14013eec8
nop
cmp byte [0x1401a0c38], 0
jne 0x140139caa
mov r15d, 1
mov eax, r15d
xchg dword [0x1401a0c28], eax
test ebx, ebx
jne 0x140139c53
mov rdi, qword [0x14019e038]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x1401a0c30]
cmp rcx, rax
je 0x140139c4a
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140004020]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x1401a11c0]
jmp 0x140139c5f
cmp ebx, r15d
jne 0x140139c65
lea rcx, [0x1401a11d8]
call fcn.14014d03c
nop
test ebx, ebx
jne 0x140139c7c
lea rdx, [0x14016c688]
lea rcx, [0x14016c668]
call fcn.14014d5c8
lea rdx, [0x14016c698]
lea rcx, [0x14016c690]
call fcn.14014d5c8
movzx eax, byte [0x1401a0c38]
test esi, esi
cmove eax, r15d
mov byte [0x1401a0c38], al
jmp 0x140139caa
mov ecx, 2
call fcn.14013ef1c
test esi, esi
jne 0x140139cc1
mov ecx, r14d
call fcn.140139cdc
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x140139b70
Function at 0x140155514
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x140155140
call fcn.14012bfec
mov dword [rax], 0x16
call fcn.14012be40
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140155128
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x140155128
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x140155172
lock or dword [rax + 0x14], 0x10
jmp 0x140155128
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x14015518f
mov rcx, qword [rbp + 0x10]
call fcn.140157260
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.14015149c
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1401568e8
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x1401551e6
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x140155128
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x140155252
mov rcx, qword [rbp + 0x10]
call fcn.14015149c
cmp eax, 0xffffffff
je 0x140155239
mov rcx, qword [rbp + 0x10]
call fcn.14015149c
cmp eax, 0xfffffffe
je 0x140155239
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.14015149c
movsxd rdi, eax
lea rsi, [0x1401a18a0]
mov rcx, rbx
sar rdi, 6
call fcn.14015149c
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x140155240
lea rax, [0x14019e400]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140155252
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x140155288
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x140155284
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x140155284
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x14015512b
jmp 0x1401550f8
Function at 0x14001cc70
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x10090
call fcn.1400452b0
sub rsp, rax
mov rax, qword [0x14005d040]
xor rax, rsp
mov qword [rsp + 0x10080], rax
movzx eax, byte [rcx]
lea rbx, [rsp + 0x30]
xor ebp, ebp
mov rsi, rcx
mov word [rsp + 0x80], bp
mov edi, 0x28
mov word [rsp + 0x30], bp
test al, al
je 0x14001cd32
nop dword [rax]
nop word [rax + rax]
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], bpl
lea rcx, [rsp + 0x24]
call fcn.1400396b4
cmp rax, 1
jne 0x14001cd8e
mov rcx, rdi
mov rax, rbx
cmp word [rbx], bp
je 0x14001cd0f
add rax, 2
dec rcx
cmp word [rax], bp
jne 0x14001cd03
cmp rcx, 1
jb 0x14001cd8e
movzx ecx, word [rsp + 0x24]
inc rsi
mov word [rax], cx
add rbx, 2
mov word [rax + 2], bp
dec rdi
movzx eax, byte [rsi]
test al, al
jne 0x14001ccd0
mov r8d, 0x10000
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0xffff
ja 0x14001cd63
lea rcx, [rsp + 0x80]
call fcn.14003aac0
jmp 0x14001cd65
xor eax, eax
mov rcx, qword [rsp + 0x10080]
xor rcx, rsp
call fcn.14002ac10
lea r11, [rsp + 0x10090]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.14002e370
int3

Function at 0x14001cda0
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x14005d040]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor ebp, ebp
lea rsi, str.NUITKA_PYTHONPATH
mov word [rsp + 0x30], bp
lea rbx, [rsp + 0x30]
mov edi, 0x28
mov al, 0x4e
nop dword [rax]
nop word [rax + rax]
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], bpl
lea rcx, [rsp + 0x24]
call fcn.1400396b4
cmp rax, 1
jne 0x14001ce85
mov rcx, rdi
mov rax, rbx
cmp word [rbx], bp
je 0x14001ce2c
nop
add rax, 2
dec rcx
cmp word [rax], bp
jne 0x14001ce20
cmp rcx, 1
jb 0x14001ce85
movzx ecx, word [rsp + 0x24]
inc rsi
mov word [rax], cx
add rbx, 2
mov word [rax + 2], bp
dec rdi
movzx eax, byte [rsi]
test al, al
jne 0x14001cdf0
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14002ac10
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.14002e370
int3
Function at 0x140025bb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp byte [0x1400621d6], 0
mov rsi, r8
mov rdi, rdx
mov rbp, rcx
jne 0x140025c33
mov edx, 3
xor ecx, ecx
mov r8d, 0xa
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [0x140062008], rax
mov ebx, dword [rax]
lea rdx, [rax + 4]
mov qword [0x140062008], rdx
mov r8d, dword [rdx]
add rdx, 4
mov qword [0x140062008], rdx
call fcn.140023f30
cmp eax, ebx
jne 0x140025d9d
mov byte [0x1400621d6], 1
lea rdx, [0x1400503b0]
mov rcx, rsi
call fcn.1400453f0
test eax, eax
je 0x140025cbe
cmp byte [0x1400621d7], 1
je 0x140025cbe
call qword [sym.imp.python312.dll_PyDict_New]
mov qword [0x1400628c0], rax
call qword [sym.imp.python312.dll_PyDict_New]
mov qword [0x140062d80], rax
call qword [sym.imp.python312.dll_PyDict_New]
mov qword [0x1400625d0], rax
call qword [sym.imp.python312.dll_PyDict_New]
mov qword [0x140062530], rax
call qword [sym.imp.python312.dll_PyDict_New]
mov qword [0x140062dd8], rax
call qword [sym.imp.python312.dll_PyDict_New]
mov qword [0x140062668], rax
call qword [sym.imp.python312.dll_PyDict_New]
mov qword [0x140062d88], rax
call qword [sym.imp.python312.dll_PyDict_New]
mov qword [0x140062d98], rax
mov byte [0x1400621d7], 1
mov r8, qword [0x140062008]
mov rax, rsi
mov rdx, r8
sub rdx, rsi
nop
movzx ecx, byte [rax]
xor r9d, r9d
cmp cl, byte [rax + rdx]
jne 0x140025ce7
inc rax
test cl, cl
jne 0x140025cd0
mov ecx, r9d
jmp 0x140025cec
sbb ecx, ecx
or ecx, 1
mov rax, 0xffffffffffffffff
cmp byte [r8 + rax + 1], r9b
lea rax, [rax + 1]
jne 0x140025cf3
lea rdx, [r8 + rax]
mov eax, dword [r8 + rax + 1]
add rdx, 5
test ecx, ecx
je 0x140025d58
nop
add rdx, rax
mov rax, rsi
mov r8, rdx
sub r8, rsi
nop dword [rax]
movzx ecx, byte [rax]
cmp cl, byte [rax + r8]
jne 0x140025d35
inc rax
test cl, cl
jne 0x140025d20
mov ecx, r9d
jmp 0x140025d3a
sbb ecx, ecx
or ecx, 1
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], r9b
jne 0x140025d41
add rdx, rax
mov eax, dword [rdx + 1]
add rdx, 5
test ecx, ecx
jne 0x140025d10
movzx ecx, word [rdx]
lea rax, [rdx + 2]
cmp r9w, cx
jae 0x140025d88
mov ebx, ecx
nop word [rax + rax]
mov r8, rax
mov rdx, rdi
mov rcx, rbp
call fcn.140024c30
add rdi, 8
sub rbx, 1
jne 0x140025d70
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
lea rcx, str.Error__corrupted_constants_object
call fcn.1400361e4
call fcn.14002e370
int3

Function at 0x14002b61c
Capabilities:
Parse pe header

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

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14002e53b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002e53b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002e53b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002e53b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002e53b
cmp dword [rcx + 0x84], 0xe
jbe 0x14002e53b
cmp dword [rcx + 0xf8], 0
je 0x14002e53b
mov ecx, ebx
call fcn.14002e5ec
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14002e3c8
nop
cmp dword [rbp + 0x20], 0
je 0x14002e589
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14002e594
int3
xor r8d, r8d
xor edx, edx
jmp 0x14002e4cc

Function at 0x14002e6d0
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14002e53b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002e53b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002e53b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002e53b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002e53b
cmp dword [rcx + 0x84], 0xe
jbe 0x14002e53b
cmp dword [rcx + 0xf8], 0
je 0x14002e53b
mov ecx, ebx
call fcn.14002e5ec
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14002e3c8
nop
cmp dword [rbp + 0x20], 0
je 0x14002e589
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14002e594
int3
xor r8d, r8d
xor edx, edx
jmp 0x14002e4cc
Function at 0x14003f3e8
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14003f46f
mov rsi, rbx
cmp word [rax], bp
je 0x14003f42e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14003f418
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14003f414
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14003cff0
mov rdi, rax
test rax, rax
je 0x14003f45c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140045890
mov rbp, rdi
xor ecx, ecx
call fcn.14003b12c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140041718
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14004172e
mov al, 1
jmp 0x14004178e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14004173f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14004178c
mov ecx, dword [rcx + 0x18]
nop
call fcn.14003f730
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004178c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14004178c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14004178c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14004178e
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x1400451c0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400451e8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400451e8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400046ac
Capabilities:
Read file on windows

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, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x1400046da
xor eax, eax
jmp 0x1400047c0
cmp qword [rcx + 0x68], 0
je 0x1400046eb
call fcn.1400047dc
jmp 0x1400047c0
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140004702
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140004704
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140004736
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.14001e5f0
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x1400047ba
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x14000476d
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x140004796
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.14000c568
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x1400047ba
cmp rsi, rbx
ja 0x140004774
test rsi, rsi
je 0x1400047ba
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14000c568
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140006688
Capabilities:
Parse pe header

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