joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14015db4f
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x1402420c0
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x6e8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x122
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x708]
mov rax, qword [0x14050c2c0]
xor rax, rbp
mov qword [rbp + 0x6b8], rax
lea rcx, [0x140541723]
call fcn.14016127c
nop
mov qword [rbp + 8], 0xffffffffffffffff
mov edx, dword [rbp + 0x6e0]
mov ecx, 8
call fcn.14015c669
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x140242132
xor al, al
jmp 0x1402421b9
mov dword [rbp + 0x30], 0x438
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.14015dab9
test eax, eax
jne 0x14024216d
lea rdx, str.Module32First_was_unsucessful__n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140158f00
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor al, al
jmp 0x1402421b9
lea rdx, str.jvm.dll
lea rcx, [rbp + 0x60]
call qword [sym.imp.ucrtbased.dll_wcscmp]
test eax, eax
je 0x140242197
lea rdx, str.javaw.exe
lea rcx, [rbp + 0x60]
call qword [sym.imp.ucrtbased.dll_wcscmp]
test eax, eax
jne 0x14024219b
mov al, 1
jmp 0x1402421b9
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.1401595b8
test eax, eax
jne 0x14024216d
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1404445f0]
call fcn.14015f8af
mov rax, rdi
mov rcx, qword [rbp + 0x6b8]
xor rcx, rbp
call fcn.14015c78b
lea rsp, [rbp + 0x6c8]
pop rdi
pop rbp
ret
Function at 0x14015dc62
Capabilities:
Create thread

Disassembly:
jmp 0x1403c1fa0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x16
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x14050c2c0]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x140541db0]
call fcn.14016127c
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.14015f2fb
mov rax, qword [rbp + 0x158]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x150]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x148]
mov r8, qword [rbp + 0x140]
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.140161b23
nop
lea rax, [0x14015c03d]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.14015f5c6
mov rcx, qword [rbp + 0xf8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x130]
mov qword [rcx], rax
mov rax, qword [rbp + 0x130]
cmp qword [rax], 0
je 0x1403c20ac
lea rcx, [rbp + 8]
call fcn.14015b2ff
nop
jmp 0x1403c20c5
mov rax, qword [rbp + 0x130]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.14015a0a3
nop
lea rcx, [rbp + 8]
call fcn.14015ef18
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x1404bf8a0]
call fcn.14015f8af
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.14015c78b
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret

Function at 0x14015dcdf
Capabilities:
Write file on windows

Disassembly:
jmp 0x1402e2990
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x140541c3b]
call fcn.14016127c
nop
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll_fwrite]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x14015dd93
Capabilities:
Get geographical location

Disassembly:
jmp 0x1403fd0d0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x1403fd10d
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.14016121d
add rsp, 0x58
ret
Function at 0x14015e13a
Capabilities:
Read file on windows

Disassembly:
jmp 0x1402e2910
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x140541c3b]
call fcn.14016127c
nop
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll_fread]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x14015e15d
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x1402e4950
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rcx, [0x140541c3b]
call fcn.14016127c
nop
mov eax, dword [rbp + 0x1a0]
not eax
mov dword [rbp + 0x1a0], eax
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x28], rax
lea rax, [0x1404516c0]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x198], 0
je 0x1402e4a96
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x198]
dec rax
mov qword [rbp + 0x198], rax
cmp qword [rbp + 0x158], 0
je 0x1402e49ea
mov dword [rbp + 0x160], 1
jmp 0x1402e49f4
mov dword [rbp + 0x160], 0
cmp dword [rbp + 0x160], 0
je 0x1402e4a91
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x64], al
movzx eax, byte [rbp + 0x64]
cmp eax, 0x23
jne 0x1402e4a6b
cmp qword [rbp + 0x198], 2
jb 0x1402e4a6b
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1402e4a6b
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1402e4a6b
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x64]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x1402e49b5
jmp 0x1402e4b30
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x84], al
movzx eax, byte [rbp + 0x84]
test eax, eax
je 0x1402e4b30
movzx eax, byte [rbp + 0x84]
cmp eax, 0x23
jne 0x1402e4b07
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1402e4b07
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1402e4b07
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x84]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x1402e4a96
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x14015e4aa
Capabilities:
Parse pe header

Disassembly:
jmp 0x140403a50
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140403a70
xor al, al
jmp 0x140403af1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140403a83
xor al, al
jmp 0x140403af1
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 0x140403aad
xor al, al
jmp 0x140403af1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140403ac1
xor al, al
jmp 0x140403af1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140403ad3
xor al, al
jmp 0x140403af1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140403aef
xor al, al
jmp 0x140403af1
mov al, 1
add rsp, 0x38
ret
Function at 0x14015f49a
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
jmp 0x1401e3ed0
push rbp
push rsi
push rdi
sub rsp, 0x1a0
lea rbp, [rsp + 0x20]
lea rcx, [0x14054113a]
call fcn.14016127c
nop
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x1401e3f14
lea rdx, str.Failed_opening_clipboard_n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140158f00
nop
xor al, al
jmp 0x1401e3fd3
mov ecx, 1
call qword [sym.imp.USER32.dll_GetClipboardData]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1401e3f4c
lea rdx, str.Failed_getting_data__1__n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140158f00
nop
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
xor al, al
jmp 0x1401e3fd3
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x1401e3f80
lea rdx, str.Failed_getting_data__2__n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140158f00
nop
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
xor al, al
jmp 0x1401e3fd3
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
nop
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
lea rax, [rbp + 0x108]
mov qword [rbp + 0x138], rax
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x138]
call fcn.14015bd77
lea rcx, [rbp + 0x160]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rcx, [rbp + 0x160]
call fcn.140161952
nop
mov al, 1
lea rsp, [rbp + 0x180]
pop rdi
pop rsi
pop rbp
ret

Function at 0x14015fc7e
Capabilities:
Create directory

Disassembly:
jmp 0x1403fe6a0
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x14050c2c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1403fe6dd
mov byte [rsp + 0x24], 1
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x24]
jmp 0x1403fe752
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xb7
jne 0x1403fe740
mov edx, 1
mov ecx, 2
call fcn.1401584dd
mov r9d, 0xffffffff
mov r8d, eax
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
call fcn.14015a99a
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x1403fe740
mov edx, 0x10
mov ecx, dword [rsp + 0x48]
call fcn.14015913a
movzx eax, al
test eax, eax
jne 0x1403fe740
mov dword [rsp + 0x20], 0xb7
mov byte [rsp + 0x2c], 0
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x2c]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14015c78b
add rsp, 0x68
ret
Function at 0x14016034a
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
jmp 0x1401e70d0
push rbp
push rdi
sub rsp, 0x458
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xaa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14050c2c0]
xor rax, rbp
mov qword [rbp + 0x410], rax
lea rcx, [0x14054113a]
call fcn.14016127c
nop
mov edx, 0xf8
lea rcx, [rbp + 0x10]
call fcn.14015e1d5
mov edx, 1
lea rcx, [rbp + 0x10]
call fcn.14015f904
nop
lea rcx, [rbp + 0x308]
call fcn.14015eed7
mov qword [rbp + 0x3e8], rax
mov rax, qword [rbp + 0x3e8]
mov qword [rbp + 0x3f0], rax
mov rax, qword [rbp + 0x3f0]
mov qword [rbp + 0x3f8], rax
mov dword [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9b, 0x20
mov r8d, 0xffffffff
lea rdx, [rbp + 0x338]
mov rcx, qword [rbp + 0x3f8]
call fcn.14015e36a
mov qword [rbp + 0x400], rax
mov rax, qword [rbp + 0x400]
mov qword [rbp + 0x408], rax
lea rax, [rbp + 0x20]
mov rdx, qword [rbp + 0x408]
mov rcx, rax
call fcn.140160052
nop
lea rcx, [rbp + 0x338]
call fcn.140159adb
nop
lea rcx, [rbp + 0x308]
call fcn.1401584d8
nop
lea rdx, [rbp + 0x378]
lea rcx, [rbp + 0x10]
call fcn.14015f157
mov qword [rbp + 0x3e8], rax
mov rcx, qword [rbp + 0x3e8]
call fcn.14015fbd9
inc rax
mov dword [rbp + 0x124], eax
lea rcx, [rbp + 0x378]
call fcn.140159adb
nop
movsxd rax, dword [rbp + 0x124]
mov rdx, rax
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rbp + 0x148], rax
cmp qword [rbp + 0x148], 0
je 0x1401e72dd
mov rcx, qword [rbp + 0x148]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rbp + 0x168], rax
cmp qword [rbp + 0x168], 0
je 0x1401e72dd
movsxd rax, dword [rbp + 0x124]
mov qword [rbp + 0x3e8], rax
lea rdx, [rbp + 0x3b8]
lea rcx, [rbp + 0x10]
call fcn.14015f157
mov qword [rbp + 0x3f0], rax
mov rcx, qword [rbp + 0x3f0]
call fcn.140158c62
mov rcx, qword [rbp + 0x3e8]
mov r8, rcx
mov rdx, rax
mov rcx, qword [rbp + 0x168]
call fcn.14015c7f4
lea rcx, [rbp + 0x3b8]
call fcn.140159adb
nop
mov rcx, qword [rbp + 0x148]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
nop
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1401e72dd
call qword [sym.imp.USER32.dll_EmptyClipboard]
nop
mov rdx, qword [rbp + 0x148]
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
nop
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
mov rcx, qword [rbp + 0x148]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop
lea rcx, [rbp + 0x10]
call fcn.14015990a
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x14042e580]
call fcn.14015f8af
mov rcx, qword [rbp + 0x410]
xor rcx, rbp
call fcn.14015c78b
lea rsp, [rbp + 0x428]
pop rdi
pop rbp
ret
Function at 0x140160395
Capabilities:
Get common file path

Disassembly:
jmp 0x1403fea00
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1403fea48
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x20], eax
ja 0x1403fea48
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x24]
jmp 0x1403fea5f
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x2c], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x2c]
add rsp, 0x48
ret

Function at 0x14016070f
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x1402e4830
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x20]
lea rcx, [0x140541c3b]
call fcn.14016127c
nop
mov eax, dword [rbp + 0x160]
not eax
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x150]
mov qword [rbp + 0x28], rax
lea rax, [0x1404516c0]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x158]
dec rax
mov qword [rbp + 0x158], rax
cmp qword [rbp + 0x118], 0
je 0x1402e48b0
mov dword [rbp + 0x120], 1
jmp 0x1402e48ba
mov dword [rbp + 0x120], 0
cmp dword [rbp + 0x120], 0
je 0x1402e4903
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
mov rdx, qword [rbp + 0x28]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 0x114], eax
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 0x114]
mov dword [rbp + 4], eax
jmp 0x1402e487b
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x14016104c
Capabilities:
Write file on windows

Disassembly:
jmp 0x1401f15c0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x14050c2c0]
xor rax, rbp
mov qword [rbp + 0x170], rax
lea rcx, [0x140541138]
call fcn.14016127c
nop
mov rax, qword [rbp + 0x1a0]
cmp qword [rax + 0x68], 0
je 0x1401f1627
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1401f162e
mov al, 1
jmp 0x1401f179e
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
call fcn.14015a7ba
mov dword [rbp + 0x160], eax
mov edx, dword [rbp + 0x160]
mov rcx, qword [rbp + 0x1a0]
call qword [rbp + 0x158]
mov dword [rbp + 0x164], eax
call fcn.14015a7ba
mov dword [rbp + 0x168], eax
mov edx, dword [rbp + 0x164]
mov ecx, dword [rbp + 0x168]
call fcn.14015f297
movzx eax, al
test eax, eax
je 0x1401f1691
xor al, al
jmp 0x1401f179e
mov qword [rbp + 8], 0x20
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x158], rax
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1a0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x160], eax
cmp dword [rbp + 0x160], 0
je 0x1401f1704
cmp dword [rbp + 0x160], 1
je 0x1401f170f
cmp dword [rbp + 0x160], 3
je 0x1401f178d
jmp 0x1401f179c
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x1401f175f
mov rax, qword [rbp + 0x1a0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x1401f175f
xor al, al
jmp 0x1401f179e
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1401f177a
mov dword [rbp + 0x154], 1
jmp 0x1401f1784
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x1401f179e
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1401f179e
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140431de0]
call fcn.14015f8af
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rbp
call fcn.14015c78b
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x140402ea0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1401617f9
movzx eax, al
test eax, eax
jne 0x140402ec0
mov ecx, 7
call fcn.14015f9b3
nop
mov byte [rsp + 0x20], 0
call fcn.14015fc10
mov byte [rsp + 0x21], al
cmp dword [0x140515288], 1
jne 0x140402ee4
mov ecx, 7
call fcn.14015f9b3
nop
jmp 0x140402f3c
cmp dword [0x140515288], 0
jne 0x140402f37
mov dword [0x140515288], 1
lea rdx, [0x1404299b0]
lea rcx, [0x140429680]
call fcn.14015c62d
test eax, eax
je 0x140402f18
mov eax, 0xff
jmp 0x140403041
lea rdx, [0x140429570]
lea rcx, [section..rdata]
call fcn.14015fb98
mov dword [0x140515288], 2
jmp 0x140402f3c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14015f7e2
call fcn.14015e897
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140402f99
mov rcx, qword [rsp + 0x30]
call fcn.14015b895
movzx eax, al
test eax, eax
je 0x140402f99
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 [0x140544020]
nop
call fcn.14015ef6d
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140402fcd
mov rcx, qword [rsp + 0x38]
call fcn.14015b895
movzx eax, al
test eax, eax
je 0x140402fcd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140160dd1
nop
call fcn.1404030b0
mov dword [rsp + 0x28], eax
call fcn.14015e4aa
movzx eax, al
test eax, eax
jne 0x140402fec
mov ecx, dword [rsp + 0x28]
call fcn.140158a2d
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140402ffb
call fcn.140160f7f
nop
xor edx, edx
mov cl, 1
call fcn.14015b5e8
mov eax, dword [rsp + 0x28]
jmp 0x140403041
add rsp, 0x68
ret
Function at 0x2fc4db950
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 0x2fc4dc352
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc500108]
test eax, eax
je 0x2fc4dc3ea
lea rax, [0x2fc5000e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc500110]
mov qword [rbp - 8], rax
jmp 0x2fc4dc3ce
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 0x2fc4dc3c2
cmp qword [rbp - 0x10], 0
je 0x2fc4dc3c2
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 0x2fc4dc388
lea rax, [0x2fc5000e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4dc3eb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4dc4f0
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 0x2fc4dc518
mov eax, 0
jmp 0x2fc4dc566
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 0x2fc4dc541
mov eax, 0
jmp 0x2fc4dc566
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 0x2fc4dc561
mov eax, 0
jmp 0x2fc4dc566
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4dc56c
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 0x2fc4dc5ea
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4dc5e1
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 0x2fc4dc5e1
mov rax, qword [rbp - 8]
jmp 0x2fc4dc5ff
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 0x2fc4dc5b4
mov eax, 0
add rsp, 0x20
pop rbp
ret