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

Disassembly:
jmp 0x1800066d0
push rbx
sub rsp, 0x470
mov rax, qword [0x1800300a0]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov edx, 0x3d
mov rbx, rcx
call sym.VBoxNetFltNobj.dll_nocrt_strchr
test rax, rax
jne 0x1800068dd
mov qword [rsp + 0x460], r12
cmp rbx, 0x1000
jb 0x1800068ce
movabs rax, 0xffff800000000000
test rax, rbx
jne 0x1800068ce
lea r12, str.B:_bAntidetect_srcVBoxRuntime_r3winenv_win.cpp
mov rcx, rbx
mov r8, r12
lea rdx, [rsp + 0x38]
call fcn.180005c80
xor ebx, ebx
test eax, eax
js 0x1800068d0
mov qword [rsp + 0x488], rbp
xor ecx, ecx
mov qword [rsp + 0x490], rsi
mov ebp, ebx
mov qword [rsp + 0x468], rdi
mov edi, 0x200
mov qword [rsp + 0x458], r14
lea r14, [rsp + 0x40]
mov qword [rsp + 0x450], r15
mov r15d, ebx
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, edi
jb 0x180006824
nop dword [rax]
mov rcx, r15
call fcn.180004880
cmp edi, 0x8000
jae 0x180006858
lea r8d, [rsi + rbp]
mov edx, ebp
shl rdx, 9
mov ecx, ebp
shl ecx, 9
mov eax, r8d
cmp rax, rdx
lea rdx, [0x18000d937]
cmovb r8d, ecx
mov ecx, r8d
add rcx, rcx
mov edi, r8d
call fcn.180004820
mov r14, rax
mov r15, rax
test rax, rax
je 0x180006858
xor ecx, ecx
inc ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x38]
mov r8d, edi
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, edi
jae 0x1800067b0
test esi, esi
jne 0x18000682c
test eax, eax
jne 0x180006858
mov edx, esi
lea r8, [rsp + 0x30]
mov qword [rsp + 0x28], r12
xor r9d, r9d
mov rcx, r14
mov qword [rsp + 0x20], rbx
call fcn.180003e90
mov rdx, qword [rsp + 0x30]
test eax, eax
cmovs rdx, rbx
mov qword [rsp + 0x30], rdx
mov rcx, r15
call fcn.180004880
mov rcx, qword [rsp + 0x38]
call fcn.180003db0
mov rbx, qword [rsp + 0x30]
mov r15, qword [rsp + 0x450]
mov r14, qword [rsp + 0x458]
mov rdi, qword [rsp + 0x468]
mov rsi, qword [rsp + 0x490]
mov rbp, qword [rsp + 0x488]
test rbx, rbx
je 0x1800068d0
mov eax, 1
lock xadd dword [0x180031f24], eax
inc eax
lea rdx, [0x180031f30]
and eax, 0x3f
mov rcx, rbx
xchg qword [rdx + rax*8], rcx
call fcn.180003db0
mov r12, qword [rsp + 0x460]
mov rax, rbx
jmp 0x1800068df
xor ebx, ebx
mov r12, qword [rsp + 0x460]
mov rax, rbx
jmp 0x1800068df
xor eax, eax
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.180001220
add rsp, 0x470
pop rbx
ret
Function at 0x1800066d0
Capabilities:
Query environment variable

Disassembly:
jmp 0x1800066d0
push rbx
sub rsp, 0x470
mov rax, qword [0x1800300a0]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov edx, 0x3d
mov rbx, rcx
call sym.VBoxNetFltNobj.dll_nocrt_strchr
test rax, rax
jne 0x1800068dd
mov qword [rsp + 0x460], r12
cmp rbx, 0x1000
jb 0x1800068ce
movabs rax, 0xffff800000000000
test rax, rbx
jne 0x1800068ce
lea r12, str.B:_bAntidetect_srcVBoxRuntime_r3winenv_win.cpp
mov rcx, rbx
mov r8, r12
lea rdx, [rsp + 0x38]
call fcn.180005c80
xor ebx, ebx
test eax, eax
js 0x1800068d0
mov qword [rsp + 0x488], rbp
xor ecx, ecx
mov qword [rsp + 0x490], rsi
mov ebp, ebx
mov qword [rsp + 0x468], rdi
mov edi, 0x200
mov qword [rsp + 0x458], r14
lea r14, [rsp + 0x40]
mov qword [rsp + 0x450], r15
mov r15d, ebx
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, edi
jb 0x180006824
nop dword [rax]
mov rcx, r15
call fcn.180004880
cmp edi, 0x8000
jae 0x180006858
lea r8d, [rsi + rbp]
mov edx, ebp
shl rdx, 9
mov ecx, ebp
shl ecx, 9
mov eax, r8d
cmp rax, rdx
lea rdx, [0x18000d937]
cmovb r8d, ecx
mov ecx, r8d
add rcx, rcx
mov edi, r8d
call fcn.180004820
mov r14, rax
mov r15, rax
test rax, rax
je 0x180006858
xor ecx, ecx
inc ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x38]
mov r8d, edi
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, edi
jae 0x1800067b0
test esi, esi
jne 0x18000682c
test eax, eax
jne 0x180006858
mov edx, esi
lea r8, [rsp + 0x30]
mov qword [rsp + 0x28], r12
xor r9d, r9d
mov rcx, r14
mov qword [rsp + 0x20], rbx
call fcn.180003e90
mov rdx, qword [rsp + 0x30]
test eax, eax
cmovs rdx, rbx
mov qword [rsp + 0x30], rdx
mov rcx, r15
call fcn.180004880
mov rcx, qword [rsp + 0x38]
call fcn.180003db0
mov rbx, qword [rsp + 0x30]
mov r15, qword [rsp + 0x450]
mov r14, qword [rsp + 0x458]
mov rdi, qword [rsp + 0x468]
mov rsi, qword [rsp + 0x490]
mov rbp, qword [rsp + 0x488]
test rbx, rbx
je 0x1800068d0
mov eax, 1
lock xadd dword [0x180031f24], eax
inc eax
lea rdx, [0x180031f30]
and eax, 0x3f
mov rcx, rbx
xchg qword [rdx + rax*8], rcx
call fcn.180003db0
mov r12, qword [rsp + 0x460]
mov rax, rbx
jmp 0x1800068df
xor ebx, ebx
mov r12, qword [rsp + 0x460]
mov rax, rbx
jmp 0x1800068df
xor eax, eax
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.180001220
add rsp, 0x470
pop rbx
ret

Function at 0x180008200
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rbx, rdx
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r8, [rax - 1]
cmp r8, 0xfffffffffffffffd
ja 0x180008242
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], 0
mov r8d, ebx
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1800016b4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
mov r13, r8
xor r8d, r8d
mov rbp, rcx
mov ebx, dword [rax + rcx + 0x88]
mov r12d, dword [rax + rcx + 0x8c]
add rbx, rcx
mov eax, edx
shr eax, 0x10
test ax, ax
je 0x180001749
mov edi, dword [rbx + 0x20]
mov r15d, r8d
mov esi, dword [rbx + 0x24]
add rdi, rcx
add rsi, rcx
cmp dword [rbx + 0x18], r8d
jbe 0x180001749
lea r14d, [r8 + 2]
mov ecx, dword [rdi]
mov edx, r8d
add rcx, rbp
mov rax, rcx
cmp byte [rcx], r8b
je 0x180001728
inc rax
inc edx
cmp byte [rax], r8b
jne 0x18000171e
call fcn.180002d74
cmp eax, dword [rsp + 0x68]
je 0x180001764
add rdi, 4
add rsi, r14
inc r15d
mov r8d, 0
cmp r15d, dword [rbx + 0x18]
jb 0x18000170e
mov qword [r13], r8
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movzx r8d, word [rsi]
mov rdx, rbx
mov rcx, rbp
call fcn.180001244
mov rdi, rax
cmp rax, rbx
jbe 0x180001852
mov rdx, rax
sub rdx, rbx
cmp rdx, r12
jae 0x180001852
mov dword [rsp + 0x60], 0xd5786
mov eax, 0x55555556
mov ecx, dword [rsp + 0x60]
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
cmp ecx, eax
je 0x1800017e2
mov ecx, dword [rsp + 0x60]
add ecx, r14d
add ecx, ebx
mov dword [rsp + 0x60], ecx
mov ecx, 0x80000003
jmp 0x1800017cd
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
and eax, ecx
jge 0x1800017dc
dec eax
or eax, 0xfffffffc
inc eax
test eax, eax
je 0x1800017c3
jmp 0x180001840
mov eax, dword [rsp + 0x60]
mov r8d, 0x80000001
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x60]
lea eax, [rbx + 3]
add ecx, r14d
imul ecx, eax
mov dword [rsp + 0x60], ecx
jmp 0x18000182c
mov ecx, dword [rsp + 0x60]
mov eax, 0x66666667
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
cmp ecx, eax
mov eax, dword [rsp + 0x60]
je 0x180001826
dec eax
jmp 0x180001828
inc eax
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
and eax, r8d
jge 0x18000183c
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
je 0x180001803
mov edx, dword [rsp + 0x68]
mov r8, rdi
mov rcx, rbp
call section..text
mov rdi, rax
lea edx, [rdi + 1]
mov rcx, r13
call fcn.180001484
mov rax, rdi
jmp 0x18000174f
Function at 0x180002d74
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x130
mov rax, qword [0x180025008]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov ebx, edx
mov rsi, rcx
mov r15d, edx
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x100
mov r14d, 0x9e3779b8
call fcn.180003ff8
lea rax, [rsp + 0x20]
movsxd rbp, ebx
xor edi, edi
mov rdx, rbp
cmp rsi, rax
jae 0x180002df7
lea r8, [rsi - 1]
add r8, rdx
lea rcx, [rsp + rbp + 0x1f]
test rdx, rdx
je 0x180002e16
mov al, byte [r8]
dec r8
mov byte [rcx], al
dec rcx
sub rdx, 1
jne 0x180002de4
jmp 0x180002e16
lea rax, [rsp + 0x20]
cmp rsi, rax
jbe 0x180002e16
test rdx, rdx
je 0x180002e16
mov r8, rbp
lea rcx, [rsp + 0x20]
mov rdx, rsi
call fcn.1800097a0
test ebx, ebx
jle 0x180002e37
mov rcx, rdi
mov dl, byte [rsp + rcx + 0x20]
lea eax, [rdx - 0x61]
cmp al, 0x19
ja 0x180002e2f
sub dl, 0x20
mov byte [rsp + rcx + 0x20], dl
inc rcx
cmp rcx, rbp
jl 0x180002e1d
lea rdx, [rsp + 0x20]
cmp ebx, 4
jl 0x180002e77
mov r8, rbx
shr r8, 2
mov eax, r8d
neg eax
lea ebx, [rbx + rax*4]
imul eax, dword [rdx], 0x5bd1e995
add rdx, 4
imul r14d, r14d, 0x5bd1e995
mov ecx, eax
shr ecx, 0x18
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
xor r14d, ecx
sub r8, 1
jne 0x180002e50
sub ebx, 1
je 0x180002e96
sub ebx, 1
je 0x180002e8d
cmp ebx, 1
jne 0x180002e9b
movzx edi, byte [rdx + 2]
shl edi, 0x10
movzx eax, byte [rdx + 1]
shl eax, 8
xor edi, eax
movzx eax, byte [rdx]
xor edi, eax
imul ecx, edi, 0x5bd1e995
imul r8d, r15d, 0x5bd1e995
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul ecx, eax, 0x5bd1e995
imul eax, r14d, 0x5bd1e995
xor ecx, eax
mov eax, r8d
shr eax, 0x18
xor eax, r8d
imul edx, ecx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor edx, eax
mov eax, edx
shr eax, 0xd
xor eax, edx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.180007650
lea r11, [rsp + 0x130]
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 0x18000474c
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x10
mov rax, qword gs:[0x60]
mov ebp, ecx
mov rdx, qword [rax + 0x18]
mov r10, qword [rdx + 0x10]
mov r8, qword [r10 + 0x30]
test r8, r8
je 0x180004836
movups xmm0, xmmword [r10 + 0x58]
movsxd rax, dword [r8 + 0x3c]
xor edx, edx
mov r10, qword [r10]
movdqu xmmword [rsp], xmm0
mov r11d, dword [rax + r8 + 0x88]
test r11d, r11d
je 0x180004773
mov rax, qword [rsp]
shr rax, 0x10
movzx ecx, ax
test ecx, ecx
je 0x1800047d0
mov rax, qword [rsp + 8]
mov r9d, ecx
movsx ecx, byte [rax]
ror edx, 0xd
cmp byte [rax], 0x61
jl 0x1800047c5
add edx, 0xffffffe0
add edx, ecx
inc rax
sub r9, 1
jne 0x1800047b7
lea rdi, [r8 + r11]
mov r9d, dword [rdi + 0x18]
mov eax, dword [rdi + 0x20]
dec r9d
add rax, r8
lea rsi, [rax + r9*4]
jmp 0x18000480f
mov ebx, dword [rsi]
xor r11d, r11d
add rbx, r8
lea rsi, [rsi - 4]
movsx ecx, byte [rbx]
inc rbx
ror r11d, 0xd
add r11d, ecx
test cl, cl
jne 0x1800047f3
lea eax, [r11 + rdx]
cmp eax, ebp
je 0x18000481a
dec r9d
cmp r9d, 1
ja 0x1800047e7
jmp 0x180004773
mov eax, dword [rdi + 0x24]
lea ecx, [r9 + r9]
add rax, r8
movzx edx, word [rcx + rax]
mov ecx, dword [rdi + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
jmp 0x180004838
xor eax, eax
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
add rsp, 0x10
pop rdi
ret
Function at 0x180007508
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
movsx edx, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8d, edx
mov byte [rax + r9], r8b
inc r9
cmp r9, 0xf
jb 0x18000750f
mov byte [rcx + 0x13], 0
ret

Function at 0x180007570
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
movsx edx, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8d, edx
mov byte [rax + r9], r8b
inc r9
cmp r9, 0x1b
jb 0x180007577
mov byte [rcx + 0x1f], 0
ret

Function at 0x180007598
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
movsx edx, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8d, edx
mov byte [rax + r9], r8b
inc r9
cmp r9, 0x69
jb 0x18000759f
mov byte [rcx + 0x6d], 0
ret

Function at 0x1800075c0
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
movsx edx, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8d, edx
mov byte [rax + r9], r8b
inc r9
cmp r9, 0x27
jb 0x1800075c7
mov byte [rcx + 0x2b], 0
ret

Function at 0x180007608
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r11d, 0x27
mov r10, rax
movsx r9d, byte [r10]
mov edx, dword [rcx]
movsx r8d, dl
mov edx, r9d
xor edx, r8d
mov byte [r10], dl
inc r10
sub r11, 1
jne 0x180007615
mov byte [rcx + 0x2b], r11b
ret
Function at 0x140022830
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140022864
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140022850
ret
Function at 0x1400291d0
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 0x14002929c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14002929c
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 0x1400292b5
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 0x14002928c
cmp byte [rax], 0x5c
jne 0x140029286
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140029286
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140029272
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140029283
test r8b, 0x10
jne 0x140029286
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140029286
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140024d20
test edi, edi
jne 0x1400291f0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.140024d10
int3
Function at 0x14002bb50
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x14002bb81
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x14002bbfb
mov rdi, r14
mov rcx, rbx
call fcn.14001fe00
test rax, rax
jle 0x14002bbd3
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.1400a1db0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14002bbeb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x14002bbf3
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x14002bb95
sub r14, rdi
jmp 0x14002bcdf
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x14002bc12
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14002bc14
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14002bc46
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1400a1db0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14002bcdc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14002bc81
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x14002bcbd
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14008a6a0
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14002bcdc
cmp rbp, rax
ja 0x14002bc90
test rbp, rbp
je 0x14002bcdc
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14008a6a0
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400306f0
Capabilities:
Load windows common language runtime

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
cmp qword [0x1400e4c30], 0
jne 0x1400307e2
xor ebx, ebx
lea r8, [rsp + 0x48]
lea rdx, [0x1400cb058]
mov qword [rsp + 0x48], rbx
lea rcx, [0x1400cb048]
call qword [sym.imp.mscoree.dll_CLRCreateInstance]
lea rdi, [0x1400e4c30]
test eax, eax
js 0x1400307a5
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x40], rbx
lea r8, [0x1400cb038]
lea rdx, str.v4.0.30319
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov ebx, eax
test eax, eax
js 0x140030796
mov rcx, qword [rsp + 0x40]
lea r8, [0x1400cb028]
mov r9, rdi
lea rdx, [0x1400cb018]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov ebx, eax
test eax, eax
js 0x14003078b
mov rcx, qword [0x1400e4c30]
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 0x1400307e2
cmp qword [0x1400e4c30], 0
jne 0x1400307e2
lea r9, [0x1400cb028]
mov qword [rsp + 0x20], rdi
lea r8, [0x1400cb018]
xor edx, edx
lea rcx, str.v2.0.50727
call qword [sym.imp.mscoree.dll_CorBindToRuntime]
test eax, eax
js 0x1400307ef
mov rcx, qword [0x1400e4c30]
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, [0x1400ca968]
lea rdx, [0x1400ca980]
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 0x140031e60
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [rdx + 0x10]
lea r9, [rsp + 0x30]
xor esi, esi
mov dword [rsp + 0x34], eax
mov rbx, rdx
mov dword [rsp + 0x30], esi
mov rdi, rcx
mov qword [rsp + 0x20], rsi
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x34]
lea r8d, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp qword [rbx + 0x18], 0xf
mov rdx, rbx
jbe 0x140031eac
mov rdx, qword [rbx]
mov r8d, dword [rbx + 0x10]
lea r9, [rsp + 0x30]
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140031efa
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140031ef5
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140031f19
mov rcx, r8
call fcn.1400783d0
mov qword [rbx + 0x10], rsi
mov byte [rbx], sil
mov rsi, qword [rsp + 0x68]
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
call fcn.14007f4bc
int3

Function at 0x140031f20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [rdx + 0x10]
lea r9, [rsp + 0x30]
xor esi, esi
mov rbx, rdx
mov rdi, rcx
mov dword [rsp + 0x30], esi
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x34]
add eax, eax
mov qword [rsp + 0x20], rsi
lea r8d, [rsi + 4]
mov dword [rsp + 0x34], eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r8d, dword [rbx + 0x10]
mov rdx, rbx
add r8d, r8d
cmp qword [rbx + 0x18], 7
jbe 0x140031f75
mov rdx, qword [rbx]
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x140031fc4
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140031fbf
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140031fe3
mov rcx, r8
call fcn.1400783d0
mov qword [rbx + 0x10], rsi
mov word [rbx], si
mov rsi, qword [rsp + 0x68]
mov qword [rbx + 0x18], 7
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
call fcn.14007f4bc
int3
Function at 0x140034420
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov rax, qword [0x1400e10c0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r12, r9
mov r13, r8
mov rbp, rdx
mov qword [rsp + 0x38], rdx
mov r14, rcx
mov qword [rsp + 0x40], rdx
mov rdi, qword [rsp + 0xe0]
xor ebx, ebx
cmp qword [rcx + 0x18], 7
jbe 0x14003446a
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14003449e
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], rbx
mov r8d, 0x19
lea rdx, str.Error:_Ini_File_Not_Exist
mov rcx, rbp
call fcn.1400062b0
jmp 0x14003460d
mov ebp, 1
mov ecx, 0x208
call fcn.140078878
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], bx
mov rbx, 0xffffffffffffffff
mov r15d, 0x104
nop dword [rax + rax]
mov rax, r14
cmp qword [r14 + 0x18], 7
jbe 0x1400344ed
mov rax, qword [r14]
mov r8, rdi
cmp qword [rdi + 0x18], 7
jbe 0x1400344fa
mov r8, qword [rdi]
mov rdx, r12
cmp qword [r12 + 0x18], 7
jbe 0x140034509
mov rdx, qword [r12]
mov rcx, r13
cmp qword [r13 + 0x18], 7
jbe 0x140034517
mov rcx, qword [r13]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [r15 - 1]
cmp eax, ecx
jb 0x140034598
mov r8, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14003453f
mov r8, qword [rdi]
mov rax, rsi
sub r8, rsi
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140034564
add rax, 2
test ecx, ecx
jne 0x140034550
test edx, edx
je 0x140034598
mov rcx, rsi
call fcn.1400783d0
inc ebp
imul r15d, ebp, 0x104
mov ecx, r15d
mov eax, 2
mul rcx
cmovo rax, rbx
mov rcx, rax
call fcn.140078878
mov rsi, rax
jmp 0x1400344e0
mov rbp, qword [rsp + 0x38]
nop dword [rax]
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x1400345a0
mov rax, qword [rsp + 0x60]
cmp rbx, rax
ja 0x1400345e3
lea rdi, [rsp + 0x48]
cmp rax, 7
cmova rdi, qword [rsp + 0x48]
mov qword [rsp + 0x58], rbx
add rbx, rbx
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.1400a1db0
xor r14d, r14d
mov word [rbx + rdi], r14w
jmp 0x1400345f3
mov r9, rsi
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140021ea0
mov rcx, rsi
call fcn.1400783d0
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbp + 0x10], xmm1
mov rax, rbp
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400783b0
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret