joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458820
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x40], r12
lea r12, [0x0047f310]
mov rax, r12
xor ebx, ebx
nop
nop
cmp ecx, dword [rax]
je 0x45884f
inc ebx
add rax, 0x10
cmp ebx, 0x13
jb 0x458840
cmp ebx, 0x13
je 0x458a39
mov eax, dword [0x00480998]
mov qword [rsp + 0x68], rdi
cmp eax, 1
je 0x4589ee
test eax, eax
jne 0x45887d
cmp dword [0x0047ed48], 1
je 0x4589ee
cmp ecx, 0xfc
je 0x458a34
mov qword [rsp + 0x58], rbp
lea rbp, [0x00480cd0]
mov qword [rsp + 0x60], rsi
lea rsi, [0x00400000]
lea rdx, [0x00480cea]
mov r8d, 0x104
mov rax, qword [rsi + 0x6c788]
xor ecx, ecx
mov qword [rbp], rax
mov rax, qword [rsi + 0x6c790]
mov qword [rbp + 8], rax
mov rax, qword [rsi + 0x6c798]
mov qword [rbp + 0x10], rax
movzx eax, word [rsi + 0x6c7a0]
mov word [rbp + 0x18], ax
mov byte [0x00480dee], 0
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x458930
mov rax, qword [rsi + 0x6c770]
mov qword [rsi + 0x80cea], rax
mov rax, qword [rsi + 0x6c778]
mov qword [rsi + 0x80cf2], rax
mov eax, dword [rsi + 0x6c780]
mov dword [rsi + 0x80cfa], eax
movzx eax, word [rsi + 0x6c784]
mov word [rsi + 0x80cfe], ax
movzx eax, byte [rsi + 0x6c786]
mov byte [rsi + 0x80d00], al
mov rsi, qword [rsp + 0x60]
xor eax, eax
lea rdi, [0x00480cea]
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
not rcx
cmp rcx, 0x3c
jbe 0x458965
lea rcx, [rcx + rbp - 0x22]
lea r8d, [rax + 3]
lea rdx, [0x0046c76c]
call fcn.0044a380
xor eax, eax
mov rdi, rbp
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
movzx eax, word [0x0046c768]
movsxd rdx, ebx
mov word [rdi - 1], ax
movzx eax, byte [0x0046c76a]
add rdx, rdx
mov r8, qword [r12 + rdx*8 + 8]
mov byte [rdi + 1], al
xor eax, eax
mov rdi, rbp
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
xor edx, edx
nop
nop
nop
nop
movzx eax, byte [r8 + rdx]
inc rdx
test al, al
mov byte [rdi + rdx - 2], al
jne 0x4589b0
lea rdx, str.Microsoft_Visual_C_Runtime_Library
mov r8d, 0x12010
mov rcx, rbp
call fcn.0045d6f0
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
mov r12, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
add rsp, 0x48
ret
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x458a34
xor eax, eax
movsxd rcx, ebx
lea r9, [rsp + 0x30]
add rcx, rcx
mov qword [rsp + 0x20], rax
mov rdx, qword [r12 + rcx*8 + 8]
mov rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdi, qword [rsp + 0x68]
mov r12, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
add rsp, 0x48
ret
Function at 0x45a9e0
Capabilities:
Get system information on windows

Disassembly:
push rbp
sub rsp, 0xb0
lea rbp, [rsp + 0x20]
mov qword [rbp + 0xa0], rbx
mov qword [rbp + 0xa8], rsi
mov qword [rbp + 0xb0], rdi
mov qword [rbp + 0xb8], r12
mov qword [rbp + 0x88], r13
mov qword [rbp + 0x80], r14
mov qword [rbp + 0x78], r15
mov rax, qword [0x0047e2e8]
mov qword [rbp + 0x68], rax
mov eax, dword [rsp]
sub rsp, 0x10
lea rdx, [rbp + 8]
mov eax, dword [rsp + 0x20]
lea r12, [rsp + 0x20]
mov r8d, 0x30
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x45ab3e
mov r14, qword [rbp + 0x10]
lea rcx, [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [0x00480914]
mov edi, dword [rbp + 0x3c]
xor ebx, ebx
cmp ecx, 2
jne 0x45aab4
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x45aaae
lea rdx, str.SetThreadStackGuarantee
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x45aaae
lea rcx, [rbp]
mov dword [rbp], ebx
call rax
cmp eax, 1
jne 0x45aaae
mov eax, dword [rbp]
test eax, eax
cmovne ebx, eax
mov ecx, dword [0x00480914]
mov r15d, 1
lea r8d, [rdi - 1]
lea edx, [rbx + rdi - 1]
cmp ecx, r15d
mov eax, r8d
mov esi, 0x104
not eax
cmove esi, r15d
and edx, eax
je 0x45aad9
add edx, edi
lea eax, [rdi + rdi*2]
mov ebx, r8d
cmp edx, eax
not rbx
cmovb edx, eax
and rbx, r12
mov eax, 0x11
mov r13d, edx
sub rbx, r13
cmp ecx, r15d
cmove edi, eax
mov eax, edi
add rax, r14
cmp rbx, rax
jb 0x45ab3e
mov r9d, 4
mov r8d, 0x1000
mov rdx, r13
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x45ab3e
lea r9, [rbp + 4]
mov r8d, esi
mov rdx, r13
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x45ab3e
mov eax, r15d
jmp 0x45ab40
xor eax, eax
mov rcx, qword [rbp + 0x68]
call fcn.00462020
mov rbx, qword [rbp + 0xa0]
mov rsi, qword [rbp + 0xa8]
mov rdi, qword [rbp + 0xb0]
mov r12, qword [rbp + 0xb8]
mov r13, qword [rbp + 0x88]
mov r14, qword [rbp + 0x80]
mov r15, qword [rbp + 0x78]
lea rsp, [rbp + 0x90]
pop rbp
ret
Function at 0x45ab80
Capabilities:
Clear file content

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
mov ebp, edx
xor edi, edi
xor edx, edx
lea r8d, [rdi + 1]
mov qword [rsp + 0x28], r13
mov esi, ecx
call fcn.0045b0c0
cmp eax, 0xffffffff
mov r13d, eax
je 0x45acf3
lea r8d, [rdi + 2]
xor edx, edx
mov ecx, esi
call fcn.0045b0c0
cmp eax, 0xffffffff
je 0x45acf3
mov qword [rsp + 0x40], rbx
mov ebx, ebp
mov qword [rsp + 0x20], r14
sub ebx, eax
test ebx, ebx
jle 0x45ac90
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r14d, 0x1000
lea edx, [rdi + 8]
mov rcx, rax
mov r8, r14
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
mov rbp, rax
jne 0x45ac17
call fcn.0044adc0
lea edi, [rbp - 1]
mov dword [rax], 0xc
jmp 0x45acd8
mov edx, 0x8000
mov ecx, esi
mov qword [rsp + 0x30], r12
call fcn.0045e0b0
mov r12d, eax
nop
nop
mov r8d, ebx
cmp ebx, r14d
mov rdx, rbp
cmovge r8d, r14d
mov ecx, esi
call fcn.00455e00
cmp eax, 0xffffffff
je 0x45ac51
sub ebx, eax
test ebx, ebx
jg 0x45ac30
jmp 0x45ac6b
call fcn.0044adf0
cmp dword [rax], 5
jne 0x45ac66
call fcn.0044adc0
mov dword [rax], 0xd
mov edi, 0xffffffff
mov edx, r12d
mov ecx, esi
call fcn.0045e0b0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbp
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r12, qword [rsp + 0x30]
jmp 0x45acd8
test ebx, ebx
jns 0x45acd8
xor r8d, r8d
mov edx, ebp
mov ecx, esi
call fcn.0045b0c0
mov ecx, esi
call fcn.0044efb0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
neg eax
sbb edi, edi
neg edi
dec edi
cmp edi, 0xffffffff
jne 0x45acd8
call fcn.0044adc0
mov dword [rax], 0xd
call fcn.0044adf0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
xor r8d, r8d
mov edx, r13d
mov ecx, esi
call fcn.0045b0c0
mov r14, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x40]
mov eax, edi
jmp 0x45acf8
mov eax, 0xffffffff
mov r13, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
add rsp, 0x38
ret
Function at 0x45c4a0
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x38
mov rax, qword [0x0047e2e8]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x20]
mov r9d, 6
mov edx, 0x1004
mov byte [rsp + 0x26], 0
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x45c4e3
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x28]
call fcn.00462020
add rsp, 0x38
ret
lea rcx, [rsp + 0x20]
call fcn.0044b890
mov rcx, qword [rsp + 0x28]
call fcn.00462020
add rsp, 0x38
ret
Function at 0x45d0d0
Capabilities:
Set environment variable

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x30], r14
xor r12d, r12d
test rcx, rcx
mov qword [rsp + 0x28], r15
mov r15d, edx
mov rsi, rcx
je 0x45d34a
lea edx, [r12 + 0x3d]
call fcn.0045e1a0
test rax, rax
mov r14, rax
je 0x45d34a
cmp rsi, rax
je 0x45d34a
cmp byte [rax + 1], r12b
mov rbx, qword [0x00480940]
mov qword [rsp + 0x38], r13
mov r13d, r12d
sete r13b
cmp rbx, qword [0x00480948]
jne 0x45d150
mov rcx, rbx
call fcn.0045d020
mov rbx, rax
mov qword [0x00480940], rax
test rbx, rbx
jne 0x45d1cd
test r15d, r15d
je 0x45d176
cmp qword [0x00480950], r12
je 0x45d176
call fcn.004558a0
test eax, eax
je 0x45d1c6
mov eax, 0xffffffff
jmp 0x45d27f
test r13d, r13d
je 0x45d182
xor eax, eax
jmp 0x45d27f
mov ecx, 8
call fcn.00454b70
test rax, rax
mov qword [0x00480940], rax
je 0x45d16c
mov qword [rax], r12
cmp qword [0x00480950], r12
jne 0x45d1c6
mov ecx, 8
call fcn.00454b70
test rax, rax
mov qword [0x00480950], rax
je 0x45d16c
mov qword [rax], r12
mov rbx, qword [0x00480940]
jmp 0x45d1cd
mov rbx, qword [0x00480940]
mov edx, r14d
mov rcx, rsi
mov qword [rsp + 0x58], rbp
sub edx, esi
mov qword [rsp + 0x68], rdi
call fcn.0045cf80
test eax, eax
movsxd rdi, eax
js 0x45d248
cmp qword [rbx], r12
je 0x45d248
mov rcx, qword [rbx + rdi*8]
call fcn.00448f10
test r13d, r13d
je 0x45d242
cmp qword [rbx + rdi*8], r12
je 0x45d225
lea rdx, [rbx + rdi*8]
mov rcx, rdx
nop
nop
mov rax, qword [rdx + 8]
add rcx, 8
inc edi
mov qword [rdx], rax
cmp qword [rcx], r12
mov rdx, rcx
jne 0x45d210
movsxd rdx, edi
mov rcx, rbx
shl rdx, 3
call fcn.00454c70
test rax, rax
je 0x45d2b5
mov qword [0x00480940], rax
jmp 0x45d2b5
mov qword [rbx + rdi*8], rsi
jmp 0x45d2b5
test r13d, r13d
jne 0x45d33b
test eax, eax
jns 0x45d257
neg edi
lea eax, [rdi + 2]
mov rcx, rbx
movsxd rdx, eax
shl rdx, 3
call fcn.00454c70
test rax, rax
mov r11, rax
jne 0x45d2a2
lea eax, [r11 - 1]
mov rdi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x58]
mov r13, qword [rsp + 0x38]
mov r15, qword [rsp + 0x28]
mov r14, qword [rsp + 0x30]
mov r12, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
add rsp, 0x48
ret
movsxd rax, edi
mov qword [r11 + rax*8], rsi
mov qword [r11 + rax*8 + 8], r12
mov qword [0x00480940], r11
test r15d, r15d
je 0x45d326
xor eax, eax
mov rbx, 0xffffffffffffffff
mov rdi, rsi
mov rcx, rbx
repne scasb al, byte [rdi]
not rcx
inc rcx
call fcn.00454b70
test rax, rax
mov rdi, rax
je 0x45d326
mov rdx, rsi
sub rax, rsi
nop
nop
nop
movzx ecx, byte [rdx]
inc rdx
test cl, cl
mov byte [rax + rdx - 1], cl
jne 0x45d2f0
lea rdx, [rax + r14]
mov rcx, rdi
mov byte [rdx], r12b
inc rdx
test r13d, r13d
cmovne rdx, r12
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov rcx, rdi
test eax, eax
cmove r12d, ebx
call fcn.00448f10
test r13d, r13d
je 0x45d333
mov rcx, rsi
call fcn.00448f10
mov eax, r12d
jmp 0x45d275
mov rcx, rsi
call fcn.00448f10
xor eax, eax
jmp 0x45d275
mov eax, 0xffffffff
jmp 0x45d284
Function at 0x45d6f0
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rsi
xor esi, esi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x50], r12
cmp qword [0x004811e0], rsi
mov ebx, r8d
mov rbp, rdx
mov r12, rcx
jne 0x45d7d6
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rdi, rax
je 0x45d7c6
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x004811e0], rax
je 0x45d7c6
lea rdx, str.GetActiveWindow
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetLastActivePopup
mov rcx, rdi
mov qword [0x004811e8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x00480914], 2
mov qword [0x004811f0], rax
jne 0x45d7cd
lea rdx, str.GetUserObjectInformationA
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x00481200], rax
je 0x45d7cd
lea rdx, str.GetProcessWindowStation
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x004811f8], rax
jmp 0x45d7dd
xor eax, eax
jmp 0x45d867
mov rax, qword [0x004811f8]
jmp 0x45d7dd
mov rax, qword [0x004811f8]
test rax, rax
je 0x45d82b
call rax
test rax, rax
je 0x45d816
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call qword [0x00481200]
test eax, eax
je 0x45d816
test byte [rsp + 0x40], 1
jne 0x45d82b
cmp dword [0x00480920], 4
jb 0x45d825
bts ebx, 0x15
jmp 0x45d855
bts ebx, 0x12
jmp 0x45d855
mov rax, qword [0x004811e8]
test rax, rax
je 0x45d855
call rax
test rax, rax
mov rsi, rax
je 0x45d855
mov rdx, qword [0x004811f0]
test rdx, rdx
je 0x45d855
mov rcx, rax
call rdx
mov rsi, rax
mov r9d, ebx
mov r8, rbp
mov rdx, r12
mov rcx, rsi
call qword [0x004811e0]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
add rsp, 0x58
ret
Function at 0x45e270
Capabilities:
Get geographical location

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rbp
sub rsp, 0x90
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x58], rbx
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x48], rdi
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x38], r13
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x28], r15
mov rax, qword [0x0047e2e8]
mov qword [rbp + 0x18], rax
mov edi, r9d
mov r14, r8
mov r12d, edx
mov r13d, ecx
mov r10d, dword [0x00481208]
test r10d, r10d
jne 0x45e313
xor r9d, r9d
xor r8d, r8d
lea edx, [r10 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x45e2f3
mov r10d, 1
mov dword [0x00481208], r10d
jmp 0x45e313
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r10d, dword [0x00481208]
mov ecx, 2
cmp eax, 0x78
cmove r10d, ecx
mov dword [0x00481208], r10d
cmp r10d, 1
jne 0x45e330
mov r9d, edi
mov r8, r14
mov edx, r12d
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x45e44f
cmp r10d, 2
je 0x45e342
test r10d, r10d
je 0x45e342
xor eax, eax
jmp 0x45e44f
xor esi, esi
xor r15d, r15d
mov eax, dword [rbp + 0x90]
test eax, eax
cmove eax, dword [0x00480c90]
mov dword [rbp + 0x90], eax
xor r9d, r9d
xor r8d, r8d
mov edx, r12d
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
movsxd rcx, eax
mov dword [rbp], ecx
test eax, eax
je 0x45e44f
lea rax, [rcx + 0xf]
and rax, 0xfffffffffffffff0
call fcn.00462050
sub rsp, rax
lea rbx, [rsp + 0x30]
mov qword [rbp + 0x10], rbx
jmp 0x45e3bf
test rbx, rbx
jne 0x45e3da
movsxd rcx, ecx
call fcn.00454b70
mov rbx, rax
test rax, rax
je 0x45e44f
mov r15d, 1
mov r9d, dword [rbp]
mov r8, rbx
mov edx, r12d
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x45e440
test edi, edi
jne 0x45e41c
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], 0
lea r9d, [rdi - 1]
mov r8, rbx
lea edx, [rdi + 1]
mov ecx, dword [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
jmp 0x45e440
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r14
mov r9d, 0xffffffff
mov r8, rbx
lea edx, [r9 + 2]
mov ecx, dword [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
test r15d, r15d
je 0x45e44d
mov rcx, rbx
call fcn.00448f10
mov eax, esi
mov rcx, qword [rbp + 0x18]
call fcn.00462020
mov rbx, qword [rbp + 0x58]
mov rsi, qword [rbp + 0x50]
mov rdi, qword [rbp + 0x48]
mov r12, qword [rbp + 0x40]
mov r13, qword [rbp + 0x38]
mov r14, qword [rbp + 0x30]
mov r15, qword [rbp + 0x28]
lea rsp, [rbp + 0x60]
pop rbp
ret
Function at 0x45e480
Capabilities:
Get geographical location

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rbp
sub rsp, 0xa0
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x58], rbx
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x48], rdi
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x38], r13
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x28], r15
mov rax, qword [0x0047e2e8]
mov qword [rbp + 0x18], rax
mov esi, r9d
mov r15, r8
mov r13d, edx
mov r14d, ecx
mov r10d, dword [0x0048120c]
test r10d, r10d
jne 0x45e523
xor r9d, r9d
xor r8d, r8d
lea edx, [r10 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x45e503
mov r10d, 1
mov dword [0x0048120c], r10d
jmp 0x45e523
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r10d, dword [0x0048120c]
mov ecx, 2
cmp eax, 0x78
cmove r10d, ecx
mov dword [0x0048120c], r10d
cmp r10d, 2
je 0x45e67d
test r10d, r10d
je 0x45e67d
cmp r10d, 1
jne 0x45e679
xor edi, edi
mov r12d, edi
mov eax, edi
mov dword [rbp], edi
mov eax, dword [rbp + 0x90]
test eax, eax
cmove eax, dword [0x00480c90]
mov dword [rbp + 0x90], eax
xor r9d, r9d
xor r8d, r8d
mov edx, r13d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movsxd rcx, eax
mov dword [rbp + 4], ecx
test eax, eax
je 0x45e68f
mov rax, rcx
add rax, rax
add rax, 0xf
and rax, 0xfffffffffffffff0
call fcn.00462050
sub rsp, rax
lea rbx, [rsp + 0x40]
mov qword [rbp + 0x10], rbx
jmp 0x45e5ce
test rbx, rbx
jne 0x45e5f1
movsxd rcx, ecx
add rcx, rcx
call fcn.00454b70
mov rbx, rax
test rax, rax
je 0x45e68f
mov dword [rbp], 1
mov r9d, dword [rbp + 4]
mov r8, rbx
mov edx, r13d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x45e666
test esi, esi
jne 0x45e639
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
lea r9d, [rsi - 1]
mov r8, rbx
xor edx, edx
mov ecx, dword [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov r12d, eax
jmp 0x45e666
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r15
mov r9d, 0xffffffff
mov r8, rbx
xor edx, edx
mov ecx, dword [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov r12d, eax
cmp dword [rbp], 0
je 0x45e674
mov rcx, rbx
call fcn.00448f10
mov eax, r12d
jmp 0x45e68f
xor eax, eax
jmp 0x45e68f
mov r9d, esi
mov r8, r15
mov edx, r13d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov rcx, qword [rbp + 0x18]
call fcn.00462020
mov rbx, qword [rbp + 0x58]
mov rsi, qword [rbp + 0x50]
mov rdi, qword [rbp + 0x48]
mov r12, qword [rbp + 0x40]
mov r13, qword [rbp + 0x38]
mov r14, qword [rbp + 0x30]
mov r15, qword [rbp + 0x28]
lea rsp, [rbp + 0x60]
pop rbp
ret
Function at 0x460400
Capabilities:
Hash data with md5

Disassembly:
lea rax, [0x00465860]
mov qword [rcx], rax
xor eax, eax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x30], rax
mov qword [rcx + 0x38], rax
mov qword [rcx + 0x40], rax
mov dword [rcx + 0x4c], eax
mov dword [rcx + 0x48], eax
mov dword [rcx + 0x50], 0x67452301
mov dword [rcx + 0x54], 0xefcdab89
mov rax, rcx
mov dword [rcx + 0x58], 0x98badcfe
mov dword [rcx + 0x5c], 0x10325476
ret
Function at 0x140001758
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov dword [rbp - 0x40], 0x40
lea rax, [rbp - 0x40]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
call rax
test eax, eax
sete al
test al, al
je 0x1400017b5
lea rax, str.Failed_to_get_system_memory_status.
mov rdx, rax
mov rax, qword [0x1400c1f50]
mov rcx, rax
call fcn.1400b3c90
mov rcx, rax
mov rax, qword [0x1400c1f80]
mov rdx, rax
call fcn.140074250
mov eax, 1
jmp 0x1400017d6
lea rax, [rbp - 0x70]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetSystemInfo]
call rax
mov rax, qword [rbp - 0x28]
mov edx, dword [rbp - 0x6c]
mov ecx, edx
mov edx, 0
div rcx
add rsp, 0x90
pop rbp
ret

Function at 0x1400017df
Capabilities:
Get disk information

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
call rax
mov dword [rbp - 0xc], eax
mov dword [rbp - 4], 0
mov byte [rbp - 5], 0
jmp 0x140001860
movsx eax, byte [rbp - 5]
mov edx, 1
mov ecx, eax
shl edx, cl
mov eax, edx
and eax, dword [rbp - 0xc]
test eax, eax
je 0x140001856
movsx eax, byte [rbp - 5]
lea edx, [rax + 0x41]
lea rax, [rbp - 0x14]
mov r8d, edx
lea rdx, str._c:_
mov rcx, rax
call fcn.140018680
lea rax, [rbp - 0x14]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
call rax
mov dword [rbp - 0x10], eax
cmp dword [rbp - 0x10], 3
je 0x140001852
cmp dword [rbp - 0x10], 2
jne 0x140001856
add dword [rbp - 4], 1
movzx eax, byte [rbp - 5]
add eax, 1
mov byte [rbp - 5], al
cmp byte [rbp - 5], 0x19
jle 0x140001800
mov eax, dword [rbp - 4]
add rsp, 0x40
pop rbp
ret

Function at 0x14000186f
Capabilities:
Get local ipv4 addresses

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov dword [rbp - 0x1c], 0
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x20], rax
mov r9d, 0
mov r8d, 0
mov edx, 0x10
mov ecx, 0
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov eax, dword [rbp - 0x1c]
mov eax, eax
mov rcx, rax
call fcn.1400b62a0
mov qword [rbp - 0x18], rax
mov rdx, qword [rbp - 0x18]
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x20], rax
mov r9, rdx
mov r8d, 0
mov edx, 0x10
mov ecx, 0
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov dword [rbp - 4], 0
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x10], rax
jmp 0x140001905
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x68]
cmp eax, 1
jne 0x1400018f9
add dword [rbp - 4], 1
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x1400018e9
mov eax, dword [rbp - 4]
add rsp, 0x50
pop rbp
ret
Function at 0x14000bc70
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call fcn.140017eb0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
nop dword [rax]

Function at 0x14000bce0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400e80b4]
test esi, esi
mov rbx, rcx
jle 0x14000be10
mov rax, qword [0x1400e80b8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000bd2b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14000bdb5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14000bd10
mov rcx, rbx
call fcn.14000c690
test rax, rax
mov rdi, rax
je 0x14000be32
mov rax, qword [0x1400e80b8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.14000c7d0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400e80b8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000be17
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000bdae
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14000bdc0
add dword [0x1400e80b4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x1400e80b8]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000bdae
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000bc70
nop dword [rax]
xor esi, esi
jmp 0x14000bd38
mov rax, qword [0x1400e80b8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call fcn.14000bc70
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.14000bc70
nop
nop word cs:[rax + rax]
nop dword [rax]