joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400bfd60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1400e3020]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x30], 0
call fcn.1400c0440
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x1400bff3f
mov eax, 1
imul rax, rax, 9
mov byte [rsp + rax + 0x50], 0x69
mov eax, 1
imul rax, rax, 0xf
mov byte [rsp + rax + 0x50], 0x74
mov eax, 1
imul rax, rax, 0xe
mov byte [rsp + rax + 0x50], 0x6e
mov eax, 1
imul rax, rax, 0x13
mov byte [rsp + rax + 0x50], 0x41
mov eax, 1
imul rax, rax, 7
mov byte [rsp + rax + 0x50], 0x71
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x50], 0x74
mov eax, 1
imul rax, rax, 0xc
mov byte [rsp + rax + 0x50], 0x43
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x50], 0x41
mov eax, 1
imul rax, rax, 0x14
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0x15
jae 0x1400bfe2d
jmp 0x1400bfe32
call fcn.140006978
mov rax, qword [rsp + 0x40]
mov byte [rsp + rax + 0x50], 0
mov eax, 1
imul rax, rax, 0x12
mov byte [rsp + rax + 0x50], 0x74
mov eax, 1
imul rax, rax, 0x11
mov byte [rsp + rax + 0x50], 0x78
mov eax, 1
imul rax, rax, 0xa
mov byte [rsp + rax + 0x50], 0x72
mov eax, 1
imul rax, rax, 0xd
mov byte [rsp + rax + 0x50], 0x6f
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x50], 0x72
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x50], 0x70
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x50], 0x43
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x50], 0x79
mov eax, 1
imul rax, rax, 0x10
mov byte [rsp + rax + 0x50], 0x65
mov eax, 1
imul rax, rax, 0xb
mov byte [rsp + rax + 0x50], 0x65
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x50], 0x63
mov eax, 1
imul rax, rax, 8
mov byte [rsp + rax + 0x50], 0x75
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1400bff34
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [rsp + 0x48]
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140006850
add rsp, 0x78
ret
Function at 0x1400bff60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1400e3020]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x30], 0
call fcn.1400c0440
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x1400c00f9
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x50], 0x70
mov eax, 1
imul rax, rax, 0xc
mov byte [rsp + rax + 0x50], 0x61
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x50], 0x43
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x50], 0x43
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x50], 0x72
mov eax, 1
imul rax, rax, 0xf
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0x10
jae 0x1400c0002
jmp 0x1400c0007
call fcn.140006978
mov rax, qword [rsp + 0x40]
mov byte [rsp + rax + 0x50], 0
mov eax, 1
imul rax, rax, 0xb
mov byte [rsp + rax + 0x50], 0x48
mov eax, 1
imul rax, rax, 0xd
mov byte [rsp + rax + 0x50], 0x73
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x50], 0x74
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x50], 0x79
mov eax, 1
imul rax, rax, 0xe
mov byte [rsp + rax + 0x50], 0x68
mov eax, 1
imul rax, rax, 9
mov byte [rsp + rax + 0x50], 0x74
mov eax, 1
imul rax, rax, 7
mov byte [rsp + rax + 0x50], 0x65
mov eax, 1
imul rax, rax, 0xa
mov byte [rsp + rax + 0x50], 0x65
mov eax, 1
imul rax, rax, 8
mov byte [rsp + rax + 0x50], 0x61
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x50], 0x72
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1400c00ee
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [rsp + 0x48]
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140006850
add rsp, 0x78
ret
Function at 0x1400c0120
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x1400e3020]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x20], 0
call fcn.1400c0440
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1400c0292
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x40], 0x65
mov eax, 1
imul rax, rax, 8
mov byte [rsp + rax + 0x40], 0x74
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x40], 0x43
mov eax, 1
imul rax, rax, 0x10
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0x11
jae 0x1400c0198
jmp 0x1400c019d
call fcn.140006978
mov rax, qword [rsp + 0x30]
mov byte [rsp + rax + 0x40], 0
mov eax, 1
imul rax, rax, 0xf
mov byte [rsp + rax + 0x40], 0x68
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x40], 0x72
mov eax, 1
imul rax, rax, 0xa
mov byte [rsp + rax + 0x40], 0x6f
mov eax, 1
imul rax, rax, 0xc
mov byte [rsp + rax + 0x40], 0x48
mov eax, 1
imul rax, rax, 0xb
mov byte [rsp + rax + 0x40], 0x79
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x40], 0x74
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x40], 0x79
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x40], 0x70
mov eax, 1
imul rax, rax, 0xd
mov byte [rsp + rax + 0x40], 0x61
mov eax, 1
imul rax, rax, 7
mov byte [rsp + rax + 0x40], 0x73
mov eax, 1
imul rax, rax, 9
mov byte [rsp + rax + 0x40], 0x72
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x40], 0x44
mov eax, 1
imul rax, rax, 0xe
mov byte [rsp + rax + 0x40], 0x73
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x1400c0287
mov rcx, qword [rsp + 0x70]
call qword [rsp + 0x38]
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140006850
add rsp, 0x68
ret
Function at 0x1400c02b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x1400e3020]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x20], 0
call fcn.1400c0440
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1400c041c
mov eax, 1
imul rax, rax, 7
mov byte [rsp + rax + 0x40], 0x73
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x40], 0x61
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x40], 0x43
mov eax, 1
imul rax, rax, 0xa
mov byte [rsp + rax + 0x40], 0x61
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x40], 0x48
mov eax, 1
imul rax, rax, 0xc
mov byte [rsp + rax + 0x40], 0x61
mov eax, 1
imul rax, rax, 9
mov byte [rsp + rax + 0x40], 0x44
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x40], 0x79
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x40], 0x70
mov eax, 1
imul rax, rax, 0xd
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0xe
jae 0x1400c038b
jmp 0x1400c0390
call fcn.140006978
mov rax, qword [rsp + 0x30]
mov byte [rsp + rax + 0x40], 0
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x40], 0x74
mov eax, 1
imul rax, rax, 8
mov byte [rsp + rax + 0x40], 0x68
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x40], 0x72
mov eax, 1
imul rax, rax, 0xb
mov byte [rsp + rax + 0x40], 0x74
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x1400c0411
mov r9d, dword [rsp + 0x88]
mov r8d, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [rsp + 0x38]
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140006850
add rsp, 0x68
ret
Function at 0x14001110e
Capabilities:
Create process on windows
Terminate process

Disassembly:
jmp 0x140013fd0
push rbp
push rdi
sub rsp, 0x468
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xb2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140024040]
xor rax, rbp
mov qword [rbp + 0x438], rax
lea rcx, [0x14002a106]
call fcn.1400115f0
nop
mov r8d, 0x104
lea rdx, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
nop
lea rax, [rbp + 0x240]
mov rdi, rax
xor eax, eax
mov ecx, 0x70
rep stosb byte [rdi], al
mov dword [rbp + 0x240], 0x70
mov dword [rbp + 0x244], 0
mov qword [rbp + 0x248], 0
lea rax, str.runas
mov qword [rbp + 0x250], rax
lea rax, [rbp + 0x10]
mov qword [rbp + 0x258], rax
lea rax, [0x14001f454]
mov qword [rbp + 0x260], rax
mov dword [rbp + 0x270], 1
lea rcx, [rbp + 0x240]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
nop
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x14001132f
Capabilities:
Download url
Receive data
Terminate process

Disassembly:
jmp 0x140013f00
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x118
lea rbp, [rsp + 0x30]
lea rcx, [0x14002a106]
call fcn.1400115f0
nop
mov rcx, qword [rbp + 0x108]
call fcn.140011208
mov qword [rbp + 0xd8], rax
mov rcx, qword [rbp + 0x100]
call fcn.140011208
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, qword [rbp + 0xd8]
mov r8, rcx
mov rdx, rax
xor ecx, ecx
call fcn.14001158c
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x140013f9d
lea rdx, str.Error_downloading_the_file_
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140011316
lea rdx, [0x1400112f8]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
nop
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x140011361
Capabilities:
Terminate process

Disassembly:
jmp 0x140016cd0
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]
nop
add rsp, 0x28
ret
Function at 0x140011438
Capabilities:
Parse pe header

Disassembly:
jmp 0x140018020
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140018040
xor al, al
jmp 0x1400180c1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140018053
xor al, al
jmp 0x1400180c1
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 0x14001807d
xor al, al
jmp 0x1400180c1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140018091
xor al, al
jmp 0x1400180c1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400180a3
xor al, al
jmp 0x1400180c1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400180bf
xor al, al
jmp 0x1400180c1
mov al, 1
add rsp, 0x38
ret
Function at 0x140015e20
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011627
movzx eax, al
test eax, eax
jne 0x140015e40
mov ecx, 7
call fcn.140011528
nop
mov byte [rsp + 0x20], 0
call fcn.14001155a
mov byte [rsp + 0x21], al
cmp dword [0x140024b78], 1
jne 0x140015e64
mov ecx, 7
call fcn.140011528
nop
jmp 0x140015ebc
cmp dword [0x140024b78], 0
jne 0x140015eb7
mov dword [0x140024b78], 1
lea rdx, [0x14001e660]
lea rcx, [0x14001e330]
call fcn.1400112d5
test eax, eax
je 0x140015e98
mov eax, 0xff
jmp 0x140015fc1
lea rdx, [0x14001e220]
lea rcx, [section..rdata]
call fcn.140011541
mov dword [0x140024b78], 2
jmp 0x140015ebc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011514
call fcn.140011460
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140015f19
mov rcx, qword [rsp + 0x30]
call fcn.14001125d
movzx eax, al
test eax, eax
je 0x140015f19
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x14002b020]
nop
call fcn.1400114a6
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140015f4d
mov rcx, qword [rsp + 0x38]
call fcn.14001125d
movzx eax, al
test eax, eax
je 0x140015f4d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400115cd
nop
call fcn.140016070
mov dword [rsp + 0x28], eax
call fcn.140011438
movzx eax, al
test eax, eax
jne 0x140015f6c
mov ecx, dword [rsp + 0x28]
call fcn.140011087
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140015f7b
call fcn.1400115e1
nop
xor edx, edx
mov cl, 1
call fcn.140011230
mov eax, dword [rsp + 0x28]
jmp 0x140015fc1
add rsp, 0x68
ret
Function at 0x180005590
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.180005070
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1800055cf
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1800422e8]
jmp 0x1800055d9
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x18002a6d0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.180003970
lea rcx, [rsp + 0x40]
call fcn.18002a690
movzx eax, al
test eax, eax
jne 0x18002a718
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.18002a5c0
mov rax, qword [rsp + 0x70]
jmp 0x18002a8e9
lea rcx, [rsp + 0x40]
call fcn.1800039f0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.18002a640
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.1800039f0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.18002a490
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x18002a7be
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.18002a5c0
mov rax, qword [rsp + 0x80]
jmp 0x18002a8e9
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.18001d040
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.180003970
lea rcx, [rsp + 0x48]
call fcn.1800039b0
movzx eax, al
test eax, eax
jne 0x18002a825
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.180003990
lea rcx, [rsp + 0x40]
call fcn.18002a5c0
mov rax, qword [rsp + 0x88]
jmp 0x18002a8e9
lea rcx, [rsp + 0x48]
call fcn.1800039f0
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.1800039f0
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.18002a490
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x18002a8bb
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.180003990
lea rcx, [rsp + 0x40]
call fcn.18002a5c0
mov rax, qword [rsp + 0xa0]
jmp 0x18002a8e9
lea rcx, [rsp + 0x48]
call fcn.1800040f0
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.180003990
lea rcx, [rsp + 0x40]
call fcn.18002a5c0
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret
Function at 0x18002d7e0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x18002f0d0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.18003fbb0
sub rsp, rax
mov rax, qword [0x180058040]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x18005bc40]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x18002f2c2
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x18002f216
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x18002f216
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x18002f1fb
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x18002f198
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x18002f282
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x18002f2e1
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jae 0x18002f2bd
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x18002f2e1
jmp 0x18002f16e
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.180003170
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x18002f300
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.18003fbb0
sub rsp, rax
mov rax, qword [0x180058040]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x18005bc40]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x18002f50d
lea rax, [rsp + 0x147e]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
jae 0x18002f459
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x18002f459
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
cmp eax, 0xa
jne 0x18002f439
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x78], eax
mov eax, 0xd
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x18002f3c8
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x18002f4cd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x18002f52c
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jae 0x18002f508
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x18002f52c
jmp 0x18002f39e
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.180003170
add rsp, 0x1498
pop rdi
pop rsi
ret