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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x180003626
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
dec rcx
call fcn.180003600
movzx edx, word [rdi + rbx*2]
mov ecx, eax
mov rbx, qword [rsp + 0x30]
xor rdx, rcx
movzx ecx, dl
lea rdx, [0x18002c770]
shr eax, 8
xor eax, dword [rdx + rcx*4]
add rsp, 0x20
pop rdi
ret

Function at 0x180003660
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x180003686
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
dec rcx
call fcn.180003660
movsx edx, byte [rbx + rdi]
xor r8d, r8d
mov rbx, qword [rsp + 0x30]
mov r9d, 0x20
lea ecx, [rdx - 0x41]
cmp cl, 0x19
mov ecx, edx
lea rdx, [0x18002c770]
cmovbe r8d, r9d
or r8, rcx
xor r8, rax
shr eax, 8
movzx ecx, r8b
xor eax, dword [rdx + rcx*4]
add rsp, 0x20
pop rdi
ret

Function at 0x1800036d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x1800036f6
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
dec rcx
call fcn.1800036d0
movzx edx, word [rdi + rbx*2]
xor r8d, r8d
mov rbx, qword [rsp + 0x30]
mov r9d, 0x20
lea ecx, [rdx - 0x41]
cmp cx, 0x19
lea rcx, [0x18002c770]
cmovbe r8d, r9d
or r8, rdx
movzx edx, al
movzx r9d, r8b
xor r9, rdx
shr eax, 8
xor eax, dword [rcx + r9*4]
add rsp, 0x20
pop rdi
ret

Function at 0x180003740
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x28
mov r11, rcx
mov r10, 0xffffffffffffffff
nop
inc r10
cmp word [rcx + r10*2], 0
jne 0x180003750
dec r10
cmp r10, 0xffffffffffffffff
jne 0x18000376e
mov eax, 0
add rsp, 0x28
ret
lea rcx, [r10 - 1]
mov rdx, r11
call fcn.1800036d0
movzx edx, word [r11 + r10*2]
xor r8d, r8d
mov r9d, 0x20
lea ecx, [rdx - 0x41]
cmp cx, 0x19
lea rcx, [0x18002c770]
cmovbe r8d, r9d
or r8, rdx
movzx edx, al
shr eax, 8
movzx r9d, r8b
xor r9, rdx
xor eax, dword [rcx + r9*4]
not eax
add rsp, 0x28
ret
Function at 0x180005d40
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x180031010]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor esi, esi
lea r8, [rbp + 0x37]
mov rbx, 0xffffffffffffffff
mov qword [rbp + 0x37], rsi
mov rcx, rbx
mov qword [rbp + 0x43], rsi
lea edx, [rsi + 0x28]
call fcn.180007c00
test eax, eax
jne 0x180005eec
mov eax, 0x3fd2
mov qword [rsp + 0xe0], rdi
lea r9d, [rsi + 0x43]
mov word [rbp - 0x29], ax
lea r8d, [rsi + 0x38]
mov dword [rbp + 0x3f], 1
lea rdx, [rbp - 0x49]
mov dword [rbp + 0x4b], 2
lea rcx, [rbp + 0xf]
mov dword [rbp - 0x49], 0x6c97ff3d
mov dword [rbp - 0x45], 0x5b0e65cf
mov dword [rbp - 0x41], 0xb8e3fbd6
mov dword [rbp - 0x3d], 0xd5c453e2
mov dword [rbp - 0x39], 0xc6238e2d
mov dword [rbp - 0x35], 0xc1226ba4
mov dword [rbp - 0x31], 0xff1835b4
mov dword [rbp - 0x2d], 0x462e9cbf
mov word [rsp + 0x20], 0x2b
call fcn.180005a20
lea rax, [rbp + 0xf]
mov dword [rbp - 0x21], 0xf919698f
mov qword [rbp + 7], rax
lea r9d, [rsi + 0x16]
mov eax, 0xbf12
mov dword [rbp - 0x1d], 0xeb902c75
lea r8d, [rsi + 9]
mov word [rbp - 9], ax
lea rdx, [rbp - 0x21]
mov dword [rbp - 0x19], 0xabb76055
lea rcx, [rbp - 0x49]
mov dword [rbp - 0x15], 0xe1c935b4
mov dword [rbp - 0x11], 0x35f90c60
mov dword [rbp - 0xd], 0x6ba982d8
mov word [rsp + 0x20], 0x1a
call fcn.180005210
lea rax, [rbp - 0x49]
mov qword [rbp - 1], rax
mov rdi, qword [rbp - 1]
inc rbx
cmp word [rdi + rbx*2], si
jne 0x180005e63
dec rbx
cmp rbx, 0xffffffffffffffff
jne 0x180005e7c
mov eax, 0xffffffff
jmp 0x180005ea3
lea rcx, [rbx - 1]
mov rdx, rdi
call fcn.180003600
movzx edx, word [rdi + rbx*2]
mov ecx, eax
xor rdx, rcx
shr eax, 8
movzx r8d, dl
lea rcx, [0x18002c770]
xor eax, dword [rcx + r8*4]
not eax
mov ecx, eax
call fcn.180006600
test rax, rax
jne 0x180005eb9
mov rcx, rdi
call fcn.180006180
mov edx, 0xd9c348b
mov rcx, rax
call fcn.1800067e0
mov rdi, qword [rsp + 0xe0]
test rax, rax
je 0x180005eec
mov rdx, qword [rbp + 7]
lea r8, [rbp + 0x43]
xor ecx, ecx
call rax
mov rcx, qword [rbp + 0x37]
test eax, eax
jne 0x180005f0f
call fcn.180007a16
xor eax, eax
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.180007c30
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov qword [rsp + 0x28], rsi
lea r8, [rbp + 0x3f]
mov r9d, 0x10
mov qword [rsp + 0x20], rsi
xor edx, edx
call fcn.1800079fc
mov rcx, qword [rbp + 0x37]
mov ebx, eax
call fcn.180007a16
test ebx, ebx
sete sil
mov eax, esi
jmp 0x180005eee
Function at 0x1800063b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x470
mov rax, qword [0x180031010]
xor rax, rsp
mov qword [rsp + 0x460], rax
xor esi, esi
mov rbx, rcx
mov ebp, 0x103
test rcx, rcx
jne 0x1800063e8
mov r8d, esi
jmp 0x1800063f3
mov rdx, rbp
call fcn.180011b70
mov r8, rax
inc r8w
cmp r8w, bp
jae 0x1800064df
cmp si, r8w
jae 0x180006463
mov rcx, rbx
movzx r9d, r8w
lea rdx, [rsp + 0x40]
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [rcx]
lea rcx, [rcx + 1]
mov word [rdx], ax
lea rdx, [rdx + 2]
sub r9, 1
jne 0x180006420
cmp r8w, 5
jbe 0x180006463
movzx eax, r8w
cmp word [rsp + rax*2 + 0x36], 0x2e
je 0x180006463
mov r9d, 5
lea r8, str..dll
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.180011ff0
lea rax, [rsp + 0x40]
mov r10, 0xffffffffffffffff
nop
inc r10
cmp word [rax + r10*2], si
jne 0x180006470
dec r10
cmp r10, 0xffffffffffffffff
jne 0x18000648a
mov eax, 0xffffffff
jmp 0x1800064cd
lea rcx, [r10 - 1]
lea rdx, [rsp + 0x40]
call fcn.1800036d0
movzx edx, word [rsp + r10*2 + 0x40]
mov r9d, 0x20
mov r8, rsi
lea ecx, [rdx - 0x41]
cmp cx, 0x19
lea rcx, [0x18002c770]
cmovbe r8, r9
or r8, rdx
movzx edx, al
movzx r9d, r8b
xor r9, rdx
shr eax, 8
xor eax, dword [rcx + r9*4]
not eax
mov ecx, eax
call fcn.180006600
test rax, rax
jne 0x1800065cf
mov qword [rsp + 0x488], rdi
test rbx, rbx
jne 0x1800064f1
mov rdi, rsi
jmp 0x1800064ff
mov rdx, rbp
mov rcx, rbx
call fcn.180011b70
mov rdi, rax
inc di
cmp di, bp
jae 0x1800065c4
cmp si, di
jae 0x180006565
lea rcx, [rsp + 0x250]
movzx r10d, di
nop dword [rax]
movsx eax, byte [rbx]
lea rbx, [rbx + 1]
mov word [rcx], ax
lea rcx, [rcx + 2]
sub r10, 1
jne 0x180006520
cmp di, 5
jbe 0x180006565
movzx eax, di
cmp word [rsp + rax*2 + 0x246], 0x2e
je 0x180006565
lea r9d, [r10 + 5]
mov edx, 0x104
lea r8, str..dll
lea rcx, [rsp + 0x250]
call fcn.180011ff0
add di, di
lea rax, [rsp + 0x250]
mov word [rsp + 0x2a], di
sub di, 2
mov qword [rsp + 0x30], rax
mov rax, qword [0x1800c3f68]
mov word [rsp + 0x28], di
test rax, rax
jne 0x1800065aa
mov edx, 0xa09b055e
mov ecx, 0x84c05e40
call fcn.180006ba0
mov qword [0x1800c3f68], rax
test rax, rax
je 0x1800065c4
lea r9, [rsp + 0x20]
mov qword [rsp + 0x20], rsi
lea r8, [rsp + 0x28]
xor edx, edx
xor ecx, ecx
call rax
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x488]
mov rax, rsi
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.180007c30
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rsi
ret
Function at 0x180006ba0
Capabilities:
Hash data with crc32
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
call fcn.180006600
mov edx, ebx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp fcn.1800067e0
Function at 0x1800073f0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x180031010]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor r15d, r15d
mov ebp, edx
mov r14, r8
mov dword [r8], r15d
mov rsi, rcx
mov qword [rsp + 0x78], r15
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0xf2f90e5e
lea r9d, [r15 + 4]
mov dword [rsp + 0x44], 0xc3f45615
lea r8d, [r15 + 0x4c]
mov dword [rsp + 0x48], 0xc610a8e9
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x4c], 0x48eceeae
mov dword [rsp + 0x50], 0x6afac05f
mov dword [rsp + 0x54], 0x961d4a26
mov word [rsp + 0x20], 0x2d
call fcn.180005f40
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x58], rax
mov rbx, qword [rsp + 0x58]
nop dword [rax]
inc r8
cmp word [rbx + r8*2], r15w
jne 0x180007490
dec r8
cmp r8, 0xffffffffffffffff
jne 0x1800074aa
mov eax, 0xffffffff
jmp 0x1800074d0
lea rcx, [r8 - 1]
mov rdx, rbx
call fcn.180003600
movzx edx, word [rbx + r8*2]
mov ecx, eax
xor rdx, rcx
shr eax, 8
movzx ecx, dl
lea rdx, [0x18002c770]
xor eax, dword [rdx + rcx*4]
not eax
mov ecx, eax
call fcn.180006600
test rax, rax
jne 0x1800074e6
mov rcx, rbx
call fcn.180006180
mov edx, 0xc651d8aa
mov rcx, rax
call fcn.1800067e0
mov rdi, rax
test rax, rax
je 0x18000759d
test rsi, rsi
jne 0x180007509
mov ebx, r15d
jmp 0x180007517
mov rdx, rbp
mov rcx, rsi
call fcn.180011b70
mov rbx, rax
xor r9d, r9d
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov edx, ebx
mov rcx, rsi
mov qword [rsp + 0x20], r14
lea r8d, [r9 + 6]
call rdi
test eax, eax
je 0x18000759d
mov eax, dword [r14]
lea r9, [rsp + 0x80]
xor r8d, r8d
mov dword [rsp + 0x28], 4
inc rax
mov dword [rsp + 0x20], 0x3000
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x80], rax
lea rcx, [r8 - 1]
call fcn.180007a23
test eax, eax
jne 0x18000759d
mov r9, qword [rsp + 0x78]
lea r8d, [rax + 6]
mov qword [rsp + 0x30], r15
mov edx, ebx
mov qword [rsp + 0x28], r15
mov rcx, rsi
mov qword [rsp + 0x20], r14
call rdi
test eax, eax
je 0x18000759d
mov rax, qword [rsp + 0x78]
jmp 0x18000759f
xor eax, eax
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.180007c30
mov rbx, qword [rsp + 0xd8]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x180007950
Capabilities:
Check os version
Execute syscall

Disassembly:
xor al, 0x5a
mov r10, qword gs:[0x60]
cmp word [r10 + 0x118], 0xa
je 0x1800079a0
cmp word [r10 + 0x118], 6
jne 0x1800079c7
cmp word [r10 + 0x11c], 3
je 0x1800079a2
cmp word [r10 + 0x11c], 2
je 0x1800079a4
cmp word [r10 + 0x11c], 1
jne 0x1800079c7
cmp word [r10 + 0x120], 0x1db1
je 0x1800079a6
jmp 0x1800079c7
inc eax
inc eax
inc eax
cmp qword [0x1800c3e30], 0
jne 0x1800079bc
cmp eax, 0xc390050f
pop r10
mov r10, rcx
jne 0x1800079b1
syscall
nop
ret
pop r10
mov r10, rcx
jmp qword [0x1800c3e30]
ret
Function at 0x180017cac
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 0x180017cdc
xor eax, eax
jmp 0x180017d9f
mov rbp, rbx
cmp word [rax], si
je 0x180017d01
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180017ce8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180017ce4
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.180017bfc
movsxd r14, eax
test eax, eax
jne 0x180017d3f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180017cd5
mov rcx, r14
call fcn.180015aa0
mov rdi, rax
test rax, rax
jne 0x180017d58
xor ecx, ecx
call fcn.180015a64
jmp 0x180017d34
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.180017bfc
test eax, eax
jne 0x180017d89
mov rcx, rdi
call fcn.180015a64
jmp 0x180017d93
xor ecx, ecx
call fcn.180015a64
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 0x18001c410
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18001c438
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18001c438
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x2fc4c4b30
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4c5532
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4e8108]
test eax, eax
je 0x2fc4c55ca
lea rax, [0x2fc4e80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4e8110]
mov qword [rbp - 8], rax
jmp 0x2fc4c55ae
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4c55a2
cmp qword [rbp - 0x10], 0
je 0x2fc4c55a2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4c5568
lea rax, [0x2fc4e80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4c55cb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4c56d0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4c56f8
mov eax, 0
jmp 0x2fc4c5746
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4c5721
mov eax, 0
jmp 0x2fc4c5746
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4c5741
mov eax, 0
jmp 0x2fc4c5746
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4c574c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4c57ca
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4c57c1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4c57c1
mov rax, qword [rbp - 8]
jmp 0x2fc4c57df
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4c5794
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4c5b60
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4c6562
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4e9108]
test eax, eax
je 0x2fc4c65fa
lea rax, [0x2fc4e90e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4e9110]
mov qword [rbp - 8], rax
jmp 0x2fc4c65de
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4c65d2
cmp qword [rbp - 0x10], 0
je 0x2fc4c65d2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4c6598
lea rax, [0x2fc4e90e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4c65fb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4c6700
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4c6728
mov eax, 0
jmp 0x2fc4c6776
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4c6751
mov eax, 0
jmp 0x2fc4c6776
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4c6771
mov eax, 0
jmp 0x2fc4c6776
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4c677c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4c67fa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4c67f1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4c67f1
mov rax, qword [rbp - 8]
jmp 0x2fc4c680f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4c67c4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14000a7d0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14000a815
xor al, al
jmp 0x14000a862
cmp word [rbx], 0
je 0x14000a82d
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000a820
cmp word [rsp + 0x30], 0
je 0x14000a85b
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x14000a883
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x14000a840
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000ba40
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.140010074
int3
Function at 0x14000afe0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x2030
call fcn.140020230
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov r11d, dword [0x140032dd0]
lea rsi, [0x140037e10]
mov rdi, rcx
test r11d, r11d
jne 0x14000b059
mov r8d, 0x1000
lea rdx, str._HOME_
lea rcx, [rsp + 0x20]
call fcn.14000a890
test al, al
je 0x14000b139
lea rcx, [rsp + 0x20]
call fcn.140014778
movsxd r11, dword [0x140032dd0]
mov qword [rsi + r11*8], rax
inc r11d
mov dword [0x140032dd0], r11d
xor r9d, r9d
test r11d, r11d
jle 0x14000b094
mov r10, rsi
mov r8, qword [r10]
mov rax, rdi
sub r8, rdi
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000b084
add rax, 2
test ecx, ecx
jne 0x14000b070
test edx, edx
je 0x14000b0b7
inc r9d
add r10, 8
cmp r9d, r11d
jl 0x14000b064
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x14000b0a0
cmp rax, 2
jne 0x14000b0bb
cmp word [rdi + 2], 0x3a
jne 0x14000b0bb
mov al, 1
jmp 0x14000b118
xor edx, edx
mov qword [rsp + 0x2048], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test eax, eax
jne 0x14000b0e6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000b10d
mov bl, 1
cmp dword [0x140032dd0], 0x400
jge 0x14000b10d
mov rcx, rdi
call fcn.140014778
movsxd rdx, dword [0x140032dd0]
mov qword [rsi + rdx*8], rax
inc edx
mov dword [0x140032dd0], edx
movzx eax, bl
mov rbx, qword [rsp + 0x2048]
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.14000ba40
mov rsi, qword [rsp + 0x2050]
add rsp, 0x2030
pop rdi
ret
lea rcx, str._HOME_
call fcn.14000ae80
int3

Function at 0x14000b260
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x140032dd8]
test rcx, rcx
je 0x14000b2a0
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000b28e
mov rcx, qword [0x140032dd8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x140032dd8]
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x28
ret
Function at 0x14000c300
Capabilities:
Parse pe header

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

Function at 0x140010068
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000fed3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000fed3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000fed3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000fed3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000fed3
cmp dword [rcx + 0x84], 0xe
jbe 0x14000fed3
cmp dword [rcx + 0xf8], 0
je 0x14000fed3
mov ecx, ebx
call fcn.14000ff84
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000fd60
nop
cmp dword [rbp + 0x20], 0
je 0x14000ff21
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000ff2c
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000fe64