joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44440e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 4]
mov edx, str.selected
push esi
mov si, word [eax]
cmp si, word [edx]
jne 0x44443e
test si, si
je 0x44443a
mov si, word [eax + 2]
cmp si, word [edx + 2]
jne 0x44443e
add eax, 4
add edx, 4
test si, si
jne 0x444418
xor eax, eax
jmp 0x444443
sbb eax, eax
sbb eax, 0xffffffff
pop esi
test eax, eax
jne 0x44445a
add ecx, 0x658
mov eax, dword [ecx]
push 1
push 1
call dword [eax + 0x1c]
ret 8
jmp fcn.0042bdf8

Function at 0x446936
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi], 0x14
mov ebx, ecx
jne 0x44696f
mov eax, dword [ebx]
call dword [eax + 0xe8]
test al, al
je 0x44696f
mov eax, dword [ebx + 0xc98]
test eax, eax
je 0x446968
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, ebx
call fcn.00446b22
cmp dword [edi], 0xe
jne 0x446a21
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xe8]
test al, al
je 0x446a21
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x40]
mov esi, eax
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
cmp dword [ebx + 0xc98], esi
jne 0x4469e2
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
mov eax, dword [ebx]
mov edi, dword [0x4c3154]
mov ecx, ebx
call dword [eax + 0x24]
mov eax, dword [eax + 0x84]
push esi
push edi
push 0x1911
push eax
push esi
push esi
push esi
push esi
push 0x50000000
push esi
push 0x4aad54
push esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx + 0xc98], eax
lea eax, [ebx + 0xc88]
push eax
push esi
push 0x1002
push dword [ebx + 0xc98]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push 0x40
push eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push esi
push dword [ebx + 0xc98]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, dword [ebp + 8]
push edi
mov ecx, ebx
call fcn.00431965
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x446b92
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0xc98], 0
push esi
push edi
je 0x446c11
lea eax, [ebp - 0x14]
push eax
mov eax, ebx
call fcn.00446a30
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x40]
mov esi, eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x24]
cmp eax, ecx
jl 0x446bfc
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x20]
cmp ecx, edx
jl 0x446bfc
push 0
push ecx
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
push dword [ebx + 0xc98]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x446c11
push 0
push dword [ebx + 0xc98]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, ebx
call fcn.00446b22
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x44f26a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x10], eax
and dword [eax + 0x6e8], 0
cmp dword [ebx + 4], 0
push esi
push edi
jne 0x44f2df
lea eax, [ebp - 0x14]
push eax
mov eax, ebx
call fcn.0044f34f
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
push 0x40000000
push dword [eax + 0x84]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
call fcn.00422640
mov ecx, dword [ebx + 0x10]
push dword [ecx + 0x664]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.00427b34
push 1
push dword [eax]
push 0x30
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
lea edx, [ebp - 0x98]
push edx
call dword [eax + 0x38]
mov eax, dword [eax]
cmp word [eax], 0
lea ecx, [ebp - 0x98]
sete byte [ebp + 0xb]
call fcn.00422e8e
cmp byte [ebp + 0xb], 0
mov esi, 0x6d8
je 0x44f31a
mov eax, dword [ebx + 0x10]
add eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [ebx + 0x10]
add eax, esi
push eax
push 0
push 0x1002
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
mov byte [ebx + 0x18], 1
pop ebx
leave
ret 4

Function at 0x44f6e3
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
movsd dword es:[edi], dword [esi]
call fcn.0042b123
mov eax, dword [ebx + 0x6f0]
test eax, eax
je 0x44f768
lea ecx, [esp + 0x10]
push ecx
call fcn.0044f34f
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x44f73b
mov eax, dword [ebx + 0x6f0]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44f768
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
push 0x54
push eax
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
push eax
push dword [esp + 0x20]
mov eax, dword [ebx + 0x6f0]
push dword [esp + 0x20]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x44f771
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042b508
mov eax, dword [esi + 0x6f0]
test eax, eax
je 0x44f7ee
lea ecx, [esp + 8]
push ecx
call fcn.0044f34f
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x44f7c1
mov eax, dword [esi + 0x6f0]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44f7ee
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0xc]
push 0x54
push eax
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
push eax
push dword [esp + 0x18]
mov eax, dword [esi + 0x6f0]
push dword [esp + 0x18]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4581d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, eax
mov eax, dword [edi + 8]
mov esi, eax
and esi, 7
je 0x4581f5
cmp eax, esi
jge 0x4581ed
mov eax, edi
call fcn.00457c4c
mov ecx, esi
shr dword [edi + 0xc], cl
sub dword [edi + 8], esi
xor eax, eax
cmp dword [edi + 8], eax
jle 0x458217
mov cl, byte [edi + 0xc]
shr dword [edi + 0xc], 8
add dword [edi + 8], 0xfffffff8
mov byte [ebp + eax - 4], cl
inc eax
cmp dword [edi + 8], 0
jg 0x4581fc
cmp eax, 4
jge 0x458233
mov esi, dword [edi + 4]
mov ecx, dword [edi]
cmp ecx, esi
jb 0x458224
xor dl, dl
jmp 0x458227
mov dl, byte [ecx]
inc ecx
mov byte [ebp + eax - 4], dl
inc eax
cmp eax, 4
jl 0x45821c
mov dword [edi], ecx
movzx esi, byte [ebp - 3]
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 2]
shl esi, 8
add esi, eax
movzx eax, byte [ebp - 1]
shl eax, 8
add eax, ecx
mov ecx, esi
xor ecx, 0xffff
cmp eax, ecx
je 0x458267
mov dword [0x4c2da8], str.zlib_corrupt
xor eax, eax
jmp 0x4582b3
mov eax, dword [edi]
add eax, esi
cmp eax, dword [edi + 4]
jbe 0x45827c
mov dword [0x4c2da8], str.read_past_buffer
jmp 0x458263
mov eax, dword [edi + 0x10]
lea ecx, [eax + esi]
cmp ecx, dword [edi + 0x18]
jbe 0x458292
push esi
call fcn.00457d24
pop ecx
test eax, eax
je 0x458263
mov eax, dword [edi + 0x10]
push ebx
mov ebx, dword [edi]
push esi
push ebx
push eax
call fcn.0047f970
mov eax, dword [edi + 0x10]
add eax, esi
add ebx, esi
mov dword [edi + 0x10], eax
add esp, 0xc
xor eax, eax
mov dword [edi], ebx
inc eax
pop ebx
pop edi
pop esi
leave
ret
Function at 0x45c801
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa94
mov eax, dword [0x4be0a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x1c]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xa88], ecx
mov ecx, dword [ebp + 0x18]
push edi
mov dword [ebp - 0xa84], eax
mov dword [ebp - 0xa80], ecx
mov dword [ebp - 0xa8c], edx
test esi, esi
je 0x45ca26
test eax, eax
jne 0x45c852
test ecx, ecx
je 0x45ca26
movzx eax, word [esi + 2]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp ax, 0x3a
je 0x45c8a8
cmp ax, 0x5c
je 0x45c8a8
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x828], ax
lea eax, [ebp - 0x826]
push eax
call fcn.0047f8f0
add esp, 0xc
lea eax, [ebp - 0x828]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push esi
lea eax, [ebp - 0x828]
push eax
call edi
lea esi, [ebp - 0x828]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45ca26
test al, 0x10
je 0x45ca26
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
lea eax, [ebp - 0x418]
push eax
call ebx
push 0x4a58e8
lea eax, [ebp - 0x418]
push eax
call edi
lea eax, [ebp - 0xa78]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xa90], eax
cmp eax, 0xffffffff
je 0x45ca26
mov dword [ebp - 0xa7c], 1
push 0x4ad830
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x45c9eb
push 0x4ad834
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x45c9eb
cmp dword [ebp - 0xa78], 0xffffffff
je 0x45c9eb
push esi
lea eax, [ebp - 0x210]
push eax
call ebx
lea eax, [ebp - 0xa4c]
push eax
lea eax, [ebp - 0x210]
push eax
call edi
test byte [ebp - 0xa78], 0x10
je 0x45c9cb
cmp dword [ebp - 0xa80], 0
je 0x45c98f
push dword [ebp - 0xa8c]
lea eax, [ebp - 0x210]
push eax
call dword [ebp - 0xa80]
test eax, eax
je 0x45ca08
cmp dword [ebp + 0xc], 0
je 0x45c9eb
push dword [ebp - 0xa8c]
lea eax, [ebp - 0x210]
push dword [ebp - 0xa80]
push dword [ebp - 0xa88]
push dword [ebp - 0xa84]
push dword [ebp + 0xc]
push eax
call fcn.0045c801
push 2
pop ecx
cmp eax, ecx
jne 0x45c9eb
mov dword [ebp - 0xa7c], ecx
jmp 0x45ca12
cmp dword [ebp - 0xa84], 0
je 0x45c9eb
push dword [ebp - 0xa88]
lea eax, [ebp - 0x210]
push eax
call dword [ebp - 0xa84]
test eax, eax
je 0x45ca08
lea eax, [ebp - 0xa78]
push eax
push dword [ebp - 0xa90]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45c90b
jmp 0x45ca12
mov dword [ebp - 0xa7c], 2
push dword [ebp - 0xa90]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0xa7c]
jmp 0x45ca28
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047d444
leave
ret 0x18
Function at 0x45cab6
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x4be0a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
cmp edi, ebx
je 0x45cbb0
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jge 0x45cbb0
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.0047f8f0
add esp, 0xc
lea esi, [ebp - 0x210]
mov ecx, edi
call fcn.0045d31e
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45cb2d
shr eax, 4
not eax
and eax, 1
jmp 0x45cbb2
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea esi, [ebp - 0x418]
call fcn.0045cbc0
test eax, eax
je 0x45cbb0
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x10000000
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x420], eax
cmp eax, ebx
je 0x45cb92
mov dword [ebp - 0x41c], 1
cmp eax, 0xffffffff
jne 0x45cb98
mov dword [ebp - 0x41c], ebx
lea ecx, [ebp - 0x420]
call fcn.00407650
xor eax, eax
cmp byte [ebp - 0x41c], bl
setne al
jmp 0x45cbb2
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0047d444
leave
ret
Function at 0x45cf4c
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x45cf62
xor eax, eax
jmp 0x45cf75
or eax, dword [esp + 0xc]
not esi
and eax, esi
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop esi
ret 8

Function at 0x45d031
Capabilities:
Check if file exists
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ebx, ebx
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x45d05d
call fcn.0045cab6
test eax, eax
jne 0x45d05d
pop edi
pop esi
pop ebx
leave
ret 0xc
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0xc], esi
cmp esi, ebx
je 0x45d07d
cmp esi, 0xffffffff
jne 0x45d095
cmp dword [ebp - 8], ebx
jne 0x45d089
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0xc]
call fcn.00407650
mov eax, ebx
jmp 0x45d056
mov edi, dword [ebp + 0x10]
push ebx
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x45d0b9
cmp dword [ebp - 4], edi
jne 0x45d0b9
xor ebx, ebx
inc ebx
jmp 0x45d089
cmp dword [ebp - 8], ebx
jne 0x45d089
or dword [ebp - 0xc], 0xffffffff
cmp esi, 0xffffffff
je 0x45d0d2
cmp esi, ebx
je 0x45d0d2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
jmp 0x45d083

Function at 0x45d0d7
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor ecx, ecx
cmp dword [esp + 8], ecx
jle 0x45d0ff
push esi
mov edx, dword [esp + 8]
movzx edx, byte [ecx + edx]
movzx esi, al
xor edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x4c1200]
inc ecx
cmp ecx, dword [esp + 0xc]
jl 0x45d0e0
pop esi
not eax
ret 8
Function at 0x45d3cd
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x4be0a0]
xor eax, ebp
mov dword [ebp - 8], eax
movsx eax, byte [ebp + 8]
push ebx
push esi
push edi
push eax
push str.__c:
lea esi, [ebp - 0x60]
call fcn.0045e87b
cmp dword [eax + 0x18], 0x10
pop ecx
pop ecx
jb 0x45d3ff
mov eax, dword [eax + 4]
jmp 0x45d402
add eax, 4
xor esi, esi
push esi
push esi
push 3
push esi
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x40], ebx
call fcn.00403df0
cmp ebx, esi
je 0x45d42d
cmp ebx, 0xffffffff
jne 0x45d447
lea ecx, [ebp - 0x40]
call fcn.00407650
or eax, 0xffffffff
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047d444
leave
ret
push 0x28
pop edx
push 9
pop ecx
xor eax, eax
push esi
mov dword [ebp - 0x3c], edx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
lea eax, [ebp - 0x44]
push eax
push edx
lea eax, [ebp - 0x3c]
push eax
push 0xc
lea eax, [ebp - 0x14]
push eax
push 0x2d1400
push ebx
mov dword [ebp - 0x44], esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x45d493
or esi, 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00407650
mov eax, esi
jmp 0x45d438
mov esi, dword [ebp - 0x20]
jmp 0x45d487

Function at 0x45d498
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4be0a0]
xor eax, ebp
mov dword [ebp - 8], eax
and dword [esi], 0
push ebx
mov ebx, dword [ebp + 8]
push edi
xor eax, eax
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x17], 0x3a
mov byte [ebp - 0x16], 0x5c
lea edi, [ebp - 0x15]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
je 0x45d4dd
cmp eax, 3
je 0x45d4dd
xor eax, eax
inc eax
jmp 0x45d4f5
push ebx
call fcn.0045d3cd
pop ecx
mov ecx, eax
xor eax, eax
cmp ecx, 0xffffffff
je 0x45d4f5
inc eax
cmp ecx, 7
jne 0x45d4f5
mov dword [esi], eax
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop ebx
call fcn.0047d444
leave
ret 4
Function at 0x45d505
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x4be0a0]
xor eax, ebp
mov dword [ebp + 0x19c], eax
push ebx
mov ebx, dword [ebp + 0x1a8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], ebx
test edi, edi
je 0x45d5df
test ebx, ebx
je 0x45d5df
mov esi, str.deviceMup_
push esi
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
cmp eax, edi
jne 0x45d564
push ebx
push 0x4ad8cc
push esi
push edi
call fcn.0045e6a6
xor eax, eax
inc eax
jmp 0x45d5e1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x80], eax
xor ebx, ebx
xor eax, eax
inc eax
mov ecx, ebx
shl eax, cl
mov ecx, dword [ebp - 0x80]
test ecx, eax
je 0x45d5d9
push 0x3a
lea eax, [ebx + 0x61]
mov word [ebp + 0x194], ax
pop eax
mov word [ebp + 0x196], ax
xor eax, eax
push 0x206
lea edi, [ebp + 0x198]
push eax
stosd dword es:[edi], eax
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push eax
call fcn.0047f8f0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jbe 0x45d5d9
push dword [ebp - 0x78]
lea esi, [ebp - 0x74]
call fcn.0045e7a3
test eax, eax
jne 0x45d5fb
inc ebx
cmp ebx, 0x1a
jl 0x45d56f
xor eax, eax
mov ecx, dword [ebp + 0x19c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047d444
add ebp, 0x1a0
leave
ret 4
push dword [ebp - 0x7c]
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x78]
jmp 0x45d55a

Function at 0x45d91a
Capabilities:
Write clipboard data

Disassembly:
push ebx
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ebx, eax
test ebx, ebx
je 0x45d97a
test edi, edi
je 0x45d97a
push esi
push edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x45d979
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x45d972
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x45d972
inc ebx
jmp 0x45d979
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop esi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, ebx
pop ebx
ret
Function at 0x45dd5b
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov eax, dword [0x4be0a0]
xor eax, esp
mov dword [esp + 0x430], eax
mov eax, fcn.0045e197
push esi
test eax, eax
je 0x45dde8
push 0x424
lea eax, [esp + 0x10]
push 0
push eax
call fcn.0047f8f0
add esp, 0xc
push dword [ebp + 8]
mov dword [esp + 0xc], 0x428
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 4], esi
test esi, esi
je 0x45dddf
cmp esi, 0xffffffff
je 0x45dddf
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
jmp 0x45dddb
push edi
lea eax, [esp + 0xc]
push eax
call fcn.0045e197
test eax, eax
je 0x45dddf
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x45ddc1
lea ecx, [esp + 4]
call fcn.00407650
mov ecx, dword [esp + 0x434]
pop esi
xor ecx, esp
call fcn.0047d444
mov esp, ebp
pop ebp
ret 4

Function at 0x45ddfd
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x1b4]
sub esp, 0x234
mov eax, dword [0x4be0a0]
xor eax, ebp
mov dword [ebp + 0x1b0], eax
mov eax, fcn.0045e03b
test eax, eax
je 0x45de84
push esi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x80], esi
test esi, esi
je 0x45de7b
cmp esi, 0xffffffff
je 0x45de7b
push 0x228
lea eax, [ebp - 0x78]
push 0
push eax
mov dword [ebp - 0x7c], 0x22c
call fcn.0047f8f0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x45de77
push edi
lea eax, [ebp - 0x7c]
push eax
call fcn.0045e03b
test eax, eax
je 0x45de7b
lea eax, [ebp - 0x7c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x45de5f
lea ecx, [ebp - 0x80]
call fcn.00407650
pop esi
mov ecx, dword [ebp + 0x1b0]
xor ecx, ebp
call fcn.0047d444
add ebp, 0x1b4
leave
ret

Function at 0x45de99
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
xor esi, esi
push edi
cmp dword [ebp + 8], esi
jne 0x45deac
xor eax, eax
jmp 0x45df05
push 0x40
lea eax, [ebp - 0x58]
push esi
push eax
mov dword [ebp - 0x5c], 0x44
call fcn.0047f8f0
mov dword [ebp - 0x14], esi
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
add esp, 0xc
call fcn.0045c7c7
mov edi, eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x5c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x45defd
push dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.0045c7f4
mov eax, esi
pop edi
pop esi
leave
ret 4