joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800481e0
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x1800481f7
cmp r8b, 0x90
je 0x1800481f7
cmp r8b, 0xcc
jne 0x180048219
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x180048215
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x180048219
add edx, r10d
cmp edx, r9d
jb 0x180048205
mov eax, r10d
ret
xor eax, eax
ret
Function at 0x1800526bc
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor ebp, ebp
cmp byte [0x1800d187a], bpl
je 0x18005289f
mov rax, qword [0x1800d2010]
test rax, rax
jne 0x180052787
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r11, qword [rax]
mov rdx, r11
mov r8, qword [rdx + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov r9d, dword [rax + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x18005276c
mov r10d, dword [r9 + 0x18]
test r10d, r10d
je 0x18005276c
mov esi, dword [r9 + 0x20]
dec r10d
mov ebx, 0x811c9dc5
lea rax, [rsi + r10*4]
mov ecx, dword [rax + r8]
add rcx, r8
mov al, byte [rcx]
inc rcx
test al, al
je 0x180052767
movsx eax, al
xor eax, ebx
imul ebx, eax, 0x1000193
mov al, byte [rcx]
inc rcx
test al, al
jne 0x180052747
cmp ebx, 0x95466b05
je 0x180052881
test r10d, r10d
jne 0x18005272b
mov rax, qword [rdx]
mov rdx, rax
cmp rax, r11
je 0x18005277d
cmp qword [rax + 0x30], rbp
jne 0x180052706
mov rax, rbp
mov qword [0x1800d2010], rax
mov ecx, dword [0x1800d18a0]
call rax
test ax, ax
je 0x18005289f
mov rax, qword [0x1800d1320]
mov rcx, qword [rax]
test rcx, rcx
je 0x18005289f
mov r9, qword [rcx + 8]
test r9, r9
je 0x18005289f
mov rax, qword [0x1800d1328]
mov rcx, qword [rax]
test rcx, rcx
je 0x18005289f
mov r8, qword [rcx + 0x18]
test r8, r8
je 0x18005289f
movss xmm3, dword [0x180059b50]
mov r10d, ebp
mov r11, rbp
movsxd rax, r10d
cmp rax, qword [r8 + 0x108]
jae 0x18005289f
mov rcx, qword [r8 + 0x100]
test rcx, rcx
je 0x180052875
mov rcx, qword [r11 + rcx]
test rcx, rcx
je 0x180052875
cmp rcx, r9
je 0x180052875
mov eax, dword [0x1800d134c]
mov edx, dword [rax + rcx]
test edx, edx
je 0x180052875
and edx, 0x1fc000
cmp edx, 0x8000
je 0x180052875
movsd xmm0, qword [r9 + 0x90]
movss xmm1, dword [r9 + 0x98]
movsd qword [rsp + 0x20], xmm0
movss xmm2, dword [rsp + 0x24]
movss xmm0, dword [rsp + 0x20]
addss xmm2, xmm3
movss dword [rcx + 0x90], xmm0
movss dword [rcx + 0x94], xmm2
movss dword [rcx + 0x98], xmm1
mov dword [rcx + 0x280], 0x3dcccccd
inc r10d
add r11, 0x10
jmp 0x1800527e6
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + r10*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
jmp 0x180052780
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1800539cc
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword [0x1800d1320]
mov rcx, qword [rax]
test rcx, rcx
je 0x180053b3b
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x180053b3b
mov eax, dword [0x1800d1358]
mov rdx, qword [rax + rcx]
test rdx, rdx
je 0x180053b3b
cmp qword [rcx + 0x30], 0
je 0x180053b3b
mov rax, qword [0x1800d1328]
mov r8, qword [rax]
test r8, r8
je 0x180053b3b
cmp qword [r8 + 0x10], 0
je 0x180053b3b
cmp byte [0x1800d1888], 0
je 0x180053a63
cmp byte [0x1800d1381], 0
movss xmm0, dword [0x1800d06c0]
je 0x180053a5b
movss dword [rdx + 0xd40], xmm0
jmp 0x180053a63
movss dword [rdx + 0xcf0], xmm0
mov eax, dword [0x1800d1378]
cmp byte [rax + rcx], 0x40
je 0x180053b3b
movss xmm0, dword [0x18005b8d8]
comiss xmm0, dword [rcx + 0x280]
ja 0x180053b3b
mov rax, qword [0x1800d2010]
test rax, rax
jne 0x180053b2d
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r11, qword [rax]
mov rdx, r11
mov r8, qword [rdx + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov r9d, dword [rax + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x180053b12
mov ecx, dword [r9 + 0x18]
test ecx, ecx
je 0x180053b12
mov esi, dword [r9 + 0x20]
dec ecx
mov ebx, 0x811c9dc5
mov edi, ecx
lea rax, [rsi + rcx*4]
mov r10d, dword [rax + r8]
add r10, r8
mov al, byte [r10]
inc r10
test al, al
je 0x180053b0e
movsx eax, al
xor eax, ebx
imul ebx, eax, 0x1000193
mov al, byte [r10]
inc r10
test al, al
jne 0x180053af1
cmp ebx, 0x95466b05
je 0x180053b4b
test ecx, ecx
jne 0x180053ad3
mov rax, qword [rdx]
mov rdx, rax
cmp rax, r11
je 0x180053b24
cmp qword [rax + 0x30], 0
jne 0x180053aaf
xor eax, eax
mov qword [0x1800d2010], rax
mov ecx, 0xa0
call rax
mov byte [0x1800d18ac], 1
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdi*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
jmp 0x180053b26
Function at 0x180056694
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
sub rsp, 0xd8
mov rax, qword [0x1800d0758]
xor rax, rsp
mov qword [rsp + 0xc0], rax
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
lea rcx, [0x1800565fc]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
jne 0x18005670b
mov qword [rsp + 0x20], 0xc8
lea rdx, [rsp + 0x30]
lea rcx, [0x1800565fc]
call qword [sym.imp.USER32.dll_EnumWindows]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.180048350
mov rcx, rax
call fcn.18004865c
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1800566d8
mov r8d, 0x80
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.180056ce0
add rsp, 0xd8
ret
Function at 0x2fc4d6eb0
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.2fc4d7f90
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d78b2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4fa108]
test eax, eax
je 0x2fc4d794a
lea rax, [0x2fc4fa0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4fa110]
mov qword [rbp - 8], rax
jmp 0x2fc4d792e
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 0x2fc4d7922
cmp qword [rbp - 0x10], 0
je 0x2fc4d7922
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 0x2fc4d78e8
lea rax, [0x2fc4fa0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d794b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d7a50
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 0x2fc4d7a78
mov eax, 0
jmp 0x2fc4d7ac6
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 0x2fc4d7aa1
mov eax, 0
jmp 0x2fc4d7ac6
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 0x2fc4d7ac1
mov eax, 0
jmp 0x2fc4d7ac6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d7acc
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 0x2fc4d7b4a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d7b41
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 0x2fc4d7b41
mov rax, qword [rbp - 8]
jmp 0x2fc4d7b5f
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 0x2fc4d7b14
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1415a8420
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1415a85a7
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 0x1415a8451
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1415a8437
add dl, dl
jne 0x1415a845e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1415a84be
xor eax, eax
add dl, dl
jne 0x1415a846d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1415a8575
add dl, dl
jne 0x1415a847e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415a848b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415a8498
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415a84a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1415a84b2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1415a8446
mov eax, 1
add dl, dl
jne 0x1415a84ce
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415a84db
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1415a84c3
sub eax, ebx
mov ebx, 1
jne 0x1415a8514
mov ecx, 1
add dl, dl
jne 0x1415a84f6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1415a8503
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1415a84eb
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1415a8446
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1415a8530
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1415a853d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1415a8525
cmp eax, 0x7d00
jae 0x1415a8563
cmp eax, 0x500
jb 0x1415a855e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1415a8446
cmp eax, 0x7f
ja 0x1415a8566
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1415a8446
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1415a859a
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 0x1415a8446
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140007c20
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x14002e0a0]
test rcx, rcx
je 0x140007c70
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140007c58
mov rcx, qword [0x14002e0a0]
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x14002e0a0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x140007c3f
add rsp, 0x28
ret

Function at 0x14000e2d0
Capabilities:
Create directory

Disassembly:
push rdi
mov eax, 0x2020
push rsi
push rbx
call fcn.140015e70
sub rsp, rax
mov eax, dword [0x140037100]
mov rsi, rcx
test eax, eax
je 0x14000e370
xor ebx, ebx
lea rdi, [0x140035100]
test eax, eax
jg 0x14000e30c
jmp 0x14000e320
add rbx, 1
cmp dword [0x140037100], ebx
jle 0x14000e320
mov rdx, qword [rdi + rbx*8]
mov rcx, rsi
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x14000e300
jmp 0x14000e357
mov rcx, rsi
call sub.msvcrt.dll_wcslen
cmp rax, 2
jne 0x14000e335
cmp word [rsi + 2], 0x3a
je 0x14000e357
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14000e3c0
movsxd rbx, dword [0x140037100]
cmp ebx, 0x3ff
jle 0x14000e3d8
mov eax, 1
add rsp, 0x2020
pop rbx
pop rsi
pop rdi
ret
lea rdi, [rsp + 0x20]
lea rbx, str.HOME
mov r8d, 0x1000
mov rdx, rbx
mov rcx, rdi
call fcn.140007540
test al, al
je 0x14000e3fa
movsxd rbx, dword [0x140037100]
mov rcx, rdi
lea rdi, [0x140035100]
call sub.msvcrt.dll__wcsdup
mov qword [rdi + rbx*8], rax
mov eax, dword [0x140037100]
add eax, 1
mov dword [0x140037100], eax
jmp 0x14000e2f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000e344
xor eax, eax
jmp 0x14000e35c
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add dword [0x140037100], 1
mov rdx, rax
lea rax, [0x140035100]
mov qword [rax + rbx*8], rdx
jmp 0x14000e357
mov rcx, rbx
call fcn.140007b60
nop
nop word cs:[rax + rax]
nop
Function at 0x140014b50
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 fcn.14001baa0
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.14001baa0
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x140015822
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140037228]
test eax, eax
je 0x1400158ba
lea rax, [0x140037200]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140037230]
mov qword [rbp - 8], rax
jmp 0x14001589e
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 0x140015892
cmp qword [rbp - 0x10], 0
je 0x140015892
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 0x140015858
lea rax, [0x140037200]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1400158bb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1400159c0
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 0x1400159e8
mov eax, 0
jmp 0x140015a36
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 0x140015a11
mov eax, 0
jmp 0x140015a36
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 0x140015a31
mov eax, 0
jmp 0x140015a36
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x140015a3c
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 0x140015aba
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140015ab1
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 0x140015ab1
mov rax, qword [rbp - 8]
jmp 0x140015acf
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 0x140015a84
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140001d40
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call fcn.140002290
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call fcn.140002290
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3

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

Disassembly:
mov rax, qword [0x14000c008]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x14000241c
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000241c
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x14000241c
movzx edx, word [rax + 6]
test edx, edx
je 0x14000241c
sub rcx, qword [0x14000c008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140002408
add rax, 0x28
dec edx
je 0x14000241c
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140002400
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140002400
jmp 0x14000241e
xor eax, eax
ret

Function at 0x140002420
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x14000c008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x140002455
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x140002455
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x140002455
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x1400024d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000c008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400024fc
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400024fc
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x1400024fe
xor eax, eax
ret
Function at 0x180045610
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp byte [rcx + 0x11], 0
mov r9, rcx
jne 0x180045667
movzx eax, byte [rcx + 0x10]
test al, al
je 0x180045667
cmp al, 1
jne 0x180045629
test edx, edx
jne 0x180045667
mov r10, qword [rcx + 8]
test r8, r8
je 0x180045642
mov rax, qword [r10 + 0x18]
mov rcx, qword [rax + 0x50]
mov eax, dword [rcx + 0x28]
bswap eax
mov dword [r8], eax
test edx, edx
je 0x180045664
mov rax, qword [r9]
mov rcx, qword [r10]
mov edx, dword [rax + 0x2f0]
cmp edx, dword [rcx + 0x80]
jle 0x180045664
cmp byte [rcx + 0xa], 0
jne fcn.18003d850
xor eax, eax
ret
jmp fcn.1800452c0
Function at 0x180065d00
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov qword [rcx], 0
mov ecx, 0x28
mov rsi, r8
mov rbp, rdx
call fcn.18002a230
mov rbx, rax
test rax, rax
jne 0x180065d3e
lea eax, [rbx + 7]
jmp 0x180065dc0
cmp byte [0x180191d74], 0
je 0x180065d92
mov rax, qword [0x180191f00]
test rax, rax
je 0x180065d5e
mov ecx, 0xc8
call rax
test eax, eax
jne 0x180065d92
lea rax, [rbx + 8]
mov qword [rbx + 0x10], rbp
mov qword [rsp + 0x28], rax
lea r8, [0x18002d9f0]
mov r9, rbx
mov dword [rsp + 0x20], 0
xor edx, edx
mov qword [rbx + 0x18], rsi
xor ecx, ecx
call fcn.180141818
mov qword [rbx], rax
test rax, rax
jne 0x180065da2
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x20], rax
cmp qword [rbx + 0x10], 0
jne 0x180065dbb
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, rsi
mov dword [rbx + 8], eax
call rbp
mov qword [rbx + 0x20], rax
mov qword [rdi], rbx
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x180073a10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push r14
sub rsp, 0x28
mov rbx, rdx
mov r14, rcx
movzx edx, byte [rdx]
movzx eax, dl
cmp dl, 0xb0
jne 0x180073a2d
movzx eax, byte [rbx + 2]
cmp al, 0xb1
jne 0x180073a37
mov rax, qword [rbx + 0x20]
jmp 0x180073a47
cmp al, 0x8a
jne 0x180073ae4
mov rax, qword [rbx + 0x20]
mov rax, qword [rax + 0x20]
movsxd rcx, dword [rax]
cmp ecx, 1
je 0x180073ae4
mov qword [rsp + 0x50], rdi
xor edi, edi
mov dword [r8], edi
cmp dl, 0x8a
jne 0x180073a79
mov rdx, rbx
mov rcx, r14
mov rdi, qword [rsp + 0x50]
add rsp, 0x28
pop r14
pop rbx
jmp fcn.1800717e0
mov eax, dword [r14 + 0x38]
mov qword [rsp + 0x40], rbp
mov rbp, rcx
mov qword [rsp + 0x20], r15
lea r15d, [rax + 1]
add eax, ecx
mov dword [r14 + 0x38], eax
test ecx, ecx
jle 0x180073adf
mov qword [rsp + 0x48], rsi
mov esi, r15d
mov rdx, qword [rbx + 0x20]
mov r8d, esi
mov rcx, r14
mov rdx, qword [rdx + rdi + 8]
call fcn.1800767a0
inc esi
lea rdi, [rdi + 0x20]
sub rbp, 1
jne 0x180073aa0
mov rsi, qword [rsp + 0x48]
mov eax, r15d
mov rbp, qword [rsp + 0x40]
mov r15, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x50]
add rsp, 0x28
pop r14
pop rbx
ret
mov eax, r15d
jmp 0x180073ac8
mov rdx, rbx
mov rcx, r14
add rsp, 0x28
pop r14
pop rbx
jmp fcn.180076590