joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400111a9
Capabilities:
Create thread

Disassembly:
jmp 0x1400176e0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
mov rax, qword [0x140031018]
xor rax, rbp
mov qword [rbp + 0x128], rax
lea rcx, [0x1400380f9]
call fcn.1400119b0
mov edx, 8
lea rcx, [rbp + 8]
call fcn.14001195b
mov rcx, qword [rbp + 0x160]
call fcn.14001149c
mov qword [rbp + 0x118], rax
mov rcx, qword [rbp + 0x158]
call fcn.14001132f
mov rcx, qword [rbp + 0x118]
mov r8, rcx
mov rdx, rax
lea rcx, [rbp + 0x108]
call fcn.1400118e3
mov qword [rbp + 0x120], rax
mov rdx, qword [rbp + 0x120]
lea rcx, [rbp + 8]
call fcn.14001119f
nop
lea rcx, [rbp + 0x108]
call fcn.140011663
lea rax, [0x1400116c2]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x150]
add rax, 8
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 8]
call fcn.1400117d5
mov rcx, qword [rbp + 0x118]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x150]
mov qword [rcx], rax
mov rax, qword [rbp + 0x150]
cmp qword [rax], 0
je 0x14001780a
lea rcx, [rbp + 8]
call fcn.1400113d9
jmp 0x140017823
mov rax, qword [rbp + 0x150]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.14001125d
nop
lea rcx, [rbp + 8]
call fcn.140011663
lea rcx, [rbp - 0x30]
lea rdx, [0x14002abb0]
call fcn.140011802
mov rcx, qword [rbp + 0x128]
xor rcx, rbp
call fcn.1400114e2
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret

Function at 0x14001121c
Capabilities:
Create thread

Disassembly:
jmp 0x14001e7c0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
mov rax, qword [0x140031018]
xor rax, rbp
mov qword [rbp + 0x120], rax
lea rcx, [0x140038228]
call fcn.1400119b0
mov edx, 8
lea rcx, [rbp + 8]
call fcn.140011307
mov rcx, qword [rbp + 0x158]
call fcn.14001117c
mov rdx, rax
lea rcx, [rbp + 0x108]
call fcn.14001150a
mov qword [rbp + 0x118], rax
mov rdx, qword [rbp + 0x118]
lea rcx, [rbp + 8]
call fcn.140011244
nop
lea rcx, [rbp + 0x108]
call fcn.14001141a
lea rax, [0x140011686]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x150]
add rax, 8
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 8]
call fcn.1400116b3
mov rcx, qword [rbp + 0x118]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x150]
mov qword [rcx], rax
mov rax, qword [rbp + 0x150]
cmp qword [rax], 0
je 0x14001e8c8
lea rcx, [rbp + 8]
call fcn.14001144c
jmp 0x14001e8e1
mov rax, qword [rbp + 0x150]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.14001125d
nop
lea rcx, [rbp + 8]
call fcn.14001141a
lea rcx, [rbp - 0x30]
lea rdx, [0x14002b7b0]
call fcn.140011802
mov rcx, qword [rbp + 0x120]
xor rcx, rbp
call fcn.1400114e2
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x1400115a5
Capabilities:
Terminate process

Disassembly:
jmp 0x1400219f0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400116d6
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400226d0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400226f0
xor al, al
jmp 0x140022771
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140022703
xor al, al
jmp 0x140022771
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14002272d
xor al, al
jmp 0x140022771
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140022741
xor al, al
jmp 0x140022771
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140022753
xor al, al
jmp 0x140022771
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14002276f
xor al, al
jmp 0x140022771
mov al, 1
add rsp, 0x38
ret
Function at 0x140011799
Capabilities:
Create thread

Disassembly:
jmp 0x1400178c0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
mov rax, qword [0x140031018]
xor rax, rbp
mov qword [rbp + 0x128], rax
lea rcx, [0x1400380f9]
call fcn.1400119b0
mov edx, 8
lea rcx, [rbp + 8]
call fcn.14001196f
mov rcx, qword [rbp + 0x160]
call fcn.140011974
mov qword [rbp + 0x118], rax
mov rcx, qword [rbp + 0x158]
call fcn.14001137a
mov rcx, qword [rbp + 0x118]
mov r8, rcx
mov rdx, rax
lea rcx, [rbp + 0x108]
call fcn.140011177
mov qword [rbp + 0x120], rax
mov rdx, qword [rbp + 0x120]
lea rcx, [rbp + 8]
call fcn.140011a2d
nop
lea rcx, [rbp + 0x108]
call fcn.1400110e6
lea rax, [0x140011014]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x150]
add rax, 8
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 8]
call fcn.140011037
mov rcx, qword [rbp + 0x118]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x150]
mov qword [rcx], rax
mov rax, qword [rbp + 0x150]
cmp qword [rax], 0
je 0x1400179ea
lea rcx, [rbp + 8]
call fcn.140011127
jmp 0x140017a03
mov rax, qword [rbp + 0x150]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.14001125d
nop
lea rcx, [rbp + 8]
call fcn.1400110e6
lea rcx, [rbp - 0x30]
lea rdx, [0x14002ac30]
call fcn.140011802
mov rcx, qword [rbp + 0x128]
xor rcx, rbp
call fcn.1400114e2
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret

Function at 0x1400111e5
Capabilities:
Terminate process

Disassembly:
jmp 0x140014f10
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011262
Capabilities:
Parse pe header

Disassembly:
jmp 0x140012c10
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140012c30
xor al, al
jmp 0x140012cb1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140012c43
xor al, al
jmp 0x140012cb1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140012c6d
xor al, al
jmp 0x140012cb1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140012c81
xor al, al
jmp 0x140012cb1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140012c93
xor al, al
jmp 0x140012cb1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140012caf
xor al, al
jmp 0x140012cb1
mov al, 1
add rsp, 0x38
ret
Function at 0x14011ce40
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14011ce4d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14011ce5d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14011ce45
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14011ce75
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14011ce62
sub eax, 3
jb 0x14011ce8f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14011cec6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14011ceb6
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14011ceb4
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14011cea3
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14011ce02
jmp 0x14011ce4d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x11a000]
mov eax, dword [rdi]
or eax, eax
je 0x14011cf22
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x11d1e4]
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 0x14011ced2
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 0x14011cf1c
mov qword [rbx], rax
add rbx, 8
jmp 0x14011cef2
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 0x14011cf5c
cmp al, 0xef
ja 0x14011cf4e
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14011cf2e
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14011cf3d
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 0x14011cfb0
sub rsp, 0xffffffffffffff80
jmp 0x140005f90
Function at 0x14017f1f0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14017f1fd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14017f20d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14017f1f5
lea eax, [rcx + 1]
jmp 0x14017f21b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14017f22e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14017f214
sub eax, 3
jb 0x14017f24e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14017f29d
sar eax, 1
movsxd rbp, eax
jb 0x14017f284
jmp 0x14017f25c
add ebx, ebx
jne 0x14017f25a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14017f284
inc ecx
add ebx, ebx
jne 0x14017f26a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14017f284
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14017f27d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14017f26c
add ecx, 2
jmp 0x14017f289
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14017f1b2
jmp 0x14017f1fd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x88000
mov dl, 0x15
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14017f2e9
cmp rsi, rcx
jae 0x14017f2f1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14017f2d0
cmp al, 0x8f
ja 0x14017f2d0
cmp byte [rsi - 2], 0xf
je 0x14017f2d6
sub al, 0xe8
cmp al, 1
ja 0x14017f2ba
cmp rsi, rcx
jae 0x14017f2f1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14017f2c0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14017f2f1
lodsb al, byte [rsi]
jmp 0x14017f2d0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x17c000]
mov eax, dword [rdi]
or eax, eax
je 0x14017f34e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x195f68]
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 0x14017f2fe
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 0x14017f348
mov qword [rbx], rax
add rbx, 8
jmp 0x14017f31e
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 0x14017f388
cmp al, 0xef
ja 0x14017f37a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14017f35a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14017f369
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 + 0x22f]
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 0x14017f3dc
sub rsp, 0xffffffffffffff80
jmp 0x1400446b0
Function at 0x14000f680
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov ebx, ecx
mov r14, r8
xor ecx, ecx
mov qword [r8], 0
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movzx edx, bx
mov r8, rdi
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x14000f791
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rbx
mov rcx, rsi
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x14000f791
mov edx, ebp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8d, ebp
mov rdx, rdi
mov rcx, rax
call fcn.140062290
lea r8, [rsp + 0x58]
mov edx, 1
mov rcx, rsi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov rbp, qword [rsp + 0x58]
mov ecx, 0x18
call qword [sym.imp.gdiplus.dll_GdipAlloc]
mov rbx, rax
test rax, rax
je 0x14000f76b
lea rax, vtable.Gdiplus::Bitmap.0
mov qword [rsp + 0x50], 0
lea rdx, [rsp + 0x50]
mov qword [rbx], rax
mov rcx, rbp
call qword [sym.imp.gdiplus.dll_GdipCreateBitmapFromStream]
mov rcx, qword [rsp + 0x50]
mov qword [rbx + 8], rcx
mov dword [rbx + 0x10], eax
jmp 0x14000f76d
xor ebx, ebx
mov rcx, rsi
mov qword [r14], rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov al, 1
jmp 0x14000f793
xor al, al
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14000fc10
Capabilities:
Get common file path
Get startup folder

Disassembly:
push rdi
sub rsp, 0x270
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x288], rbx
mov rax, qword [0x1400ba080]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor edi, edi
mov dword [rsp + 0x30], edi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 5]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], di
jne 0x14000fc80
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400021c0
mov dword [rsp + 0x30], 1
mov r8d, 0xd
lea rdx, str.FLiNGTrainer
mov rcx, rbx
call fcn.140001100
mov rax, rbx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140043dc0
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret
Function at 0x14001eb20
Capabilities:
Resume thread

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x90
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rax, qword [0x1400ba080]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor edi, edi
mov qword [r11 - 0x68], rdi
mov dword [rsp + 0x28], 4
mov qword [r11 - 0x78], r8
mov r9, rdx
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0x80]
call qword [0x1400bf6f8]
mov rbx, rax
test rax, rax
jne 0x14001eca2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.140010680
nop
lea r8, [0x1400bfae0]
cmp qword [0x1400bfaf8], 8
cmovae r8, qword [0x1400bfae0]
mov r9, qword [0x1400bfaf0]
mov rcx, rax
call fcn.14000b780
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea r8, [0x1400bf8c0]
cmp qword [0x1400bf8d8], 8
cmovae r8, qword [0x1400bf8c0]
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x14001ec4a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ec45
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001eceb
call fcn.140043de4
movdqa xmm0, xmmword [0x1400a4aa0]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], di
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x14001ec9e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ec99
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ece5
call fcn.140043de4
xor al, al
jmp 0x14001ecc4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140043dc0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
call fcn.14006532c
nop
call fcn.14006532c
nop
int3
Function at 0x14001fab0
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 [0x1400ba080]
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 0x14001fb01
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14001fb36
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.1400021c0
jmp 0x14001fc55
mov ecx, 0x208
mov r15d, 1
call fcn.140044450
mov rsi, rax
movdqa xmm0, xmmword [0x1400a4aa0]
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 0x14001fb7d
mov rax, qword [r14]
mov r8, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001fb8a
mov r8, qword [rbx]
mov rdx, r12
cmp qword [r12 + 0x18], 8
jb 0x14001fb99
mov rdx, qword [r12]
mov rcx, r13
cmp qword [r13 + 0x18], 8
jb 0x14001fba7
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 0x14001fc1b
mov r8, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001fbcd
mov r8, qword [rbx]
mov rax, rsi
sub r8, rsi
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14001fbe7
add rax, 2
test ecx, ecx
jne 0x14001fbd3
test edx, edx
je 0x14001fc1b
mov rcx, rsi
call fcn.140043de4
inc r15d
imul ebp, r15d, 0x104
mov ecx, ebp
mov eax, 2
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.140044450
mov rsi, rax
jmp 0x14001fb70
mov r15, qword [rsp + 0x30]
inc rdi
cmp word [rsi + rdi*2], 0
jne 0x14001fc20
mov r8, rdi
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.1400021c0
mov rcx, rsi
call fcn.140043de4
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.140043dc0
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14003a77c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
xor r10d, r10d
sar r8, 1
movabs rax, 0xcbf29ce484222325
add r8, r8
mov r9, rdx
lea rcx, [r8 + rdx]
cmp rdx, rcx
cmova r8, r10
test r8, r8
je 0x14003a7c8
movzx ecx, byte [r9]
movabs r10, 0x100000001b3
xor rax, rcx
inc r9
mov rcx, r9
sub rcx, rdx
imul rax, r10
cmp rcx, r8
jne 0x14003a7a5
ret

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

Disassembly:
xor ecx, ecx
mov r10, r8
sub r10, rdx
movabs rax, 0xcbf29ce484222325
cmp rdx, r8
mov r9, rdx
cmova r10, rcx
test r10, r10
je 0x140042044
movzx ecx, byte [r9]
movabs r8, 0x100000001b3
xor rax, rcx
inc r9
mov rcx, r9
sub rcx, rdx
imul rax, r8
cmp rcx, r10
jne 0x140042021
ret

Function at 0x1400478ac
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400478bf
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.140047ecc
lea rdx, [0x1400b7bc8]
lea rcx, [rsp + 0x20]
call fcn.140062890
int3

Function at 0x140052148
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x1400be5b0]
xor edx, edx
jmp fcn.1400478ac

Function at 0x140052ae0
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x1400be5b0]
jmp fcn.1400478ac

Function at 0x14005e72c
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x14005e7e8]
mov r9, qword [r9 + 8]
jmp fcn.14004fb00

Function at 0x14005e7c0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x14005e7f8]
mov r9, qword [r9 + 8]
jmp fcn.14004fb00

Function at 0x140073b54
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140073978
Function at 0x14080a058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14080a1df
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 0x14080a089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14080a06f
add dl, dl
jne 0x14080a096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14080a0f6
xor eax, eax
add dl, dl
jne 0x14080a0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14080a1ad
add dl, dl
jne 0x14080a0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14080a0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14080a0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14080a0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14080a0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14080a07e
mov eax, 1
add dl, dl
jne 0x14080a106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14080a113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14080a0fb
sub eax, ebx
mov ebx, 1
jne 0x14080a14c
mov ecx, 1
add dl, dl
jne 0x14080a12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14080a13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14080a123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14080a07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14080a168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14080a175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14080a15d
cmp eax, 0x7d00
jae 0x14080a19b
cmp eax, 0x500
jb 0x14080a196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14080a07e
cmp eax, 0x7f
ja 0x14080a19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14080a07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14080a1d2
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 0x14080a07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20