joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011230
Capabilities:
Terminate process

Disassembly:
jmp 0x140013a70
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]
nop
add rsp, 0x28
ret

Function at 0x1400112b7
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014e00
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014e20
xor al, al
jmp 0x140014ea1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014e33
xor al, al
jmp 0x140014ea1
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 0x140014e5d
xor al, al
jmp 0x140014ea1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014e71
xor al, al
jmp 0x140014ea1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014e83
xor al, al
jmp 0x140014ea1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014e9f
xor al, al
jmp 0x140014ea1
mov al, 1
add rsp, 0x38
ret
Function at 0x140012cb0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113e3
movzx eax, al
test eax, eax
jne 0x140012cd0
mov ecx, 7
call fcn.140011357
nop
mov byte [rsp + 0x20], 0
call fcn.140011370
mov byte [rsp + 0x21], al
cmp dword [0x14001e868], 1
jne 0x140012cf4
mov ecx, 7
call fcn.140011357
nop
jmp 0x140012d4c
cmp dword [0x14001e868], 0
jne 0x140012d47
mov dword [0x14001e868], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111cc
test eax, eax
je 0x140012d28
mov eax, 0xff
jmp 0x140012e51
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.140011366
mov dword [0x14001e868], 2
jmp 0x140012d4c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011343
call fcn.1400112da
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140012da9
mov rcx, qword [rsp + 0x30]
call fcn.14001117c
movzx eax, al
test eax, eax
je 0x140012da9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140025020]
nop
call fcn.14001130c
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140012ddd
mov rcx, qword [rsp + 0x38]
call fcn.14001117c
movzx eax, al
test eax, eax
je 0x140012ddd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400113a2
nop
call fcn.140012f00
mov dword [rsp + 0x28], eax
call fcn.1400112b7
movzx eax, al
test eax, eax
jne 0x140012dfc
mov ecx, dword [rsp + 0x28]
call fcn.14001105f
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140012e0b
call fcn.1400113ac
nop
xor edx, edx
mov cl, 1
call fcn.14001116d
mov eax, dword [rsp + 0x28]
jmp 0x140012e51
add rsp, 0x68
ret
Function at 0x1400567e0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
movsd xmm0, qword [0x14023c520]
xor r9d, r9d
cmp byte [0x14023c52d], r9b
movzx eax, word [0x14023c52c]
mov edx, dword [0x14023c528]
movsd qword [rsp + 0x40], xmm0
mov dword [rsp + 0x48], edx
mov word [rsp + 0x4c], ax
je 0x1400569bf
cmp dword [reloc.WS2_32.dll_accept], 2
mov ecx, r9d
jl 0x14005697e
movdqa xmm2, xmmword [0x14023e780]
mov ecx, listen
movdqa xmm5, xmmword [0x14023eca0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x14023e7b0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
movdqa xmm4, xmmword [0x14023e800]
punpckldq xmm1, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.9999]
psubd xmm2, xmm0
movd xmm0, dword [0x14023c520]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14023e850]
xorps xmm2, xmm0
movd dword [rsp + 0x40], xmm2
movdqa xmm2, xmmword [0x14023e7a0]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
pmulld xmm0, xmmword [str.9999]
psubd xmm2, xmm0
punpckldq xmm1, xmm3
movd xmm0, dword [rsp + 0x44]
andps xmm2, xmm4
packuswb xmm2, xmm2
pmuldq xmm1, xmm5
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14023e850]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
movd dword [rsp + 0x44], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.9999]
psubd xmm3, xmm0
movd xmm0, edx
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmmword [0x14023e850]
xorps xmm3, xmm0
movd dword [rsp + 0x48], xmm3
mov eax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop dword [rax + rax]
mov eax, 0x8fb823ef
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, cl
inc ecx
sub al, dl
add al, 0x30
xor byte [r8 - 1], al
cmp ecx, 0xe
jl 0x140056990
mov qword [rsp + 0x30], r9
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], r9d
mov edx, 0xc0000000
mov r8d, 3
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [0x1402973f8], rax
test rax, rax
je 0x1400569ff
cmp rax, 0xffffffffffffffff
setne al
add rsp, 0x58
ret
add rsp, 0x58
ret
Function at 0x140059270
Capabilities:
Access peb ldr_data
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x14025a0c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rsi, rcx
mov qword [rsp + 0x20], rcx
mov rbp, rcx
cmp qword [rcx + 0x18], 0xf
jbe 0x1400592a8
mov rbp, qword [rcx]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140059336
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140059336
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
mov r8d, 0xa2a76fd1
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140059331
nop
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
jne 0x140059310
cmp r8d, 0xae193e87
je 0x14005933b
test r9d, r9d
jne 0x1400592f0
mov rax, qword [rax]
jmp 0x1400592c0
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rbx + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov edx, dword [rcx + rax*4]
add rdx, r10
mov rcx, rbp
call rdx
cmp eax, 0xffffffff
je 0x140059364
test al, 0x10
jne 0x140059364
mov bl, 1
jmp 0x140059366
xor bl, bl
mov rcx, rsi
call fcn.1400b02e0
movzx eax, bl
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401ff5f0
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400593a0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
xor ebx, ebx
mov rsi, rdx
mov rdi, rcx
mov rax, rcx
mov r8d, ebx
test rcx, rcx
je 0x1400593dc
cmp byte [rcx], bl
je 0x1400593dc
inc r8d
lea rax, [rax + 1]
cmp byte [rax], bl
jne 0x1400593d1
mov rax, rsi
mov ecx, ebx
test rsi, rsi
je 0x1400593fa
cmp byte [rdx], cl
je 0x1400593fa
nop word [rax + rax]
inc ecx
lea rax, [rax + 1]
cmp byte [rax], bl
jne 0x1400593f0
lea eax, [rcx + r8]
mov r14, 0xffffffffffffffff
add eax, 0x35
movsxd rcx, eax
cmovo rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, rdi
mov rbp, rax
test rdi, rdi
je 0x14005942f
cmp byte [rdi], bl
je 0x14005942f
inc ebx
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x140059424
add ebx, 0xe
movsxd rcx, ebx
cmovo rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9, rsi
lea rdx, str.sc_create__s_binpath__s__typekernel_NUL
mov r8, rdi
mov rcx, rbp
mov r14, rax
call fcn.140055e90
mov r8, rdi
lea rdx, str.sc_start__s_NUL
mov rcx, r14
call fcn.140055e90
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop word [rax + rax]
mov r10, qword [rcx + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov ebx, dword [rax + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1400594f7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1400594f7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xdc74535f
lea rax, [rdi + r9*4]
mov edx, dword [rax + r10]
add rdx, r10
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x1400594f2
nop
movsx eax, al
lea rdx, [rdx + 1]
xor eax, r8d
imul r8d, eax, 0x1000193
movzx eax, byte [rdx - 1]
test al, al
jne 0x1400594d0
cmp r8d, 0x991c96be
je 0x1400594fc
test r9d, r9d
jne 0x1400594b0
mov rcx, qword [rcx]
jmp 0x140059480
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rcx, rbp
add rax, r10
call rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1400595a7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1400595a7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x5f77602f
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x1400595a2
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140059580
cmp r8d, 0xcf6b68e
je 0x1400595ac
test r9d, r9d
jne 0x140059560
mov rax, qword [rax]
jmp 0x140059530
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rcx, r14
add rax, r10
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp rax
Function at 0x14005c6d0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop
mov r10, qword [rax + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov ebx, dword [rdx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x14005c767
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14005c767
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xdb3226f
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x14005c762
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x14005c740
cmp r8d, 0x3653d6ad
je 0x14005c76c
test r9d, r9d
jne 0x14005c720
mov rax, qword [rax]
jmp 0x14005c6f0
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov edx, 6
add rax, r10
mov rcx, rsi
mov rbx, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
pop rdi
jmp rax

Function at 0x14005c7a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
mov eax, 0x13c0
call fcn.140200060
sub rsp, rax
mov rax, qword [0x14025a0c0]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
mov ebx, edx
mov esi, ecx
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13a4], 0xffffffff
mov r9d, 1
mov dword [rsp + 0x24], eax
mov r8d, eax
shr r8d, 0x1e
xor r8d, eax
imul eax, r8d, 0x6c078965
add eax, r9d
mov dword [rsp + r9*4 + 0x24], eax
inc r9
cmp r9, 0x270
jb 0x14005c7e4
btc esi, 0x1f
mov dword [rsp + 0x20], 0x270
btc ebx, 0x1f
lea rcx, [rsp + 0x20]
sub ebx, esi
cmp ebx, 0xffffffff
jne 0x14005c82e
call fcn.1400b46a0
mov ecx, eax
jmp 0x14005c880
mov qword [rsp + 0x13d0], rdi
inc ebx
call fcn.1400b46a0
mov ecx, eax
mov edi, ebx
imul rcx, rdi
cmp ecx, ebx
jae 0x14005c874
mov eax, ebx
xor edx, edx
neg eax
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x14005c874
nop word [rax + rax]
lea rcx, [rsp + 0x20]
call fcn.1400b46a0
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jb 0x14005c860
mov rdi, qword [rsp + 0x13d0]
shr rcx, 0x20
lea eax, [rcx + rsi]
xor eax, 0x80000000
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.1401ff5f0
mov rbx, qword [rsp + 0x13d8]
add rsp, 0x13c0
pop rsi
ret
Function at 0x14005db80
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14025a0c0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [0x140297540]
mov rsi, rdx
mov rdi, rcx
cmp byte [rax + 0x73], 0
je 0x14005de06
cmp byte [0x14023be97], 0
mov rax, qword [0x14023be90]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x88], rbx
je 0x14005dd03
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14005dcc9
movdqa xmm2, xmmword [0x14023e780]
movdqa xmm4, xmmword [0x14023eca0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.9999]
psubd xmm2, xmm0
movd xmm0, dword [rsp + 0x50]
andps xmm2, xmmword [0x14023e800]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14023e850]
xorps xmm2, xmm0
movd dword [rsp + 0x50], xmm2
movdqa xmm2, xmmword [0x14023e7a0]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.9999]
psubd xmm2, xmm0
movd xmm0, dword [rsp + 0x54]
andps xmm2, xmmword [0x14023e800]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14023e850]
xorps xmm2, xmm0
movd dword [rsp + 0x54], xmm2
jmp 0x14005dd03
lea r9, [rsp + 0x50]
nop
mov eax, 0x1f7047dd
lea r9, [r9 + 1]
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x14005dcd0
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x209f
call fcn.1400c1150
mov rcx, qword [0x140297440]
lea r8, [rsp + 0x58]
movups xmm0, xmmword [rdi]
lea rdx, [rsp + 0x50]
movsd xmm1, qword [rdi + 0x10]
mov dword [rsp + 0x58], 0
mov rax, qword [rcx + 0x4038]
movaps xmmword [rsp + 0x30], xmm0
movsd qword [rsp + 0x40], xmm1
mov byte [rax + 0xc0], 1
mov rax, qword [rcx + 0x4038]
mov byte [rax + 0xc0], 1
mov rax, qword [rcx + 0x4038]
lea rcx, [rsp + 0x30]
mov rbx, qword [rax + 0x2a8]
call fcn.14005d280
movups xmm0, xmmword [rsi]
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
call fcn.1400b7360
movd xmm0, dword [rsp + 0x50]
mov edi, eax
movd xmm1, dword [rsp + 0x58]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x50], xmm0
movss dword [rsp + 0x54], xmm1
test eax, 0xff000000
je 0x14005ddf9
movss xmm0, dword [0x14023e56c]
lea rdx, [rsp + 0x50]
movss xmm2, dword [0x14023e568]
xorps xmm3, xmm3
mov dword [rsp + 0x28], 6
mov rcx, rbx
movss dword [rsp + 0x20], xmm0
call fcn.1400da840
mov r8d, dword [rbx + 0x78]
mov r9d, edi
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
call fcn.1400d9d70
mov dword [rbx + 0x78], 0
call fcn.1400c3660
mov rbx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401ff5f0
mov rsi, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret
Function at 0x14006d620
Capabilities:
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0xe8
mov rax, qword [0x14025a0c0]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rdi, r9
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], r9
mov eax, dword [0x140236a94]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x140236a98]
cmp qword [rdx + 0x18], 0xf
jbe 0x14006d67b
mov r8, qword [rdx]
jmp 0x14006d67e
mov r8, rsi
mov byte [rsp + 0x30], Ordinal_79
xor byte [rsp + 0x31], 0x31
xor byte [rsp + 0x32], 0x32
xor byte [rsp + 0x33], 0x33
xor al, 0x34
mov byte [rsp + 0x34], al
mov rdx, rdi
cmp qword [r9 + 0x18], 0xf
jbe 0x14006d6a5
mov rdx, qword [r9]
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14006d6b2
mov rcx, qword [rbx]
mov qword [rsp + 0x28], r8
mov dword [rsp + 0x20], 0x64
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], 0
mov qword [rbp + 0x18], 0
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14006d6f2
lea rdx, [rsp + 0x60]
mov rcx, rbp
call fcn.1400b2060
nop
mov rcx, rsi
call fcn.1400b02e0
nop
mov rcx, rbx
call fcn.1400b02e0
nop
mov rcx, rdi
call fcn.1400b02e0
mov rax, rbp
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1401ff5f0
add rsp, 0xe8
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400ae3d0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x1400ae3f8
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x1400ae41e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400ae420
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400ae479
test ecx, ecx
jle 0x1400ae459
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x1400ae479
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400ae479
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x1400ae4a0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1400ae4c2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x1400ae4d8
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400ae4f4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400ae4f6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400ae532
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1400ae5ce
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400ae56d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x1400ae5ae
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x1400ae5ce
cmp rbx, rax
ja 0x1400ae580
test rbx, rbx
je 0x1400ae5ce
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x1400aea00
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14025a0c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400aea2d
xor eax, eax
jmp 0x1400aeb99
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400aea67
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400aea67
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 0x1400aeb99
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400aeb8c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400aeaaa
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 0x1400aead5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400aeb91
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400aeb44
sub eax, 1
je 0x1400aeb44
cmp eax, 2
jne 0x1400aeb8c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400aeb91
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400aeb72
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x1400aeb8c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400aeb91
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1401ff5f0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret