joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14023c3d0
Capabilities:
Reference http user-agent string

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rdi, [0x14028f8c0]
mov qword [rsp + 0x80], rdi
xor ebx, ebx
mov qword [0x14028f8c0], rbx
mov qword [0x14028f8c8], rbx
lea ecx, [rbx + 0x60]
call fcn.14024118c
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x14028f8c0], rax
xorps xmm0, xmm0
movups xmmword [0x14028f8d0], xmm0
mov qword [0x14028f8e0], rbx
mov qword [0x14028f8e8], rbx
lea r8d, [rbx + 0x4d]
lea rdx, str.Mozilla_5.0__Windows_NT_6.1__Win64__x64__rv:89.0__Gecko_20100101_Firefox_89.0
lea rcx, [0x14028f8d0]
call fcn.1401d50a0
nop
xorps xmm0, xmm0
movups xmmword [0x14028f8f0], xmm0
mov qword [0x14028f900], rbx
mov qword [0x14028f908], 0xf
mov byte [0x14028f8f0], bl
movups xmmword [0x14028f910], xmm0
mov qword [0x14028f920], rbx
mov qword [0x14028f928], 0xf
mov byte [0x14028f910], bl
movups xmmword [0x14028f930], xmm0
mov qword [0x14028f940], rbx
mov qword [0x14028f948], 0xf
mov byte [0x14028f930], bl
movups xmmword [0x14028f950], xmm0
mov qword [0x14028f960], rbx
mov qword [0x14028f968], 0xf
mov byte [0x14028f950], bl
movups xmmword [0x14028f970], xmm0
mov qword [0x14028f980], rbx
mov qword [0x14028f988], 0xf
mov byte [0x14028f970], bl
movups xmmword [0x14028f990], xmm0
mov qword [0x14028f9a0], rbx
mov qword [0x14028f9a8], rbx
lea r8d, [rbx + 3]
lea rdx, [0x1402720c0]
lea rcx, [0x14028f990]
call fcn.1401d50a0
nop
xorps xmm0, xmm0
movups xmmword [0x14028f9b0], xmm0
mov qword [0x14028f9c0], rbx
mov qword [0x14028f9c8], 0xf
mov byte [0x14028f9b0], bl
movups xmmword [0x14028f9d0], xmm0
mov qword [0x14028f9e0], rbx
mov qword [0x14028f9e8], rbx
lea r8d, [rbx + 0xf]
lea rdx, str.www.example.com
lea rcx, [0x14028f9d0]
call fcn.1401d50a0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x40], xmm1
xor r8d, r8d
lea rdx, [0x14026cc23]
lea rcx, [rsp + 0x30]
call fcn.1401d50a0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x60], xmm1
xor r8d, r8d
lea rdx, [0x14026cc23]
lea rcx, [rsp + 0x50]
call fcn.1401d50a0
nop
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
lea rcx, [0x14028f9f0]
call fcn.1401bc4b0
nop
lea r9, [fcn.1401bc640]
lea edx, [rbx + 0x40]
lea r8d, [rbx + 1]
lea rcx, [rsp + 0x30]
call fcn.1402411dc
mov qword [0x14028fa00], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret
Function at 0x140240124
Capabilities:
Get geographical location

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

Function at 0x140241b60
Capabilities:
Parse pe header

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

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x18002181b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18002181b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18002181b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18002181b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18002181b
cmp dword [rcx + 0x84], 0xe
jbe 0x18002181b
cmp dword [rcx + 0xf8], 0
je 0x18002181b
mov ecx, ebx
call fcn.1800218cc
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1800216a8
nop
cmp dword [rbp + 0x20], 0
je 0x180021869
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.180021874
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1800217ac
Function at 0x18002673c
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 0x18002676c
xor eax, eax
jmp 0x18002682f
mov rbp, rbx
cmp word [rax], si
je 0x180026791
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180026778
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180026774
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.18002665c
movsxd r14, eax
test eax, eax
jne 0x1800267cf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180026765
mov rcx, r14
call fcn.1800229a8
mov rdi, rax
test rax, rax
jne 0x1800267e8
xor ecx, ecx
call fcn.18002296c
jmp 0x1800267c4
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.18002665c
test eax, eax
jne 0x180026819
mov rcx, rdi
call fcn.18002296c
jmp 0x180026823
xor ecx, ecx
call fcn.18002296c
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 0x18002da50
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18002da78
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18002da78
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14158c813
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov qword [rsp + rax*2 - 0x4528], rax
lea rdi, [rdi + rcx*8 - 0x60cc0bdf]
lea r11d, [r11 + rdi*2 - 0x197a6268]
ror r11d, 2
sar cl, 0x45
shl dword [rsp + rax*2 - 0x4526], 0xbf
jns 0x141596f01
mov esi, 0x610ba50f
mov edx, 0xcaaa120
dec edx
mov eax, dword [rbx + rdx - 0xcaaa11f]
mov r11, rbx
lea rdi, [rsi + rdx - 0x5cdb2bc8]
push rbx
cpuid
ror sil, 0xa2
lea r11, [rsi + r11 - 0x610ba5cf]
not dil
lea r8, [rdi + 0x501e7a1a]
mov dword [r11 + rdi - 0x10db1a8d], eax
or esi, r8d
mov dword [r11 + rsi - 0x61fbb5eb], ebx
jns 0x14159c5a9
mov dword [r11 + rdi - 0x10db1a95], ecx
mov dword [r11 + rdi*2 - 0x21b63532], edx
movsx ecx, di
sub esi, edi
xor r8b, cl
pop rbx
adc r8, 0xffffffff85b4f397
lea rdx, [rdi*4 - 0x3dfe1b51]
mov rbx, r11
neg r8
or di, di
lea rbp, [rbp + rdi*4 - 0x436c6a68]
mov r11d, dword [rbp + rdi*2 - 0x21b63532]
ror rdi, 0xd6
sub rcx, r8
xor r11d, r10d
or r8b, cl
sal r8w, 6
dec dx
dec r11d
sar dil, 0xc3
ror r11d, 3
not r11d
bswap edx
sal r8b, 0x27
xor r11d, 0xe0826894
rol sil, 0x41
lea r11d, [r11 + rcx - 0x7e49307c]
jae 0x14155a849
sar byte [rsp + rbp - 0x7512a671], 0x67
rol ecx, 2
shr r11, 0xb8
xor rax, 0x31bc1492
xchg word [rsp + rbp - 0x7512a673], dx
bswap ecx
neg ecx
push rdx
add dword [rsp + rbp - 0x7512a666], r11d
ja 0x1415e43fc

Function at 0x1415b89f4
Capabilities:
Execute anti-debugging instructions

Disassembly:
rol ebp, 3
neg ebp
mov ebx, 0xd23cf292
mov qword [rsp + rax*8 - 0x328e8], r11
sub word [rsp + rax*8 - 0x328f5], r10w
pop rdx
movsx r8d, r10w
xor dword [rsp + rax - 0x6509], ebp
neg al
mov edx, r8d
mov r11, qword [rsp + r10 - 0x619765c6]
neg rbx
movsxd rbp, ebp
add dx, r8w
adc rsi, rbp
call fcn.14154f417
rdtsc
sub rdi, 8
mov ebp, 0x1a01969d
mov dword [rbp + rdi - 0x1a019699], eax
mov dword [rdi + rbp - 0x1a01969d], edx
jmp 0x1415da8ba
lea rcx, [rbp + rbp*8 - 0x67722dd]
call fcn.141561464
mov r14d, 0x72aa3e32
lea rbp, [r14 + r14*2 - 0x705b4a77]
movsx r13d, r14b
mov rsp, r11
call fcn.14160f10f

Function at 0x1415cc825
Capabilities:
Manually build aes constants

Disassembly:
movzx ecx, r8b
mov r8d, dword [r8 + rdi - 0x3d1aeb9d]
xor r8d, r11d
inc r8d
lea rbp, [rax + rax - 0x526327d3]
shl rcx, 0x86
mov qword [rsp + rax - 0xeb9d], rcx
rol r8d, 1
mov ebx, eax
lea rbp, [rbp + rbp*8 + 0x3011a907]
xor r8d, 0x6180e011
lea r10, [rbx + rbx*8 + 0x2b1bed81]
lea r8d, [rcx + r8 - 0x723c4242]
sub r10b, 0x38
jne 0x1415fdf78

Function at 0x1415d5978
Capabilities:
Authenticate hmac

Disassembly:
bswap eax
push rbp
jge 0x1415db42b
mov r9d, 0x6845091
mov ecx, r9d
lea r11, [r9 - 0x47ca0748]
mov eax, dword [rsi + r9*8 - 0x34228488]
lea rsi, [rsi + r9*4 - 0x1a114240]
xor cx, 0x72a2
jp 0x1415d6d2e
mov qword [rsp + rax - 0x37a6f6a4], rax
mov eax, dword [rdi + rax - 0x37a6f6a4]
xor eax, r11d
sub eax, 0xbd0965b0
mov edx, dword [rsp + 7]
pop r8
xor eax, 0x12b41582
xadd edx, r8d
lea eax, [rax + r8 - 0x58d21f77]
movzx r10d, byte [rsp + 3]
lea rbp, [r8*4 + 0x31347e35]
not eax
and dword [rsp + r10 - 0x36], ebp
jg 0x14157c582
Function at 0x1415e5960
Capabilities:
Execute anti-debugging instructions

Disassembly:
adc r9, 0x1b0da63c
adc r8, rbx
not r9b
call fcn.1415e7d94
call fcn.141594340
movsx ecx, r10b
mov rax, qword [r10 + r9 - 0x72010a06]
jmp 0x14156b8c9
movsx eax, cl
bswap ebp
sar edx, 0xa5
lea ebp, [rbp + rcx*4 - 0x5f8480be]
lea rax, [rdx*4 - 0xb6bc5f8]
xor ebp, 0x41109f87
mov qword [rsp + r11 - 0x65271faf], rdx
rol ecx, 0xe5
jb 0x141572c77
mov eax, 0xc4b8f8b8
rdtsc
mov ecx, 0x3599b13b
movsx ebp, cx
lea r11, [r11 + rcx*2 - 0x6b33627e]
mov dword [r11 + rcx*2 - 0x6b336272], eax
mov eax, ecx
mov dword [r11 + rcx - 0x3599b13b], edx
movsx edx, cl
neg ebp
movzx r9d, ax
lea rsi, [rcx + rsi - 0x3599b13f]
xor eax, 0x603b789a
mov ecx, dword [rsi + rcx*2 - 0x6b336276]
jbe 0x141548265
xor ecx, ebx
shl ax, 0x48
rol ecx, 1
inc ecx
rol bpl, 0x86
movzx r8d, al
mov edi, 0x4996ae98
xor ecx, 0x54a4929b
call fcn.1415bd5c8
mov r11, qword [rsp + rcx*2 - 0x773b3040]
movsxd rbp, ebp
push rcx
xor ax, cx
adc rsi, rbp
xor edx, 0xa5901e1c
adc eax, 0xba2a53a4
mov r8, qword [r9 + rcx - 0x3b9d9824]
mov ebx, dword [r8 + rcx*2 - 0x773b3048]
sbb rax, rax
lea r9, [rcx + r9 - 0x3b9d9820]
sar rdx, 0x37
call fcn.1415f3b92
movsx edx, cx
lea ebp, [rbp + rcx - 0x1772c361]
add edx, 0xdb094512
jl 0x1415bdbfd
lea rsi, [rdx + rsi - 0x22]
mov ecx, eax
xor ebx, r10d
shl r9b, 0x61
adc dword [rsp + rdx - 0x23], eax
ror ebx, 1
xchg word [rsp + rdx - 0x25], cx
inc ebx
add word [rsp + rbp - 0x23], dx
rol ebx, 2
movsx r11d, r9b
or cl, byte [rsp + rdx*4 - 0x98]
adc qword [rsp + rdx - 0x26], 0xfffffffff21e4d98
xor ebx, 0x6338181
mov qword [rsp + rdx - 0x26], r10
xor dword [rsp + rbp*2 - 0x4c], ebx
sub r9b, cl
bswap edx
sar r11b, 0x87
pop r10
jbe 0x1415a8083
shl rdx, 0x11
setne r9b
movsxd rbx, ebx
inc al
jns 0x141531602
neg edx
neg ecx
call fcn.1415b10ab
Function at 0x1415f9932
Capabilities:
Parse pe header

Disassembly:
pop r11
movsxd rax, eax
push rcx
xor byte [rsp + rcx - 0x67fffffb], bh
adc rsi, rax
mov eax, ebx
or cx, word [r9 + rbx*2 + 0x5fefdf58]
xor word [rsp + rbx*2 + 0x5fefdf5e], bp
jle 0x1415b8d07
lea r8, [rbx + rax*2 + 0x4a278831]
lea r9, [r9 + rbx*2 + 0x5fefdf5a]
shl bx, 0xa3
sub dx, 0x73a8
jnp 0x141561606
lea rdi, [rbx + rdi + 0x2ff77d5e]
inc ebp
or r8w, word [rsp + rbx*2 + 0x5feefac1]
movzx r8d, word [rdi + rbp - 0x45ae213a]
shr rdx, 0x62
lea rbx, [rax + rax*2 - 0x5bde77d5]
pop rdx
xor r8w, r11w
dec rax
add r8w, 0xb785
jmp 0x14157a5f6
movsxd rcx, ecx
shr di, 0xc5
pop r8
adc r10, rcx
not al
movzx ebp, byte [rsp + rax - 0x77230668]
pop rax
pop rax
jmp fcn.1415552d9
jmp 0x1415a0943
rol r8w, 1
shr rbp, 0x99
movsx r10d, bp
or dx, dx
dec r8w
rol r8w, 1
neg r8w
lea r10, [rbx*4 - 0x64d025cb]
xor r11w, r8w
shr rdx, 0x9d
adc r8, rsp
sar r10b, 0x84
mov byte [r8 + rbp*8 - 0x110], cl
lea r8, [rcx*4 - 0x53cbb0d7]
mov bx, word [rdx + rbp - 0x66400001]
adc r8w, cx
lea r9, [r9 + rbp - 0x66400003]
jbe 0x141613b99
xor dx, 0x5701
inc bp
neg dx
xor r11w, dx
or ecx, ebx
ror byte [rsp + rbp - 0x663ffffd], 0x81
not qword [rsp + rbp - 0x66400001]
lea rdx, [rsp + rdx + 8]
jno 0x1415b83fb
mov qword [rsp + rax - 0x77230693], rdx
xor ecx, 0x520909a
push rdi
mov qword [rsp + rdx*2 + 0x10], rbx
xor dword [rsp + rdx + 0x10], ecx
sub r8b, al
setp byte [rsp + rdx + 9]
mov rbx, qword [rsp + rax - 0x77230683]
inc rdx
jne 0x1415431f3
not edx
xor dword [rsp + rbx*2 + 0x5fefdf58], eax
shr dx, 0xc1
jns 0x141535315
lea rbx, [rsi + rbx - 0x30fe]
xadd ecx, eax
xor al, byte [rsp + rsi - 0x3100]
lea rbp, [rbp + rcx*2 - 0x6269]
movzx edi, byte [rbp + rsi*2 - 0x6200]
shr rax, 0xdb
cmovbe r11, qword [rsp + rsi*8 - 0x18800]
xor dil, r10b
lea rdx, [r11 + rsi*8 - 0x41df5178]
inc qword [rsp + rsi - 0x3100]
dec dil
ror dil, 1
call fcn.1415b9539
dec ecx
lea r8, [rbp + rbx - 0x2942ce4e]
mov r10d, ebp
ror ecx, 2
or r10, qword [rsp + rbx + 0x26ca0fcf]
jno 0x141544240
mov edx, dword [r11 + rax - 0x3f4d1d35]
call fcn.14153489a
mov word [r9 + rbp - 0x66400001], bx
call fcn.1415b216a
pop rcx
push rax
inc r8b
mov qword [rsp + rbx*2 - 0x12222], 0xffffffffd935f039
xchg qword [rsp + rbx - 0x910d], rbx
sal rax, cl
xor r11b, r8b
ror al, 0x66
xadd qword [rsp + rbx*2 + 0x4d941f8e], rcx
lea r8, [rsp + r8 + 0x10]
xor byte [rsp + rbx + 0x26ca0fcd], cl
mov word [r8 + rcx*2 - 0x28], r10w
adc ecx, 0xf1b30409
lea rdi, [rdi + rbx + 0x26ca0fc3]
mov r8d, ecx
mov ecx, dword [rbx + rdi + 0x26ca0fc7]
add ebp, r8d
or rax, rax
movsx edx, byte [rsp + rbx*2 + 0x4d941f92]
xor ecx, r11d
lea ecx, [rcx + rdx + 0x591f9082]
not ecx
jmp 0x1416001f6
Function at 0x14160a46a
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x1415d5dfb
xor dl, bpl
adc r9d, edi
mov dword [r11 + rbp - 0x379c], r9d
lea rcx, [rdx + rbp + 0x6a964b05]
lea rsi, [rbp + rsi - 0x37a0]
xadd ebp, edx
mov edi, dword [rsi + rdx*2 - 0x6f38]
shl cl, 0x45
xor edi, ebx
pop rax
lea edi, [rdx + rdi + 0x72ac8b18]
and cx, 0x8f91
lea r8, [rdx + rbp*4 - 0x6c5e5cd1]
push rbp
bswap edi
mov qword [rsp + rdx*2 - 0x6f18], 0x5d8f3e00
ror edi, 3
sal bp, 0xc3
xor dl, ch
call fcn.1415b6cd1
xor dword [rsp + rdx - 0x6909cf30], r8d
lea rax, [r9 + 0x618afa9c]
movzx ebx, al
pop rbx
push rax
movsxd r8, r8d
add r10, r8
rol word [rsp + rdx - 0x6909cf2c], 0x25
mov ebp, 0xd40c3b92
rdtsc
lea r11, [r11 + rdi - 0xfe]
setae byte [rsp + rdi*2 - 0x1ea]
inc cl
mov dword [r11 + rdi*8 - 0x7ac], eax
mov dword [r11 + rdi*2 - 0x1ec], edx
pop rdi
jne fcn.1415552d9
jmp 0x141558eb7

Function at 0x141616a77
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea rbx, [rsi + rbx + 4]
not eax
mov dword [rbx + rsi*2], edi
rol rdx, 0x68
adc rdx, rax
lea rcx, [rax*2 + 0x75a544b7]
mov qword [rsp + rsi*2], r9
ret
ror ecx, 1
neg ecx
lea ecx, [r8 + rcx + 0x4bc6c08e]
pop rbp
mov qword [rsp + r8 - 0x7539de12], r11
lea rbx, [rdx + r8 - 0x1c77e2d1]
xchg r10, rbx
xor dword [rsp + r8 - 0x7539de12], ecx
mov eax, r10d
xor ebx, eax
pop r11
movsxd rcx, ecx
movzx ebp, ax
sbb rbx, rax
adc r8d, eax
adc rsi, rcx
movzx bp, byte [r9 + rax - 0x4108620f]
mov bl, byte [rbx + r9 - 0x6845a2b0]
movzx ecx, r8b
not ecx
lea r9, [r9 + rax - 0x4108620d]
inc rcx
not bpl
xadd rcx, r8
push r10
adc cx, 0x9e07
not bl
pop rcx
and bpl, bl
and cl, 0x1c
jae 0x141579be9
xor edi, r10d
not edi
push rsi
ror edi, 3
and al, sil
not edi
xadd byte [rsp + rax - 0x3b8d550a], sil
neg esi
neg edi
movzx ecx, al
inc edi
add word [rsp + rax - 0x3b8d550f], 0x15
mov qword [rsp + rax - 0x3b8d5510], r10
mov r10d, ecx
movzx r8d, ax
xor dword [rsp + rax - 0x3b8d5510], edi
pop r10
lea r8, [rcx*8 - 0x5c661b69]
movsx edx, cl
movsxd rdi, edi
push rcx
add r9, rdi
and qword [rsp + rsi*2], r8
mov rcx, qword [rbx + rax - 0x3b8d5510]
jb 0x14157f21e
and byte [rsp + rax*2 - 0x771aaa1f], 0xae
mov edi, dword [rax + rcx - 0x3b8d5510]
not rdx
jbe 0x14159e5e5
lea rbp, [rbp + rdi - 0x72479f9b]
mov ecx, eax
mov r11d, dword [rax + rbp - 0x9f97]
lea r8, [rcx + rcx + 0x21bc7989]
adc al, r8b
shr ax, 0x86
xor r11d, r10d
movsx edx, ax
ror rdi, 0x3e
neg r11d
inc di
rol edi, cl
lea rsi, [r8 + rcx*4 - 0x736ccadb]
rol r11d, 1
push rax
sal sil, 0x61
cmovnp eax, edi
not r11d
and rcx, 0xf1595bf
rol r11d, 3
rol r8, 0x2b
call fcn.14155f7b2
Function at 0x140009ba0
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], 0x10
mov rdx, rbx
jb 0x140009bec
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, 0x10
jb 0x140009c3a
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140009c35
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140009c59
mov rcx, r8
call fcn.14002a284
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbx], sil
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
call fcn.14004b5f4
int3

Function at 0x140009c60
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]
cmp qword [rbx + 0x18], 8
mov rdx, rbx
mov rax, qword [rbx + 0x10]
jb 0x140009cb2
mov rdx, qword [rbx]
mov rcx, qword [rdi + 8]
lea r8d, [rax + rax]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140009d05
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140009d00
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140009d24
mov rcx, r8
call fcn.14002a284
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
call fcn.14004b5f4
int3
Function at 0x14000bc20
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 qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x140098088]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r12, r9
mov r13, r8
mov r15, rdx
mov qword [rsp + 0x30], rdx
mov r14, rcx
mov qword [rsp + 0x40], rdx
mov rbx, qword [rsp + 0xe0]
cmp qword [rcx + 0x18], 8
jb 0x14000bc71
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14000bca6
xor eax, eax
mov qword [r15 + 0x10], rax
mov qword [r15 + 0x18], 7
mov word [r15], ax
lea r8d, [rax + 0x19]
lea rdx, str.Error:_Ini_File_Not_Exist
mov rcx, r15
call fcn.140002030
jmp 0x14000bdc5
mov ecx, 0x208
mov r15d, 1
call fcn.14002a5a8
mov rsi, rax
movdqa xmm0, xmmword [0x140086950]
movdqu xmmword [rsp + 0x58], xmm0
xor eax, eax
mov word [rsp + 0x48], ax
mov ebp, 0x104
lea rdi, [rax - 1]
nop word [rax + rax]
mov rax, r14
cmp qword [r14 + 0x18], 8
jb 0x14000bced
mov rax, qword [r14]
mov r8, rbx
cmp qword [rbx + 0x18], 8
jb 0x14000bcfa
mov r8, qword [rbx]
mov rdx, r12
cmp qword [r12 + 0x18], 8
jb 0x14000bd09
mov rdx, qword [r12]
mov rcx, r13
cmp qword [r13 + 0x18], 8
jb 0x14000bd17
mov rcx, qword [r13]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebp
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [rbp - 1]
cmp eax, ecx
jb 0x14000bd8b
mov r8, rbx
cmp qword [rbx + 0x18], 8
jb 0x14000bd3d
mov r8, qword [rbx]
mov rax, rsi
sub r8, rsi
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000bd57
add rax, 2
test ecx, ecx
jne 0x14000bd43
test edx, edx
je 0x14000bd8b
mov rcx, rsi
call fcn.14002a284
inc r15d
imul ebp, r15d, 0x104
mov ecx, ebp
mov eax, 2
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.14002a5a8
mov rsi, rax
jmp 0x14000bce0
mov r15, qword [rsp + 0x30]
inc rdi
cmp word [rsi + rdi*2], 0
jne 0x14000bd90
mov r8, rdi
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.140002030
mov rcx, rsi
call fcn.14002a284
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [r15 + 0x10], xmm1
mov rax, r15
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14002a260
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret