joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18004fd60
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2b8
mov rax, qword [0x18007b080]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rcx, qword [rsp + 0x2c0]
call fcn.180008cd0
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x2c8]
call fcn.180008cd0
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
nop
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x18004fdee
mov dword [rsp + 0x28], 3
mov rcx, qword [rsp + 0x2c0]
call fcn.180008dd0
nop
mov rcx, qword [rsp + 0x2c8]
call fcn.180008dd0
mov eax, dword [rsp + 0x28]
jmp 0x18004ffdd
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryEmptyA]
test eax, eax
je 0x18004fe29
mov dword [rsp + 0x2c], 0x10b
mov rcx, qword [rsp + 0x2c0]
call fcn.180008dd0
nop
mov rcx, qword [rsp + 0x2c8]
call fcn.180008dd0
mov eax, dword [rsp + 0x2c]
jmp 0x18004ffdd
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0xd8]
call fcn.180008f40
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0xb8]
call fcn.180008f40
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x98]
call fcn.180011880
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.180008cd0
lea rdx, [rsp + 0x160]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x98]
call fcn.180008dd0
nop
lea rcx, [rsp + 0xb8]
call fcn.180008dd0
nop
lea rcx, [rsp + 0xd8]
call fcn.180008dd0
nop
cmp qword [rsp + 0x38], 0xffffffffffffffff
je 0x18004ffb4
lea rdx, [rsp + 0x18c]
lea rcx, [rsp + 0x138]
call fcn.180008f40
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x118]
call fcn.180008f40
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x88], rax
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0xf8]
call fcn.180011880
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.180008cd0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, [rsp + 0xf8]
call fcn.180008dd0
nop
lea rcx, [rsp + 0x118]
call fcn.180008dd0
nop
lea rcx, [rsp + 0x138]
call fcn.180008dd0
nop
lea rdx, [rsp + 0x160]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x18004fedd
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x2c0]
call fcn.180008dd0
nop
mov rcx, qword [rsp + 0x2c8]
call fcn.180008dd0
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.180015ab0
add rsp, 0x2b8
ret
Function at 0x1800508e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x18007b080]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x28], 0x3a
mov byte [rsp + 0x30], 0x4c
mov byte [rsp + 0x31], 0xfc
mov byte [rsp + 0x32], 0x9b
mov byte [rsp + 0x33], 0x67
mov byte [rsp + 0x34], 0xc2
mov byte [rsp + 0x35], 0xa6
mov byte [rsp + 0x36], 0x33
mov byte [rsp + 0x37], 0xe0
mov byte [rsp + 0x38], 0x43
mov byte [rsp + 0x39], 0xde
mov byte [rsp + 0x3a], 0x94
mov byte [rsp + 0x3b], 0x70
mov byte [rsp + 0x3c], 0xc7
mov byte [rsp + 0x3d], 0xa8
mov byte [rsp + 0x3e], 0x32
mov byte [rsp + 0x3f], 0xea
mov byte [rsp + 0x40], 0x79
mov byte [rsp + 0x41], 0xe7
mov byte [rsp + 0x42], 0xa1
mov byte [rsp + 0x43], 0x44
mov byte [rsp + 0x44], 0xdc
mov byte [rsp + 0x45], 0xa9
mov byte [rsp + 0x46], 0x25
mov byte [rsp + 0x47], 0xea
mov byte [rsp + 0x48], 0x68
mov byte [rsp + 0x49], 0xe0
mov byte [rsp + 0x4a], 0xa1
mov byte [rsp + 0x4b], 0x50
mov byte [rsp + 0x4c], 0xc0
mov byte [rsp + 0x4d], 0xb5
mov byte [rsp + 0x4e], 0x33
mov byte [rsp + 0x4f], 0xe0
mov byte [rsp + 0x50], 0x71
mov byte [rsp + 0x51], 0xe7
mov byte [rsp + 0x52], 0xab
mov byte [rsp + 0x53], 0x76
mov byte [rsp + 0x54], 0xc7
mov byte [rsp + 0x55], 0xb4
mov byte [rsp + 0x56], 0x28
mov byte [rsp + 0x57], 0xea
mov byte [rsp + 0x58], 0x71
mov byte [rsp + 0x59], 0xcf
mov byte [rsp + 0x5a], 0xad
mov byte [rsp + 0x5b], 0x7c
mov byte [rsp + 0x5c], 0xd9
mov byte [rsp + 0x5d], 0xae
mov byte [rsp + 0x5e], 0x22
mov byte [rsp + 0x5f], 0xec
mov byte [rsp + 0x60], 0x7a
mov byte [rsp + 0x61], 0xe0
mov byte [rsp + 0x62], 0xa1
mov byte [rsp + 0x63], 0x40
mov byte [rsp + 0x64], 0xcc
mov byte [rsp + 0x65], 0xb4
mov byte [rsp + 0x66], 0x35
mov byte [rsp + 0x67], 0xe0
mov byte [rsp + 0x68], 0x72
mov byte [rsp + 0x69], 0x93
mov eax, 0x764
mov eax, eax
mov ecx, dword [0x1805096d0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
jne 0x180050ac3
mov eax, 0x764
mov eax, eax
mov ecx, dword [0x1805096d0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rcx + rax]
or eax, 1
mov dword [rsp + 0x20], eax
mov eax, dword [0x1805096d0]
mov rcx, qword gs:[0x58]
mov edx, 0x764
mov edx, edx
mov rax, qword [rcx + rax*8]
mov ecx, dword [rsp + 0x20]
mov dword [rdx + rax], ecx
mov eax, 0x6d8
mov eax, eax
mov ecx, dword [0x1805096d0]
mov rdx, qword gs:[0x58]
add rax, qword [rdx + rcx*8]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.180006940
lea rcx, [0x18005ff10]
call fcn.180015bf0
nop
mov eax, 0x6d8
mov eax, eax
mov ecx, dword [0x1805096d0]
mov rdx, qword gs:[0x58]
add rax, qword [rdx + rcx*8]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.180015ab0
add rsp, 0x88
ret
Function at 0x180050c70
Capabilities:
Contain obfuscated stackstrings
Get process heap force flags

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x18007b080]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x28], 0x3a
mov byte [rsp + 0x30], 0x74
mov byte [rsp + 0x31], 0xb0
mov byte [rsp + 0x32], 0x85
mov byte [rsp + 0x33], 0xc7
mov byte [rsp + 0x34], 0x32
mov byte [rsp + 0x35], 0x42
mov byte [rsp + 0x36], 0xab
mov byte [rsp + 0x37], 0x4e
mov byte [rsp + 0x38], 0x7b
mov byte [rsp + 0x39], 0x92
mov byte [rsp + 0x3a], 0x8a
mov byte [rsp + 0x3b], 0xd0
mov byte [rsp + 0x3c], 0x37
mov byte [rsp + 0x3d], 0x4c
mov byte [rsp + 0x3e], 0xaa
mov byte [rsp + 0x3f], 0x44
mov byte [rsp + 0x40], 0x41
mov byte [rsp + 0x41], 0xab
mov byte [rsp + 0x42], 0xbf
mov byte [rsp + 0x43], 0xe4
mov byte [rsp + 0x44], 0x2c
mov byte [rsp + 0x45], 0x4d
mov byte [rsp + 0x46], 0xbd
mov byte [rsp + 0x47], 0x44
mov byte [rsp + 0x48], 0x50
mov byte [rsp + 0x49], 0xac
mov byte [rsp + 0x4a], 0xbf
mov byte [rsp + 0x4b], 0xf0
mov byte [rsp + 0x4c], 0x30
mov byte [rsp + 0x4d], 0x51
mov byte [rsp + 0x4e], 0xab
mov byte [rsp + 0x4f], 0x4e
mov byte [rsp + 0x50], 0x49
mov byte [rsp + 0x51], 0xab
mov byte [rsp + 0x52], 0xb5
mov byte [rsp + 0x53], 0xd6
mov byte [rsp + 0x54], 0x37
mov byte [rsp + 0x55], 0x50
mov byte [rsp + 0x56], 0xb0
mov byte [rsp + 0x57], 0x44
mov byte [rsp + 0x58], 0x49
mov byte [rsp + 0x59], 0x83
mov byte [rsp + 0x5a], 0xb3
mov byte [rsp + 0x5b], 0xdc
mov byte [rsp + 0x5c], 0x29
mov byte [rsp + 0x5d], 0x4a
mov byte [rsp + 0x5e], 0xba
mov byte [rsp + 0x5f], 0x42
mov byte [rsp + 0x60], 0x42
mov byte [rsp + 0x61], 0xac
mov byte [rsp + 0x62], 0xbf
mov byte [rsp + 0x63], 0xe0
mov byte [rsp + 0x64], 0x3c
mov byte [rsp + 0x65], 0x50
mov byte [rsp + 0x66], 0xad
mov byte [rsp + 0x67], 0x4e
mov byte [rsp + 0x68], 0x4a
mov byte [rsp + 0x69], 0xdf
mov eax, 0x368
mov eax, eax
mov ecx, dword [0x1805096d0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
jne 0x180050e53
mov eax, 0x368
mov eax, eax
mov ecx, dword [0x1805096d0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rcx + rax]
or eax, 1
mov dword [rsp + 0x20], eax
mov eax, dword [0x1805096d0]
mov rcx, qword gs:[0x58]
mov edx, 0x368
mov edx, edx
mov rax, qword [rcx + rax*8]
mov ecx, dword [rsp + 0x20]
mov dword [rdx + rax], ecx
mov eax, 0xc60
mov eax, eax
mov ecx, dword [0x1805096d0]
mov rdx, qword gs:[0x58]
add rax, qword [rdx + rcx*8]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.180006940
lea rcx, [0x18005ff70]
call fcn.180015bf0
nop
mov eax, 0xc60
mov eax, eax
mov ecx, dword [0x1805096d0]
mov rdx, qword gs:[0x58]
add rax, qword [rdx + rcx*8]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.180015ab0
add rsp, 0x88
ret
Function at 0x180050e90
Capabilities:
Lock the desktop
Query or enumerate registry value

Disassembly:
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x60
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x4c], 4
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x40]
call fcn.180050c70
mov rcx, rax
call fcn.1800069d0
lea r8, [rsp + 0x50]
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x180050f4d
lea rax, [rsp + 0x41]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x41]
call fcn.180050b00
mov rcx, rax
call fcn.1800069b0
lea rcx, [rsp + 0x4c]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 0
mov r9d, 0x10
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
nop
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x180050ffa
lea rax, [rsp + 0x42]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x42]
call fcn.1800508e0
mov rcx, rax
call fcn.1800068e0
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x180050ffa
lea rax, [rsp + 0x43]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x43]
call fcn.180050770
mov rcx, rax
call fcn.1800068c0
lea rcx, [rsp + 0x4c]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 0
mov r9d, 0x10
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
nop
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp dword [rsp + 0x48], 0
jne 0x180051012
call qword [sym.imp.USER32.dll_LockWorkStation]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
jmp 0x180051067
cmp dword [rsp + 0x70], 0
je 0x18005105b
lea rax, [rsp + 0x44]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x44]
call fcn.180050650
mov rcx, rax
call fcn.1800068a0
mov rdx, rax
lea rcx, [0x180509300]
call fcn.1800114e0
lea rdx, [0x180011830]
mov rcx, rax
call fcn.180008a80
nop
mov ecx, 0x3f0
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x60
pop rdi
ret
Function at 0x180051b50
Capabilities:
Open clipboard

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x180051b6d
call qword [sym.imp.USER32.dll_EmptyClipboard]
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x28
ret
Function at 0x180052620
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x78
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x38]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x58], rax
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x180052674
mov eax, dword [rsp + 0x30]
jmp 0x1800527d2
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [0x180063720]
mov r8d, 1
xor edx, edx
lea rcx, [0x180063730]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x1800526ae
mov eax, dword [rsp + 0x30]
jmp 0x1800527d2
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
lea r8, [rsp + 0x48]
lea rdx, [0x180063700]
mov rcx, qword [rsp + 0x40]
call qword [rax]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x1800526dd
mov eax, dword [rsp + 0x30]
jmp 0x1800527d2
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
lea r8, [rsp + 0x50]
lea rdx, [0x180063710]
mov rcx, qword [rsp + 0x40]
call qword [rax]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x18005270c
mov eax, dword [rsp + 0x30]
jmp 0x1800527d2
mov eax, 8
imul rax, rax, 2
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov qword [rsp + 0x60], rcx
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rdx, qword [rdx + rax]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x60]
call qword [rax + 0x68]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x18005274f
mov eax, dword [rsp + 0x30]
jmp 0x1800527d2
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x48]
call qword [rax + 0x38]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x180052792
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
lea r8, [rsp + 0x34]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x50]
call qword [rax + 0x48]
nop
jmp 0x180052798
mov eax, dword [rsp + 0x30]
jmp 0x1800527d2
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x48]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x50]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [rsp + 0x34]
add rsp, 0x78
ret

Function at 0x1800534f0
Capabilities:
Download url
Receive data

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
add rsp, 0x38
ret
Function at 0x180054f90
Capabilities:
Delete file
Move file
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rsp + 0xc0]
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp dword [rsp + 0xc8], 0
je 0x180055090
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_MoveFileA]
nop
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x30]
call fcn.180008f40
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x40]
call fcn.180008f40
mov qword [rsp + 0x50], rax
mov r8d, 0x8000000
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call fcn.1800552e0
nop
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_MoveFileA]
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
mov eax, dword [rsp + 0xc0]
mov edx, eax
mov rcx, qword [rsp + 0xb8]
call fcn.180003540
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0xa8
ret

Function at 0x180055dc0
Capabilities:
Create process on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.180057150
mov dword [rsp + 0x70], 0x68
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.180057150
nop
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xf0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x180055e97
cmp dword [rsp + 0x100], 0
je 0x180055e70
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rsp + 0x50]
add rsp, 0xe8
ret
Function at 0x180055f00
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x18007b080]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x44], 0
lea rcx, [rsp + 0x70]
call fcn.180009050
nop
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0xffffffffffffffff
je 0x180056025
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0xffffffff
je 0x180056019
mov eax, dword [rsp + 0x40]
inc eax
mov eax, eax
mov ecx, eax
call fcn.180015b14
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x58]
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180056004
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x58], eax
jne 0x180056004
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov byte [rcx + rax], 0
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.180008da0
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.180015ad0
nop
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0xb0]
call fcn.180008e80
mov eax, dword [rsp + 0x44]
or eax, 1
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0x70]
call fcn.180008dd0
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.180015ab0
add rsp, 0xa8
ret
Function at 0x416140
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4162cb
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x0079de30]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x4161a5
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x4161b4
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x4161d3
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x4161e3
cmp rbx, 0x1000
jae 0x4161ab
jmp 0x41624d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x4161f5
xor edx, edx
jmp 0x416244
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x0079de30]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x4161d9
jmp 0x4161c8
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x0079de30]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call sym.runtime.printlock
lea rax, [0x005e48bc]
mov ebx, 0x18
nop dword [rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x005e4ef8]
mov ebx, 0x19
nop dword [rax + rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x30]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x005e7792]
mov ebx, 0x21
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.runtime.sysUnusedOS
Function at 0x416300
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x416526
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call sym.runtime.stdcall4.abi0
xorps xmm15, xmm15
mov r14, qword [0x0079de30]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x416373
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x416382
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x4163a5
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x4163b5
cmp rbx, 0x1000
jae 0x416379
nop
jmp 0x416438
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x4163cd
xor esi, esi
jmp 0x41642a
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call sym.runtime.stdcall4.abi0
xorps xmm15, xmm15
mov r14, qword [0x0079de30]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x4163ab
jmp 0x416396
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x0079de30]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x4164c0
nop dword [rax + rax]
call sym.runtime.printlock
lea rax, [0x005e4f11]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call sym.runtime.printuint
lea rax, [0x005e4ef8]
mov ebx, 0x19
call sym.runtime.printstring
mov eax, dword [rsp + 0x34]
call sym.runtime.printuint
nop
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x005e0edd]
mov ebx, 0xd
call sym.runtime.throw
nop dword [rax + rax]
cmp eax, 0x5af
je 0x416460
call sym.runtime.printlock
lea rax, [0x005e4f11]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x005e4ef8]
mov ebx, 0x19
call sym.runtime.printstring
mov eax, dword [rsp + 0x34]
nop dword [rax]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x005e6df2]
mov ebx, 0x1f
nop dword [rax + rax]
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp sym.runtime.sysUsedOS