joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400289d0
Capabilities:
Check http status code

Disassembly:
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0xa0
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rax, qword [0x1400970b0]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rbx, rcx
xor sil, sil
lea rcx, [r11 - 0x70]
call fcn.140034110
nop
mov rdx, qword [rax]
mov qword [rsp + 0x68], 0xf
xor ebp, ebp
mov qword [rsp + 0x60], rbp
mov byte [rsp + 0x50], bpl
or rdi, 0xffffffffffffffff
cmp byte [rdx], bpl
jne 0x140028a36
mov r8d, ebp
jmp 0x140028a49
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rdx + r8], bpl
jne 0x140028a40
lea rcx, [rsp + 0x50]
call fcn.14002c510
mov r14d, 1
mov r9d, r14d
lea r8d, [r14 + 0x4f]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140027c90
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, r14d
jg 0x140028a8a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
cmp byte [rbx + 0x20], 0
je 0x140028bcc
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.140027dc0
nop
cmp qword [rax + 0x18], 0x10
jb 0x140028aab
mov rax, qword [rax]
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x30], 0x4080000
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, str.HTTP_1.0
lea r8, [0x140070374]
mov rdx, rax
mov rcx, qword [rbx + 0x30]
call fcn.14001f970
mov rdi, rax
mov rcx, qword [rsp + 0x90]
cmp rcx, 0x10
jb 0x140028b3e
inc rcx
mov rdx, qword [rsp + 0x78]
cmp rcx, 0x1000
jb 0x140028b36
test dl, 0x1f
je 0x140028b09
call fcn.140045e90
int3
mov rax, qword [rdx - 8]
cmp rax, rdx
jb 0x140028b18
call fcn.140045e90
int3
sub rdx, rax
cmp rdx, 8
jae 0x140028b27
call fcn.140045e90
int3
cmp rdx, 0x27
jbe 0x140028b33
call fcn.140045e90
int3
mov rdx, rax
mov rcx, rdx
call fcn.14003fbe8
mov qword [rsp + 0x90], 0xf
mov qword [rsp + 0x88], rbp
mov byte [rsp + 0x78], 0
test rdi, rdi
je 0x140028ba8
mov dword [rsp + 0x20], ebp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.14001fab0
mov dword [rsp + 0x40], ebp
mov dword [rsp + 0x44], 4
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x40]
mov edx, 0x20000013
mov rcx, rdi
call fcn.14001fbc0
movzx esi, sil
cmp dword [rsp + 0x40], 0xc8
cmove esi, r14d
mov rcx, rdi
call fcn.14001ffd0
cmp byte [rbx + 0x20], 0
je 0x140028bcc
mov rcx, qword [rbx + 0x30]
call fcn.14001ffd0
mov rcx, qword [rbx + 0x28]
call fcn.14001ffd0
mov byte [rbx + 0x20], 0
movzx eax, sil
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14003ff20
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14002a700
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
mov r14, rdx
mov dword [rsp + 0x20], 0
xor edx, edx
mov rdi, r8
mov rbx, r9
mov rsi, rcx
lea r8d, [rdx + 0x5c]
call fcn.140045030
mov r8, rbx
mov dword [rsi], 0x67452301
mov rdx, rdi
mov dword [rsi + 4], 0xefcdab89
mov rcx, rsi
mov dword [rsi + 8], 0x98badcfe
mov dword [rsi + 0xc], 0x10325476
call fcn.14002b230
xor eax, eax
lea rbx, [rsi + 0x5c]
mov qword [rbx], rax
mov rdx, rsi
mov qword [rbx + 8], rax
mov rcx, rbx
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x30], rax
mov qword [rbx + 0x38], rax
call fcn.14002b0c0
mov qword [r14 + 0x18], 0xf
mov qword [r14 + 0x10], 0
mov byte [r14], 0
test rbx, rbx
je 0x14002a7fb
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x14002a7b5
mov rax, qword [r14]
jmp 0x14002a7b8
mov rax, r14
cmp rbx, rax
jb 0x14002a7fb
cmp rdx, 0x10
jb 0x14002a7c8
mov rcx, qword [r14]
jmp 0x14002a7cb
mov rcx, r14
add rcx, qword [r14 + 0x10]
cmp rcx, rbx
jbe 0x14002a7fb
cmp rdx, 0x10
jb 0x14002a7df
mov rax, qword [r14]
jmp 0x14002a7e2
mov rax, r14
sub rbx, rax
mov r9d, 0x10
mov r8, rbx
mov rdx, r14
mov rcx, r14
call fcn.14002c3e0
jmp 0x14002a843
cmp qword [r14 + 0x18], 0x10
jae 0x14002a81a
mov r8, qword [r14 + 0x10]
mov edx, 0x10
mov rcx, r14
call fcn.14002b3d0
cmp qword [r14 + 0x18], 0x10
jb 0x14002a81f
mov rax, qword [r14]
jmp 0x14002a822
mov rax, r14
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
cmp qword [r14 + 0x18], 0x10
mov qword [r14 + 0x10], 0x10
jb 0x14002a83c
mov rax, qword [r14]
jmp 0x14002a83f
mov rax, r14
mov byte [rax + 0x10], 0
mov rbx, qword [rsp + 0x40]
mov rax, r14
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret
Function at 0x14002ae70
Capabilities:
Hash data with md5

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x1400970b0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r14, r9
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rsp + 0xd0]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x20], 0
xor edx, edx
lea r8d, [rdx + 0x5c]
call fcn.140045030
mov dword [rdi], 0x67452301
mov dword [rdi + 4], 0xefcdab89
mov dword [rdi + 8], 0x98badcfe
mov dword [rdi + 0xc], 0x10325476
mov r8, r14
mov rdx, rbp
mov rcx, rdi
call fcn.14002b230
cmp qword [rbx + 0x10], 0
je 0x14002af0d
cmp qword [rbx + 0x18], 0x10
jb 0x14002aefe
mov rdx, qword [rbx]
jmp 0x14002af01
mov rdx, rbx
mov r8, qword [rbx + 0x10]
mov rcx, rdi
call fcn.14002b230
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.14002ad40
nop
xor edx, edx
lea r8d, [rdx + 0x5c]
mov rcx, rdi
call fcn.140045030
mov dword [rdi], 0x67452301
mov dword [rdi + 4], 0xefcdab89
mov dword [rdi + 8], 0x98badcfe
mov dword [rdi + 0xc], 0x10325476
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rdx, qword [rsp + 0x38]
mov r8d, 0x10
mov rcx, rdi
call fcn.14002b230
mov r8, r14
mov rdx, rbp
mov rcx, rdi
call fcn.14002b230
cmp qword [rbx + 0x10], 0
je 0x14002af93
cmp qword [rbx + 0x18], 0x10
jb 0x14002af84
mov rdx, qword [rbx]
jmp 0x14002af87
mov rdx, rbx
mov r8, qword [rbx + 0x10]
mov rcx, rdi
call fcn.14002b230
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.14002ad40
nop
mov r8, rax
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.1400295f0
nop
mov rax, qword [rsp + 0x70]
cmp rax, 0x10
jb 0x14002b00a
inc rax
mov rcx, qword [rsp + 0x58]
cmp rax, 0x1000
jb 0x14002b005
test cl, 0x1f
je 0x14002afd8
call fcn.140045e90
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14002afe7
call fcn.140045e90
int3
sub rcx, rax
cmp rcx, 8
jae 0x14002aff6
call fcn.140045e90
int3
cmp rcx, 0x27
jbe 0x14002b002
call fcn.140045e90
int3
mov rcx, rax
call fcn.14003fbe8
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], 0
mov byte [rsp + 0x58], 0
mov rax, qword [rsp + 0x50]
cmp rax, 0x10
jb 0x14002b079
inc rax
mov rcx, qword [rsp + 0x38]
cmp rax, 0x1000
jb 0x14002b074
test cl, 0x1f
je 0x14002b047
call fcn.140045e90
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14002b056
call fcn.140045e90
int3
sub rcx, rax
cmp rcx, 8
jae 0x14002b065
call fcn.140045e90
int3
cmp rcx, 0x27
jbe 0x14002b071
call fcn.140045e90
int3
mov rcx, rax
call fcn.14003fbe8
mov qword [rsp + 0x50], 0xf
mov qword [rsp + 0x48], 0
mov byte [rsp + 0x38], 0
mov rcx, rbx
call fcn.14002a3d0
mov rax, rsi
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14003ff20
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140033d00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rdi
mov rax, qword [0x1400970b0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov qword [rbp - 0x30], rcx
mov dword [rbp - 0x40], 0
mov word [rbp - 0x20], 0x6e49
mov word [rbp - 0x23], 0x5c6c
mov dword [rbp - 0x28], 0x626f6c47
mov dword [rbp - 0x17], 0x6574754d
mov word [rbp - 0x13], 0x78
mov dword [rbp - 0x1e], 0x6c617473
mov byte [rbp - 0x21], 0x43
mov word [rbp - 0x19], 0x7265
mov byte [rbp - 0x24], 0x61
mov byte [rbp - 0x1a], 0x6c
call fcn.140034030
mov rcx, rax
test rax, rax
jne 0x140033d8b
mov ecx, 0x80004005
call fcn.140033340
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
lea rcx, [rbp - 0x28]
lea rax, [rbp - 0x28]
test rax, 0xffffffffffff0000
jne 0x140033dc9
movzx edi, cx
xor edx, edx
mov ecx, edi
call fcn.140033290
test rax, rax
je 0x140033dea
mov r8d, edi
mov rdx, rax
mov rcx, rbx
call fcn.140034430
jmp 0x140033dea
lea rax, [rbp - 0x28]
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], 0
jne 0x140033dd1
mov r8d, ecx
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.140036c10
nop
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14003ff20
mov rbx, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x60
pop rbp
ret

Function at 0x140033e10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rdi
mov rax, qword [0x1400970b0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov qword [rbp - 0x30], rcx
mov dword [rbp - 0x40], 0
mov word [rbp - 0x1a], 0x6c6c
mov dword [rbp - 0x26], 0x6c61626f
mov dword [rbp - 0x1f], 0x74736e49
mov dword [rbp - 0x18], 0x754d7265
mov byte [rbp - 0x1b], 0x61
mov dword [rbp - 0x14], 0x786574
mov word [rbp - 0x22], 0x465c
mov word [rbp - 0x28], 0x6c47
mov byte [rbp - 0x20], 0x46
call fcn.140034030
mov rcx, rax
test rax, rax
jne 0x140033e98
mov ecx, 0x80004005
call fcn.140033340
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
lea rcx, [rbp - 0x28]
lea rax, [rbp - 0x28]
test rax, 0xffffffffffff0000
jne 0x140033ed6
movzx edi, cx
xor edx, edx
mov ecx, edi
call fcn.140033290
test rax, rax
je 0x140033ef9
mov r8d, edi
mov rdx, rax
mov rcx, rbx
call fcn.140034430
jmp 0x140033ef9
lea rax, [rbp - 0x28]
or rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rax + rcx], 0
jne 0x140033ee0
mov r8d, ecx
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.140036c10
nop
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14003ff20
mov rbx, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x60
pop rbp
ret
Function at 0x140033f20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rdi
mov rax, qword [0x1400970b0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov qword [rbp - 0x30], rcx
mov dword [rbp - 0x40], 0
mov word [rbp - 0x24], 0x6c61
mov dword [rbp - 0x20], 0x736e4945
mov word [rbp - 0x13], 0x7865
mov word [rbp - 0x27], 0x6f6c
mov dword [rbp - 0x18], 0x754d7265
mov byte [rbp - 0x14], 0x74
mov dword [rbp - 0x1c], 0x6c6c6174
mov word [rbp - 0x22], 0x495c
mov byte [rbp - 0x11], 0
mov byte [rbp - 0x28], 0x47
mov byte [rbp - 0x25], 0x62
call fcn.140034030
mov rcx, rax
test rax, rax
jne 0x140033faf
mov ecx, 0x80004005
call fcn.140033340
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
lea rcx, [rbp - 0x28]
lea rax, [rbp - 0x28]
test rax, 0xffffffffffff0000
jne 0x140033fed
movzx edi, cx
xor edx, edx
mov ecx, edi
call fcn.140033290
test rax, rax
je 0x14003400e
mov r8d, edi
mov rdx, rax
mov rcx, rbx
call fcn.140034430
jmp 0x14003400e
lea rax, [rbp - 0x28]
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], 0
jne 0x140033ff5
mov r8d, ecx
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.140036c10
nop
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14003ff20
mov rbx, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x60
pop rbp
ret

Function at 0x140036e30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x140036e63
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140036eaa
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140036ea5
nop
cmp rbx, rcx
jae 0x140036eaa
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140036e90
cmp rbx, rcx
jb 0x140036eae
xor eax, eax
jmp 0x140036eba
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14003f080
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
cmp byte [rcx + 8], 0
mov r9, rcx
je 0x14003f0bb
xor ecx, ecx
cmp dword [r9 + 0x3d0], ecx
jle 0x14003f0b6
sub r8, rdx
nop dword [rax + rax]
movzx eax, byte [r8 + rdx]
inc ecx
xor byte [rdx], al
lea rdx, [rdx + 1]
cmp ecx, dword [r9 + 0x3d0]
jl 0x14003f0a0
add rsp, 0x58
ret
lea rax, vtable.std::exception.0
mov byte [rsp + 0x28], 1
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x38]
xor eax, eax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov rax, qword [str.Object_not_Initialized]
mov qword [rsp + 0x20], rax
call fcn.140044700
lea rdx, [0x1400956d8]
lea rcx, [rsp + 0x30]
call fcn.1400447b8
int3
Function at 0x1400527cc
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1400525a0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400525a0
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400525a0
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400525a0
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400525a0
cmp dword [rcx + 0x84], 0xe
jbe 0x1400525a0
cmp dword [rcx + 0xf8], esi
je 0x1400525a0
mov ecx, r14d
call fcn.1400526e8
mov ecx, 2
call fcn.140054b74
nop
cmp byte [0x140099e88], 0
jne 0x14005266a
mov r15d, 1
mov eax, r15d
xchg dword [0x140099e78], eax
test ebx, ebx
jne 0x140052613
mov rdi, qword [0x1400970b0]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140099e80]
cmp rcx, rax
je 0x14005260a
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140040f40]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140099fb8]
jmp 0x14005261f
cmp ebx, r15d
jne 0x140052625
lea rcx, [0x140099fd0]
call fcn.1400532a4
nop
test ebx, ebx
jne 0x14005263c
lea rdx, [0x14006a628]
lea rcx, [0x14006a608]
call fcn.140053574
lea rdx, [0x14006a638]
lea rcx, [0x14006a630]
call fcn.140053574
movzx eax, byte [0x140099e88]
test esi, esi
cmove eax, r15d
mov byte [0x140099e88], al
jmp 0x14005266a
mov ecx, 2
call fcn.140054bc8
test esi, esi
jne 0x140052681
mov ecx, r14d
call fcn.14005269c
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x140052530
Function at 0x2fc4dd460
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 0x2fc4dde62
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc502108]
test eax, eax
je 0x2fc4ddefa
lea rax, [0x2fc5020e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc502110]
mov qword [rbp - 8], rax
jmp 0x2fc4ddede
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 0x2fc4dded2
cmp qword [rbp - 0x10], 0
je 0x2fc4dded2
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 0x2fc4dde98
lea rax, [0x2fc5020e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4ddefb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4de000
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 0x2fc4de028
mov eax, 0
jmp 0x2fc4de076
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 0x2fc4de051
mov eax, 0
jmp 0x2fc4de076
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 0x2fc4de071
mov eax, 0
jmp 0x2fc4de076
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4de07c
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 0x2fc4de0fa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4de0f1
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 0x2fc4de0f1
mov rax, qword [rbp - 8]
jmp 0x2fc4de10f
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 0x2fc4de0c4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d8b40
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 0x2fc4d9542
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4fe108]
test eax, eax
je 0x2fc4d95da
lea rax, [0x2fc4fe0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4fe110]
mov qword [rbp - 8], rax
jmp 0x2fc4d95be
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 0x2fc4d95b2
cmp qword [rbp - 0x10], 0
je 0x2fc4d95b2
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 0x2fc4d9578
lea rax, [0x2fc4fe0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d95db
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d96e0
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 0x2fc4d9708
mov eax, 0
jmp 0x2fc4d9756
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 0x2fc4d9731
mov eax, 0
jmp 0x2fc4d9756
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 0x2fc4d9751
mov eax, 0
jmp 0x2fc4d9756
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d975c
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 0x2fc4d97da
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d97d1
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 0x2fc4d97d1
mov rax, qword [rbp - 8]
jmp 0x2fc4d97ef
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 0x2fc4d97a4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14000999d
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
dec rax
cmp word [rax], 0x5a4d
jne 0x1400099bb
je 0x1400099c6
call 0x140009a15
mov bl, 0xc7
lahf
pop rsi
jne 0x1400099a6
call 0x1400099be
mov ecx, edi
xor eax, 0x3c508b0b
mov edx, dword [rax + 0x3c]
cmp edx, 0x400
jae 0x1400099a6
sub rax, 0x48b5
add rdx, rax
add rdx, 0x48b5
add rax, 0x48b5
cmp word [rdx], 0x4550
jne 0x1400099f4
je 0x140009a32
invalid
je 0x140009a43
jne 0x1400099a6
lea rax, [0x1400098cc]
sub rsp, 8
mov qword [rsp], rcx
mov rcx, 0xffffffffffff2810
add rcx, 0xd960
add rcx, rax
push rcx
xchg rcx, rax
add rsp, 8
mov rcx, qword [rsp - 8]
mov rcx, qword [rsp]
add rsp, 8
call rax
lodsd eax, dword [rsi]
push rbp
movabs byte [0x894808ec8348c391], al
sub al, 0x24
mov rbp, rsp
mov qword [rsp - 8], 0
ret
add byte [rax], al
add byte [rax], al
sub rsp, 8
pop rax
add rax, rcx
sub rsp, 0x1e0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], WSACleanup
mov byte [rbp - 0xa], reloc.WS2_32.dll_WSACleanup
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], WSAGetLastError
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], WSAGetLastError
mov byte [rbp - 4], WSAGetLastError
mov byte [rbp - 3], reloc.WS2_32.dll_WSAGetLastError
mov byte [rbp - 2], 0x63
mov byte [rbp - 1], 0
mov qword [rsp - 8], rsi
sub rsp, 8
add rsp, 8
mov rcx, qword [rsp - 8]
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x61be
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x4615
lea r9, [0x14000562d]
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x140009ae4
mov rcx, 0x3fe0
mov r9d, 0x15c13
mov r10d, 0x92819200
dec rcx
mov dl, byte [rax + rcx]
xor dl, r9b
mov byte [rax + rcx], dl
sub r10d, 0x26fe2
add r9d, r10d
add r9d, 0x26fe2
add r10d, 0x26fe2
rol r9d, 1
test rcx, rcx
jne 0x140009b3d
je 0x140009b43
call 0x140009b34
fild qword [rdi - 0x7c]
jmp 0x174f462b6
jne 0x140009b06
xor al, 1
add byte [rbp - 0x7f], dh
jne 0x140009ac6
add rax, 0x1ed4
mov rsp, rbp
pop rbp
ret