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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x4d8
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x4c0], rax
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x48], 3
mov dword [rsp + 0x470], 0
mov dword [rsp + 0x474], 1
mov dword [rsp + 0x480], 1
mov dword [rsp + 0x478], 1
mov dword [rsp + 0x47c], 1
mov byte [rsp + 0x4a0], 1
lea rcx, [rsp + 0x50]
call fcn.140126440
mov byte [rsp + 0x4a8], 0x13
mov byte [rsp + 0x4a9], 0xe3
mov byte [rsp + 0x4aa], 0x20
mov byte [rsp + 0x4ab], 0x7c
mov byte [rsp + 0x4ac], 0x6c
mov byte [rsp + 0x4ad], 0x99
mov byte [rsp + 0x4ae], 0x81
mov byte [rsp + 0x4af], 5
mov byte [rsp + 0x4b0], 0xd2
mov byte [rsp + 0x4b1], 0xb2
mov byte [rsp + 0x4b2], 0x11
mov byte [rsp + 0x4b3], 0xb8
mov byte [rsp + 0x4b4], 0x73
mov byte [rsp + 0x4b5], 0x4b
mov byte [rsp + 0x4b6], 0x99
mov byte [rsp + 0x4b7], 0xd1
mov byte [rsp + 0x4b8], 0xe4
mov byte [rsp + 0x4b9], 0xc
mov byte [rsp + 0x4ba], 0xf1
mov byte [rsp + 0x4bb], 0x39
mov byte [rsp + 0x4bc], 0x4b
mov byte [rsp + 0x4bd], 0x6f
mov byte [rsp + 0x4be], 0xa2
mov byte [rsp + 0x4bf], 0xc3
mov r8d, reloc.msi.dll_MsiDatabaseImportW
lea rdx, [rsp + 0x4a8]
lea rcx, [rsp + 0x60]
call fcn.140223780
mov dword [rsp + 0x58], reloc.msi.dll_MsiDatabaseImportW
mov dword [rsp + 0x5c], 3
mov byte [rsp + 0x460], 1
mov byte [rsp + 0x461], 0
mov dword [rsp + 0x464], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x470]
mov ecx, dword [rsp + 0x48]
call fcn.14025eb70
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x1402612de
mov eax, dword [rsp + 0x4e8]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov ecx, eax
call fcn.14022aeb8
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x34]
mov r8d, eax
mov rdx, qword [rsp + 0x4e0]
mov rcx, qword [rsp + 0x38]
call fcn.140223780
lea r8, [rsp + 0x34]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call fcn.14025f0a0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x1402612c3
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x4f8]
mov qword [rcx], rax
mov rax, qword [rsp + 0x4f0]
mov rcx, qword [rsp + 0x38]
mov qword [rax], rcx
mov qword [rsp + 0x38], 0
jmp 0x1402612cb
mov dword [rsp + 0x30], 0x62
mov rcx, qword [rsp + 0x38]
call fcn.140229904
mov qword [rsp + 0x38], 0
cmp qword [rsp + 0x40], 0
je 0x1402612f0
lea rcx, [rsp + 0x40]
call fcn.14025ed70
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x4c0]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x4d8
ret
Function at 0x1402618d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x20], reloc.ODBC32.dll_SQLFetch
mov qword [rsp + 0x28], 0
cmp qword [rsp + 0x70], 0
je 0x14026190c
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0xc], 2
je 0x140261916
mov eax, reloc.msi.dll_MsiEnableUIPreview
jmp 0x1402619ed
lea rcx, [rsp + 0x38]
call fcn.14000a280
nop
mov rax, qword [rsp + 0x70]
add rax, 0x10
mov rcx, rax
call fcn.140229d80
mov rcx, qword [rsp + 0x70]
add rcx, 0x10
xor r9d, r9d
lea r8, [rsp + 0x38]
mov rdx, rax
call fcn.1400e6c30
lea rcx, [rsp + 0x38]
call fcn.14000c690
lea rdx, [0x140457fb8]
mov rcx, rax
call fcn.1402371c4
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1402619d7
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 8]
mov edx, 1
mov ecx, eax
call fcn.14022d6f8
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 8]
mov r9, qword [rsp + 0x28]
mov r8d, eax
mov edx, 1
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.140238df8
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rcx + 8]
cmp rax, rcx
jne 0x1402619c4
mov dword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x28]
call fcn.140237254
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x38]
call fcn.14000a800
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x68
ret
Function at 0x140263b10
Capabilities:
Resolve function by parsing pe exports

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 [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x28], reloc.msi.dll_MsiDatabaseGetPrimaryKeysW
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0
mov r8d, 4
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
call fcn.140260340
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp rax, 4
jne 0x140263d0a
mov ecx, dword [rsp + 0x24]
call qword [sym.imp.WSOCK32.dll_ntohl]
mov rcx, qword [rsp + 0x88]
mov dword [rcx], eax
mov r8d, 4
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
call fcn.140260340
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp rax, 4
jne 0x140263d0a
mov ecx, dword [rsp + 0x24]
call qword [sym.imp.WSOCK32.dll_ntohl]
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 4], eax
mov r8d, reloc.WSOCK32.dll_gethostbyname
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
call fcn.140260340
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp rax, 0x34
jne 0x140263d0a
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.WSOCK32.dll_ntohl]
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 8], eax
mov ecx, dword [rsp + 0x34]
call qword [sym.imp.WSOCK32.dll_ntohl]
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0xc], eax
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.WSOCK32.dll_ntohl]
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0x10], eax
mov ecx, dword [rsp + 0x3c]
call qword [sym.imp.WSOCK32.dll_ntohl]
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0x14], eax
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.WSOCK32.dll_ntohl]
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0x18], eax
mov ecx, dword [rsp + 0x44]
call qword [sym.imp.WSOCK32.dll_ntohl]
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0x1c], eax
mov ecx, dword [rsp + 0x48]
call qword [sym.imp.WSOCK32.dll_ntohl]
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0x20], eax
mov ecx, dword [rsp + 0x4c]
call qword [sym.imp.WSOCK32.dll_ntohl]
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0x24], eax
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.WSOCK32.dll_ntohl]
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0x28], eax
mov ecx, dword [rsp + 0x54]
call qword [sym.imp.WSOCK32.dll_ntohl]
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0x2c], eax
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.WSOCK32.dll_ntohl]
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0x30], eax
mov ecx, dword [rsp + 0x5c]
call qword [sym.imp.WSOCK32.dll_ntohl]
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0x34], eax
mov rax, qword [rsp + 0x88]
movzx ecx, byte [rsp + 0x60]
mov byte [rax + 0x38], cl
mov dword [rsp + 0x28], 0
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x78
ret
Function at 0x140263d30
Capabilities:
Resolve function by parsing pe exports

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 [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x20], reloc.msi.dll_MsiDoActionW
mov rax, qword [rsp + 0x88]
mov ecx, dword [rax]
call qword [sym.imp.WSOCK32.dll_htonl]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x88]
mov ecx, dword [rax + 4]
call qword [sym.imp.WSOCK32.dll_htonl]
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x88]
mov ecx, dword [rax + 8]
call qword [sym.imp.WSOCK32.dll_htonl]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x88]
mov ecx, dword [rax + 0xc]
call qword [sym.imp.WSOCK32.dll_htonl]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x88]
mov ecx, dword [rax + 0x10]
call qword [sym.imp.WSOCK32.dll_htonl]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x88]
mov ecx, dword [rax + 0x14]
call qword [sym.imp.WSOCK32.dll_htonl]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x88]
mov ecx, dword [rax + 0x18]
call qword [sym.imp.WSOCK32.dll_htonl]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x88]
mov ecx, dword [rax + 0x1c]
call qword [sym.imp.WSOCK32.dll_htonl]
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x88]
mov ecx, dword [rax + 0x20]
call qword [sym.imp.WSOCK32.dll_htonl]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x88]
mov ecx, dword [rax + 0x24]
call qword [sym.imp.WSOCK32.dll_htonl]
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x88]
mov ecx, dword [rax + 0x28]
call qword [sym.imp.WSOCK32.dll_htonl]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x88]
mov ecx, dword [rax + 0x2c]
call qword [sym.imp.WSOCK32.dll_htonl]
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x88]
mov ecx, dword [rax + 0x30]
call qword [sym.imp.WSOCK32.dll_htonl]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x88]
mov ecx, dword [rax + 0x34]
call qword [sym.imp.WSOCK32.dll_htonl]
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0x38]
mov byte [rsp + 0x60], al
mov r8d, SQLMoreResults
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
call fcn.140045a50
movzx eax, al
test eax, eax
je 0x140263ed1
mov rcx, qword [rsp + 0x80]
call fcn.14004ef70
movzx eax, al
test eax, eax
je 0x140263ed1
mov dword [rsp + 0x20], 0
jmp 0x140263ed9
mov dword [rsp + 0x20], reloc.msi.dll_MsiDatabaseGetPrimaryKeysA
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x78
ret
Function at 0x140266ad0
Capabilities:
Hash data via wincrypt

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x20], reloc.msi.dll_MsiDoActionW
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0xac0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x10], 0
je 0x140266b71
cmp qword [rsp + 0x58], 0
je 0x140266b71
cmp dword [rsp + 0x60], 0
je 0x140266b71
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x24], eax
xor r9d, r9d
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x140266b49
mov dword [rsp + 0x20], 0
jmp 0x140266b71
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0x80090008
je 0x140266b5f
jmp 0x140266b69
mov dword [rsp + 0x20], reloc.WSOCK32.dll_inet_ntoa
jmp 0x140266b71
mov dword [rsp + 0x20], reloc.msi.dll_MsiDoActionW
mov eax, dword [rsp + 0x20]
add rsp, 0x48
ret

Function at 0x14026a8e0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
sub rsp, 0xd8
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0xc0], rax
cmp dword [0x1408fba00], 0xffffffff
jne 0x14026a90e
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1408fba00], eax
cmp dword [0x1408fba00], 0xffffffff
je 0x14026a97f
mov ecx, dword [0x1408fba00]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14026a97f
mov dword [rsp + 0x20], 0
mov dl, 1
lea rcx, [rsp + 0x30]
call fcn.14026ab90
nop
mov r8d, 4
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.14026ad80
mov ecx, dword [rsp + 0x20]
call fcn.1402a41e0
mov edx, 1
mov ecx, dword [0x1408fba00]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rsp + 0x30]
call fcn.14026ad60
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140222a60
add rsp, 0xd8
ret
Function at 0x1402a3aa0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1402a3ac8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1402a3ac8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1402b1e80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov edi, 0xffff
xor r14d, r14d
movzx esi, dx
mov rbx, rcx
cmp di, dx
jne 0x1402b1ec4
movzx eax, r14w
jmp 0x1402b1ff9
mov rax, qword [rcx + 0x40]
mov r8, qword [rax]
test r8, r8
je 0x1402b1f00
mov rax, qword [rcx + 0x58]
movsxd r9, dword [rax]
lea rdx, [r8 + r9*2]
cmp r8, rdx
jae 0x1402b1f00
lea ecx, [r9 - 1]
mov dword [rax], ecx
movzx eax, si
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 2]
mov qword [rdx], rcx
mov word [r8], si
jmp 0x1402b1ff9
cmp qword [rcx + 0x80], r14
je 0x1402b1ff6
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x1402b1f3e
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub rdx, rcx
mov rax, qword [rbx + 0x38]
sar rdx, 1
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1402b1f67
movzx ecx, si
mov rdx, qword [rbx + 0x80]
call fcn.140246828
cmp ax, di
je 0x1402b1ff6
movzx edi, si
jmp 0x1402b1ff6
lea r8, [rbp + 0xf]
mov word [rbp + 7], si
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rbp + 9]
lea r8, [rbp + 0x3f]
mov qword [rsp + 0x30], r8
lea r8, [rbp + 0x1f]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x28], r8
lea r8, [rbp + 0x17]
mov qword [rsp + 0x20], r8
lea r8, [rbp + 7]
call qword [0x1402eb418]
test eax, eax
je 0x1402b1fbc
sub eax, 1
je 0x1402b1fbc
cmp eax, 2
jne 0x1402b1ff6
movzx ecx, word [rbp + 7]
jmp 0x1402b1f4a
mov r14, qword [rbp + 0xf]
lea rax, [rbp + 0x1f]
sub r14, rax
je 0x1402b1fe6
mov r9, qword [rbx + 0x80]
lea rcx, [rbp + 0x1f]
mov r8, r14
mov edx, 1
call fcn.140239110
cmp r14, rax
jne 0x1402b1ff6
lea rax, [rbp + 7]
mov byte [rbx + 0x72], 1
cmp qword [rbp + 0x17], rax
cmovne di, si
movzx eax, di
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140222a60
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400027e4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000282e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000282e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000282e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000282e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000282e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002830
xor al, al
add rsp, 0x28
ret
Function at 0x140001f38
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x50
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
and dword [rax + 0x18], 0
and dword [rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
nop dword [rax + rax]
mov rsi, rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.14001b964
movsxd rcx, dword [rsp + 0x70]
mov eax, 8
mul rcx
mov rdi, 0xffffffffffffffff
cmovo rax, rdi
mov rcx, rax
call fcn.14004d394
mov rbx, rax
mov qword [rsp + 0x38], rax
movsxd rcx, dword [rsp + 0x78]
lea eax, [rdi + 3]
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.14004d394
mov rdi, rax
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
mov r8, rdi
mov rdx, rbx
mov rcx, rsi
call fcn.14001b964
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
nop dword [rax + rax]
test eax, eax
js 0x140002044
mov rdx, rbx
mov ecx, dword [rsp + 0x70]
call fcn.140001efc
mov esi, eax
call qword [sym.imp.ole32.dll_CoUninitialize]
nop dword [rax + rax]
nop
test rdi, rdi
je 0x140002024
mov rcx, rdi
call fcn.14004d088
nop
test rbx, rbx
je 0x140002031
mov rcx, rbx
call fcn.14004d088
mov eax, esi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov r9d, eax
mov r8d, 0x35
lea rdx, str.comwinrt_buildtoolsmdmergemain.cpp
call fcn.1400014c8
int3
Function at 0x140003de8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 0x39], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14008c110]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, rdx
mov qword [rbp - 0x31], rdx
movdqa xmm0, xmmword [0x140077ef0]
movdqu xmmword [rbp - 0x19], xmm0
xor r14d, r14d
mov word [rbp - 0x29], r14w
mov rbx, qword [0x14008df48]
jmp 0x140003ed4
mov rdx, rbx
lea rcx, [rbp - 9]
call fcn.1400073f0
nop
lea r8, str.Windows.Foundation.Winmd
lea rdx, [rbp - 9]
lea rcx, [rbp + 0x17]
call fcn.140007684
cmp qword [rax + 0x18], 8
jb 0x140003e6b
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
mov edi, eax
lea rcx, [rbp + 0x17]
call fcn.1400022c0
lea rdx, [rbp - 9]
lea rcx, [rbp + 0x17]
cmp edi, 0xffffffff
jne 0x140003ef4
lea r8, str.Windows.Winmd
call fcn.140007684
cmp qword [rax + 0x18], 8
jb 0x140003ea8
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
mov edi, eax
lea rcx, [rbp + 0x17]
call fcn.1400022c0
cmp edi, 0xffffffff
jne 0x140003ee3
lea rcx, [rbp - 9]
call fcn.1400022c0
add rbx, 0x20
cmp rbx, qword [0x14008df50]
jne 0x140003e40
jmp 0x140003f1f
lea r8, str.Windows.Winmd
lea rdx, [rbp - 9]
lea rcx, [rbp + 0x17]
jmp 0x140003efb
lea r8, str.Windows.Foundation.Winmd
call fcn.140007684
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.1400072e8
lea rcx, [rbp + 0x17]
call fcn.1400022c0
nop
lea rcx, [rbp - 9]
call fcn.1400022c0
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbp - 0x19]
movups xmmword [rsi + 0x10], xmm1
movdqa xmm0, xmmword [0x140077ef0]
movdqu xmmword [rbp - 0x19], xmm0
mov word [rbp - 0x29], r14w
lea rcx, [rbp - 0x29]
call fcn.1400022c0
mov rax, rsi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14004d060
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400046ac
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xfc0]
mov eax, 0x10c0
call fcn.14004d690
sub rsp, rax
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x1100], rbx
mov rax, qword [0x14008c110]
xor rax, rsp
mov qword [rbp + 0xfb0], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x38], rdx
xor r15d, r15d
mov qword [rsp + 0x38], r15
xor r9d, r9d
lea edx, [r15 + 0xa]
lea r8d, [r15 + 0x64]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
nop dword [rax + rax]
mov r14, rax
test rax, rax
je 0x140004868
mov rdx, rax
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadResource]
nop dword [rax + rax]
test rax, rax
je 0x1400048a9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
nop dword [rax + rax]
mov rdi, rax
mov rdx, r14
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
nop dword [rax + rax]
mov ebx, eax
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp - 0x50]
call fcn.14004e8e0
mov dword [rsp + 0x28], 0x800
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rdi
lea edx, [r15 + 8]
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
nop dword [rax + rax]
test eax, eax
je 0x140004827
lea rax, [rbp - 0x50]
or rbx, 0xffffffffffffffff
mov rcx, rbx
inc rcx
cmp word [rax + rcx*2], r15w
jne 0x1400047b4
inc rcx
mov eax, 2
mul rcx
cmovo rax, rbx
mov rcx, rax
call fcn.14004d394
mov rdi, rax
lea rax, [rbp - 0x50]
inc rbx
cmp word [rax + rbx*2], r15w
jne 0x1400047dc
lea r8, [rbx*2 + 2]
lea rdx, [rbp - 0x50]
mov rcx, rdi
call fcn.14004eaa0
mov qword [rsi], rdi
mov rax, rsi
mov rcx, qword [rbp + 0xfb0]
xor rcx, rsp
call fcn.14004d060
mov rbx, qword [rsp + 0x1100]
add rsp, 0x10c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.Converting_platform_schema_to_XML.
lea rcx, [rsp + 0x40]
call fcn.14000737c
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r8, rbx
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.14000332c
lea rdx, [0x140089518]
lea rcx, [rsp + 0x70]
call fcn.14004f070
int3
lea rdx, str.Cannot_find_platform_XML_Schema_resource.
lea rcx, [rsp + 0x40]
call fcn.14000737c
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r8, rbx
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.14000332c
lea rdx, [0x140089518]
lea rcx, [rsp + 0x70]
call fcn.14004f070
int3
lea rdx, str.Loading_Platform_Schema
lea rcx, [rsp + 0x40]
call fcn.14000737c
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r8, rbx
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.14000332c
lea rdx, [0x140089518]
lea rcx, [rsp + 0x70]
call fcn.14004f070
int3
Function at 0x140006e8c
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
push r15
cmp qword [r8 + 0x18], 8
mov rsi, rdx
mov r11, qword [r8 + 0x10]
mov rbx, rcx
mov r10, r8
jb 0x140006eba
mov r10, qword [r8]
lea rdx, [r11 + r11]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test rdx, rdx
je 0x140006eed
movzx eax, byte [rcx + r10]
movabs rdi, 0x100000001b3
xor r9, rax
inc rcx
imul r9, rdi
cmp rcx, rdx
jb 0x140006ecf
mov rbp, qword [rbx + 0x30]
mov r15, qword [rbx + 0x18]
and rbp, r9
mov r10, qword [rbx + 8]
add rbp, rbp
mov rax, qword [r15 + rbp*8]
cmp qword [r15 + rbp*8], r10
jne 0x140006f0e
mov rcx, r10
jmp 0x140006f16
mov rcx, qword [r15 + rbp*8 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x140006fd0
cmp qword [r8 + 0x18], 8
lea rcx, [rax + 0x10]
mov rdx, r8
jb 0x140006f30
mov rdx, qword [r8]
mov r14, qword [rcx + 0x18]
mov r9, qword [rcx + 0x10]
cmp r14, 8
jb 0x140006f41
mov rcx, qword [rcx]
cmp r9, r11
jne 0x140006f77
test r9, r9
je 0x140006f7c
movzx ebx, word [rcx]
movzx edi, word [rdx]
cmp bx, di
jb 0x140006f77
sub rcx, rdx
cmp bx, di
ja 0x140006f77
cmp r9, 1
je 0x140006f7c
add rdx, 2
dec r9
movzx ebx, word [rdx + rcx]
movzx edi, word [rdx]
cmp bx, di
jae 0x140006f5c
mov rax, qword [rax]
jmp 0x140006f03
lea rcx, [rax + 0x10]
cmp r14, 8
jb 0x140006f89
mov rcx, qword [rcx]
cmp qword [r8 + 0x18], 8
jb 0x140006f93
mov r8, qword [r8]
test r11, r11
je 0x140006fcd
movzx edx, word [r8]
movzx r9d, word [rcx]
cmp dx, r9w
jb 0x140006fd0
sub r8, rcx
cmp dx, r9w
ja 0x140006fd0
cmp r11, 1
je 0x140006fcd
add rcx, 2
dec r11
movzx edx, word [rcx + r8]
movzx r9d, word [rcx]
cmp dx, r9w
jae 0x140006fad
jmp 0x140006fd0
mov r10, rax
mov rbx, qword [rsp + 0x18]
mov rax, rsi
mov rbp, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x30]
mov qword [rsi], r10
mov rsi, qword [rsp + 0x28]
pop r15
pop r14
ret