joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005e750
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x30
mov eax, dword [0x14024bf8c]
xor r12d, r12d
test eax, eax
mov ebp, r12d
jne 0x14005e7ac
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x14005e78c
mov dword [0x14024bf8c], 1
jmp 0x14005e7bf
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x14005e7a6
mov dword [0x14024bf8c], 2
jmp 0x14005e829
mov eax, dword [0x14024bf8c]
cmp eax, 1
jne 0x14005e820
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x14005e7fa
cmp word [rdi], bp
mov rax, rdi
je 0x14005e7d9
add rax, 2
cmp word [rax], bp
jne 0x14005e7c7
add rax, 2
cmp word [rax], bp
jne 0x14005e7c7
sub eax, edi
add eax, 2
movsxd rsi, eax
mov rcx, rsi
call fcn.140056060
test rax, rax
mov rbx, rax
jne 0x14005e801
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x14005e91b
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call fcn.140053b30
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbx
jmp 0x14005e91b
cmp eax, 2
je 0x14005e829
test eax, eax
jne 0x14005e7fa
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
test rax, rax
mov rsi, rax
je 0x14005e7fa
cmp byte [rax], bpl
mov rbx, rax
je 0x14005e878
nop
or r9d, 0xffffffff
mov r8, rbx
xor ecx, ecx
lea edx, [r9 + 2]
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x14005e7fa
or rcx, 0xffffffffffffffff
add ebp, eax
mov rdi, rbx
xor eax, eax
repne scasb al, byte [rdi]
not rcx
add rbx, rcx
cmp byte [rbx], al
jne 0x14005e840
add ebp, 1
mov edx, 2
movsxd rcx, ebp
call fcn.1400560d0
test rax, rax
mov r12, rax
jne 0x14005e89d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
jmp 0x14005e91b
cmp byte [rsi], 0
mov qword [rsp + 0x50], r13
mov rbx, rax
mov r13, rsi
je 0x14005e905
nop
or r9d, 0xffffffff
mov eax, ebp
mov rcx, rbx
sub rcx, r12
lea edx, [r9 + 2]
mov r8, r13
sar rcx, 1
sub eax, ecx
xor ecx, ecx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x14005e92e
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r13
repne scasb al, byte [rdi]
mov rdi, rbx
not rcx
add r13, rcx
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
cmp byte [r13], al
not rcx
lea rbx, [rbx + rcx*2]
jne 0x14005e8b0
mov rcx, rsi
mov word [rbx], 0
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov rax, r12
mov r13, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
mov rcx, r12
call fcn.1400512b0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
jmp 0x14005e916
Function at 0x1400617e0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x50
mov edi, r8d
mov r13, rdx
mov r14, rcx
call fcn.140055480
xor ebx, ebx
cmp qword [0x14024bf98], rbx
mov rbp, rax
mov dword [rsp + 0x98], ebx
mov dword [rsp + 0x30], ebx
jne 0x14006190c
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rsi, rax
je 0x140061a1f
lea rdx, [0x14006c520]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140061a1f
mov rcx, rax
call fcn.1400553b0
lea rdx, [0x14006c510]
mov rcx, rsi
mov qword [0x14024bf98], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.1400553b0
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14024bfa0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.1400553b0
lea rcx, [rsp + 0x98]
mov qword [0x14024bfa8], rax
call fcn.140052b40
test eax, eax
je 0x1400618bf
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.140051a50
cmp dword [rsp + 0x98], 2
jne 0x14006190c
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.1400553b0
test rax, rax
mov qword [0x14024bfb8], rax
je 0x14006190c
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.1400553b0
mov qword [0x14024bfb0], rax
mov rcx, qword [0x14024bfb0]
mov qword [rsp + 0x80], r12
cmp rcx, rbp
je 0x1400619b8
cmp qword [0x14024bfb8], rbp
je 0x1400619b8
call fcn.140055570
mov rcx, qword [0x14024bfb8]
mov rsi, rax
call fcn.140055570
test rsi, rsi
mov r12, rax
je 0x1400619b8
test rax, rax
je 0x1400619b8
call rsi
test rax, rax
je 0x140061983
lea rcx, [rsp + 0x34]
mov r9d, SafeArrayGetDim
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140061983
test byte [rsp + 0x40], 1
jne 0x1400619b8
lea rcx, [rsp + 0x30]
call fcn.140052b90
test eax, eax
je 0x1400619a5
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.140051a50
cmp dword [rsp + 0x30], 4
jb 0x1400619b2
bts edi, 0x15
jmp 0x1400619f6
bts edi, 0x12
jmp 0x1400619f6
mov rcx, qword [0x14024bfa0]
cmp rcx, rbp
je 0x1400619f6
call fcn.140055570
test rax, rax
je 0x1400619f6
call rax
test rax, rax
mov rbx, rax
je 0x1400619f6
mov rcx, qword [0x14024bfa8]
cmp rcx, rbp
je 0x1400619f6
call fcn.140055570
test rax, rax
je 0x1400619f6
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14024bf98]
call fcn.140055570
mov r12, qword [rsp + 0x80]
test rax, rax
je 0x140061a1f
mov r9d, edi
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140061a21
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400643f0
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1400960c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x20]
mov r9d, 6
mov edx, 0x1004
mov byte [rsp + 0x26], 0
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x140064437
or eax, 0xffffffff
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140050fb0
add rsp, 0x38
ret
lea rcx, [rsp + 0x20]
call fcn.140053370
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140050fb0
add rsp, 0x38
ret
Function at 0x140067ef0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x20
xor ebx, ebx
test rcx, rcx
mov r14, rdx
mov rbp, rcx
je 0x140067fa4
movsxd rax, dword [rcx + 0x3c]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
mov edi, dword [rax + rcx + 0x88]
mov esi, ebx
add rdi, rcx
cmp dword [rdi + 0x18], ebx
jbe 0x140067f9f
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r13
mov r13, rbx
mov r12, rbx
nop
nop
mov eax, dword [rdi + 0x20]
mov rdx, r14
add rax, r13
mov ecx, dword [rax + rbp]
add rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x140067f6f
mov eax, dword [rdi + 0x24]
mov ecx, dword [rdi + 0x1c]
add rax, r12
add rcx, rbp
movzx edx, word [rax + rbp]
mov ebx, dword [rcx + rdx*4]
add rbx, rbp
add esi, 1
add r13, 4
add r12, 2
cmp esi, dword [rdi + 0x18]
jb 0x140067f40
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x50]
mov rax, rbx
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
mov rax, rbx
jmp 0x140067f8c
mov rax, rbx
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
Function at 0x140022550
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14002261c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14002261c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x140022635
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14002260c
cmp byte [rax], 0x5c
jne 0x140022606
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140022606
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1400225f2
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140022603
test r8b, 0x10
jne 0x140022606
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140022606
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140025940
test edi, edi
jne 0x140022570
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
mov rcx, rbx
call fcn.140023710
int3

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

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140026684
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140026670
ret
Function at 0x14002afe0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14002b1bf
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14002acb0
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14002b184
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14002b0fc
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14002b173
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x14002b139
mov r10, qword [rdx]
cmp r10, rax
je 0x14002b133
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x14002b173
cmp r9, rdx
je 0x14002b14f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x14002b199
cmp r9, rdx
jne 0x14002b140
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x14002b080
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14002b173
lea rcx, str.invalid_hash_bucket_count
call fcn.140092760
int3

Function at 0x14002b480
Capabilities:
Hash data using fnv

Disassembly:
test r8, r8
jne 0x14002b489
mov rax, rcx
ret
movsx rax, byte [rdx]
movabs r9, 0x100000001b3
imul rcx, r9
dec r8
xor rcx, rax
inc rdx
jmp fcn.14002b480
Function at 0x14002e520
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140118458]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x90]
mov rdi, rdx
test eax, eax
movd edx, xmm3
mov r11d, 6
mov rbp, r8
mov r10d, r11d
mov r14, rcx
cmovns r10d, eax
mov eax, edx
and eax, 0x7fffff
shr edx, 0x17
lea r9d, [rax + rax]
test edx, edx
jne 0x14002e580
neg eax
sbb ecx, ecx
and ecx, 0xffffff82
jmp 0x14002e583
lea ecx, [rdx - 0x7f]
mov eax, r9d
mov r15d, 0x2d
bts eax, 0x18
test edx, edx
cmovne r9d, eax
mov eax, ecx
cdq
mov esi, eax
mov eax, 0x2b
xor esi, edx
sub esi, edx
test ecx, ecx
cmovns r15d, eax
cmp esi, 0xa
jae 0x14002e5b4
lea edx, [rax - 0x27]
jmp 0x14002e5bd
cmp esi, 0x64
sbb rdx, rdx
add rdx, r11
mov rcx, rbp
movsxd r8, r10d
sub rcx, rdi
cmp rcx, r8
jge 0x14002e5db
mov qword [r14], rbp
mov dword [r14 + 8], 0x84
jmp 0x14002e727
xor eax, eax
test r10d, r10d
setg al
sub rcx, r8
add rax, rdx
cmp rcx, rax
jl 0x14002e5cb
mov qword [rsp + 0x70], rbx
cmp r10d, r11d
jge 0x14002e61d
lea r8d, [r9 + r9]
sub r11d, r10d
shl r11d, 2
lea eax, [r8 - 1]
or eax, r9d
movzx ecx, r11b
mov edx, 1
shl edx, cl
and edx, eax
and edx, r8d
add r9d, edx
mov eax, r9d
and r9d, 0xffffff
shr eax, 0x18
add al, 0x30
mov byte [rdi], al
inc rdi
test r10d, r10d
jle 0x14002e6a4
mov byte [rdi], 0x2e
lea r11, str.0123456789abcdefghijklmnopqrstuvwxyzfalse
mov eax, r9d
lea r8d, [r10 - 1]
shr rax, 0x14
mov ecx, SafeArrayUnaccessData
movzx eax, byte [rax + r11]
mov byte [rdi + 1], al
add rdi, 2
test r8d, r8d
je 0x14002e6a4
mov edx, 0x100000
test ecx, ecx
je 0x14002e68e
lea eax, [rdx - 1]
sub ecx, 4
and r9d, eax
ror edx, 4
mov eax, r9d
shr rax, cl
movzx eax, byte [rax + r11]
mov byte [rdi], al
inc rdi
sub r8d, 1
jne 0x14002e666
jmp 0x14002e6a4
movsxd rbx, r8d
mov edx, 0x30
mov r8, rbx
mov rcx, rdi
call fcn.1400972c0
add rdi, rbx
mov byte [rdi], 0x70
lea r9, [rsp + 0x40]
mov byte [rdi + 1], r15b
add rdi, 2
nop dword [rax]
nop dword [rax + rax]
dec r9
mov eax, 0xcccccccd
mul esi
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub sil, cl
add sil, 0x30
mov byte [r9], sil
mov esi, edx
test edx, edx
jne 0x14002e6c0
lea rbx, [rsp + 0x40]
mov rax, rbp
sub rbx, r9
sub rax, rdi
cmp rax, rbx
jge 0x14002e705
mov dword [r14 + 8], 0x84
jmp 0x14002e71f
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call fcn.140096c20
mov dword [r14 + 8], 0
lea rbp, [rbx + rdi]
mov qword [r14], rbp
mov rbx, qword [rsp + 0x70]
mov rax, r14
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140094d60
lea r11, [rsp + 0x50]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x14002e750
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140118458]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x90]
mov rsi, rdx
test eax, eax
movq rdx, xmm3
mov r9, rdx
mov r11d, SafeArrayDestroy
mov r10d, r11d
movabs rbx, 0xfffffffffffff
cmovns r10d, eax
mov rbp, r8
and r9, rbx
shr rdx, 0x34
mov r14, rcx
test edx, edx
jne 0x14002e7c3
mov rax, r9
neg rax
sbb ecx, ecx
and ecx, 0xfffffc02
jmp 0x14002e7c9
lea ecx, [rdx - 0x3ff]
mov rax, r9
movabs r8, 0x10000000000000
or rax, r8
mov r15d, 0x2d
test edx, edx
cmovne r9, rax
mov eax, ecx
cdq
mov edi, eax
mov eax, 0x2b
xor edi, edx
sub edi, edx
test ecx, ecx
cmovns r15d, eax
cmp edi, 0xa
jae 0x14002e803
lea edx, [rax - 0x27]
jmp 0x14002e81c
cmp edi, 0x64
jae 0x14002e80f
mov edx, 5
jmp 0x14002e81c
cmp edi, 0x3e8
sbb rdx, rdx
add rdx, 7
mov rcx, rbp
movsxd r8, r10d
sub rcx, rsi
cmp rcx, r8
jl 0x14002e95b
xor eax, eax
test r10d, r10d
setg al
sub rcx, r8
add rax, rdx
cmp rcx, rax
jl 0x14002e95b
cmp r10d, r11d
jge 0x14002e871
lea r8, [r9 + r9]
sub r11d, r10d
shl r11d, 2
lea rax, [r8 - 1]
or rax, r9
movzx ecx, r11b
mov edx, 1
shl rdx, cl
and rdx, rax
and rdx, r8
add r9, rdx
mov rax, r9
and r9, rbx
shr rax, 0x34
add al, 0x30
mov byte [rsi], al
inc rsi
test r10d, r10d
jle 0x14002e902
mov byte [rsi], 0x2e
lea r11, str.0123456789abcdefghijklmnopqrstuvwxyzfalse
mov rax, r9
lea r8d, [r10 - 1]
shr rax, 0x30
mov ecx, 0x30
movzx eax, byte [rax + r11]
mov byte [rsi + 1], al
add rsi, 2
test r8d, r8d
je 0x14002e902
movabs rdx, 0x1000000000000
nop dword [rax]
test ecx, ecx
je 0x14002e8ec
lea rax, [rdx - 1]
sub ecx, 4
and r9, rax
ror rdx, 4
mov rax, r9
shr rax, cl
mov eax, eax
movzx eax, byte [rax + r11]
mov byte [rsi], al
inc rsi
sub r8d, 1
jne 0x14002e8c0
jmp 0x14002e902
movsxd rbx, r8d
mov edx, 0x30
mov r8, rbx
mov rcx, rsi
call fcn.1400972c0
add rsi, rbx
mov byte [rsi], 0x70
lea r9, [rsp + 0x40]
mov byte [rsi + 1], r15b
add rsi, 2
nop dword [rax]
nop word [rax + rax]
dec r9
mov eax, 0xcccccccd
mul edi
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub dil, cl
add dil, 0x30
mov byte [r9], dil
mov edi, edx
test edx, edx
jne 0x14002e920
lea rbx, [rsp + 0x40]
mov rax, rbp
sub rbx, r9
sub rax, rsi
cmp rax, rbx
jge 0x14002e965
mov dword [r14 + 8], 0x84
jmp 0x14002e97f
mov r8, rbx
mov rdx, r9
mov rcx, rsi
call fcn.140096c20
mov dword [r14 + 8], 0
lea rbp, [rbx + rsi]
mov qword [r14], rbp
mov rax, r14
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140094d60
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140049900
Capabilities:
Load windows common language runtime

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
cmp qword [0x14012b240], 0
jne 0x1400499f0
xor ebx, ebx
lea r8, [rsp + 0x48]
lea rdx, [0x1400c5858]
mov qword [rsp + 0x48], rbx
lea rcx, [0x1400c5868]
call sub.mscoree.dll_CLRCreateInstance
lea rdi, [0x14012b240]
test eax, eax
js 0x1400499b4
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x40], rbx
lea r8, [0x1400c5878]
lea rdx, str.v4.0.30319
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov ebx, eax
test eax, eax
js 0x1400499a5
mov rcx, qword [rsp + 0x40]
lea r8, [0x1400c58a8]
mov r9, rdi
lea rdx, [0x1400c5898]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov ebx, eax
test eax, eax
js 0x14004999a
mov rcx, qword [0x14012b240]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
test ebx, ebx
jns 0x1400499f0
cmp qword [0x14012b240], 0
jne 0x1400499f0
lea r9, [0x1400c58a8]
mov qword [rsp + 0x20], rdi
lea r8, [0x1400c5898]
xor edx, edx
lea rcx, str.v2.0.50727
call sub.mscoree.dll_CorBindToRuntime
test eax, eax
js 0x1400499fd
mov rcx, qword [0x14012b240]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov al, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
xor r9d, r9d
lea r8, [0x1400c5988]
lea rdx, [0x1400c59a0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rbx, qword [rsp + 0x50]
xor al, al
add rsp, 0x30
pop rdi
ret
Function at 0x14004dfe0
Capabilities:
Create thread
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rbx, rcx
xor esi, esi
add rcx, 0x10
call fcn.140064e80
mov ecx, dword [rbx + 0x308]
test al, al
je 0x14004e124
cmp ecx, 1
je 0x14004e10c
mov dword [rbx + 0x308], 1
xor edx, edx
mov rcx, rbx
call fcn.1400516e0
mov rcx, rbx
call fcn.140050f20
lea rcx, [0x14012acf0]
call fcn.140052710
test al, al
je 0x14004e179
lea rcx, [rbx + 0x10]
call fcn.140064cf0
test al, al
je 0x14004e179
lea rcx, [rbx + 0x10]
call fcn.140065390
lea rdi, [rbx + 0x528]
cmp byte [rdi + 8], sil
jne 0x14004e0f3
cmp qword [rdi + 0x18], rsi
je 0x14004e0f3
mov word [rdi + 8], 0x101
mov dword [rdi + 0x20], 0x32
lea ecx, [rsi + 8]
call fcn.140094894
test rax, rax
je 0x14004e094
mov qword [rax], rdi
jmp 0x14004e097
mov rax, rsi
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14004a5c0]
xor edx, edx
xor ecx, ecx
call fcn.1400a4d34
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14004e18c
cmp dword [rsp + 0x38], 0
je 0x14004e181
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.1400937d4
test eax, eax
jne 0x14004e181
mov dl, 1
mov rcx, rbx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
jmp fcn.1400516e0
lea rcx, [rbx + 0x10]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
jmp fcn.140024770
test ecx, ecx
je 0x14004e169
mov dword [rbx + 0x308], esi
mov rcx, rbx
call fcn.140050f20
mov byte [rbx + 0x530], sil
mov edi, 0x1388
cmp byte [rbx + 0x531], sil
je 0x14004e169
nop dword [rax + rax]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
sub edi, 0x32
js 0x14004e169
cmp byte [rbx + 0x531], sil
jne 0x14004e150
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
xor ecx, ecx
call fcn.1400a5304
nop
mov ecx, 1
call fcn.140092b60
nop
mov dword [rsp + 0x38], esi
mov ecx, 6
call fcn.140092b60
int3
Function at 0x140050d50
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x140118458]
xor rax, rsp
mov qword [rsp + 0x88], rax
movzx edi, r8b
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x50], rdx
xor ebp, ebp
lea rcx, [rsp + 0x58]
call fcn.1400055c0
mov byte [rsp + 0x78], dil
mov qword [rsp + 0x80], rsi
lea ecx, [rbp + 0x30]
call fcn.140094894
test rax, rax
je 0x140050ddc
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rax + 0x10], xmm1
movdqa xmm0, xmmword [0x1400be970]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], bpl
mov byte [rax + 0x20], dil
mov qword [rax + 0x28], rsi
jmp 0x140050ddf
mov rax, rbp
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x14004a430]
xor edx, edx
xor ecx, ecx
call fcn.1400a4d34
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140050ef6
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x140050e50
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050e4b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050f05
call fcn.1400948d0
cmp dword [rsp + 0x38], 0
je 0x140050eeb
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.1400937d4
test eax, eax
jne 0x140050eeb
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140050eb3
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140050eae
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140050f0b
mov rcx, r8
call fcn.1400948d0
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbx], 0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140094d60
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov ecx, 1
call fcn.140092b60
nop
mov dword [rsp + 0x38], ebp
mov ecx, 6
call fcn.140092b60
nop
call fcn.14009b27c
nop
call fcn.14009b27c
int3

Function at 0x140050f20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
lea rdi, [0x14012b2e0]
mov qword [rsp + 0x48], rdi
mov rcx, rdi
call fcn.140092a08
test eax, eax
jne 0x140050fb1
cmp dword [0x14012b32c], 0x7fffffff
je 0x140050f9c
lea edx, [rax + 2]
mov rcx, rbx
call fcn.140059ad0
mov eax, dword [rbx + 0xc0]
mov dword [rsp + 0x50], eax
xor eax, eax
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
lea r8d, [rax + 4]
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rcx, rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.140092a10
mov dword [0x14012b32c], 0x7ffffffe
mov ecx, 6
call fcn.140092b60
int3
mov ecx, 5
call fcn.140092b60
int3