joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002bf90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
movzx ebp, byte [rdx + 0x38]
cmp bpl, 1
ja 0x14002bfed
movzx ebx, byte [rdi + 0x3a]
mov rcx, rdi
call fcn.14002be70
test bpl, bpl
jne 0x14002bff1
lea rcx, [rdi + 0x10]
xor r8d, r8d
cmp byte [rdi + 0x10], 6
cmove rcx, r8
je case.0x14002bfe1.2
movzx edx, byte [rcx]
mov r8d, 6
lea r9, [0x14002c164]
movsxd rdx, dword [r9 + rdx*4]
add rdx, r9
jmp rdx
mov r8, qword [rcx + 0x10]
add r8, 4
jmp case.0x14002bfe1.2
xor eax, eax
xor ebx, ebx
xor r8d, r8d
movzx r10d, bl
movzx ebx, al
lea rcx, [r10 + rbx]
add rcx, r8
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x14002c148
mov r11, qword [rdi]
lea rax, [r11 + rcx]
cmp rdx, rcx
jne 0x14002c028
movzx r9d, byte [rdi + 0x10]
xor r10d, r10d
jmp 0x14002c0a9
movzx r9d, byte [rdi + 0x10]
add r8, rbx
add r8, r10
sub r8, rdx
inc r8
lea rdi, [rdx + r11]
dec rdi
xor r10d, r10d
cmp r9b, 3
jae 0x14002c070
nop dword [rax]
cmp byte [rdi], 0x5c
je 0x14002c08b
inc r8
dec rdi
cmp r8, 1
jne 0x14002c050
jmp 0x14002c0a9
movzx ebx, byte [rdi]
cmp ebx, 0x2f
je 0x14002c08b
cmp ebx, 0x5c
je 0x14002c08b
inc r8
dec rdi
cmp r8, 1
jne 0x14002c070
jmp 0x14002c0a9
neg r8
add rcx, r8
inc rcx
cmp rdx, rcx
jb 0x14002c156
add r11, rcx
mov r10d, 1
mov rax, r11
sub rdx, rcx
je 0x14002c0d2
mov cl, 9
cmp rdx, 2
je 0x14002c0d6
cmp rdx, 1
jne 0x14002c0e5
cmp byte [rax], 0x2e
jne 0x14002c0e5
xor ecx, ecx
cmp r9b, 3
setae cl
lea ecx, [rcx + rcx*2]
add ecx, 7
jmp 0x14002c0e5
mov cl, 0xa
jmp 0x14002c0e5
cmp byte [rax], 0x2e
jne 0x14002c0e5
cmp byte [rax + 1], 0x2e
sete cl
xor cl, 9
add r10, rdx
mov qword [rsi], r10
mov byte [rsi + 8], cl
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rdx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rdx, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x20]
lea r8, [rcx + 1]
test rcx, rcx
cmove r8, rcx
add r8, rdx
add r8, 8
jmp case.0x14002bfe1.2
mov rdx, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x20]
lea r8, [rcx + 1]
test rcx, rcx
cmove r8, rcx
add r8, rdx
add r8, 2
jmp case.0x14002bfe1.2
mov r8d, 2
jmp case.0x14002bfe1.2
lea r8, str.library_std_srcpath.rs
call fcn.140045ca0
ud2
lea r8, str.library_std_srcpath.rs
call fcn.140045ca0
ud2

Function at 0x14002f390
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, 0x10
call qword [sym.imp.advapi32.dll_SystemFunction036]
test al, al
je 0x14002f3d3
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [0x140030b70]
mov qword [rbp - 0x28], rax
lea rax, str.fallback_RNG_broken:
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
lea rdx, str.library_std_src_syswindows_rand.rs
lea rcx, [rbp - 0x60]
call fcn.140045800
ud2
Function at 0x14003b828
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14003b618
Function at 0x14003e890
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 0x14003e8c0
xor eax, eax
jmp 0x14003e983
mov rbp, rbx
cmp word [rax], si
je 0x14003e8e5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14003e8cc
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14003e8c8
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.14003e7e0
movsxd r14, eax
test eax, eax
jne 0x14003e923
mov rcx, rbx
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
jmp 0x14003e8b9
mov rcx, r14
call fcn.14003f744
mov rdi, rax
test rax, rax
jne 0x14003e93c
xor ecx, ecx
call fcn.14003ce70
jmp 0x14003e918
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.14003e7e0
test eax, eax
jne 0x14003e96d
mov rcx, rdi
call fcn.14003ce70
jmp 0x14003e977
xor ecx, ecx
call fcn.14003ce70
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
Function at 0x140041e4c
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14003d8e4
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140041ed6
cmp byte [rbp - 0x21], r15b
je 0x140041ed1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140041f0c
call fcn.14003ff64
test eax, eax
jne 0x140041ef8
cmp byte [rbp - 0x21], r15b
je 0x140041ef0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140041f0c
cmp byte [rbp - 0x21], r15b
je 0x140041f09
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14003cec0
test eax, eax
jne 0x140041fac
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14003d8e4
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140041f4b
cmp byte [rbp - 0x21], r15b
je 0x140041f80
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140041f80
call fcn.14003ff64
test eax, eax
jne 0x140041f6c
cmp byte [rbp - 0x21], r15b
je 0x140041f65
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140041f80
cmp byte [rbp - 0x21], r15b
je 0x140041f7d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14003cec0
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140041fac
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.kernel32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140041faf
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140041fbd
mov rcx, rdi
call fcn.14003ce70
cmp byte [rbp + 0x3f], r15b
je 0x140041fcc
mov rcx, qword [rbp + 0x27]
call fcn.14003ce70
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x180012910
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
push r14
mov eax, 0x4078
call fcn.18002d2b0
sub rsp, rax
mov rax, qword [0x18003c008]
xor rax, rsp
mov qword [rsp + 0x4060], rax
movsxd rbx, ecx
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [rsp + 0x4e]
lea r11, [0x180037e88]
movzx edx, word [rsp + 0x4c]
lea r10, str.convert
mov rax, qword [r11 + rbx*8]
lea r14, [rsp + 0x40b0]
movzx r9d, word [rsp + 0x4a]
movzx r8d, word [rsp + 0x48]
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ecx
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x20], edx
lea rdx, str._02d:_02d:_02d._03d__s___s_
call fcn.180012a60
movsxd rdi, eax
lea rsi, [rsp + 0x60]
mov ecx, 0x4000
add rsi, rdi
sub ecx, edi
movsxd rbx, ecx
call fcn.180012a50
mov r9, qword [rsp + 0x40a8]
mov r8, rbx
mov qword [rsp + 0x28], r14
mov rdx, rsi
mov qword [rsp + 0x20], 0
mov rcx, qword [rax]
or rcx, 1
call fcn.180019ff0
test eax, eax
mov ecx, 0xffffffff
cmovs eax, ecx
test eax, eax
jns 0x180012a08
mov rdx, qword [rsp + 0x40a8]
mov r8, r14
mov rcx, rsi
call qword [sym.imp.USER32.dll_wvsprintfA]
mov rcx, qword [0x18003dd40]
lea r8d, [rax + rdi]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x4060]
xor rcx, rsp
call fcn.180014aa0
add rsp, 0x4078
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x180013280
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x78
mov rax, qword [0x18003c008]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x48], ecx
lea r9, [rsp + 0x30]
mov rcx, qword [0x18003f190]
mov dword [rsp + 0x38], edx
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x3c], r8d
xor r8d, r8d
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x44], 1
mov qword [rsp + 0x4c], 1
mov qword [rsp + 0x5c], 0x20000
mov qword [rsp + 0x54], 3
mov rax, qword [rcx]
call qword [rax + 0x28]
test eax, eax
jns 0x180013318
lea r9, str.D:UI_slideshow_vcu_code_tempTimelineSourceDirect3D11Shared.cpp
mov dword [rsp + 0x20], 0x4d
mov r8d, eax
lea rdx, str.Failed_0x_x__in_pDevice__CreateTexture2D_texDesc____nullptr__pTexture___FILE:_s__LINE:_d_n
mov ecx, 3
call fcn.180012910
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.180014aa0
add rsp, 0x78
ret
Function at 0x180014e28
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x18001a5b8
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 0x18001a48f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18001a48f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18001a48f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18001a48f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18001a48f
cmp dword [rcx + 0x84], 0xe
jbe 0x18001a48f
cmp dword [rcx + 0xf8], 0
je 0x18001a48f
mov ecx, ebx
call fcn.18001a530
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.18001a320
cmp dword [rbp + 0x20], 0
je 0x18001a4dc
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.18001a4e4
int3
xor r8d, r8d
xor edx, edx
jmp 0x18001a428
Function at 0x140057450
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14005745d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14005746d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140057455
lea eax, [rcx + 1]
jmp 0x14005747b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14005748e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140057474
sub eax, 3
jb 0x1400574ae
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400574fd
sar eax, 1
movsxd rbp, eax
jb 0x1400574e4
jmp 0x1400574bc
add ebx, ebx
jne 0x1400574ba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400574e4
inc ecx
add ebx, ebx
jne 0x1400574ca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400574e4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400574dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400574cc
add ecx, 2
jmp 0x1400574e9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140057412
jmp 0x14005745d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x29c00
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140057549
cmp rsi, rcx
jae 0x140057551
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140057530
cmp al, 0x8f
ja 0x140057530
cmp byte [rsi - 2], 0xf
je 0x140057536
sub al, 0xe8
cmp al, 1
ja 0x14005751a
cmp rsi, rcx
jae 0x140057551
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140057520
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140057551
lodsb al, byte [rsi]
jmp 0x140057530
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x55000]
mov eax, dword [rdi]
or eax, eax
je 0x1400575ba
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x65f54]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14005755e
jns 0x140057593
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14005759d
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1400575b4
mov qword [rbx], rax
add rbx, 8
jmp 0x14005757e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1400575f4
cmp al, 0xef
ja 0x1400575e6
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400575c6
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400575d5
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x237]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140057648
sub rsp, 0xffffffffffffff80
jmp 0x14000c1a0
Function at 0x14109e058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14109e1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14109e089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14109e06f
add dl, dl
jne 0x14109e096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14109e0f6
xor eax, eax
add dl, dl
jne 0x14109e0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14109e1ad
add dl, dl
jne 0x14109e0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14109e0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14109e0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14109e0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14109e0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14109e07e
mov eax, 1
add dl, dl
jne 0x14109e106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14109e113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14109e0fb
sub eax, ebx
mov ebx, 1
jne 0x14109e14c
mov ecx, 1
add dl, dl
jne 0x14109e12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14109e13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14109e123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14109e07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14109e168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14109e175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14109e15d
cmp eax, 0x7d00
jae 0x14109e19b
cmp eax, 0x500
jb 0x14109e196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14109e07e
cmp eax, 0x7f
ja 0x14109e19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14109e07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14109e1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14109e07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000f8fc
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x14000f8d9
call fcn.14000d034
mov dword [rax], 0x16
call fcn.14000cc14
or eax, 0xffffffff
jmp 0x14000f8f6
sub dword [rcx + 0x10], 1
jns 0x14000f8e8
add rsp, 0x28
jmp 0x140013e18
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x14000f8b8
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 0x140013cb8
call fcn.14000d034
mov dword [rax], 0x16
call fcn.14000cc14
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 0x140013ca0
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x140013ca0
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x140013cea
lock or dword [rax + 0x14], 0x10
jmp 0x140013ca0
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x140013d07
mov rcx, qword [rbp + 0x10]
call fcn.140013e20
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.14000ee54
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.140014efc
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x140013d5e
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 0x140013ca0
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x140013dca
mov rcx, qword [rbp + 0x10]
call fcn.14000ee54
cmp eax, 0xffffffff
je 0x140013db1
mov rcx, qword [rbp + 0x10]
call fcn.14000ee54
cmp eax, 0xfffffffe
je 0x140013db1
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.14000ee54
movsxd rdi, eax
lea rsi, [0x1417d7cc0]
mov rcx, rbx
sar rdi, 6
call fcn.14000ee54
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x140013db8
lea rax, [0x1417d7410]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140013dca
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x140013e00
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x140013dfc
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x140013dfc
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 0x140013ca3
jmp 0x140013c70
Function at 0x14001d140
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov eax, dword [rsp + 0x68]
xor eax, 0x1f8b
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x88]
sub eax, 0x28e
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x88]
add eax, 0x830
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x60]
add eax, 0x9ed
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x68]
sub eax, 0x1f8b
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x60]
add eax, 0x27a
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x24]
xor eax, 0x2399
cmp dword [rsp + 0x2c], eax
je 0x14001d333
mov eax, dword [rsp + 0x2c]
xor eax, 0x335a
cmp dword [rsp + 0x24], eax
je 0x14001d246
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0xc4]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x34]
mov edx, 0xfff66585
lea rax, [rax + rdx]
lea eax, [rax + rcx]
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0xc0], eax
mov eax, dword [rsp + 0x20]
xor eax, 0x10e6
mov dword [rsp + 0x20], eax
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0xe0]
add eax, 0x16004f
mov ecx, 4
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x80]
mov dword [rdx + rcx + 0xe0], eax
jmp 0x14001d333
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x80]
mov edx, dword [rsp + 0x20]
mov eax, dword [rcx + rax + 0x3c]
xor eax, edx
sub eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
cmp dword [rcx + 0xc4], eax
jb 0x14001d333
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0x80]
mov dword [rsp + 0x28], eax
jmp 0x14001d2a2
mov eax, dword [rsp + 0x28]
add eax, 3
mov dword [rsp + 0x28], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x80]
mov eax, dword [rdx + rax + 0x1c]
mov ecx, dword [rcx + 0x50]
xor ecx, eax
mov eax, ecx
xor eax, dword [rsp + 0x24]
cmp dword [rsp + 0x28], eax
jae 0x14001d333
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0xc4]
mov eax, dword [rax + 0xc4]
and eax, ecx
and eax, dword [rsp + 0x20]
mov eax, eax
mov qword [rsp + 0x48], rax
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x80]
mov edx, dword [rsp + 0x2c]
mov eax, dword [rcx + rax + 0xe0]
xor eax, edx
mov eax, eax
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
jmp 0x14001d297
mov eax, dword [rsp + 0x20]
sub eax, 0x6c
add rsp, 0x58
ret
Function at 0x140002b60
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1060
call fcn.1400040a0
sub rsp, rax
mov rax, qword [0x14000a010]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov qword [rsp + 0x40], rsp
mov rsi, rdx
mov rbx, rcx
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.WinInet
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140002c77
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140002c6d
xor edx, edx
mov r8d, 0x1000
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
lea r9, [rsp + 0x48]
mov r8d, 0x1000
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140002c6d
mov r8d, 0x1000
lea rdx, [rsp + 0x50]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [0x140002c46]
mov rcx, rsp
call sub.VCRUNTIME140.dll__local_unwind
nop
nop
xor eax, eax
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.140003120
lea r11, [rsp + 0x1060]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x140002c48

Function at 0x140003c80
Capabilities:
Parse pe header

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