joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004b70
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xc8], 0
mov rbx, rcx
mov edi, edx
jg 0x140004ba6
mov r8d, 0x67f
lea rdx, str.C:UsersZIPDownloadsDAMAGE_ONLYDAMAGE_ONLYDAMAGE_ONLYimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd r8, dword [rbx + 0xc8]
mov rax, qword [rbx + 0xd0]
mov edx, dword [rax + r8*4 - 4]
lea r8, [0x1400439a0]
not edx
movzx eax, dil
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x39]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3a]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3b]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x1400cc440]
xor edx, dword [r8 + rcx*4]
not edx
cmp dword [rax + 0x1b30], edx
jne 0x140004c20
mov dword [rax + 0x1b34], edx
cmp dword [rax + 0x1b70], edx
jne 0x140004c2f
mov byte [rax + 0x1b74], 1
mov rbx, qword [rsp + 0x30]
mov eax, edx
add rsp, 0x20
pop rdi
ret
Function at 0x14000f710
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rax, qword [0x1400cc440]
mov rbp, rcx
mov r14, rcx
shr rbp, 0x38
mov r15, rcx
shr r14, 0x30
mov r12, rcx
shr r15, 0x28
mov rbx, qword [rax + 0x1ae0]
mov r13, rcx
mov rax, rcx
shr r12, 0x20
shr rax, 0x10
add rbx, 0xc8
mov qword [rsp + 0x68], rax
mov rdi, rcx
mov rax, rcx
shr r13, 0x18
shr rax, 8
cmp dword [rbx], 0
mov qword [rsp + 0x60], rax
jg 0x14000f796
mov r8d, 0x67f
lea rdx, str.C:UsersZIPDownloadsDAMAGE_ONLYDAMAGE_ONLYDAMAGE_ONLYimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rdx, dword [rbx]
lea r8, [0x1400439a0]
mov rax, qword [rbx + 8]
mov esi, dword [rax + rdx*4 - 4]
not esi
movzx eax, dil
movzx ecx, sil
xor rcx, rax
shr esi, 8
movzx eax, byte [rsp + 0x60]
xor esi, dword [r8 + rcx*4]
movzx ecx, sil
xor rcx, rax
shr esi, 8
movzx eax, byte [rsp + 0x68]
xor esi, dword [r8 + rcx*4]
movzx ecx, sil
xor rcx, rax
shr esi, 8
movzx eax, r13b
xor esi, dword [r8 + rcx*4]
movzx ecx, sil
xor rcx, rax
shr esi, 8
movzx eax, r12b
xor esi, dword [r8 + rcx*4]
movzx ecx, sil
xor rcx, rax
shr esi, 8
movzx eax, r15b
xor esi, dword [r8 + rcx*4]
movzx ecx, sil
xor rcx, rax
shr esi, 8
movzx eax, r14b
xor esi, dword [r8 + rcx*4]
movzx ecx, sil
shr esi, 8
xor rcx, rax
xor esi, dword [r8 + rcx*4]
movzx ecx, sil
shr esi, 8
xor rcx, rbp
xor esi, dword [r8 + rcx*4]
mov r8d, dword [rbx + 4]
not esi
cmp edx, r8d
jne 0x14000f86c
lea ecx, [rdx + 1]
test r8d, r8d
je 0x14000f858
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14000f85d
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140017cb0
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], esi
inc dword [rbx]
mov rbx, qword [rsp + 0x70]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140010640
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x1400cc440]
mov edi, edx
cmp byte [rbx + 0x1e25], 0
jne 0x140010691
cmp byte [rbx + 0x1e26], 0
jne 0x140010691
mov r9d, dword [rbx + 0x2ec8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140002400
test dil, 1
je 0x1400107b6
jmp 0x14001071b
movss xmm1, dword [rbx + 0x1614]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x14007b670]
xor eax, eax
mov edx, 0x10
mulss xmm1, dword [0x14007b658]
addss xmm0, dword [rbx + 0x128]
addss xmm1, dword [rbx + 0x12c]
mov qword [rbx + 0x1ba0], rax
mov dword [rbx + 0x1b8c], 1
movss dword [rbx + 0x1b98], xmm0
movss dword [rbx + 0x1b9c], xmm1
movss xmm0, dword [rbx + 0x1670]
mulss xmm0, dword [0x14007b5f4]
or dword [rbx + 0x1b88], 0x41
movss dword [rbx + 0x1be8], xmm0
mov r9d, dword [rbx + 0x2ec8]
call fcn.140002400
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140010770
lea r11, [0x1400439a0]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140010753
cmp byte [r8], r9b
jne 0x140010753
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140010740
not ecx
call fcn.140009cb0
test rax, rax
je 0x1400107b6
cmp byte [rax + 0x8e], 0
je 0x1400107b6
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xac], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x2ec8]
mov edx, 0x10
mov r9d, dword [rbx + 0x2ec8]
call fcn.140002400
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000c2a0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140015830
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x40
mov rbx, qword [0x1400cc440]
cmp byte [rbx + 0x2f5c], 0
je 0x14001591c
cmp qword [rbx + 0x2f68], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x2f70]
je 0x140015904
mov r9d, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test r9d, r9d
jns 0x1400158ab
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140017a30
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov dword [rdi], ebp
mov rcx, rdi
mov r8, rsi
call fcn.140002c50
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x2f68]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x2f78]
cmove ecx, ebp
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400cc438]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
mov rdx, rcx
mov r8, rsi
mov rcx, rdi
call fcn.140002c50
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
Function at 0x1400307b0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x460
mov rdi, rdx
xor esi, esi
mov edx, ecx
mov ecx, 0x18
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14003082b
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x438
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x14003082b
nop word [rax + rax]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140030826
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140030800
jmp 0x14003082b
mov rsi, qword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x460]
mov rax, rsi
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14003e7cc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003e816
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003e816
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003e816
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003e816
cmp dword [rcx + 0x84], 0xe
jbe 0x14003e816
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003e818
xor al, al
add rsp, 0x28
ret
Function at 0x140ac9058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140ac91df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140ac9089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ac906f
add dl, dl
jne 0x140ac9096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ac90f6
xor eax, eax
add dl, dl
jne 0x140ac90a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ac91ad
add dl, dl
jne 0x140ac90b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ac90c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ac90d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ac90dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140ac90ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140ac907e
mov eax, 1
add dl, dl
jne 0x140ac9106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ac9113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ac90fb
sub eax, ebx
mov ebx, 1
jne 0x140ac914c
mov ecx, 1
add dl, dl
jne 0x140ac912e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140ac913b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ac9123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ac907e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140ac9168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140ac9175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ac915d
cmp eax, 0x7d00
jae 0x140ac919b
cmp eax, 0x500
jb 0x140ac9196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ac907e
cmp eax, 0x7f
ja 0x140ac919e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ac907e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140ac91d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140ac907e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000cec0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x20
mov r9d, dword [0x140053fa4]
mov r8d, dword [0x140053fa8]
lea eax, [r9 - 1]
imul eax, r9d
test al, 1
sete byte [rsp + 8]
cmp r8d, 0xa
setl byte [rsp + 9]
mov eax, 0x8fee86e3
jmp 0x14000cf00
mov eax, 0xfe09bdb0
cmp r9d, 0xa
cmovl eax, r10d
nop
cmp eax, 0xec836a6e
jg 0x14000cf40
cmp eax, 0xcabc2151
jg 0x14000cf90
cmp eax, 0x8fee86e2
jg 0x14000d030
cmp eax, 0x87015814
je 0x14000d10b
cmp eax, 0x8d1de1d1
jne 0x14000cf00
mov eax, 0xd8445a1b
jmp 0x14000cf00
cmp eax, 0x380742c7
jle 0x14000cfe0
cmp eax, 0x57c167b9
jg 0x14000d07a
cmp eax, 0x380742c8
je 0x14000d11b
cmp eax, 0x4ae3a868
jne 0x14000cf00
mov byte [rsp + 7], r8b
movzx r9d, byte [rsp + 7]
mov eax, 0xdbbef5f3
cmp r9b, 0x10
jb 0x14000cf00
mov eax, 0xec836a6f
jmp 0x14000cf00
cmp eax, 0xd8445a1a
jg 0x14000d0bf
cmp eax, 0xcabc2152
je 0x14000d146
cmp eax, 0xd1b04044
jne 0x14000cf00
mov rax, qword [rsp + 0x10]
add rax, rcx
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
movzx eax, byte [rax]
mov byte [rsp + 0xa], al
mov eax, 0x380742c8
jmp 0x14000cf00
cmp eax, 0xfe09bdaf
jle 0x14000d0f6
cmp eax, 0xfe09bdb0
je 0x14000d150
cmp eax, 0x201ebf25
jne 0x14000cf00
mov eax, dword [0x140053fa4]
mov r9d, dword [0x140053fa8]
lea r11d, [rax - 1]
imul r11d, eax
mov r10d, 0x8d1de1d1
mov eax, 0x8d1de1d1
test r11b, 1
je 0x14000cef6
jmp 0x14000cef1
cmp eax, 0x8fee86e3
je 0x14000d15a
cmp eax, 0xb69bfb75
jne 0x14000cf00
mov eax, dword [0x140053fa4]
mov r9d, dword [0x140053fa8]
lea r11d, [rax - 1]
imul r11d, eax
mov r10d, 0xfc393ca2
mov eax, 0xfc393ca2
test r11b, 1
je 0x14000cef6
mov eax, 0xcabc2152
jmp 0x14000cef6
cmp eax, 0x57c167ba
je 0x14000d183
cmp eax, 0x773e3489
jne 0x14000cf00
mov eax, dword [0x140053fa4]
mov r9d, dword [0x140053fa8]
lea r11d, [rax - 1]
imul r11d, eax
mov r10d, 0x201ebf25
mov eax, 0x201ebf25
test r11b, 1
je 0x14000cef6
jmp 0x14000cef1
cmp eax, 0xd8445a1b
je 0x14000d190
cmp eax, 0xdbbef5f3
jne 0x14000cf00
movzx eax, byte [rsp + 7]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
movzx eax, byte [rdx + rax]
mov dword [rsp + 0xc], eax
mov eax, 0xd1b04044
jmp 0x14000cf00
cmp eax, 0xfc393ca2
jne 0x14000d19a
mov eax, 0x773e3489
jmp 0x14000cf00
mov eax, 0x4ae3a868
movzx r8d, byte [rsp + 0xb]
jmp 0x14000cf00
movzx r9d, byte [rsp + 0xa]
mov r10d, dword [rsp + 0xc]
xor r10b, r9b
mov rax, qword [rsp + 0x18]
mov byte [rax], r10b
movzx eax, byte [rsp + 7]
add al, 1
mov byte [rsp + 0xb], al
mov eax, 0x87015814
jmp 0x14000cf00
mov eax, 0xb69bfb75
jmp 0x14000cf00
mov eax, 0x201ebf25
jmp 0x14000cf00
movzx r9d, byte [rsp + 8]
cmp byte [rsp + 9], 0
mov r10d, 0xb69bfb75
mov eax, 0xb69bfb75
jne 0x14000d177
mov eax, 0xcabc2152
test r9b, r9b
cmovne eax, r10d
jmp 0x14000cf00
mov eax, 0x4ae3a868
xor r8d, r8d
jmp 0x14000cf00
mov eax, 0x57c167ba
jmp 0x14000cf00
cmp eax, 0xec836a6f
jne 0x14000cf00
add rsp, 0x20
ret
Function at 0x140032020
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov eax, dword [0x140053dcc]
mov ecx, dword [0x140053dd0]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete byte [rsp + 0x26]
cmp ecx, 0xa
setl byte [rsp + 0x27]
mov eax, 0x33c9c27f
mov esi, 0x597a169a
mov edi, 0xa34913f4
mov ebx, 0xe0f47d7d
mov ebp, 0xc3915d3
jmp 0x140032080
call fcn.14002ada0
call fcn.14002f260
mov eax, 0x597a169a
nop word cs:[rax + rax]
nop
cmp eax, 0x2bdd8910
jg 0x1400320c0
cmp eax, 0xe0f47d7c
jle 0x140032110
cmp eax, 0xe0f47d7d
je 0x140032162
cmp eax, 0xc3915d3
je 0x140032188
cmp eax, 0x150b82db
jne 0x140032080
mov eax, 0x7e75e99c
jmp 0x140032080
cmp eax, 0x597a1699
jle 0x140032130
cmp eax, 0x597a169a
je 0x140032192
cmp eax, 0x5f4ecd65
je 0x140032065
cmp eax, 0x7e75e99c
jne 0x140032080
call fcn.14002ba50
call fcn.140030fa0
call fcn.140029810
call fcn.1400303b0
call fcn.14002ada0
call fcn.14002cce0
mov eax, 0xd4fe1c1c
jmp 0x140032080
cmp eax, 0x992a704e
je 0x1400321c2
cmp eax, 0xa34913f4
jne 0x1400321f2
mov eax, 0x150b82db
jmp 0x140032080
cmp eax, 0x2bdd8911
je 0x1400321e8
cmp eax, 0x33c9c27f
jne 0x1400321ff
movzx ecx, byte [rsp + 0x26]
cmp byte [rsp + 0x27], 0
mov eax, 0x2bdd8911
cmovne eax, ebx
test cl, cl
cmovne eax, ebx
jmp 0x140032080
mov eax, dword [0x140053dcc]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x2bdd8911
cmove eax, edi
cmp dword [0x140053dd0], 0xa
cmovl eax, edi
jmp 0x140032080
mov eax, 0x59287963
jmp 0x140032080
call fcn.14002ada0
call fcn.14002f260
mov eax, dword [0x140053dcc]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x5f4ecd65
cmove eax, ebp
cmp dword [0x140053dd0], 0xa
cmovl eax, ebp
jmp 0x140032080
mov eax, dword [0x140053dcc]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x5f4ecd65
cmove eax, esi
cmp dword [0x140053dd0], 0xa
cmovl eax, esi
jmp 0x140032080
mov eax, 0xe0f47d7d
jmp 0x140032080
cmp eax, 0xd4fe1c1c
jne 0x140032080
jmp 0x140032249
cmp eax, 0x59287963
jne 0x140032080
call fcn.14002cce0
call fcn.14002d570
call fcn.14002e2a0
call fcn.14002ba50
call fcn.140030fa0
call fcn.14002ada0
call fcn.14002e2a0
call fcn.14002faf0
call fcn.14002ada0
call fcn.14002f260
call fcn.14002cce0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.1400011e0
call fcn.14002faf0
call fcn.14002faf0
xor eax, eax
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret

Function at 0x1400364c8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400365f8
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400044f0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140004500]
mov dword [rax], 1
mov rax, qword [0x140004510]
mov dword [rax], 1
mov rax, qword [0x1400044e0]
mov dword [rax], 1
mov rax, qword [0x1400043b0]
cmp word [rax], 0x5a4d
jne 0x140001067
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010d0
mov rax, qword [0x1400044d0]
mov dword [0x14000700c], ecx
mov eax, dword [rax]
test eax, eax
jne 0x1400010c0
mov ecx, 1
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x140004490]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x140004470]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x140004340]
cmp dword [rax], 1
je 0x140001108
xor eax, eax
add rsp, 0x28
ret
mov ecx, 2
call sym.__set_app_type
jmp 0x140001084
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001120
cmp dx, 0x20b
jne 0x140001067
cmp dword [rax + 0x84], 0xe
jbe 0x140001067
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x140001067
lea rcx, [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x140001067
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x140001067

Function at 0x140001550
Capabilities:
Create process on windows

Disassembly:
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0xe0]
mov dword [rbp + 0x20], ecx
mov qword [rbp + 0x28], rdx
call dbg.__main
mov ecx, 0x2328
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
lea rax, str.steam:__run_376210
mov qword [rbp - 8], rax
lea rdx, [rbp - 0x70]
mov eax, 0
mov ecx, 0xd
mov rdi, rdx
rep stosq qword [rdi], rax
mov dword [rbp - 0x70], 0x68
mov rax, qword [rbp - 8]
lea rdx, [rbp - 0x90]
mov qword [rsp + 0x48], rdx
lea rdx, [rbp - 0x70]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateProcessA]
call rax
test eax, eax
sete al
test al, al
je 0x14000162b
lea rdx, str.Failed_to_launch_Steam_command.
mov rcx, qword [sym.imp.libstdc_6.dll_std::cerr]
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rdx, qword [0x140004360]
mov rcx, rax
call sym.std::ostream::operator___std::ostream____std::ostream__
mov eax, 1
jmp 0x14000166e
mov rax, qword [rbp - 0x90]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov rax, qword [rbp - 0x90]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x88]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 0
add rsp, 0xe8
pop rdi
pop rbp
ret
Function at 0x140001a60
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x1400070b4]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x140001c10
mov rax, qword [0x1400070b8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x140001aac
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140001b37
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x140001a90
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rbp, rax
test rax, rax
je 0x140001c6d
mov rax, qword [0x1400070b8]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call dbg._GetPEImageBase
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1400070b8]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001c52
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001b30
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001bc0
add dword [0x1400070b4], 1
cmp ebx, 8
jae 0x140001b68
test bl, 4
jne 0x140001c20
test ebx, ebx
je 0x140001b59
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x140001c40
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x140001b59
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x140001b9a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rdi, qword [0x1400070b8]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001b30
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
xor edi, edi
jmp 0x140001ab7
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x140001b59
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x140001b59
mov rax, qword [0x1400070b8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call dbg.__report_error
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop dword [rax]
Function at 0x140002180
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x140007120]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140007100]
test rbx, rbx
je 0x1400021d4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x1400021cb
test r12, r12
je 0x1400021cb
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400021b0
lea rcx, [0x140007120]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140002400
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
jne 0x140002410
jmp sym._ValidateImageBase.part.0
xor eax, eax
ret

Function at 0x140002420
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x140002465
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp r8, rdx
ja 0x14000245c
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x140002467
add rax, 0x28
cmp rax, r9
jne 0x140002448
xor eax, eax
ret

Function at 0x140002510
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x1400043b0]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x140002589
mov rcx, r10
call sym._ValidateImageBase.part.0
test eax, eax
je 0x140002589
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x140002586
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x14000257d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x140002589
add r8, 0x28
cmp r8, r9
jne 0x140002568
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret

Function at 0x140002670
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1400043b0]
xor eax, eax
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x1400026df
mov rcx, r9
call sym._ValidateImageBase.part.0
test eax, eax
je 0x1400026df
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
movzx edx, word [r9 + 6]
lea rax, [r9 + rax + 0x18]
test edx, edx
je 0x1400026dd
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400026d4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400026e8
add rax, 0x28
cmp rax, r9
jne 0x1400026c0
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret