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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x48
mov r15, rcx
xor esi, esi
mov dword [rsp + 0x30], esi
cmp byte [rcx + 0x3c], sil
je 0x14001a90b
mov edx, 0xffffffff
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, 0xffffff7f
je 0x14001a845
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14001a8f4
lea rdx, [rsp + 0x90]
call fcn.1400037b0
mov r14, rax
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14001a870
add edi, edi
mov r12, qword [r15 + 0x30]
mov ebx, esi
nop dword [rax]
nop word [rax + rax]
mov r8d, edi
sub r8d, ebx
mov edx, ebx
add rdx, r14
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x30]
mov rcx, r12
cmp r8d, 0x400
jbe 0x14001a8b7
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14001a8c7
add ebx, dword [rsp + 0x30]
jmp 0x14001a8d2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x14001a8d8
cmp ebx, edi
je 0x14001a8dd
jmp 0x14001a890
mov esi, 0x6d
mov dword [rsp + 0x30], esi
mov rcx, qword [r15 + 0x30]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, r14
call fcn.140021e64
nop
jmp 0x14001a902
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
add rsp, 0x48
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x14001a920
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbx, r8
mov rdi, rdx
mov r15, rcx
xor esi, esi
mov dword [rsp + 0x78], esi
cmp byte [rcx + 0x3c], sil
je 0x14001aa4a
mov edx, 0xffffffff
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, 0xffffff7f
je 0x14001a976
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rdx, rbx
mov rcx, rdi
call fcn.1400036e0
mov r13, rax
mov rdx, rax
lea rcx, [0x140056f48]
call fcn.1400035e0
mov r14, rax
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14001a9a0
add edi, edi
mov r12, qword [r15 + 0x30]
mov ebx, esi
nop dword [rax]
nop word [rax + rax]
mov r8d, edi
sub r8d, ebx
mov edx, ebx
add rdx, r14
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x78]
mov rcx, r12
cmp r8d, 0x400
jbe 0x14001a9e7
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14001a9f7
add ebx, dword [rsp + 0x78]
jmp 0x14001aa02
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x14001aa08
cmp ebx, edi
je 0x14001aa0d
jmp 0x14001a9c0
mov esi, 0x6d
mov dword [rsp + 0x78], esi
mov rcx, qword [r15 + 0x30]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test r13, r13
je 0x14001aa28
mov rcx, r13
call fcn.140021e64
test r14, r14
je 0x14001aa36
mov rcx, r14
call fcn.140021e64
nop
jmp 0x14001aa41
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x14001aa70
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov rbx, r8
mov rdi, rdx
mov r15, rcx
xor esi, esi
mov dword [rsp + 0x78], esi
cmp byte [rcx + 0x3c], sil
je 0x14001ab68
mov edx, 0xffffffff
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, 0xffffff7f
je 0x14001aac0
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rdx, rbx
mov rcx, rdi
call fcn.1400037b0
mov r14, rax
mov rdi, 0xffffffffffffffff
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14001aad5
add edi, edi
mov r12, qword [r15 + 0x30]
mov ebx, esi
nop word [rax + rax]
mov r8d, edi
sub r8d, ebx
mov edx, ebx
add rdx, r14
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x78]
mov rcx, r12
cmp r8d, 0x400
jbe 0x14001ab17
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14001ab27
add ebx, dword [rsp + 0x78]
jmp 0x14001ab32
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x14001ab38
cmp ebx, edi
je 0x14001ab3d
jmp 0x14001aaf0
mov esi, 0x6d
mov dword [rsp + 0x78], esi
mov rcx, qword [r15 + 0x30]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, r14
call fcn.140021e64
nop
jmp 0x14001ab5f
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140022900
Capabilities:
Parse pe header

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

Function at 0x1400342f8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400340f4
Function at 0x14003dd30
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 0x14003dd60
xor eax, eax
jmp 0x14003de23
mov rbp, rbx
cmp word [rax], si
je 0x14003dd85
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14003dd6c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14003dd68
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.14003c5fc
movsxd r14, eax
test eax, eax
jne 0x14003ddc3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14003dd59
mov rcx, r14
call fcn.140037f38
mov rdi, rax
test rax, rax
jne 0x14003dddc
xor ecx, ecx
call fcn.140037efc
jmp 0x14003ddb8
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.14003c5fc
test eax, eax
jne 0x14003de0d
mov rcx, rdi
call fcn.140037efc
jmp 0x14003de17
xor ecx, ecx
call fcn.140037efc
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 0x1400411d0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140036f84
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140041271
cmp ebx, dword [rsp + 0x30]
je 0x14004126a
test esi, esi
je 0x14004126a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140041245
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140041252
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14004122f
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140041256
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140041273
mov eax, 1
jmp 0x140041273
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14004466c
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400289fc
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400446f6
cmp byte [rbp - 0x21], r15b
je 0x1400446f1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14004472c
call fcn.140037778
test eax, eax
jne 0x140044718
cmp byte [rbp - 0x21], r15b
je 0x140044710
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14004472c
cmp byte [rbp - 0x21], r15b
je 0x140044729
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140033800
test eax, eax
jne 0x1400447cc
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400289fc
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14004476b
cmp byte [rbp - 0x21], r15b
je 0x1400447a0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400447a0
call fcn.140037778
test eax, eax
jne 0x14004478c
cmp byte [rbp - 0x21], r15b
je 0x140044785
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400447a0
cmp byte [rbp - 0x21], r15b
je 0x14004479d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140033800
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400447cc
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400447cf
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400447dd
mov rcx, rdi
call fcn.140037efc
cmp byte [rbp + 0x3f], r15b
je 0x1400447ec
mov rcx, qword [rbp + 0x27]
call fcn.140037efc
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140046670
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x140063a40]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1400466c7
cmp word [rdx], r13w
jne 0x1400466c7
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1400466cc
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1400467f1
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140046812
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140046705
mov rdx, r9
mov word [rbx], cx
jmp 0x14004672c
cmp r9, r8
jae 0x14004673c
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1400466e6
jmp 0x1400467f1
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400467e6
cmp dword [rsp + 0x80], esi
je 0x1400467e6
lea r8, [0x140063a40]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400467be
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14004678e
mov word [rbx], r13w
jmp 0x1400467ee
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14004679b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1400467ee
cmp word [rsp + 0x70], r13w
jne 0x1400467cb
cmp rbx, r14
je 0x140046788
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140046150
cmp word [rsp + 0x70], r13w
je 0x1400467f1
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x140063a40]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1400467eb
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1400467f1
Function at 0x18002f370
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rdi, rcx
test r8, r8
jg 0x18002f392
xor eax, eax
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbp
je 0x18002f41d
lfence
mov rbx, r14
nop dword [rax]
mov rcx, rdi
call fcn.180031390
test rax, rax
jle 0x18002f3ee
mov rdx, qword [rdi + 0x38]
cmp rbx, rax
mov rbp, rbx
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.180067300
mov rax, qword [rdi + 0x50]
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x18002f40d
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x38]
call qword [case.0x18002004a.0]
cmp eax, 0xffffffff
je 0x18002f415
mov byte [rsi], al
dec rbx
mov ebp, 1
add rsi, rbp
test rbx, rbx
jg 0x18002f3b0
sub r14, rbx
jmp 0x18002f521
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov qword [rsp + 0x50], r14
mov rdx, qword [rax]
test rdx, rdx
je 0x18002f439
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18002f43b
xor ecx, ecx
movsxd rax, ecx
mov rbx, r14
test ecx, ecx
je 0x18002f475
cmp rax, r14
mov rcx, rsi
cmovb rbx, rax
mov r8, rbx
call fcn.180067300
mov rax, qword [rdi + 0x50]
sub rbp, rbx
add rsi, rbx
mov qword [rsp + 0x50], rbp
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
mov rbx, rbp
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x18002f519
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x18002f4b0
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x18002f4f5
nop dword [rax]
mov r9, qword [rdi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.18008fbcc
sub rbp, rax
add rsi, rax
mov qword [rsp + 0x50], rbp
mov rbx, rbp
cmp rax, 0xfff
jne 0x18002f519
cmp rbp, rax
ja 0x18002f4c0
test rbx, rbx
je 0x18002f519
mov r9, qword [rdi + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.18008fbcc
sub rbx, rax
mov qword [rsp + 0x50], rbx
lfence
sub r14, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
mov rax, r14
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x18002fab0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x180149010]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x18002fae0
xor eax, eax
jmp 0x18002fc09
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x18002fb1a
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x18002fb1a
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 0x18002fc09
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xb0], rsi
je 0x18002fbfc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18002fb5d
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 0x18002fb6c
movsx ecx, dil
jmp 0x18002fba0
mov byte [rsp + 0x50], dil
lea rdx, vtable.std::codecvt_char__char__struct__Mbstatet_.0
mov rax, qword [rcx]
cmp rax, rdx
jne 0x18002fc2a
lea rax, [rsp + 0x50]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x58], rax
lfence
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call fcn.18008e170
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x18002fc01
mov rsi, qword [rsp + 0x58]
lea rax, [rsp + 0x68]
sub rsi, rax
je 0x18002fbea
lfence
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x68]
mov r8, rsi
mov edx, 1
call fcn.18008f450
cmp rsi, rax
jne 0x18002fbfc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x60], rax
mov eax, edi
jne 0x18002fc01
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.180036800
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
mov rax, qword [rax + 0x38]
lea r8, [rsp + 0x58]
mov qword [rsp + 0x38], r8
lea rdx, [rbx + 0x74]
lea r8, [rsp + 0x88]
mov qword [rsp + 0x30], r8
lea r9, [rsp + 0x51]
lea r8, [rsp + 0x68]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x60]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [case.0x18002004a.0]
test eax, eax
js 0x18002fbfc
cmp eax, 1
jle 0x18002fbba
cmp eax, 3
jne 0x18002fbfc
jmp 0x18002fb98
Function at 0x180030b70
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x180149010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180030c4b
cmp byte [rcx + 0x71], 0
je 0x180030c4b
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
mov rax, qword [rax + 0x18]
call qword [case.0x18002004a.0]
cmp eax, 0xffffffff
je 0x180030c47
mov rcx, qword [rbx + 0x68]
lea rdx, vtable.std::codecvt_char__char__struct__Mbstatet_.0
mov rax, qword [rcx]
cmp rax, rdx
jne 0x180030c60
lea rdi, [rsp + 0x38]
mov eax, 3
mov qword [rsp + 0x30], rdi
test eax, eax
je 0x180030c0f
sub eax, 1
je 0x180030c13
cmp eax, 2
jne 0x180030c47
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180036800
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x180030c3e
lfence
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call fcn.18008f450
cmp rdi, rax
jne 0x180030c47
cmp byte [rbx + 0x71], 0
sete al
jmp 0x180030bf7
xor al, al
jmp 0x180030bf7
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180036800
add rsp, 0x60
pop rbx
ret
mov rax, qword [rax + 0x40]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
lea rdx, [rbx + 0x74]
lea r8, [rsp + 0x38]
lea r9, [rsp + 0x58]
call qword [case.0x18002004a.0]
mov rdi, qword [rsp + 0x30]
jmp 0x180030be3

Function at 0x180037bbc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
and al, 8
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xd8
xor r14d, r14d
mov dword [rsp + 0x20], 0x65006b
mov dword [rsp + 0x24], 0x6e0072
mov dword [rsp + 0x28], 0x6c0065
mov dword [rsp + 0x2c], 0x320033
mov dword [rsp + 0x30], 0x64002e
mov word [rsp + 0x38], r14w
mov dword [rsp + 0x34], 0x6c006c
mov edx, 0x3d090c
mov eax, r14d
lea rcx, [rbp - 0x59]
mov byte [rcx], al
inc eax
inc rcx
cmp eax, 0x6a
jb 0x180037c23
dec rdx
jne 0x180037c1c
cmp byte [rbp - 0x29], 0x30
jne 0x180037c49
lea rcx, [rsp + 0x20]
call fcn.180038158
mov rbx, rax
jmp 0x180037c4d
mov rbx, qword [rbp + 0x6f]
mov edx, 0xe3142
mov rcx, rbx
call fcn.1800381ac
mov edx, 0xd5786
mov rcx, rbx
mov rdi, rax
call fcn.1800381ac
mov edx, 0x348bfa
mov rcx, rbx
mov ecx, ebx
mov qword [rbp - 0x79], rax
call fcn.1800381ac
mov esi, 0x3000
mov r12d, 0x5a00
mov r9d, 4
xor ecx, ecx
mov r8d, esi
mov edx, r12d
mov qword [rbp - 0x71], rax
mov dword [rsp + 0x20], 0x43782975
mov dword [rsp + 0x24], 0x4e625675
mov dword [rsp + 0x28], 0x31717131
mov dword [rsp + 0x2c], 0x28424c77
mov dword [rsp + 0x30], 0x62567334
mov dword [rsp + 0x34], 0x6b656447
mov word [rsp + 0x38], 0x5e
call rdi
movsx ecx, byte [rbp - 0x59]
movabs r11, resource.1
mov r15, rax
mov r9d, r14d
imul edx, ecx, 0x22c1
movsx rcx, byte [rbp - 0x59]
movsxd rbx, edx
imul rdx, rcx, 0x6f684
sub r11, rdx
sub r11, rax
lea r10, [rdx + rax]
Function at 0x180037bc4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
and al, 8
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xd8
xor r14d, r14d
mov dword [rsp + 0x20], 0x65006b
mov dword [rsp + 0x24], 0x6e0072
mov dword [rsp + 0x28], 0x6c0065
mov dword [rsp + 0x2c], 0x320033
mov dword [rsp + 0x30], 0x64002e
mov word [rsp + 0x38], r14w
mov dword [rsp + 0x34], 0x6c006c
mov edx, 0x3d090c
mov eax, r14d
lea rcx, [rbp - 0x59]
mov byte [rcx], al
inc eax
inc rcx
cmp eax, 0x6a
jb 0x180037c23
dec rdx
jne 0x180037c1c
cmp byte [rbp - 0x29], 0x30
jne 0x180037c49
lea rcx, [rsp + 0x20]
call fcn.180038158
mov rbx, rax
jmp 0x180037c4d
mov rbx, qword [rbp + 0x6f]
mov edx, 0xe3142
mov rcx, rbx
call fcn.1800381ac
mov edx, 0xd5786
mov rcx, rbx
mov rdi, rax
call fcn.1800381ac
mov edx, 0x348bfa
mov rcx, rbx
mov ecx, ebx
mov qword [rbp - 0x79], rax
call fcn.1800381ac
mov esi, 0x3000
mov r12d, 0x5a00
mov r9d, 4
xor ecx, ecx
mov r8d, esi
mov edx, r12d
mov qword [rbp - 0x71], rax
mov dword [rsp + 0x20], 0x43782975
mov dword [rsp + 0x24], 0x4e625675
mov dword [rsp + 0x28], 0x31717131
mov dword [rsp + 0x2c], 0x28424c77
mov dword [rsp + 0x30], 0x62567334
mov dword [rsp + 0x34], 0x6b656447
mov word [rsp + 0x38], 0x5e
call rdi
movsx ecx, byte [rbp - 0x59]
movabs r11, resource.1
mov r15, rax
mov r9d, r14d
imul edx, ecx, 0x22c1
movsx rcx, byte [rbp - 0x59]
movsxd rbx, edx
imul rdx, rcx, 0x6f684
sub r11, rdx
sub r11, rax
lea r10, [rdx + rax]

Function at 0x180037be4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
and al, 8
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xd8
xor r14d, r14d
mov dword [rsp + 0x20], 0x65006b
mov dword [rsp + 0x24], 0x6e0072
mov dword [rsp + 0x28], 0x6c0065
mov dword [rsp + 0x2c], 0x320033
mov dword [rsp + 0x30], 0x64002e
mov word [rsp + 0x38], r14w
mov dword [rsp + 0x34], 0x6c006c
mov edx, 0x3d090c
mov eax, r14d
lea rcx, [rbp - 0x59]
mov byte [rcx], al
inc eax
inc rcx
cmp eax, 0x6a
jb 0x180037c23
dec rdx
jne 0x180037c1c
cmp byte [rbp - 0x29], 0x30
jne 0x180037c49
lea rcx, [rsp + 0x20]
call fcn.180038158
mov rbx, rax
jmp 0x180037c4d
mov rbx, qword [rbp + 0x6f]
mov edx, 0xe3142
mov rcx, rbx
call fcn.1800381ac
mov edx, 0xd5786
mov rcx, rbx
mov rdi, rax
call fcn.1800381ac
mov edx, 0x348bfa
mov rcx, rbx
mov ecx, ebx
mov qword [rbp - 0x79], rax
call fcn.1800381ac
mov esi, 0x3000
mov r12d, 0x5a00
mov r9d, 4
xor ecx, ecx
mov r8d, esi
mov edx, r12d
mov qword [rbp - 0x71], rax
mov dword [rsp + 0x20], 0x43782975
mov dword [rsp + 0x24], 0x4e625675
mov dword [rsp + 0x28], 0x31717131
mov dword [rsp + 0x2c], 0x28424c77
mov dword [rsp + 0x30], 0x62567334
mov dword [rsp + 0x34], 0x6b656447
mov word [rsp + 0x38], 0x5e
call rdi
movsx ecx, byte [rbp - 0x59]
movabs r11, resource.1
mov r15, rax
mov r9d, r14d
imul edx, ecx, 0x22c1
movsx rcx, byte [rbp - 0x59]
movsxd rbx, edx
imul rdx, rcx, 0x6f684
sub r11, rdx
sub r11, rax
lea r10, [rdx + rax]