joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fbe94
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
shl eax, 2
mov ecx, 3
cdq
idiv ecx
mov ebx, eax
mov edx, ebx
add edx, 4
mov eax, esi
call fcn.00404c74
mov eax, esi
call fcn.00404b40
push eax
mov edx, ebx
add edx, 2
xor ecx, ecx
pop eax
call fcn.004030b0
cmp byte [ebp - 1], 0
jne 0x4fbf07
mov eax, esi
call fcn.00404b40
mov dl, byte [ebp - 0xc]
dec edx
and dl, 0x3f
add dl, 0x21
mov byte [eax], dl
mov eax, dword [ebp - 0xc]
add eax, 2
mov ecx, 3
cdq
idiv ecx
lea eax, [eax + eax*2]
mov dword [ebp - 0xc], eax
mov edi, 2
xor eax, eax
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov al, byte [ebp - 1]
sub al, 1
jb 0x4fbf20
sub al, 2
jb 0x4fbf27
jmp 0x4fbf2c
mov ebx, 2
jmp 0x4fbf2c
mov ebx, 1
mov eax, esi
call fcn.00404b40
mov byte [eax + ebx - 1], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jge 0x4fc00e
test edi, edi
jle 0x4fbf88
mov eax, esi
call fcn.00404b40
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shl eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [edx + ecx]
and eax, edx
mov ecx, edi
shr eax, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
sub edi, 6
inc ebx
mov eax, esi
call fcn.00404b40
mov byte [eax + ebx - 1], 0
jmp 0x4fc002
test edi, edi
jge 0x4fbfce
mov eax, edi
cdq
xor eax, edx
sub eax, edx
mov edi, eax
mov eax, esi
call fcn.00404b40
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shr eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
and al, byte [edx + ecx]
mov ecx, edi
shl al, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
mov eax, 8
sub eax, edi
mov edi, eax
inc dword [ebp - 0x10]
jmp 0x4fc002
mov eax, esi
call fcn.00404b40
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov dl, byte [edx + ecx]
and dl, 0x3f
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 1]
or dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
inc dword [ebp - 0x10]
mov eax, esi
call fcn.00404b40
mov byte [eax + ebx - 1], 0
mov edi, 2
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jl 0x4fbf44
mov al, byte [ebp - 1]
sub al, 1
jb 0x4fc01e
sub al, 2
jb 0x4fc057
jmp 0x4fc09e
cmp edi, 2
jne 0x4fc024
dec ebx
mov eax, ebx
sub eax, 2
jl 0x4fc09e
inc eax
mov dword [ebp - 0x14], eax
mov edi, 2
mov eax, esi
call fcn.00404b40
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x561fc8]
mov dl, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x4fc034
jmp 0x4fc09e
cmp edi, 2
jne 0x4fc05d
dec ebx
test ebx, ebx
jle 0x4fc099
mov dword [ebp - 0x14], ebx
mov edi, 1
mov eax, esi
call fcn.00404b40
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x561fcc]
mov dl, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x4fc069
jmp 0x4fc099
inc ebx
mov eax, esi
call fcn.00404b40
mov byte [eax + ebx - 1], 0x3d
test bl, 3
jne 0x4fc08c
mov eax, esi
mov edx, ebx
call fcn.00404c74
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x50b950
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x110], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x50babd
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 0x214], 1
push 0xff
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebx + 0x210]
call fcn.0044c390
push eax
call sub.user32.dll_GetClassNameA
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
call fcn.00404884
mov eax, dword [ebp - 0x110]
mov edx, 0x50bad8
call fcn.00404a34
je 0x50ba08
lea eax, [ebp - 0x114]
lea edx, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
call fcn.00404884
mov eax, dword [ebp - 0x114]
mov edx, 0x50baf0
call fcn.00404a34
je 0x50ba08
push 0x541
push 0
push 0
mov eax, dword [ebx + 0x210]
call fcn.0044c390
push eax
call sub.user32.dll_RedrawWindow
mov byte [ebx + 0x214], 0
mov eax, dword [ebx + 0x210]
call fcn.0044c390
push eax
call sub.user32.dll_GetDC
mov edi, eax
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov esi, eax
mov eax, dword [ebx + 0x4c]
push eax
mov eax, dword [ebx + 0x48]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push esi
call sub.gdi32.dll_SelectObject
mov dword [ebp - 4], eax
push 0xcc0020
mov eax, dword [ebx + 0x178]
push eax
mov eax, dword [ebx + 0x174]
push eax
push edi
mov eax, dword [ebx + 0x4c]
push eax
mov eax, dword [ebx + 0x48]
push eax
push 0
push 0
push esi
call sub.gdi32.dll_BitBlt
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.0050a008
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
push esi
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
push esi
call sub.gdi32.dll_DeleteDC
push edi
push 0
call sub.user32.dll_ReleaseDC
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50bac4
lea eax, [ebp - 0x114]
mov edx, 2
call fcn.00404640
ret
Function at 0x5100b8
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor edx, edx
call fcn.0043cd2c
mov eax, dword [ebp - 4]
add eax, 0x64
call fcn.0040461c
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x14], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x411c]
test eax, eax
je 0x510100
call fcn.004037f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x4128]
test eax, eax
je 0x510115
call fcn.004037f0
mov dl, 1
mov eax, dword [0x41aecc]
call fcn.004037c0
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [eax + 0x4128], ebx
push 0
push 0
mov eax, ebx
call fcn.0041fa88
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
xor edx, edx
mov dword [eax + 0x411c], edx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x48], 0
jne 0x510176

Function at 0x512dd0
Capabilities:
Get file system object information

Disassembly:
add esp, 0xfffffea0
cmp dword [0x57d2bc], 0
jne 0x512e35
call sub.kernel32.dll_GetVersion
shr eax, 0x20
setne byte [0x57d2b4]
push 0x512e3c
push 0x512e50
call sub.kernel32.dll_GetModuleHandleA_2
push eax
call sub.kernel32.dll_GetProcAddress_1
test eax, eax
je 0x512e15
push 0x57d2bc
push 0x57d2c0
call eax
jmp 0x512e35
push 0x4011
push 0x160
lea eax, [esp + 8]
push eax
push 0x10
push 0x512e50
call sub.shell32.dll_SHGetFileInfoA
mov dword [0x57d2bc], eax
add esp, 0x160
ret

Function at 0x512e24
Capabilities:
Get file system object information

Disassembly:
add esp, 0xfffffea0
cmp dword [0x57d2bc], 0
jne 0x512e35
call sub.kernel32.dll_GetVersion
shr eax, 0x20
setne byte [0x57d2b4]
push 0x512e3c
push 0x512e50
call sub.kernel32.dll_GetModuleHandleA_2
push eax
call sub.kernel32.dll_GetProcAddress_1
test eax, eax
je 0x512e15
push 0x57d2bc
push 0x57d2c0
call eax
jmp 0x512e35
push 0x4011
push 0x160
lea eax, [esp + 8]
push eax
push 0x10
push 0x512e50
call sub.shell32.dll_SHGetFileInfoA
mov dword [0x57d2bc], eax
add esp, 0x160
ret
Function at 0x53e37c
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x53e3d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x53e3cc
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x54]
test al, al
jne 0x53e3bd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53e4c0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x11c]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53e3f1
xor eax, eax
push ebp
push 0x53e416
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x53e40c
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53e42c
xor edx, edx
push ebp
push 0x53e46e
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x53e464
add dword [eax + 0x118], 0x64
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + 0x118]
cmp edx, dword [eax + 0x108]
jl 0x53e464
mov edx, dword [eax]
call dword [edx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53e484
xor eax, eax
push ebp
push 0x53e4aa
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x53e4a0
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53e4c0
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x545da4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x545dd2
mov eax, ebx
call fcn.0054685c
cmp dword [ebx + 0x3c], 0
je 0x545dcb
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x545e43
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x545e35
cmp dword [ebx + 8], 0
je 0x545df4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x545e06
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x545e35
cmp dword [ebx + 8], 0
je 0x545de7
cmp eax, 3
je 0x545e19
dec eax
jne 0x545de7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x545de7
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x545de7
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x545e61
cmp dword [ebx + 0x10], 0xcc
je 0x545e61
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00545e6c
pop ebx
ret
Function at 0x55737c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ad8
xor eax, eax
push ebp
push 0x5573e3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x109]
push eax
mov eax, dword [ebp - 4]
call fcn.00404ae8
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
mov eax, ebx
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.00404884
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5573ea
lea eax, [ebp - 4]
call fcn.0040461c
ret

Function at 0x5589c8
Capabilities:
List user accounts

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ad8
xor eax, eax
push ebp
push 0x558b0b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x558ae8
mov byte [ebp - 9], 1
xor edx, edx
push ebp
push 0x558ad9
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.004048f0
mov ebx, eax
mov eax, ebx
add eax, eax
inc eax
call fcn.00402790
mov dword [ebp - 0x2c], eax
lea ecx, [ebx + 1]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.004057f8
or ebx, 0xffffffff
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
push 2
push 0xa
mov eax, dword [ebp - 0x2c]
push eax
call sub.netapi32.dll_NetUserEnum
test eax, eax
jne 0x558ac2
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x1c]
dec edi
test edi, edi
jl 0x558ac2
inc edi
lea eax, [ebp - 0x20]
mov esi, ebx
mov edx, dword [esi]
call fcn.00404e7c
lea eax, [ebp - 0x24]
mov edx, dword [esi + 0xc]
call fcn.00404e7c
lea eax, [ebp - 0x28]
mov edx, dword [esi + 4]
call fcn.00404e7c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x20]
call fcn.0055881c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x24]
call fcn.0055881c
xor eax, eax
mov dword [ebp - 0x14], eax
add ebx, 0x10
dec edi
jne 0x558a7f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x558ae0
mov eax, dword [ebp - 0x10]
push eax
call sub.netapi32.dll_NetApiBufferFree
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x558b12
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00404d6c
lea eax, [ebp - 4]
call fcn.0040461c
ret
Function at 0x558b1c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd94
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x268], ecx
mov dword [ebp - 0x26c], ecx
mov dword [ebp - 0x264], ecx
mov dword [ebp - 0x260], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.0040529c
xor eax, eax
push ebp
push 0x558cd7
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x558c9b
lea eax, [ebp - 0x25c]
xor ecx, ecx
mov edx, 0x250
call fcn.004030b0
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x260]
mov ecx, 0x558cec
mov edx, dword [ebp - 4]
call fcn.00404f60
mov eax, dword [ebp - 0x260]
call fcn.00404ee4
push eax
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x558c9b
mov al, 1
jmp 0x558c88
xor eax, eax
push ebp
push 0x558c4a
push dword fs:[eax]
mov dword fs:[eax], esp
test byte [ebp - 0x25c], 0x10
je 0x558c40
cmp word [ebp - 0x230], 0x2e
je 0x558c40
lea eax, [ebp - 0x264]
lea edx, [ebp - 0x230]
mov ecx, 0x104
call fcn.0040489c
mov eax, dword [ebp - 0x264]
mov edx, 0x558d00
call fcn.00404a34
je 0x558c40
lea eax, [ebp - 0x26c]
lea edx, [ebp - 0x230]
mov ecx, 0x104
call fcn.00404eb8
mov ecx, dword [ebp - 0x26c]
lea eax, [ebp - 0x268]
mov edx, 0x558d08
call fcn.00404f60
mov eax, dword [ebp - 0x268]
mov edx, dword [ebp - 8]
call fcn.0055881c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x558c60
lea eax, [ebp - 0x25c]
xor ecx, ecx
mov edx, 0x250
call fcn.004030b0
lea eax, [ebp - 0x25c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindNextFileW
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x558bbd
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindClose_1
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x558cde
lea eax, [ebp - 0x26c]
mov edx, 2
call fcn.00404d6c
lea eax, [ebp - 0x264]
call fcn.0040461c
lea eax, [ebp - 0x260]
call fcn.00404d54
lea eax, [ebp - 4]
call fcn.00404d54
ret
Function at 0x55945c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x559464
push ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.0040529c
xor eax, eax
push ebp
push 0x55962b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00511954
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.00404db4
mov eax, dword [ebp - 4]
call fcn.00404ef4
cmp eax, 4
jl 0x5595a9
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.004048b8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 8]
call fcn.00409cc8
mov eax, dword [ebp - 8]
call fcn.00404ae8
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x5595a9
lea edx, [ebp - 0x1c]
mov eax, dword [0x5644d0]
mov eax, dword [eax]
call fcn.0046d5e8
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.00408ef0
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
call fcn.00404ed4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0040500c
je 0x5595a9
lea edx, [ebp - 0x28]
mov eax, dword [0x5644d0]
mov eax, dword [eax]
call fcn.0046c734
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.00408ef0
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
call fcn.00404ed4
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0040500c
je 0x5595a9
lea edx, [ebp - 0x34]
mov eax, dword [0x5644d0]
mov eax, dword [eax]
call fcn.0046c9e0
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.00408ef0
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
call fcn.00404ed4
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.0040500c
je 0x5595a9
lea edx, [ebp - 0x40]
mov eax, dword [0x5644d0]
mov eax, dword [eax]
call fcn.0046c870
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.00408ef0
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
call fcn.00404ed4
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0040500c
je 0x5595a9
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x559632
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.00404640
lea eax, [ebp - 0x38]
call fcn.00404d54
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00404640
lea eax, [ebp - 0x2c]
call fcn.00404d54
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00404640
lea eax, [ebp - 0x20]
call fcn.00404d54
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404640
lea eax, [ebp - 0x14]
call fcn.00404d54
lea eax, [ebp - 0x10]
call fcn.0040461c
lea eax, [ebp - 0xc]
call fcn.00404d54
lea eax, [ebp - 8]
call fcn.0040461c
lea eax, [ebp - 4]
call fcn.00404d54
ret
Function at 0x404f1b
Capabilities:
Encode data using xor

Disassembly:
call 0x404df3
mov ecx, 0x1db
call 0x404f1b
rcr dword [esi + 0x30], 0x4c
push cs
pop es
xor byte [esi + ecx + 7], cl
loop 0x404f1e
sub bl, cl
sub ch, 0x8a
out dx, al
clc
div esi
cmc
retf
Function at 0x402470
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
call eax
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d7a
nop
sub eax, 0x403d20
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x44c8a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57bfe0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x5fbea4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov bl, 0x41
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x30], bl
test al, 1
je 0x44c9e8
push dword [ebp - 0x30]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 0xf
push 1
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
call fcn.00451430
push ecx
lea edx, [ebp - 0x58]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00452300
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x44c97c
mov ecx, dword [ebp - 0x58]
inc eax
cmp eax, 0x1000
jb 0x44c973
test cl, 0x1f
jne 0x44ca17
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x44ca17
sub ecx, eax
cmp ecx, 4
jb 0x44ca17
cmp ecx, 0x23
ja 0x44ca17
mov ecx, eax
push ecx
call fcn.0057a868
add esp, 4
push dword [ebp - 0x34]
mov edx, esi
mov dword [ebp - 0x44], 0xf
push dword [ebp - 0x38]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x48], 0
push dword [ebp - 0x3c]
mov byte [ebp - 0x58], 0
push dword [ebp - 0x40]
push edi
call fcn.0044c460
mov dword [ebp - 4], 0xffffffff
add esp, 0x14
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x44c9e5
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x1000
jb 0x44c9dc
test cl, 0x1f
jne 0x44ca17
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x44ca17
sub ecx, eax
cmp ecx, 4
jb 0x44ca17
cmp ecx, 0x23
ja 0x44ca17
mov ecx, eax
push ecx
call fcn.0057a868
add esp, 4
mov eax, dword [ebp - 0x2c]
inc bl
shr eax, 1
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x30], bl
cmp bl, 0x5a
jle 0x44c8f5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057a738
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x44ce20
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x30
mov eax, dword [0x5fbea4]
xor eax, esp
mov dword [esp + 0x2c], eax
xorps xmm0, xmm0
mov dword [esp + 0x18], 0
mov eax, 0x4414
movq qword [esp + 0x10], xmm0
mov word [esp + 0x10], ax
lea eax, [esp]
movaps xmmword [esp], xmm0
push eax
mov word [esp + 0x20], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 3
mov dword [esp + 0xc], str.C:_Recycle.Bin
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
push 0x4520d0
test eax, eax
jne 0x44ce9b
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Recycle_Bin_emptied_successfully.
call fcn.00451e90
add esp, 4
jmp 0x44ceb4
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Failed_to_empty_Recycle_Bin._Error_code:
push eax
call fcn.00451e90
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0057a738
mov esp, ebp
pop ebp
ret