joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b2d0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140015b70
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140015b70
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x14000b340
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1405530a4]
mov rbx, rcx
test esi, esi
jle 0x14000b470
mov rax, qword [0x1405530a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000b38b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14000b415
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14000b370
mov rcx, rbx
call fcn.14000bdb0
mov rdi, rax
test rax, rax
je 0x14000b492
mov rax, qword [0x1405530a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.14000bef0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1405530a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000b477
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14000b40e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x14000b420
add dword [0x1405530a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1405530a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000b40e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000b2d0
nop dword [rax]
xor esi, esi
jmp 0x14000b398
mov rax, qword [0x1405530a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.14000b2d0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.14000b2d0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14000ba20
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140553100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1405530e0]
test rbx, rbx
je 0x14000ba7c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x14000ba73
test eax, eax
jne 0x14000ba73
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000ba58
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x14000bdb0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14052abd0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14000bdd0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14000bdd8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000bdd0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000be2d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14000be24
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14000bdd0
add rax, 0x28
cmp rax, r9
jne 0x14000be10
xor eax, eax
ret

Function at 0x14000be30
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14052abd0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000be4f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14000be58
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000be4f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x14000bef0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14052abd0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000bf0f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14000bf18
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x14007b270
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, qword [rdi]
call sub.msvcrt.dll__fileno_1
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sub.msvcrt.dll__read
movsxd rbp, eax
cmp eax, 0xffffffff
je 0x14007b2b8
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x14007b28a
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x1400c5450
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400ca1e0]
jmp 0x14000cc10

Function at 0x1400c5460
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400ca1e0]
jmp 0x14000cc10
Function at 0x1400032b8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003302
mov ecx, __std_terminate
cmp word [rax], cx
jne 0x140003302
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003302
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003302
cmp dword [rcx + 0x84], 0xe
jbe 0x140003302
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003304
xor al, al
add rsp, 0x28
ret
Function at 0x140023f40
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 0x14002400c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14002400c
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 0x140024025
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 0x140023ffc
cmp byte [rax], 0x5c
jne 0x140023ff6
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140023ff6
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140023fe2
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140023ff3
test r8b, 0x10
jne 0x140023ff6
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140023ff6
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140027bc0
test edi, edi
jne 0x140023f60
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.140025530
int3

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

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140028664
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140028650
ret
Function at 0x140032fc0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400ef380]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140032fed
xor eax, eax
jmp 0x14003313b
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140033027
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140033027
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x14003313b
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14003312e
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14003306a
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
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140033079
movsx ecx, dil
jmp 0x1400330cd
lea r8, [rsp + 0x48]
mov byte [rsp + 0x40], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x41]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x40]
call qword [rax + 0x38]
test eax, eax
je 0x1400330e7
sub eax, 1
je 0x1400330e7
cmp eax, 2
jne 0x14003312e
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call fcn.140098be4
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140033133
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140033114
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.1400994d0
cmp rsi, rax
jne 0x14003312e
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140033133
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140089cb0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400337f0
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 0x140033821
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 0x14003389b
mov rdi, r14
mov rcx, rbx
call fcn.140025f00
test rax, rax
jle 0x140033873
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.1400ade20
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 0x14003388b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140033893
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140033835
sub r14, rdi
jmp 0x14003397f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x1400338b2
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400338b4
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400338e6
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1400ade20
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 0x14003397c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140033921
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 0x14003395d
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140098f68
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14003397c
cmp rbp, rax
ja 0x140033930
test rbp, rbp
je 0x14003397c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140098f68
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 0x1400339a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov r14, r8
mov rbp, rdx
mov rdi, rcx
mov rbx, r8
je 0x140033a38
test r8, r8
jle 0x140033a30
nop word [rax + rax]
mov rcx, rdi
call fcn.1400272d0
test rax, rax
jle 0x140033a0e
cmp rbx, rax
mov rsi, rbx
mov rdx, rbp
cmovge rsi, rax
mov rax, qword [rdi + 0x40]
mov r8, rsi
mov rcx, qword [rax]
call fcn.1400ade20
mov rax, qword [rdi + 0x58]
sub rbx, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
jmp 0x140033a28
mov rax, qword [rdi]
mov rcx, rdi
movzx edx, byte [rbp]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
cmp eax, 0xffffffff
je 0x140033a30
dec rbx
mov esi, 1
add rbp, rsi
test rbx, rbx
jg 0x1400339d0
sub r14, rbx
mov rax, r14
jmp 0x140033ab6
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], r15
mov r9, qword [rax]
test r9, r9
je 0x140033a51
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140033a53
xor ecx, ecx
movsxd rsi, ecx
test r14, r14
jle 0x140033aab
test ecx, ecx
jle 0x140033a8c
cmp r14, rsi
mov rcx, r9
cmovl rsi, r14
mov r8, rsi
call fcn.1400ade20
mov rax, qword [rdi + 0x58]
add rbp, rsi
sub r14, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
test r14, r14
jle 0x140033aab
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140033aab
mov r8, r14
mov edx, 1
mov rcx, rbp
call fcn.1400994d0
sub r14, rax
mov r15, qword [rsp + 0x40]
sub rbx, r14
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x140037240
Capabilities:
Load windows common language runtime

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
cmp qword [0x1400f1bf0], 0
jne 0x140037330
xor ebx, ebx
lea r8, [rsp + 0x48]
lea rdx, [0x1400ba1f8]
mov qword [rsp + 0x48], rbx
lea rcx, [0x1400ba208]
call sub.mscoree.dll_CLRCreateInstance
lea rdi, [0x1400f1bf0]
test eax, eax
js 0x1400372f4
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x40], rbx
lea r8, [0x1400ba218]
lea rdx, str.v4.0.30319
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov ebx, eax
test eax, eax
js 0x1400372e5
mov rcx, qword [rsp + 0x40]
lea r8, [0x1400ba248]
mov r9, rdi
lea rdx, [0x1400ba238]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov ebx, eax
test eax, eax
js 0x1400372da
mov rcx, qword [0x1400f1bf0]
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 0x140037330
cmp qword [0x1400f1bf0], 0
jne 0x140037330
lea r9, [0x1400ba248]
mov qword [rsp + 0x20], rdi
lea r8, [0x1400ba238]
xor edx, edx
lea rcx, str.v2.0.50727
call sub.mscoree.dll_CorBindToRuntime
test eax, eax
js 0x14003733d
mov rcx, qword [0x1400f1bf0]
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, [0x1400ba320]
lea rdx, [0x1400ba340]
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 0x14003cc30
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rdi, rcx
xor ebp, ebp
add rcx, 0x10
call fcn.1400555d0
mov ecx, dword [rdi + 0x340]
test al, al
je 0x14003cdb0
cmp ecx, 1
je 0x14003cda5
mov dword [rdi + 0x340], 1
lea rcx, [0x1400f16a0]
call fcn.1400429a0
test al, al
je 0x14003ce13
cmp byte [rdi + 0x598], bpl
jne 0x14003ce1b
mov byte [rdi + 0x598], 1
cmp qword [0x1400f1308], rbp
je 0x14003ccd2
lea rcx, [rdi + 0x80]
call fcn.140060320
lea rcx, [rdi + 0x80]
call fcn.140060170
mov rcx, qword [0x1400f1308]
test rcx, rcx
je 0x14003ce21
mov rax, qword [rcx]
call qword [rax + 0x10]
xor edx, edx
mov rcx, rdi
call fcn.1400419d0
mov rcx, rdi
call fcn.14003fed0
lea rcx, [rdi + 0x10]
call fcn.1400554e0
test al, al
je 0x14003ce13
lea rcx, [rdi + 0x10]
call fcn.140055c20
lea rbx, [rdi + 0x630]
cmp byte [rbx + 8], bpl
jne 0x14003cd99
cmp qword [rbx + 0x18], rbp
je 0x14003cd99
mov word [rbx + 8], 0x101
mov dword [rbx + 0x20], 0x32
mov ecx, 8
call fcn.140089800
test rax, rax
je 0x14003cd3a
mov qword [rax], rbx
jmp 0x14003cd3d
mov rax, rbp
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x140038000]
xor edx, edx
xor ecx, ecx
call fcn.140099b5c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14003ce32
cmp dword [rsp + 0x38], 0
je 0x14003ce27
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.140088aac
test eax, eax
jne 0x14003ce27
mov dl, 1
mov rcx, rdi
call fcn.1400419d0
jmp 0x14003cdfe
lea rcx, [rdi + 0x10]
call fcn.1400016b0
jmp 0x14003cdfe
test ecx, ecx
je 0x14003cdfe
cmp ecx, 1
jne 0x14003cdc2
lea rcx, [rdi + 0x10]
call fcn.1400016b0
mov dword [rdi + 0x340], ebp
mov rcx, rdi
call fcn.14003fed0
mov byte [rdi + 0x638], bpl
mov ebx, 0x1388
cmp byte [rdi + 0x639], bpl
je 0x14003cdfe
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
sub ebx, 0x32
js 0x14003cdfe
cmp byte [rdi + 0x639], bpl
jne 0x14003cde5
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
xor ecx, ecx
call fcn.14009a1d8
int3
call fcn.1400418d0
int3
call fcn.140087b1c
nop
mov ecx, 1
call fcn.140087e88
nop
mov dword [rsp + 0x38], ebp
mov ecx, 6
call fcn.140087e88
int3
Function at 0x14003fd00
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 [0x1400ef380]
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.140007960
mov byte [rsp + 0x78], dil
mov qword [rsp + 0x80], rsi
lea ecx, [rbp + 0x30]
call fcn.140089800
test rax, rax
je 0x14003fd8c
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rax + 0x10], xmm1
movdqa xmm0, xmmword [0x1400b6c60]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], bpl
mov byte [rax + 0x20], dil
mov qword [rax + 0x28], rsi
jmp 0x14003fd8f
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, [0x140037e70]
xor edx, edx
xor ecx, ecx
call fcn.140099b5c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14003fea6
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14003fe00
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003fdfb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003feb5
call fcn.14008983c
cmp dword [rsp + 0x38], 0
je 0x14003fe9b
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.140088aac
test eax, eax
jne 0x14003fe9b
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14003fe63
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14003fe5e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003febb
mov rcx, r8
call fcn.14008983c
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.140089cb0
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.140087e88
nop
mov dword [rsp + 0x38], ebp
mov ecx, 6
call fcn.140087e88
nop
call fcn.140090654
nop
call fcn.140090654
int3

Function at 0x14003fed0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
lea rdi, [0x1400f1ca0]
mov qword [rsp + 0x48], rdi
mov rcx, rdi
call fcn.140087c0c
test eax, eax
jne 0x14003ff61
cmp dword [0x1400f1cec], 0x7fffffff
je 0x14003ff4c
lea edx, [rax + 2]
mov rcx, rbx
call fcn.140049c00
mov eax, dword [rbx + 0xe0]
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.140087c14
mov dword [0x1400f1cec], 0x7ffffffe
mov ecx, 6
call fcn.140087e88
int3
mov ecx, 5
call fcn.140087e88
int3
Function at 0x1400402e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
movzx edi, dl
mov rbx, rcx
lea rsi, [0x1400f1ca0]
mov qword [rsp + 0x50], rsi
mov rcx, rsi
call fcn.140087c0c
test eax, eax
jne 0x140040378
cmp dword [0x1400f1cec], 0x7fffffff
je 0x140040363
lea edx, [rax + 7]
mov rcx, rbx
call fcn.140049c00
mov dword [rsp + 0x58], edi
xor eax, eax
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8d, [rax + 4]
lea rdx, [rsp + 0x58]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.140087c14
mov dword [0x1400f1cec], 0x7ffffffe
mov ecx, 6
call fcn.140087e88
int3
mov ecx, 5
call fcn.140087e88
int3
Function at 0x1400410e0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12, r9
mov rdi, r8
mov rbp, rdx
mov r13, rcx
mov dword [rsp + 0x30], 1
mov r15, qword [rsp + 0xa0]
mov rdx, r15
call fcn.140007bb0
nop
mov dword [rsp + 0x30], 1
mov rcx, r12
call fcn.14004f350
test al, al
je 0x1400412a7
mov ecx, 0x400
mov r14d, 0x200
call fcn.140089d38
mov rbx, rax
test rax, rax
je 0x14004116a
xor edx, edx
mov r8d, 0x400
mov rcx, rax
call fcn.1400ae4c0
jmp 0x14004116c
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], 5
mov rsi, 0xffffffffffffffff
jmp 0x14004118a
mov rdi, qword [rsp + 0x90]
mov rax, r12
cmp qword [r12 + 0x18], 7
jbe 0x140041199
mov rax, qword [r12]
mov r8, r15
cmp qword [r15 + 0x18], 7
jbe 0x1400411a6
mov r8, qword [r15]
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x1400411b3
mov rdx, qword [rdi]
mov rcx, rbp
cmp qword [rbp + 0x18], 7
jbe 0x1400411c1
mov rcx, qword [rbp]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [r14 - 1]
cmp eax, ecx
jb 0x140041280
mov rdi, rbx
mov r8, rsi
nop word [rax + rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x1400411f0
mov rdx, rbx
mov rcx, r13
call fcn.140028280
mov rdx, r15
mov rcx, r13
call fcn.140037920
test al, al
jne 0x140041280
add r14d, r14d
cmp r14d, 0x6400000
ja 0x140041280
mov ecx, r14d
mov eax, 2
mul rcx
mov rbp, rax
cmovo rbp, rsi
mov rcx, rbp
call fcn.140089d38
mov rbx, rax
test rax, rax
je 0x140041252
mov r8, rbp
xor edx, edx
mov rcx, rax
call fcn.1400ae4c0
jmp 0x140041254
xor ebx, ebx
or dword [rsp + 0x30], 2
mov qword [rsp + 0x38], rbx
test rdi, rdi
mov rbp, qword [rsp + 0x88]
je 0x140041182
mov rcx, rdi
call fcn.14008983c
jmp 0x140041182
inc rsi
cmp word [rbx + rsi*2], 0
jne 0x140041280
mov r8, rsi
mov rdx, rbx
mov rcx, r13
call fcn.140028280
nop
test rbx, rbx
je 0x1400412a7
mov rcx, rbx
call fcn.14008983c
nop
mov rax, r13
mov rbx, qword [rsp + 0x98]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret