joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46cb70
Capabilities:
Set registry value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
mov rbp, rsp
mov rbx, rdx
mov rsi, r8
mov rdi, r9
call fcn.0040c260
mov rcx, rdi
mov rdx, rax
xor r8, r8
lea r9, [0x0046cc48]
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0x2001f
mov qword [rsp + 0x30], 0
lea rax, [rbp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x54]
mov qword [rsp + 0x40], rax
call sub.advapi32.dll_RegCreateKeyExW
mov edi, eax
test edi, edi
jne 0x46cc1c
xor rdi, rdi
test rsi, rsi
je 0x46cbda
mov edi, dword [rsi - 4]
mov rcx, rbx
call fcn.0040c260
mov rbx, rax
mov rcx, rsi
call fcn.0040c260
mov rcx, qword [rbp + 0x58]
mov rdx, rbx
xor r8, r8
mov r9d, 1
mov qword [rsp + 0x20], rax
add edi, 1
add edi, edi
mov dword [rsp + 0x28], edi
call sub.advapi32.dll_RegSetValueExW
mov edi, eax
mov rcx, qword [rbp + 0x58]
call sub.advapi32.dll_RegCloseKey_1
test edi, edi
je 0x46cc3d
mov rcx, qword [0x004698f8]
mov dl, 1
mov r8, qword [0x0048d4c8]
call fcn.0042b330
mov rcx, rax
call fcn.0040a090
lea rsp, [rbp + 0x68]
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x46cc50
Capabilities:
Delete registry key

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
call fcn.0040c260
mov rcx, rbx
mov rdx, rax
call sub.advapi32.dll_RegDeleteKeyW
add rsp, 0x20
pop rbx
ret

Function at 0x476220
Capabilities:
Get file version info

Disassembly:
push rbp
sub rsp, 0x60
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x70], rcx
mov qword [rbp + 0x78], rdx
mov qword [rbp + 0x80], r8
mov qword [rbp + 0x88], r9
mov rcx, qword [rbp + 0x70]
call fcn.0040aeb0
nop
mov byte [rbp + 0x53], 0
mov rcx, qword [rbp + 0x70]
call fcn.0040c260
mov rcx, rax
lea rdx, [rbp + 0x3c]
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [rbp + 0x4c], eax
cmp dword [rbp + 0x4c], 0
je 0x476314
mov ecx, dword [rbp + 0x4c]
call fcn.00405980
mov qword [rbp + 0x58], rax
nop
mov rcx, qword [rbp + 0x70]
call fcn.0040c260
mov rcx, rax
xor rdx, rdx
mov r8d, dword [rbp + 0x4c]
mov r9, qword [rbp + 0x58]
call sub.version.dll_GetFileVersionInfoW
mov rcx, qword [rbp + 0x58]
lea rdx, [0x004763a0]
lea r8, [rbp + 0x40]
lea r9, [rbp + 0x54]
call sub.version.dll_VerQueryValueW
mov rax, qword [rbp + 0x78]
mov rcx, qword [rbp + 0x40]
mov ecx, dword [rcx + 8]
shr ecx, 0x10
mov dword [rax], ecx
mov rax, qword [rbp + 0x80]
mov rcx, qword [rbp + 0x40]
mov ecx, dword [rcx + 8]
and ecx, 0xffff
mov dword [rax], ecx
mov rax, qword [rbp + 0x88]
mov rcx, qword [rbp + 0x40]
mov ecx, dword [rcx + 0xc]
shr ecx, 0x10
mov dword [rax], ecx
mov rax, qword [rbp + 0x90]
mov rcx, qword [rbp + 0x40]
mov ecx, dword [rcx + 0xc]
and ecx, 0xffff
mov dword [rax], ecx
nop
mov rcx, qword [rbp + 0x58]
mov edx, dword [rbp + 0x54]
call fcn.004059b0
mov byte [rbp + 0x53], 1
nop
lea rcx, [rbp + 0x70]
call fcn.0040ad20
movzx rax, byte [rbp + 0x53]
lea rsp, [rbp + 0x60]
pop rbp
ret
Function at 0x4774e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
mov rbp, rsp
mov edi, ecx
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
jmp 0x47753f
lea rcx, [rbp + 0x30]
xor rdx, rdx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 1
call sub.user32.dll_PeekMessageW
test eax, eax
je 0x47752d
lea rcx, [rbp + 0x30]
call sub.user32.dll_TranslateMessage
lea rcx, [rbp + 0x30]
call sub.user32.dll_DispatchMessageW
mov ecx, 1
call sub.kernel32.dll_Sleep_1
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
sub ebx, esi
cmp ebx, edi
jl 0x4774fd
lea rsp, [rbp + 0x68]
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x478f60
Capabilities:
Encrypt data using rc6

Disassembly:
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0x60
mov rcx, qword [0x00497548]
lea rdx, [rsp + 0x20]
mov r8d, 0x40
call fcn.00405d40
mov dword [0x00497490], 0xb7e15163
mov ebx, 1
lea rax, [0x00497490]
movsxd rcx, ebx
lea rdx, [0x0049748c]
movsxd r8, ebx
mov edx, dword [rdx + r8*4]
add edx, 0x9e3779b9
mov dword [rax + rcx*4], edx
add ebx, 1
cmp ebx, 0x2c
jne 0x478f93
nop
xor rbx, rbx
xor rsi, rsi
xor r13, r13
xor r14, r14
mov edi, 1
lea rax, [0x00497490]
movsxd rcx, ebx
mov ecx, dword [rax + rcx*4]
add ecx, r13d
add ecx, r14d
mov edx, 3
call fcn.00478da0
mov r13d, eax
lea rax, [0x00497490]
movsxd rcx, ebx
mov dword [rax + rcx*4], r13d
movsxd rax, esi
mov ecx, dword [rsp + rax*4 + 0x20]
add ecx, r13d
add ecx, r14d
mov edx, r13d
add edx, r14d
call fcn.00478da0
mov r14d, eax
movsxd rax, esi
mov dword [rsp + rax*4 + 0x20], r14d
mov eax, ebx
add eax, 1
mov ecx, 0x2c
cdq
idiv ecx
mov rbx, rdx
mov eax, esi
add eax, 1
mov ecx, 0x10
cdq
idiv ecx
mov rsi, rdx
add edi, 1
cmp edi, 0x85
jne 0x478fcf
nop
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop r13
pop r14
ret
Function at 0x479110
Capabilities:
Encode data using xor

Disassembly:
push r13
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov eax, dword [0x0049753c]
sub dword [rbx + 8], eax
mov eax, dword [0x00497538]
sub dword [rbx], eax
mov esi, 0x14
mov eax, dword [rbx + 0xc]
mov ecx, dword [rbx + 8]
mov dword [rbx + 0xc], ecx
mov ecx, dword [rbx + 4]
mov dword [rbx + 8], ecx
mov ecx, dword [rbx]
mov dword [rbx + 4], ecx
mov dword [rbx], eax
mov eax, dword [rbx + 0xc]
add eax, eax
add eax, 1
mov ecx, dword [rbx + 0xc]
imul ecx, eax
mov edx, 5
call fcn.00478da0
mov r13d, eax
mov eax, dword [rbx + 4]
add eax, eax
add eax, 1
mov ecx, dword [rbx + 4]
imul ecx, eax
mov edx, 5
call fcn.00478da0
mov edi, eax
lea rax, [0x00497494]
mov ecx, esi
add ecx, ecx
movsxd rcx, ecx
mov edx, dword [rbx + 8]
sub edx, dword [rax + rcx*4]
mov ecx, edx
mov edx, edi
call fcn.00478dc0
xor eax, r13d
mov dword [rbx + 8], eax
lea rax, [0x00497490]
mov ecx, esi
add ecx, ecx
movsxd rcx, ecx
mov edx, dword [rbx]
sub edx, dword [rax + rcx*4]
mov ecx, edx
mov edx, r13d
call fcn.00478dc0
xor eax, edi
mov dword [rbx], eax
sub esi, 1
test esi, esi
jne 0x479133
nop
lea rax, [rbx + 0xc]
mov ecx, dword [0x00497494]
sub dword [rax], ecx
lea rax, [rbx + 4]
mov ecx, dword [0x00497490]
sub dword [rax], ecx
mov al, 1
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r13
ret
Function at 0x1800026f0
Capabilities:
Create process on windows
Delete file
Write and execute a file
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x180008040]
xor rax, rsp
mov qword [rbp], rax
cmp edx, 1
jne 0x180002780
lea rcx, [rsp + 0x68]
call fcn.1800022d0
cmp qword [rbp - 0x80], 0xf
lea rcx, [rsp + 0x68]
lea rdx, [0x180005b6c]
cmova rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rbx, rax
test rax, rax
jne 0x1800027a2
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x180002780
mov rcx, qword [rsp + 0x68]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000277b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800028ac
call fcn.1800030a0
mov eax, 1
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.180003080
mov rbx, qword [rsp + 0x120]
add rsp, 0x110
pop rbp
ret
mov r9, rbx
lea rcx, [0x1800080c0]
mov edx, 1
mov r8d, 0x6a00
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
cmp qword [rbp - 0x80], 0xf
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x68]
cmova rcx, qword [rsp + 0x68]
lea rax, [rbp - 0x70]
xorps xmm0, xmm0
mov qword [rsp + 0x40], rax
xor eax, eax
mov dword [rbp - 0x70], 0x68
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rax
xor r8d, r8d
mov dword [rsp + 0x28], eax
xor edx, edx
mov dword [rsp + 0x20], eax
movups xmmword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x58], xmm0
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x18000286d
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbp - 0x80], 0xf
lea rcx, [rsp + 0x68]
cmova rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x180002780
mov rcx, qword [rsp + 0x68]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000277b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000277b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140005830
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14000586a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14000586f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400058b8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400073a0]
cmp byte [rcx + rax], 0
je 0x1400058b8
dec r8
sub rdx, 1
jne 0x14000589e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400062dc
Capabilities:
Parse pe header

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

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

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.1400123e0
mov r15, qword [0x14002048c]
cmp r15, 1
jne 0x1400049d6
push qword [0x14002057c]
pop rcx
call fcn.14000d5b4
mov r15, rax
and r15, r15
jle 0x14000496c
mov rcx, qword [0x14002057c]
call fcn.14000d5bc
mov rcx, qword [0x14002057c]
call fcn.14000d5d0
or rax, rax
je 0x14000496c
mov rbp, qword [0x140020584]
push qword [rbp + 0x10]
pop rcx
call fcn.14000da6c
jmp 0x140004949
push qword [0x14002056c]
pop rcx
call fcn.14000d5b4
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x1400049d6
push 5
push 0
push 1
push qword [0x14002056c]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009070
mov rcx, qword [0x14002056c]
call fcn.14000d5bc
mov rcx, qword [0x14002056c]
call fcn.14000d5d0
or rax, rax
je 0x1400049d6
mov rbp, qword [0x140020574]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x1400049b3
mov rax, 1
jmp 0x1400049e2
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006a58
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f190]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x14000720c
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14000719c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021170]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400205b8]
jmp 0x140007248
cmp qword [rbx + 0x18], rdi
je 0x14000724f
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000723f
jmp 0x140007269
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x1400205b8]
call fcn.140011c68
lea rcx, [0x140021170]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ch, 0x19
invalid
jb 0x14003f698
ror bh, 0xb8
add edx, ebx
lodsb al, byte [rsi]
push rax
xchg ebx, eax
sub byte [rcx - 0x5f6cd632], ah
jnp 0x14003f68f
iretd
rcr dh, 0x59
div byte [rbx + 0x5a317b58]
pop rax
jnp 0x14003f67d
pop rdx
jmp qword [rdi + 0x76]
invalid
invalid
in eax, dx
nop
mov esi, 0x18a45f68
xor byte [rbx - 0x21], cl
sub dword [rax*4 + 0x2ca80f88], 0x27
jno 0x14003f677
insd dword [rdi], dx
jge 0x14003f6dc
invalid
jne 0x14003f631
leave
jmp 0x1a6f6caae
jrcxz 0x14003f6c8
invalid
invalid
invalid
invalid
add al, 0xbf
fcomp qword [rsi - 0x66b0d772]
invalid
xchg edi, eax
jmp 0x14003f706
pop rbp
xor byte [rsi + 0x37], bh
sbb al, 0x42
jae 0x14003f644
invalid
mov fs, word [rbx - 0x4e]
jmp 0x1b5e77bae
mov edx, 0x6f16d0f4
cli
cmp dword [rsi], edi
invalid
xor ebp, esi
js 0x14003f74e
stc
invalid
invalid
Function at 0x140014a30
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x10090
call fcn.14003a960
sub rsp, rax
mov rax, qword [0x140050010]
xor rax, rsp
mov qword [rsp + 0x10080], rax
xor ebp, ebp
lea rsi, str.NUITKA_PYTHONPATH
mov word [rsp + 0x80], bp
lea rbx, [rsp + 0x30]
mov word [rsp + 0x30], bp
mov al, 0x4e
lea edi, [rbp + 0x28]
nop
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], bpl
lea rcx, [rsp + 0x24]
call fcn.14002ed80
cmp rax, 1
jne 0x140014b3e
mov rcx, rdi
mov rax, rbx
cmp word [rbx], bp
je 0x140014abf
add rax, 2
dec rcx
cmp word [rax], bp
jne 0x140014ab3
cmp rcx, 1
jb 0x140014b3e
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 0x140014a80
mov r8d, 0x10000
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0xffff
ja 0x140014b3a
lea rcx, [rsp + 0x80]
call fcn.140030230
mov rcx, qword [rsp + 0x10080]
xor rcx, rsp
call fcn.140022340
lea r11, [rsp + 0x10090]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
xor eax, eax
jmp 0x140014b11
call fcn.140024870
int3

Function at 0x140014b50
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 [0x140050010]
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 al, 0x4e
lea edi, [rbp + 0x28]
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], bpl
lea rcx, [rsp + 0x24]
call fcn.14002ed80
cmp rax, 1
jne 0x140014c25
mov rcx, rdi
mov rax, rbx
cmp word [rbx], bp
je 0x140014bcc
add rax, 2
dec rcx
cmp word [rax], bp
jne 0x140014bc0
cmp rcx, 1
jb 0x140014c25
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 0x140014b91
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140022340
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.140024870
int3
Function at 0x14001d780
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
cmp byte [0x140055332], 0
mov rbp, r8
mov rsi, rdx
mov r14, rcx
jne 0x14001d802
mov edx, 3
xor ecx, ecx
lea r8d, [rdx + 7]
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 [0x140054f90], rax
mov ebx, dword [rax]
add rax, 4
mov qword [0x140054f90], rax
mov r8d, dword [rax]
lea rdx, [rax + 4]
mov qword [0x140054f90], rdx
call fcn.14001bb70
cmp eax, ebx
jne 0x14001d9ae
mov byte [0x140055332], 1
lea rdx, [0x140044408]
mov rcx, rbp
call fcn.14003ab20
test eax, eax
je 0x14001d8c5
cmp byte [0x140055333], 1
je 0x14001d8c5
mov qword [rsp + 0x30], rdi
call qword [sym.imp.python38.dll_PyDict_New]
mov qword [0x140055670], rax
call qword [sym.imp.python38.dll_PyDict_New]
mov qword [0x140055b20], rax
call qword [sym.imp.python38.dll_PyDict_New]
mov qword [0x140055390], rax
call qword [sym.imp.python38.dll_PyDict_New]
mov qword [0x140055300], rax
call qword [sym.imp.python38.dll_PyDict_New]
mov qword [0x140055b60], rax
call qword [sym.imp.python38.dll_PyDict_New]
mov qword [0x140055428], rax
call qword [sym.imp.python38.dll_PyDict_New]
mov qword [0x140055b28], rax
call qword [sym.imp.python38.dll_PyDict_New]
mov qword [0x140055b38], rax
mov ebx, 0xfffffffb
lea rdi, [0x140055ba0]
nop
mov ecx, ebx
call qword [sym.imp.python38.dll_PyLong_FromLong]
inc ebx
mov qword [rdi], rax
lea rdi, [rdi + 8]
cmp ebx, 0x101
jl 0x14001d8a0
mov rdi, qword [rsp + 0x30]
mov byte [0x140055333], 1
mov r8, qword [0x140054f90]
mov rax, rbp
mov rdx, r8
sub rdx, rbp
movzx ecx, byte [rax]
xor r9d, r9d
cmp cl, byte [rax + rdx]
jne 0x14001d8ec
inc rax
test cl, cl
jne 0x14001d8d5
mov ecx, r9d
jmp 0x14001d8f1
sbb ecx, ecx
or ecx, 1
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
cmp byte [r8 + rax + 1], r9b
lea rax, [rax + 1]
jne 0x14001d900
lea rdx, [r8 + rax]
mov eax, dword [r8 + rax + 1]
add rdx, 5
test ecx, ecx
je 0x14001d968
nop dword [rax]
add rdx, rax
mov rax, rbp
mov r8, rdx
sub r8, rbp
nop dword [rax]
movzx ecx, byte [rax]
cmp cl, byte [rax + r8]
jne 0x14001d945
inc rax
test cl, cl
jne 0x14001d930
mov ecx, r9d
jmp 0x14001d94a
sbb ecx, ecx
or ecx, 1
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], r9b
jne 0x14001d951
add rdx, rax
mov eax, dword [rdx + 1]
add rdx, 5
test ecx, ecx
jne 0x14001d920
movzx ecx, word [rdx]
lea rax, [rdx + 2]
cmp r9w, cx
jae 0x14001d998
mov ebx, ecx
nop word [rax + rax]
mov r8, rax
mov rdx, rsi
mov rcx, r14
call fcn.14001c7c0
add rsi, 8
sub rbx, 1
jne 0x14001d980
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
lea rcx, str.Error__corrupted_constants_object
call fcn.14002c4b4
call fcn.140024870
int3
Function at 0x140022d28
Capabilities:
Parse pe header

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

Function at 0x140024864
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1400246f7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400246f7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400246f7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400246f7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400246f7
cmp dword [rcx + 0x84], 0xe
jbe 0x1400246f7
cmp dword [rcx + 0xf8], 0
je 0x1400246f7
mov ecx, ebx
call fcn.140024798
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140024588
cmp dword [rbp + 0x20], 0
je 0x140024744
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14002474c
int3
xor r8d, r8d
xor edx, edx
jmp 0x140024690
Function at 0x14003a8a0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14003a8c8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14003a8c8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14003c5f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r8d, r8d
jle 0x14003c6ce
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
push rsi
sub rsp, 0x70
mov qword [rax + 8], rdi
mov ebp, r8d
mov qword [rax + 0x10], r14
lea rdi, [rdx + 0xc]
mov r14d, 0x4001
mov rsi, rcx
xor ebx, ebx
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdi - 0xc]
mov r8d, 0x60
mov edx, dword [0x1401794e8]
mov ecx, dword [rdi - 4]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 7
call qword [sym.imp.KERNEL32.dll_MulDiv]
cmp byte [rdi], 0
lea r9, [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov edx, 0x120a
mov eax, 0x4000
cmovne eax, r14d
mov dword [rsp + 0x3c], eax
test ebx, ebx
jne 0x14003c693
mov rcx, qword [rsi + 0x18]
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [rsp + 0x24]
mov rcx, rsi
call fcn.14003e7d0
jmp 0x14003c6a3
mov rcx, qword [rsi + 0x28]
lea eax, [rbx - 1]
movsxd r8, eax
call qword [sym.imp.USER32.dll_SendMessageW]
inc ebx
add rdi, 0x10
cmp ebx, ebp
jl 0x14003c630
mov r14, qword [rsp + 0x88]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rdi, qword [rsp + 0x80]
mov rsp, r11
pop rsi
ret
Function at 0x14005abd0
Capabilities:
Initialize winhttp library

Disassembly:
push rbx
sub rsp, 0x30
movzx eax, byte [rsp + 0x68]
mov rbx, rcx
mov byte [rcx + 0x30], al
movzx eax, byte [rsp + 0x60]
mov qword [rsp + 0x28], 0
mov byte [rsp + 0x20], al
call fcn.140055a00
test al, al
jne 0x14005ac07
mov eax, 0xffffffff
add rsp, 0x30
pop rbx
ret
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
lea rcx, [0x14011eb10]
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rbx], rax
test rax, rax
je 0x14005ac5e
mov r8d, 0x1bb
lea rdx, str.www.virustotal.com
xor r9d, r9d
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rbx + 8], rax
test rax, rax
jne 0x14005ac6a
mov rcx, qword [rbx]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov qword [rbx], 0
add rsp, 0x30
pop rbx
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
add rsp, 0x30
pop rbx
ret