joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140036e30
Capabilities:
Enumerate gui resources

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x80], rsi
mov rsi, rdx
mov ebp, ecx
mov rdx, qword [rdx + 8]
mov rbx, qword [rsi]
cmp rbx, rdx
je 0x140036e87
mov rax, rdx
sub rax, rdx
sar rax, 3
lea rdi, [rax*8]
mov r8, rdi
mov rcx, rbx
call fcn.1400164d0
lea r11, [rdi + rbx]
mov qword [rsi + 8], r11
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x44], 7
xor eax, eax
mov qword [rsp + 0x3c], rax
mov word [rsp + 0x2c], ax
mov qword [rsp + 0x54], rsi
lea r8d, [rax + 6]
lea rdx, str.XLMAIN
lea rcx, [rsp + 0x2c]
call fcn.140002d7c
nop
lea rdx, [rsp + 0x28]
lea rcx, [0x140036060]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rbx, qword [rsi + 8]
sub rbx, qword [rsi]
sar rbx, 3
cmp qword [rsp + 0x44], 8
jb 0x140036eea
mov rcx, qword [rsp + 0x2c]
call fcn.140015e1c
mov eax, ebx
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret

Function at 0x1400375b0
Capabilities:
Get disk information

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0xf58]
mov eax, 0x1058
call fcn.140019b50
sub rsp, rax
mov rdi, rcx
call fcn.140037490
lea rcx, [rbp + 0x752]
xor esi, esi
xor edx, edx
mov r8d, 0x7fe
mov ebx, eax
mov dword [rbp + 0xf90], eax
mov word [rbp + 0x750], si
call fcn.140018210
lea rcx, [rsp + 0x52]
xor edx, edx
mov r8d, 0x7fe
mov dword [rbp + 0xf98], esi
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x44], esi
mov word [rsp + 0x50], si
call fcn.140018210
mov dword [rsp + 0x38], 0x400
lea rax, [rsp + 0x50]
lea r9, [rbp + 0xf98]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
lea rdx, [rbp + 0x750]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
lea rcx, [0x140058570]
mov r8d, 0x400
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov ecx, dword [rbp + 0xf98]
movzx eax, byte [rbp + 0xf91]
mov dword [rbp + 0xf80], esi
mov byte [rbp + 0xf82], al
mov dword [rbp + 0xf88], esi
mov eax, ecx
mov byte [rbp + 0xf81], cl
mov byte [rbp + 0xf80], bl
sar eax, 8
lea r8d, [rsi + 8]
mov rdx, rdi
mov byte [rbp + 0xf83], al
movzx eax, byte [rbp + 0xf92]
mov byte [rbp + 0xf88], al
mov eax, ecx
sar ecx, 0x18
sar eax, 0x10
mov byte [rbp + 0xf8b], cl
xor ecx, ecx
mov byte [rbp + 0xf89], al
movzx eax, byte [rbp + 0xf93]
mov byte [rbp + 0xf8a], al
mov eax, dword [rbp + 0xf80]
rol eax, 3
mov dword [rdi], eax
mov eax, dword [rbp + 0xf88]
ror eax, 7
mov dword [rdi + 4], eax
call fcn.140035250
mov dword [rdi + 8], eax
mov al, 1
add rsp, 0x1058
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x140037f00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x140037f3e
cmp word [rcx], 0
je 0x140037f3e
xor edx, edx
call fcn.1400178fc
test eax, eax
jne 0x140037f3e
cmp word [rbx], ax
je 0x140037f36
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140037f36
test al, 0x10
jne 0x140037f3e
mov al, 1
add rsp, 0x20
pop rbx
ret
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140037f50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
push rdi
sub rsp, 0x50
xor eax, eax
mov rdi, r8
mov rbx, rcx
mov r8d, edx
xor ebp, ebp
lea rcx, [r11 - 0x38]
mov word [rsp + 0x20], bp
mov qword [r11 - 0x36], rax
mov qword [r11 - 0x2e], rax
mov qword [r11 - 0x26], rax
mov qword [r11 - 0x1e], rax
lea rdx, [0x140058360]
mov dword [rsp + 0x42], eax
mov word [rsp + 0x46], ax
call fcn.140016ce4
lea rdx, [rsp + 0x20]
mov r8, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x140038055
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140038055
mov rcx, rax
mov qword [rsp + 0x60], rsi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
je 0x140038051
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
movsxd rbx, eax
test eax, eax
je 0x140038051
lea eax, [rbx + 1]
mov rcx, rdi
movsxd rdx, eax
mov rax, qword [rdi + 0x10]
cmp rdx, rax
ja 0x140038010
or r8, 0xffffffffffffffff
call fcn.140007f4c
jmp 0x14003801b
sub rdx, rax
xor r8d, r8d
call fcn.14000d7b0
or r8, 0xffffffffffffffff
xor edx, edx
mov rcx, rdi
call fcn.140007f4c
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.140007e48
mov eax, 1
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
mov eax, ebp
jmp 0x14003803c
mov rbx, qword [rsp + 0x68]
mov eax, ebp
mov rbp, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140038070
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push rbx
push rdi
sub rsp, 0x838
xor edi, edi
or r8, 0xffffffffffffffff
xor edx, edx
mov qword [rsp + 0x868], rdi
mov rbx, rcx
call fcn.140002bc0
lea rdx, [rsp + 0x868]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rdx
lea rdx, str.SYSTEMCurrentControlSetControlSession_ManagerEnvironment
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea rcx, [rsp + 0x32]
xor edx, edx
mov r8d, 0x7fe
mov word [rsp + 0x30], di
call fcn.140018210
mov rcx, qword [rsp + 0x868]
mov dword [rsp + 0x858], 0x400
test rcx, rcx
je 0x1400381c8
lea rax, [rsp + 0x858]
lea r9, [rsp + 0x860]
lea rdx, str.TEMP
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400381ba
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x30]
repne scasw ax, word [rdi]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x830], rsi
not rcx
lea r8, [rcx - 1]
mov rcx, rbx
call fcn.140002d7c
lea rdx, str._SystemRoot_
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
xor r8d, r8d
mov rcx, rbx
call fcn.140008570
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400381b2
lea rcx, [rsp + 0x30]
mov edx, 0x400
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x1400381b2
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x30]
repne scasw ax, word [rdi]
lea r9, [rsp + 0x30]
lea r8d, [rax + 0xc]
not rcx
mov rdx, rsi
dec rcx
mov qword [rsp + 0x20], rcx
mov rcx, rbx
call fcn.14000c660
mov rsi, qword [rsp + 0x830]
mov rcx, qword [rsp + 0x868]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x838
pop rdi
pop rbx
ret
Function at 0x140038790
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov r15, r9
mov r14, r8
mov r13, rdx
mov rsi, rcx
mov ebp, select
mov qword [r11 - 0x38], rbp
xor eax, eax
mov r12d, eax
mov qword [r11 - 0x40], rax
mov byte [rsp + 0x28], al
mov ebx, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasb al, byte [rdi]
not rcx
dec rcx
je 0x140038864
nop word [rax + rax]
movzx ecx, byte [rbx + rsi]
lea eax, [rbx + 1]
test bl, 1
je 0x140038819
and eax, 7
jbe 0x140038834
mov edx, eax
mov eax, ecx
and eax, 1
shl eax, 7
sar ecx, 1
movzx ecx, cl
or ecx, eax
dec rdx
jne 0x140038803
jmp 0x140038834
and eax, 7
jbe 0x140038834
mov edx, eax
mov eax, ecx
shr eax, 7
and eax, 1
and ecx, 0x7f
add ecx, ecx
or ecx, eax
dec rdx
jne 0x140038820
movzx edx, cl
lea rcx, [rsp + 0x28]
call fcn.14000b290
inc rbx
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasb al, byte [rdi]
not rcx
dec rcx
cmp rbx, rcx
jb 0x1400387f0
mov rbp, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
xor ebx, ebx
xor r8d, r8d
lea rdx, [0x1400582a0]
mov rcx, r15
call fcn.140007230
lea edi, [rbx + 1]
mov rsi, qword [rsp + 0x28]
test r14, r14
je 0x14003890a
nop dword [rax]
cmp rdi, r12
mov eax, 0
cmovae rdi, rax
movzx ecx, byte [rbx + r13]
lea eax, [rbx + rdi]
test bl, 1
je 0x1400388c6
and eax, 7
jbe 0x1400388e4
mov edx, eax
mov eax, ecx
shr eax, 7
and eax, 1
and ecx, 0x7f
add ecx, ecx
or ecx, eax
dec rdx
jne 0x1400388b0
jmp 0x1400388e4
and eax, 7
jbe 0x1400388e4
mov edx, eax
nop dword [rax]
mov eax, ecx
and eax, 1
shl eax, 7
sar ecx, 1
movzx ecx, cl
or ecx, eax
dec rdx
jne 0x1400388d0
lea rax, [rsp + 0x28]
cmp rbp, 0x10
cmovae rax, rsi
movzx edx, byte [rax + rdi]
xor dl, cl
mov rcx, r15
call fcn.14000b290
inc rbx
inc rdi
cmp rbx, r14
jb 0x140038890
cmp rbp, 0x10
jb 0x140038918
mov rcx, rsi
call fcn.140015e1c
mov eax, 1
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14003adf8
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x3a8]
sub rsp, 0x4a0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140067290]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rdi, rcx
call fcn.140039680
mov rbx, rax
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140039990
nop
mov rdx, qword [rax]
xor esi, esi
test rdx, rdx
je 0x14003ae58
mov rdx, qword [rdx]
jmp 0x14003ae5b
mov rdx, rsi
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rsi
mov word [rsp + 0x60], si
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x60]
call fcn.140002d7c
nop
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x14003aecb
or eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
dec eax
jne 0x14003aecb
test rdi, rdi
je 0x14003aecb
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003aeb5
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14003aec3
call fcn.140016074
mov rcx, rdi
call fcn.140015e1c
mov dword [rsp + 0x20], esi
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rsi
lea rdx, [rsp + 0x28]
mov ecx, dword [rsp + 0x20]
call fcn.140036e30
cmp eax, 1
jle 0x14003af7a
mov word [rbp - 0x70], si
xor edx, edx
mov r8d, 0x3fe
lea rcx, [rbp - 0x6e]
call fcn.140018210
mov rdi, qword [rsp + 0x28]
cmp rdi, qword [rsp + 0x30]
je 0x14003af93
mov r8d, 0x200
lea rdx, [rbp - 0x70]
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea r11, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae r11, qword [rsp + 0x60]
lea rax, [rbp - 0x70]
sub r11, rax
movzx ecx, word [rax]
movzx edx, word [rax + r11]
sub ecx, edx
jne 0x14003af5f
add rax, 2
test edx, edx
jne 0x14003af4b
test ecx, ecx
je 0x14003af70
add rdi, 8
cmp rdi, qword [rsp + 0x30]
jne 0x14003af20
jmp 0x14003af73
mov rbx, qword [rdi]
mov rdi, qword [rsp + 0x28]
jmp 0x14003af93
mov rax, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
sub rax, rdi
sar rax, 3
test rax, rax
je 0x14003af93
mov rbx, qword [rdi]
test rdi, rdi
je 0x14003afa0
mov rcx, rdi
call fcn.140015e1c
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rsi
cmp qword [rsp + 0x78], 8
jb 0x14003afc1
mov rcx, qword [rsp + 0x60]
call fcn.140015e1c
mov rax, rbx
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.140015e40
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14003b388
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rdi
sub rsp, 0x830
mov rax, qword [0x140067290]
xor rax, rsp
mov qword [rsp + 0x820], rax
cmp qword [0x140071270], 0
lea rbx, [0x140071260]
jne 0x14003b50d
lea rdx, [rsp + 0x20]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
or rbp, 0xffffffffffffffff
lea rdi, [rsp + 0x20]
mov rcx, rbp
lea rdx, [rsp + 0x20]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, rbx
call fcn.140002d7c
cmp qword [0x140071278], 8
mov rcx, rbx
cmovae rcx, qword [0x140071260]
xor edx, edx
call fcn.1400178fc
test eax, eax
je 0x14003b42e
lea rdx, [0x1400528c8]
xor r8d, r8d
mov rcx, rbx
call fcn.140002d7c
mov rcx, rbx
call fcn.140038070
cmp qword [0x140071270], 0
je 0x14003b456
cmp qword [0x140071278], 8
mov rcx, rbx
cmovae rcx, qword [0x140071260]
xor edx, edx
call fcn.1400178fc
test eax, eax
je 0x14003b47f
lea rcx, str.TEMP
call fcn.140017f54
mov rcx, rbp
mov rdx, rax
xor eax, eax
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, rbx
call fcn.140002d7c
cmp qword [0x140071270], 0
je 0x14003b4a7
cmp qword [0x140071278], 8
mov rcx, rbx
cmovae rcx, qword [0x140071260]
xor edx, edx
call fcn.1400178fc
test eax, eax
je 0x14003b4d0
lea rcx, [0x140057dc8]
call fcn.140017f54
mov rcx, rbp
mov rdx, rax
xor eax, eax
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, rbx
call fcn.140002d7c
cmp qword [0x140071270], 0
je 0x14003b4f8
cmp qword [0x140071278], 8
mov rcx, rbx
cmovae rcx, qword [0x140071260]
xor edx, edx
call fcn.1400178fc
test eax, eax
je 0x14003b50d
lea rdx, [0x140071210]
mov r9, rbp
xor r8d, r8d
mov rcx, rbx
call fcn.140002c64
mov rax, rbx
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.140015e40
lea r11, [rsp + 0x830]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14003b548
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
lea rbp, [rax - 0xba8]
sub rsp, 0xc90
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140067290]
xor rax, rsp
mov qword [rbp + 0xb80], rax
mov rbx, rdx
mov rdi, rcx
xor r12d, r12d
test rcx, rcx
je 0x14003b5ce
cmp word [rcx], r12w
je 0x14003b5ce
xor edx, edx
call fcn.1400178fc
test eax, eax
jne 0x14003b5ce
mov esi, r12d
mov rcx, rdi
call fcn.140037f00
test al, al
je 0x14003b5ce
mov rcx, rdi
call fcn.140017ff0
test eax, eax
je 0x14003b5ce
mov ecx, VarDecRound
call qword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x3e8
jl 0x14003b5a1
test rbx, rbx
je 0x14003b617
cmp word [rbx], r12w
je 0x14003b617
xor edx, edx
mov rcx, rbx
call fcn.1400178fc
test eax, eax
jne 0x14003b617
mov edi, r12d
mov rcx, rbx
call fcn.140037f00
test al, al
je 0x14003b617
mov rcx, rbx
call fcn.140017ff0
test eax, eax
je 0x14003b617
mov ecx, VarDecRound
call qword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x3e8
jl 0x14003b5ea
mov edi, 7
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], r12
mov word [rsp + 0x28], r12w
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x60], r12
mov word [rsp + 0x50], r12w
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.140039340
mov word [rbp - 0x80], r12w
xor edx, edx
mov r8d, 0x3fe
lea rcx, [rbp - 0x7e]
call fcn.140018210
lea rdx, [rbp - 0x80]
mov ecx, 0x200
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov word [rbp + 0x380], r12w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp + 0x382]
call fcn.140018210
mov r8d, 0x400
lea rdx, [rbp + 0x380]
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp qword [rsp + 0x38], r12
je 0x14003b701
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
lea rdx, [rbp + 0x380]
call fcn.140016224
test eax, eax
je 0x14003b701
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
xor edx, edx
call fcn.1400178fc
test eax, eax
jne 0x14003b701
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call fcn.140017fc0
nop
cmp qword [rsp + 0x68], 8
jb 0x14003b713
mov rcx, qword [rsp + 0x50]
call fcn.140015e1c
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x60], r12
mov word [rsp + 0x50], r12w
cmp qword [rsp + 0x40], 8
jb 0x14003b735
mov rcx, qword [rsp + 0x28]
call fcn.140015e1c
mov rcx, qword [rbp + 0xb80]
xor rcx, rsp
call fcn.140015e40
lea r11, [rsp + 0xc90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret
Function at 0x14003bbb8
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0xe0
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov rax, qword [0x140067290]
xor rax, rsp
mov qword [rsp + 0xd8], rax
and dword [0x140071548], 0
and dword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
lea r9, [0x140071210]
lea r8, [0x140040bb4]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
call fcn.140046e40
mov dword [0x140071548], eax
mov ecx, dword [rsp + 0x30]
test ecx, ecx
je 0x14003bc42
xor r9d, r9d
xor r8d, r8d
mov edx, 0x502
call qword [sym.imp.USER32.dll_PostThreadMessageW]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x140071548], 0
jne 0x14003bd6c
mov qword [rsp + 0xa0], select
and qword [rsp + 0x98], 0
mov byte [rsp + 0x88], 0
lea rdx, str.KRglXTx2gH3c24R6o3JfvDqdFO9DgW9GgOnUdF
lea rcx, [rsp + 0xb0]
cmp byte [0x14007138f], 0
je 0x14003bcc9
lea r8, str.FY_izZbA2i5Uge3Hw_PzSVtCqR01pMBk_FJsF6ZxyR3ZTkoZSgTNqAREIIqufCgs8Wbr468wrhj3h5LHfzZoEvizA5WBjWXvxrmfNQiwlmgQMTkwuhOLsRtGday_pkqXYHuV3
call fcn.140038950
nop
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.140007dc0
nop
cmp qword [rsp + 0xc8], 0x10
jb 0x14003bcba
mov rcx, qword [rsp + 0xb0]
call fcn.140015e1c
lea rcx, [rsp + 0x88]
call fcn.1400472a0
jmp 0x14003bcff
lea r8, str.gbbqE3svfLcyUk3bNyrX4_MkGzsMd1MUZ5vNukEb9Mxb5HkegYFmsZRQtJI5gUSsrElb2D
call fcn.140038950
nop
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.140007dc0
nop
cmp qword [rsp + 0xc8], 0x10
jb 0x14003bcff
mov rcx, qword [rsp + 0xb0]
call fcn.140015e1c
lea rax, [rsp + 0x88]
cmp qword [rsp + 0xa0], 0x10
cmovae rax, qword [rsp + 0x88]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.140016378
lea rdi, [0x1400575b0]
mov qword [rsp + 0x40], rdi
and dword [rsp + 0x58], 0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140016464
mov qword [rsp + 0x60], rdi
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x78], eax
lea rdx, [0x140064590]
lea rcx, [rsp + 0x60]
call fcn.140019a18
nop
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.140015e40
add rsp, 0xe0
pop rdi
ret

Function at 0x14003c5b8
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
call fcn.140017420
cmp qword [0x140071540], 0
mov ebx, eax
jne 0x14003c64c
cmp word [0x14006d672], 3
jne 0x14003c61c
mov eax, dword [0x14006d680]
test eax, eax
jne 0x14003c60f
cmp qword [0x14006d790], 0
je 0x14003c60f
cmp qword [0x14006d798], 0x10
lea rcx, [0x14006d780]
cmovae rcx, qword [0x14006d780]
call fcn.1400175bc
mov dword [0x14006d680], eax
test al, 1
je 0x14003c61c
cmp byte [0x14007138d], 0
je 0x14003c64c
lea rax, [0x14007154c]
lea r9, [0x14006d660]
lea r8, [0x14003fd84]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x140071550], rax
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x14003c668
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x60
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rax, qword [0x140067290]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor ebx, ebx
mov qword [r11 - 0x28], 0xf
mov qword [r11 - 0x30], rbx
mov byte [rsp + 0x28], bl
lea r8, [r11 - 0x40]
mov edx, 0x401
lea rcx, [0x140071210]
call fcn.14003bee8
call fcn.14003bf38
mov rdi, rax
test rax, rax
je 0x14003c6f2
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rcx, qword [rsp + 0x28]
mov r9, rax
lea r8d, [rbx + 1]
mov rdx, qword [rsp + 0x38]
call fcn.140017a9c
cmp rax, 1
sete bl
mov rcx, rdi
call fcn.140017bb4
nop
cmp qword [rsp + 0x40], 0x10
jb 0x14003c704
mov rcx, qword [rsp + 0x28]
call fcn.140015e1c
mov al, bl
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140015e40
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret

Function at 0x14003c728
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x60
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rax, qword [0x140067290]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov ebx, 1
mov qword [r11 - 0x28], 0xf
and qword [r11 - 0x30], 0
mov byte [rsp + 0x28], 0
lea r8, [r11 - 0x40]
mov edx, 0x3fc
lea rcx, [0x140071210]
call fcn.14003bee8
call fcn.14003c008
mov rdi, rax
test rax, rax
je 0x14003c7d9
lea rax, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rax, qword [rsp + 0x28]
mov eax, dword [rax]
cmp eax, dword [0x140056123]
jne 0x14003c7cf
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x38]
add rdx, 0xfffffffffffffffc
add rcx, 4
mov r9, rdi
mov r8d, ebx
call fcn.140017a9c
cmp rax, rbx
sete bl
mov rcx, rdi
call fcn.140017bb4
jmp 0x14003c7db
xor bl, bl
cmp qword [rsp + 0x40], 0x10
jb 0x14003c7ed
mov rcx, qword [rsp + 0x28]
call fcn.140015e1c
mov al, bl
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140015e40
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x140044df4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x18], 8
movsxd rsi, r9d
movsxd rbp, r8d
mov rdi, rdx
jb 0x140044e1b
mov rcx, qword [rcx]
lea rdx, [0x140057d40]
call fcn.140017724
mov rbx, rax
test rax, rax
je 0x140044e65
cmp qword [rdi + 0x18], 0x10
jb 0x140044e39
mov rdi, qword [rdi]
lea rcx, [rdi + rbp]
mov rdx, rsi
mov r9, rax
mov r8d, 1
call fcn.140017a9c
mov rcx, rbx
cmp rax, 1
je 0x140044e60
call fcn.140017bb4
xor eax, eax
jmp 0x140044e6a
call fcn.140017bb4
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140044ef4
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x140067290]
xor rax, rsp
mov qword [rsp + 0x250], rax
cmp qword [rcx + 0x10], 0
mov rbx, rcx
jne 0x140045052
xor r9d, r9d
lea rax, [rsp + 0x30]
xor r8d, r8d
lea edx, [r9 + 0x1a]
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x140045052
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x30]
repne scasw ax, word [rdi]
lea rdx, [rsp + 0x30]
not rcx
lea r8, [rcx - 1]
mov rcx, rbx
call fcn.140002d7c
cmp qword [rbx + 0x18], 8
jb 0x140044f73
mov rcx, qword [rbx]
jmp 0x140044f76
mov rcx, rbx
call fcn.140017730
test eax, eax
jne 0x140045052
lea rdx, str.DoneEx
mov rcx, rbx
call fcn.140003ee4
cmp qword [rbx + 0x18], 8
jb 0x140044f9e
mov rcx, qword [rbx]
jmp 0x140044fa1
mov rcx, rbx
call fcn.140017730
test eax, eax
je 0x140044fc2
cmp qword [rbx + 0x18], 8
jb 0x140044fb6
mov rcx, qword [rbx]
jmp 0x140044fb9
mov rcx, rbx
call fcn.140017610
test eax, eax
jne 0x140045040
lea rdx, str.XCell_Compiler
mov rcx, rbx
call fcn.140003ee4
cmp qword [rbx + 0x18], 8
jb 0x140044fdd
mov rcx, qword [rbx]
jmp 0x140044fe0
mov rcx, rbx
call fcn.140017730
test eax, eax
je 0x140045001
cmp qword [rbx + 0x18], 8
jb 0x140044ff5
mov rcx, qword [rbx]
jmp 0x140044ff8
mov rcx, rbx
call fcn.140017610
test eax, eax
jne 0x140045040
lea rdx, str.AddIns
mov rcx, rbx
call fcn.140003ee4
cmp qword [rbx + 0x18], 8
jb 0x14004501c
mov rcx, qword [rbx]
jmp 0x14004501f
mov rcx, rbx
call fcn.140017730
test eax, eax
je 0x140045052
cmp qword [rbx + 0x18], 8
jb 0x140045034
mov rcx, qword [rbx]
jmp 0x140045037
mov rcx, rbx
call fcn.140017610
test eax, eax
je 0x140045052
lea rdx, [0x1400528c8]
xor r8d, r8d
mov rcx, rbx
call fcn.140002d7c
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140015e40
mov rbx, qword [rsp + 0x278]
add rsp, 0x260
pop rdi
ret