joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44c057
Capabilities:
Hash data with md5

Disassembly:
push esi
xor ecx, ecx
push 0x40
lea esi, [eax + 0x58]
push ecx
push esi
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
call fcn.0049bf00
add esp, 0xc
mov byte [esi], 0x80
pop esi
ret

Function at 0x44c818
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
xor esi, esi
cmp dword [edi + 0x58], esi
jne 0x44c848
push 0x98
call fcn.00465bfe
mov ebx, eax
cmp ebx, esi
pop ecx
je 0x44c83b
call fcn.0044c057
mov eax, ebx
jmp 0x44c83d
xor eax, eax
cmp eax, esi
mov dword [edi + 0x58], eax
jne 0x44c848
xor eax, eax
jmp 0x44c8be
push ebp
push 0x5ee028
push dword [esp + 0x14]
call fcn.004a0c45
mov ebp, eax
cmp ebp, esi
pop ecx
pop ecx
jne 0x44c863
xor eax, eax
jmp 0x44c8bd
cmp dword [edi + 0x5c], esi
mov ebx, 0xff
jne 0x44c877
push ebx
call fcn.0049a678
pop ecx
mov dword [edi + 0x5c], eax
push ebp
push ebx
push 1
push dword [edi + 0x5c]
call fcn.004a0ef4
add esp, 0x10
cmp eax, esi
je 0x44c8a8
push dword [edi + 0x5c]
mov esi, dword [edi + 0x58]
call fcn.00459c80
push ebp
push ebx
push 1
push dword [edi + 0x5c]
call fcn.004a0ef4
add esp, 0x10
test eax, eax
jne 0x44c88a
push ebp
call fcn.004a0f81
mov eax, dword [edi + 0x58]
pop ecx
lea esi, [edi + 4]
push esi
call fcn.0044c08f
mov eax, esi
pop ebp
pop esi
pop ebx
ret 4

Function at 0x44c8c3
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push esi
push 0x58
xor esi, esi
lea eax, [esp + 0xc]
push esi
push eax
call fcn.0049bf00
push dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
lea esi, [esp + 0x18]
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
call fcn.0044c925
push dword [ebp + 8]
mov eax, esi
call fcn.0044c9bb
add esp, 0x14
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x44d629
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
cmp dword [esp + 8], ecx
jle 0x44d641
mov eax, dword [esp + 4]
add eax, ecx
xor byte [eax], 0x88
inc ecx
cmp ecx, dword [esp + 8]
jl 0x44d631
ret 8
Function at 0x44f5f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], ecx
je 0x44f68b
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 4]
push edx
push ecx
lea edx, [ebp - 8]
push edx
push ecx
mov ebx, str.KAV7NEEDREBOOT
push ebx
push eax
call edi
cmp dword [ebp - 8], 1
je 0x44f632
cmp dword [ebp - 8], 2
jne 0x44f689
push esi
mov esi, dword [ebp + 0xc]
call fcn.00401462
mov eax, dword [ebp - 4]
shr eax, 1
inc eax
push eax
call fcn.004011f9
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push 0
push ebx
push dword [eax]
call edi
test eax, eax
jne 0x44f671
mov eax, dword [ebp - 4]
shr eax, 1
and word [esi + eax*2], 0
mov dword [ebp - 0xc], 1
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x44f681
push eax
call fcn.0049be03
pop ecx
mov edx, esi
call fcn.004011d8
pop esi
pop edi
pop ebx
mov eax, dword [ebp - 0xc]
leave
ret 8

Function at 0x44f692
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push esi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x44f6b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44f778
push edi
push 0x228
xor edi, edi
lea eax, [ebp - 0x22c]
push edi
push eax
mov dword [ebp - 4], 0x490
call fcn.0049bf00
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x44f727
lea eax, [ebp - 0x20c]
push str.explorer.exe
push eax
call fcn.0049e684
test eax, eax
pop ecx
pop ecx
je 0x44f71b
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x44f6f1
jmp 0x44f730
mov edi, dword [ebp - 0x228]
and dword [ebp - 4], 0
jmp 0x44f730
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x44f755
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44f777
push dword [ebp + 8]
push 0xf01ff
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x44f771
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push edi
call esi
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret

Function at 0x44f85d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
test esi, esi
jne 0x44f86f
or eax, 0xffffffff
leave
ret
push pe_nt_image_headers32
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.0049bf00
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x114], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x44f8b2
cmp dword [ebp - 0x110], 5
jne 0x44f8b2
cmp dword [ebp - 0x10c], 0
je 0x44f8bf
push esi
call fcn.0044f77b
test eax, eax
pop ecx
jne 0x44f8bf
leave
ret
push esi
call fcn.0044f692
pop ecx
leave
ret
Function at 0x44f8c8
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
xor ebx, ebx
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 1], bl
mov dword [ebp - 8], ebx
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], bl
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x13], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x44f988
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push 2
push dword [ebp + 8]
call esi
test eax, eax
jne 0x44f92e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x44f987
push edi
push dword [ebp - 0xc]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
push edi
push 2
push dword [ebp + 8]
call esi
test eax, eax
je 0x44f97b
cmp dword [edi], ebx
mov dword [ebp - 0x10], ebx
jbe 0x44f97b
lea esi, [edi + 4]
push dword [esi]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x44f977
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
add esi, 8
cmp eax, dword [edi]
jb 0x44f959
jmp 0x44f97b
mov byte [ebp - 1], 1
cmp edi, ebx
je 0x44f986
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
cmp dword [ebp - 8], ebx
pop ebx
je 0x44f997
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov al, byte [ebp - 1]
leave
ret

Function at 0x44f99c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
xor edi, edi
push 1
push edi
push edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call sub.WTSAPI32.dll_WTSEnumerateSessionsW
test eax, eax
jne 0x44fa0a
push pe_nt_image_headers32
lea eax, [ebp - 0x118]
push edi
push eax
call fcn.0049bf00
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
mov dword [ebp - 0x11c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x44fa04
cmp dword [ebp - 0x118], 6
jne 0x44fa04
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44fa3f
mov dword [esi], edi
xor eax, eax
jmp 0x44fa3f
mov ecx, dword [ebp - 8]
xor eax, eax
cmp dword [ebp - 4], edi
push ebx
mov ebx, 0x490
jbe 0x44fa36
lea edx, [ecx + 8]
cmp dword [edx], edi
je 0x44fa2c
inc eax
add edx, 0xc
cmp eax, dword [ebp - 4]
jb 0x44fa1d
jmp 0x44fa36
imul eax, eax, 0xc
mov eax, dword [eax + ecx]
mov dword [esi], eax
xor ebx, ebx
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, ebx
pop ebx
pop edi
leave
ret
Function at 0x44ff01
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x5999ad
call fcn.00595190
sub esp, 0x10
mov eax, dword [0x61b884]
push ebx
push esi
mov esi, 0x61b884
push edi
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [0x61b884]
mov ecx, esi
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 1
mov eax, dword [0x61b884]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
call fcn.0044fe7c
test eax, eax
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
je 0x44ffd0
lea eax, [ebp - 0x14]
push eax
call fcn.0044fedd
pop ecx
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004013b4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004011c0
mov edi, dword [ebp - 0x10]
cmp dword [edi - 0xc], ebx
je 0x44ffd0
push str.binTimwp.exe
lea eax, [ebp - 0x10]
push eax
call fcn.004327b5
mov edi, dword [ebp - 0x10]
push ebx
push edi
call fcn.004a0906
test eax, eax
pop ecx
pop ecx
jne 0x44ffd0
cmp dword [ebp + 8], ebx
je 0x44ffd0
push 1
push ebx
push dword [ebp + 8]
push edi
push str.open
push ebx
call esi
xor ecx, ecx
cmp eax, 0x20
setg cl
cmp ecx, ebx
mov dword [ebp - 0x10], ecx
jne 0x44ffea
push 1
push ebx
push ebx
push dword [ebp + 0xc]
push str.open
push ebx
call esi
xor ecx, ecx
cmp eax, 0x20
setg cl
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004011c0
lea eax, [edi - 0x10]
call fcn.004011c0
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x450338
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [esi], ebx
mov dword [esi + 0x18], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push str.IsWow64Process
push str.kernel32.dll
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
jne 0x450379
xor al, al
jmp 0x45038d
lea ecx, [ebp - 4]
push ecx
push edi
mov dword [ebp - 4], ebx
call eax
test eax, eax
je 0x450375
cmp dword [ebp - 4], ebx
setne al
push 0x118
mov byte [esi + 0x20], al
lea eax, [ebp - 0x14c]
push ebx
push eax
mov dword [esi + 0x24], ebx
mov dword [ebp - 0x150], 0x11c
call fcn.0049bf00
add esp, 0xc
push 8
pop ecx
xor eax, eax
mov dword [ebp - 0x34], ebx
lea edi, [ebp - 0x30]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x150]
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x14c]
cmp eax, 5
mov ecx, dword [ebp - 0x148]
mov edx, dword [ebp - 0x144]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
jne 0x450409
cmp ecx, ebx
jle 0x45042b
xor eax, eax
cmp ecx, 1
setne al
inc eax
mov dword [esi], eax
jmp 0x45042b
push 6
pop edx
cmp eax, edx
jne 0x450427
sub ecx, ebx
je 0x45041f
dec ecx
jne 0x45042b
mov dword [esi], 4
jmp 0x45042b
mov dword [esi], 3
jmp 0x45042b
jle 0x45042b
mov dword [esi], edx
movzx eax, word [ebp - 0x3c]
mov dword [esi + 0x10], eax
movzx eax, word [ebp - 0x3a]
mov dword [esi + 0x14], eax
mov eax, dword [esi]
cmp eax, ebx
je 0x450444
cmp eax, 6
jne 0x450475
lea esi, [ebp - 8]
lea edi, [ebp - 0x10]
lea ebx, [ebp - 4]
call fcn.00450570
test eax, eax
mov esi, dword [ebp + 8]
jne 0x450473
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
push eax
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
call fcn.00450605
mov dword [esi], eax
xor ebx, ebx
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
jne 0x45049c
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
jmp 0x4504a2
lea ecx, [ebp - 0x34]
push ecx
call eax
movzx eax, word [ebp - 0x34]
cmp eax, ebx
je 0x4504d4
cmp eax, 6
je 0x4504cb
cmp eax, 9
je 0x4504c2
cmp eax, 0xc
jne 0x4504d7
mov dword [esi + 0x18], 4
jmp 0x4504d7
mov dword [esi + 0x18], 1
jmp 0x4504d7
mov dword [esi + 0x18], 2
jmp 0x4504d7
mov dword [esi + 0x18], ebx
mov eax, dword [ebp - 0x20]
mov ebx, esi
mov dword [esi + 0x1c], eax
call fcn.004506e9
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
call fcn.0045077d
test eax, eax
jne 0x4504f9
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x24], eax
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x45077d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor ebx, ebx
cmp dword [ebp + 8], ebx
push 4
pop esi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], esi
mov eax, 0x20019
jne 0x4507a6
push 0x57
pop edi
jmp 0x45081d
cmp dword [ecx + 0x18], ebx
je 0x4507b0
mov eax, 0x20119
lea ecx, [ebp - 4]
push ecx
push eax
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
cmp edi, ebx
jne 0x45080f
cmp dword [ebp - 4], ebx
jne 0x4507d5
push 6
jmp 0x4507a3
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0x5ee3bc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
cmp edi, ebx
jne 0x45080f
cmp dword [ebp - 8], esi
jne 0x45080c
cmp dword [ebp - 0xc], esi
jne 0x45080c
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
xor edi, edi
jmp 0x45080f
push 0xd
pop edi
cmp dword [ebp - 4], ebx
je 0x45081d
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x45185d
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push esi
mov esi, eax
cmp dword [esi + 0x14], 0x104
push edi
jb 0x45187a
xor al, al
jmp 0x451908
and word [ebp - 0x230], 0
push 0x208
lea eax, [ebp - 0x22e]
push 0
push eax
call fcn.0049bf00
add esp, 0xc
cmp dword [esi + 0x18], 8
jb 0x4518a3
mov esi, dword [esi + 4]
jmp 0x4518a6
add esi, 4
push esi
lea eax, [ebp - 0x230]
push 0x105
push eax
call fcn.0049be86
and dword [ebp - 0x20], 0
add esp, 0xc
push 6
xor eax, eax
pop ecx
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], 3
mov word [ebp - 0x10], 0x414
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp dword [ebp - 0xe], 0
jne 0x451873
test eax, eax
je 0x451905
cmp eax, 2
je 0x451905
cmp eax, 0x402
je 0x451905
xor eax, eax
jmp 0x451908
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x451b4e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x597255
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
mov ebx, dword [ebp + 8]
cmp ebx, 0xffffffff
push esi
push edi
mov esi, ecx
jne 0x451b8f
xor eax, eax
mov ecx, dword [esp + 0x64]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
xor edi, edi
cmp ecx, edi
je 0x451bb7
mov eax, dword [esi + 0x34]
mov edx, dword [eax]
add edx, ecx
cmp ecx, edx
jae 0x451bb7
dec dword [eax]
mov esi, dword [esi + 0x24]
mov eax, dword [esi]
lea ecx, [eax + 1]
mov dword [esi], ecx
mov byte [eax], bl
mov eax, ebx
jmp 0x451b7b
mov eax, dword [esi + 0x4c]
cmp eax, edi
jne 0x451bc3
or eax, 0xffffffff
jmp 0x451b7b
cmp dword [esi + 0x3c], edi
jne 0x451bd7
push eax
push ebx
call fcn.00451823
test al, al
pop ecx
pop ecx
je 0x451bbe
jmp 0x451bb3
push edi
push 8
lea ecx, [esp + 0x4c]
mov byte [esp + 0x18], bl
call fcn.00452212
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x70], edi
call fcn.00452238
mov ecx, eax
call fcn.004525f6
mov edi, dword [esp + 0x58]
mov ebx, eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
call fcn.00452238
mov ecx, eax
call fcn.004525f6
lea edx, [esp + 0x18]
add edi, ebx
push edx
lea ebx, [esi + 0x44]
jmp 0x451ce7
cmp eax, 1
jg 0x451d0f
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x48]
call fcn.00452238
mov ecx, eax
call fcn.004525f6
mov edi, dword [esp + 0x18]
sub edi, eax
je 0x451c7c
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x48]
call fcn.00452238
mov ecx, eax
call fcn.004525f6
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004a224e
add esp, 0x10
cmp edi, eax
jne 0x451d26
lea eax, [esp + 0x10]
cmp dword [esp + 0x1c], eax
mov byte [esi + 0x41], 1
jne 0x451d3d
test edi, edi
ja 0x451caa
cmp dword [esp + 0x58], 0x20
jae 0x451d26
push 0
push 8
lea ecx, [esp + 0x4c]
call fcn.0044bcdc
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
call fcn.00452238
mov ecx, eax
call fcn.004525f6
mov edi, dword [esp + 0x58]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
call fcn.00452238
mov ecx, eax
call fcn.004525f6
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x24]
add edi, edx
mov ecx, dword [esi + 0x3c]
push edi
push eax
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x21]
push edx
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x2c], eax
mov eax, dword [ecx]
push ebx
call dword [eax + 0x14]
test eax, eax
jge 0x451c2a
jmp 0x451d26
cmp eax, 3
jne 0x451d26
push dword [esi + 0x4c]
push dword [esp + 0x14]
call fcn.00451823
test al, al
pop ecx
pop ecx
jne 0x451d3d
or esi, 0xffffffff
push 0
push 1
lea ecx, [esp + 0x4c]
call fcn.00418f65
mov eax, esi
jmp 0x451b7b
mov esi, dword [ebp + 8]
jmp 0x451d29
Function at 0x452323
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x596a9c
call fcn.00595190
sub esp, 0x48
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x3c], edi
je 0x452433
cmp byte [esi + 0x41], 0
je 0x452433
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x45235d
xor al, al
jmp 0x452435
push edi
push 8
lea ecx, [ebp - 0x54]
call fcn.00452212
mov dword [ebp - 4], edi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x54]
call fcn.00452238
mov ecx, eax
call fcn.004525f6
mov edi, dword [ebp - 0x40]
mov ebx, eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x54]
call fcn.00452238
mov ecx, eax
call fcn.004525f6
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
add edi, ebx
push edi
push dword [ebp - 0x14]
lea eax, [esi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0x4523cd
dec eax
je 0x4523d1
dec eax
dec eax
je 0x45242f
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x54]
call fcn.00418f65
mov al, bl
jmp 0x452435
mov byte [esi + 0x41], 0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x54]
call fcn.00452238
mov ecx, eax
call fcn.004525f6
mov edi, dword [ebp - 0x18]
sub edi, eax
je 0x452411
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x54]
call fcn.00452238
mov ecx, eax
call fcn.004525f6
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004a224e
add esp, 0x10
cmp edi, eax
jne 0x4523bb
cmp byte [esi + 0x41], 0
je 0x45242f
test edi, edi
jne 0x45236b
push edi
push 8
lea ecx, [ebp - 0x54]
call fcn.0044bcdc
jmp 0x45236b
mov bl, 1
jmp 0x4523bd
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x457589
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x598904
call fcn.00595190
push esi
mov esi, dword [esp + 0x18]
xor eax, eax
mov dword [esi], vtable.Json::StyledWriter.0
lea ecx, [esi + 0x14]
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call fcn.00449137
lea ecx, [esi + 0x30]
call fcn.00449137
mov ecx, dword [esp + 4]
mov dword [esi + 0x4c], 0x4a
mov dword [esi + 0x50], 3
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x459d8f
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
push esi
push 0x40
xor esi, esi
lea eax, [ebp - 0x9c]
push esi
push eax
call fcn.0049bf00
add esp, 0xc
push 0x58
lea eax, [ebp - 0x5c]
push esi
push eax
mov byte [ebp - 0x9c], 0x80
call fcn.0049bf00
mov eax, dword [ebp + 0x10]
add esp, 0xc
push dword [ebp + 0xc]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], esi
lea esi, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0x67452301
mov dword [ebp - 0x58], 0xefcdab89
mov dword [ebp - 0x54], 0x98badcfe
mov dword [ebp - 0x50], 0x10325476
call fcn.00459c80
push dword [ebp + 8]
lea eax, [ebp - 0x9c]
push eax
mov eax, esi
call fcn.00459d17
pop esi
leave
ret

Function at 0x45a03a
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x5998ed
call fcn.00595190
mov eax, 0x1020
call fcn.004b5ae0
push esi
lea eax, [ebp - 0x20]
xor esi, esi
push eax
mov dword [ebp - 0x24], esi
call fcn.00459e07
mov eax, 0x1000
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x102c]
push esi
push eax
mov dword [ebp - 0x2c], esi
call fcn.0049bf00
sub dword [ebp - 0x28], 2
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x14]
or eax, 0x2001f
push eax
push esi
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45a0d3
cmp dword [ebp - 0x20], esi
setne al
cmp eax, esi
je 0x45a0d3
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x102c]
push eax
lea eax, [ebp - 0x2c]
push eax
push esi
push str.idex
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45a0d3
lea eax, [ebp - 0x102c]
push eax
jmp 0x45a0d8
push 0x5e6264
push edi
call fcn.00432a8a
cmp dword [ebp - 0x20], esi
je 0x45a0ec
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
mov eax, edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x45a282
Capabilities:
Get hostname

Disassembly:
mov eax, 0x597741
call fcn.00595190
sub esp, 0x134
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
push 0x103
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x13f]
push ebx
mov dword [ebp - 0x10], ebx
push eax
mov byte [ebp - 0x140], bl
call fcn.0049bf00
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x140]
push eax
mov dword [ebp - 0x14], 0x104
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 7
xor eax, eax
mov byte [ebp - 0x34], bl
pop ecx
lea edi, [ebp - 0x33]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x140]
push eax
call fcn.0049dbb0
pop ecx
push eax
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00459d8f
add esp, 0xc
mov ecx, 0x61b884
call fcn.004014bd
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], 1
movzx eax, byte [ebp + ebx - 0x34]
push eax
push str._02x
mov ecx, esi
call fcn.00413490
inc ebx
cmp ebx, 0x10
pop ecx
pop ecx
jl 0x45a318
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x45a343
Capabilities:
Get common file path
Get disk size

Disassembly:
mov eax, 0x59771e
call fcn.00595190
sub esp, 0x214
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
push 0x206
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x21e]
push ebx
mov dword [ebp - 0x18], ebx
push eax
mov word [ebp - 0x220], bx
call fcn.0049bf00
add esp, 0xc
push 0x104
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
mov dword [ebp - 0x14], ebx
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov ecx, 0x61b884
call fcn.004014bd
mov dword [ebp - 4], ebx
push dword [ebp - 0x14]
mov eax, esi
push str._010lu
mov dword [ebp - 0x18], 1
call fcn.00432a05
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret