joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46a97c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46a993
add esp, 0xfffffff0
call fcn.00403ed4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423a1c
mov eax, dword [0x4dedfc]
cmp word [eax + 2], 0
jne 0x46a9bb
mov eax, dword [0x4dedfc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046c4d4
mov eax, dword [0x4deee0]
cmp word [eax + 2], 0
jne 0x46a9d5
mov eax, dword [0x4deee0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046c6e0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x417d58]
call fcn.00403b40
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x417d58]
call fcn.00403b40
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x417d58]
call fcn.00403b40
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x4289e0]
call fcn.004307a4
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x46ab8c
mov eax, dword [0x4dece0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00430b78
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46cdb0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4dece0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040dee4
test eax, eax
je 0x46aadc
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409ec0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040df18
test eax, eax
je 0x46aaf0
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404d24
mov byte [ebx + 0xd4], 0
push ebx
push 0x46c01c
call fcn.00424b98
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4deb48]
cmp byte [eax], 0
jne 0x46ab41
mov eax, ebx
call fcn.0046acd0
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0046cf8c
mov eax, ebx
call fcn.0046daec
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46ab81
call fcn.00403f2c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46af50
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4e35b8]
cmp dword [eax + 0x30], 0
je 0x46affa
cmp dword [ebx + 0x94], 0
jne 0x46aff4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46aee0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46aff4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x46afba
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46aff4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041a650
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46afc9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46bd14
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x46bd49
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404ba4
jmp 0x46bd56
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b08
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46d170
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46d1de
mov eax, esi
call fcn.00455cac
test al, al
je 0x46d1de
mov eax, dword [ebx + 0x84]
call fcn.0045590c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46d1de
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x46d1d2
push 0
mov eax, dword [ebx + 0x84]
call fcn.0045590c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0044dc1c
jmp 0x46d1de
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0046cfac
pop esi
pop ebx
ret
Function at 0x474ad0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x474afe
mov eax, ebx
call fcn.00475584
cmp dword [ebx + 0x40], 0
je 0x474af7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x474b6f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x474b61
cmp dword [ebx + 8], 0
je 0x474b20
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x474b32
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x474b61
cmp dword [ebx + 8], 0
je 0x474b13
cmp eax, 3
je 0x474b45
dec eax
jne 0x474b13
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 0x474b13
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x474b13
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x474b8d
cmp dword [ebx + 0x14], 0xcc
je 0x474b8d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00474b98
pop ebx
ret

Function at 0x489594
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042a654
cmp ebx, dword [ebp - 8]
jge 0x4895f7
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042aa84
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042aa84
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042aab0
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4895bd
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x489600
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042a654
cmp ebx, dword [ebp - 8]
jge 0x489663
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042aa84
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042aa84
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042aab0
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x489629
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4bd464
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov byte [ebp - 1], 0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4bd51b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404f78
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jne 0x4bd4a6
call fcn.004044d0
jmp 0x4bd522
mov eax, ebx
call fcn.00402cf4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push ebx
push 0
mov eax, esi
call fcn.00404f78
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x4bd4cf
call fcn.004044d0
jmp 0x4bd522
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4bd530
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x4bd4f0
call fcn.004044d0
jmp 0x4bd522
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov dword [edi], eax
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bd522
mov eax, dword [ebp - 8]
call fcn.00402d10
ret
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4bd77c
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4bd7e4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x164]
xor ecx, ecx
mov edx, 0x160
call fcn.004034ac
test ebx, ebx
jne 0x4bd7b9
mov word [ebp - 2], 0
lea ebx, [ebp - 2]
or esi, 0x4008
push esi
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
push ebx
call sub.shell32.dll_SHGetFileInfoA
mov ebx, dword [ebp - 0x160]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bd7f0
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bdad0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
push 0x4bdc7c
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4bdc74
xor eax, eax
push ebp
push 0x4bdc6d
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 6], 0
push 0x4001
push 0x160
lea eax, [ebp - 0x168]
push eax
push 0
push 0x4bdc88
call sub.shell32.dll_SHGetFileInfoA
mov esi, eax
test esi, esi
jne 0x4bdb48
push 0x4009
push 0x160
lea eax, [ebp - 0x168]
push eax
push 0
lea eax, [ebp - 6]
push eax
call sub.shell32.dll_SHGetFileInfoA
mov esi, eax
push 0x4000
push 0x160
lea eax, [ebp - 0x168]
push eax
push 0
push 0x4bdc88
call sub.shell32.dll_SHGetFileInfoA
mov edi, eax
test edi, edi
jne 0x4bdb89
push 0x4008
push 0x160
lea eax, [ebp - 0x168]
push eax
push 0
lea eax, [ebp - 6]
push eax
call sub.shell32.dll_SHGetFileInfoA
mov edi, eax
push 0x8000
push 0x10
push 0x10
push 1
push 0x1d
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_LoadImageA
mov ebx, eax
push 1
mov edx, ebx
mov eax, esi
call fcn.00426970
push eax
push esi
call sub.comctl32.dll_ImageList_SetOverlayImage
push ebx
call sub.user32.dll_DestroyIcon
push 0x8000
push 0x20
push 0x20
push 1
push 0x1d
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_LoadImageA
mov ebx, eax
push 1
mov edx, ebx
mov eax, edi
call fcn.00426970
push eax
push edi
call sub.comctl32.dll_ImageList_SetOverlayImage
push ebx
call sub.user32.dll_DestroyIcon
push 0x8000
push 0x10
push 0x10
push 1
push 0x1e
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_LoadImageA
mov ebx, eax
push 2
mov edx, ebx
mov eax, esi
call fcn.00426970
push eax
push esi
call sub.comctl32.dll_ImageList_SetOverlayImage
push ebx
call sub.user32.dll_DestroyIcon
push 0x8000
push 0x20
push 0x20
push 1
push 0x1e
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_LoadImageA
mov ebx, eax
push 2
mov edx, ebx
mov eax, edi
call fcn.00426970
push eax
push edi
call sub.comctl32.dll_ImageList_SetOverlayImage
push ebx
call sub.user32.dll_DestroyIcon
mov byte [0x4dea10], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bdc74
cmp dword [ebp - 4], 0
je 0x4bdc6c
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4bdc8c
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffe9c
mov ebx, eax
call fcn.004bd458
test al, al
je 0x4bdcb9
cmp dword [0x4e36ac], 0x40047
jl 0x4bdcb9
cmp byte [0x4dea10], 0
jne 0x4bdcb9
call fcn.004bdad0
mov esi, ebx
and esi, 0x7f
mov eax, dword [esi*4 + 0x4dea14]
or eax, 0x4000
push eax
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
push 0x4bdd1c
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
jne 0x4bdd11
mov word [esp], 0
mov eax, dword [esi*4 + 0x4dea14]
or eax, 0x4000
or eax, 8
push eax
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
lea eax, [esp + 0x10]
push eax
call sub.shell32.dll_SHGetFileInfoA
add esp, 0x164
pop esi
pop ebx
ret
Function at 0x4c7788
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4c7790
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4c78dd
push dword fs:[eax]
mov dword fs:[eax], esp
test dl, dl
je 0x4c77e6
lea edx, [ebp - 4]
mov eax, dword [0x4debe0]
call fcn.00406b80
cmp ebx, 1
jbe 0x4c781d
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, 0x4c78f4
call fcn.0040a59c
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.00404d80
jmp 0x4c781d
lea eax, [ebp - 4]
mov edx, 0x4c7904
call fcn.00404b4c
cmp ebx, 1
jbe 0x4c781d
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, 0x4c7914
call fcn.0040a59c
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 4]
call fcn.00404d80
push 0
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 4]
call fcn.00404dc4
mov eax, dword [ebp - 0x18]
call fcn.00404f78
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x4c78a5
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0xb7
jne 0x4c7855
mov bl, 1
jmp 0x4c78b5
push 0
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x20]
mov eax, ebx
call fcn.0040c770
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [0x4def50]
call fcn.00406b80
mov eax, dword [ebp - 0x24]
mov ecx, 1
pop edx
call fcn.004beab8
mov eax, dword [ebp - 0x1c]
movzx ecx, word [0x4c7918]
xor edx, edx
call fcn.0043f028
mov bl, 2
jmp 0x4c78b5
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp - 4]
call fcn.00404b08
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c78e4
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.00404ad8
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404ad8
ret

Function at 0x4c7f58
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffea0
mov ebx, ecx
mov esi, eax
test edx, 0x40000000
jne 0x4c7f7a
mov edx, ebx
mov eax, dword [0x4def4c]
call fcn.00406b80
jmp 0x4c7fb1
push 0x408
push 0x160
lea eax, [esp + 8]
push eax
push 0
push esi
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x4c7faa
mov eax, ebx
lea edx, [esp + 0x110]
mov ecx, 0x50
call fcn.00404d24
jmp 0x4c7fb1
mov eax, ebx
call fcn.00404ab4
add esp, 0x160
pop esi
pop ebx
ret
Function at 0x4c8934
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x158], ebx
mov ebx, ecx
test ebx, ebx
js 0x4c8967
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x4c8960
mov edx, esp
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
call fcn.00404f68
mov ecx, dword [ebp - 0xc]
inc ecx
mov eax, dword [ebp - 4]
mov edx, dword [0x4010bc]
call fcn.0040580c
xor eax, eax
push ebp
push 0x4c8af5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
test eax, eax
jl 0x4c8abd
inc eax
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x154]
push eax
push dword [ebp - 8]
push 0x4c8b1c
push dword [esi]
lea eax, [ebp - 0x158]
mov edx, 3
call fcn.00404e38
mov eax, dword [ebp - 0x158]
call fcn.00404f78
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4c8ab1
mov eax, dword [ebp - 0x154]
test al, 0x10
jne 0x4c8a96
test al, 2
jne 0x4c8a96
xor eax, eax
mov dword [ebp - 0x10], eax
push dword [ebp - 8]
push 0x4c8b1c
lea eax, [ebp - 0x160]
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.00404d24
push dword [ebp - 0x160]
lea eax, [ebp - 0x15c]
mov edx, 3
call fcn.00404e38
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x10]
call fcn.004bd5e0
call fcn.00407d54
test al, al
je 0x4c8a54
or edi, 0xffffffff
jmp 0x4c8a63
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.004bd77c
mov edi, eax
mov eax, dword [ebp - 0x10]
call fcn.004bd544
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.00404d24
mov edx, dword [ebp - 0x164]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax]
mov ecx, edi
mov edi, dword [eax]
call dword [edi + 0x3c]
lea eax, [ebp - 0x154]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x4c89e9
push ebx
call sub.kernel32.dll_FindClose_1
add esi, 4
dec dword [ebp - 0x14]
jne 0x4c89ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c8afc
lea eax, [ebp - 0x164]
mov edx, 4
call fcn.00404ad8
lea eax, [ebp - 8]
call fcn.00404ab4
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
inc ecx
mov edx, dword [0x4010bc]
call fcn.004056cc
ret
Function at 0x4c9c5c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4c9cf3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x700f0037
mov eax, dword [0x4df090]
cmp dword [eax + 4], 0x60000
jl 0x4c9c94
or dword [ebp - 8], 0x400000
lea edx, [ebp - 4]
mov eax, ebx
call fcn.004c9d88
mov eax, dword [ebp - 4]
call fcn.004c7b0c
test al, al
je 0x4c9cc4
mov eax, dword [ebp - 4]
call fcn.00404f78
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
jne 0x4c9cc4
and dword [ebp - 8], 0xfffbffff
lea eax, [ebp - 8]
push eax
lea eax, [ebx + 0xc]
push eax
push 1
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x458]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c9cfa
lea eax, [ebp - 4]
call fcn.00404ab4
ret

Function at 0x4cd7d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.00404f78
push eax
call sub.kernel32.dll_GetDriveTypeA
sub eax, 3
je 0x4cd812
dec eax
je 0x4cd7f3
sub eax, 2
je 0x4cd812
jmp 0x4cd823
movzx eax, byte [ebx]
call fcn.004bef5c
test al, al
je 0x4cd823
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, ebx
mov si, 0xff9e
call fcn.00403d6c
jmp 0x4cd823
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, ebx
mov si, 0xff9e
call fcn.00403d6c
pop esi
pop ebx
pop ebp
ret

Function at 0x4cd828
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4cd8d7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x428], 0
jne 0x4cd876
push 0x465
mov eax, dword [ebp - 4]
call fcn.0045590c
mov ecx, eax
mov dl, 1
mov eax, dword [0x4c9f24]
call fcn.004c9f90
mov edx, dword [ebp - 4]
mov dword [edx + 0x428], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
call fcn.004ca458
lea eax, [ebp - 8]
mov edx, 0x4cd8ec
call fcn.00404b4c
call sub.kernel32.dll_GetLogicalDrives
mov ebx, eax
xor esi, esi
test ebx, ebx
je 0x4cd8c1
test bl, 1
je 0x4cd8ba
lea eax, [ebp - 8]
call fcn.00404fd0
lea edx, [esi + 0x41]
mov byte [eax], dl
push ebp
mov eax, dword [ebp - 8]
call fcn.004cd7d0
pop ecx
shr ebx, 1
inc esi
test ebx, ebx
jne 0x4cd89e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cd8de
lea eax, [ebp - 8]
call fcn.00404ab4
ret
Function at 0x4ce474
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x154], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404f68
xor eax, eax
push ebp
push 0x4ce592
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4ce565
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
or eax, 1
push eax
call sub.kernel32.dll_SetErrorMode
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebp - 4]
call fcn.00404f78
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4ce542
test byte [ebp - 0x14c], 0x10
jne 0x4ce525
lea eax, [ebp - 0x154]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00404d24
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x150]
call fcn.00409000
mov edx, dword [ebp - 0x150]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x14c]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x4ce4e8
push ebx
call sub.kernel32.dll_FindClose_1
mov byte [ebp - 5], 1
jmp 0x4ce54e
call sub.kernel32.dll_GetLastError
cmp eax, 2
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ce56c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x4d3170
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, eax
movzx eax, byte [ebx + 4]
sub al, 1
jb 0x4d317f
je 0x4d3184
jmp 0x4d31a8
mov eax, dword [ebx + 8]
pop ebx
ret
cmp dword [ebx + 8], 0
jne 0x4d31a3
lea eax, [ebx + 8]
push eax
movzx eax, byte [ebx + 0xc]
push eax
mov eax, dword [0x4deeb8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, dword [ebx + 8]
pop ebx
ret
xor eax, eax
pop ebx
ret
Function at 0x404fe4
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
lea eax, [edi + 1]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
xor ebx, ebx
cmp ebp, ebx
je 0x405088
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
cmp esi, ebx
je 0x405088
push edi
push dword [esp + 0x18]
push esi
call fcn.00429460
add esp, 0xc
mov byte [esi + edi], bl
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [esp + 0x1c], ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, 0x2402
jne 0x405049
push ebx
push 1
push edi
push dword [0x4449a8]
call esi
push dword [0x4449a8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x405070
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebp
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x405077
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [esp + 0x1c], ebx
jne 0x405088
push ebx
push ebx
push edi
push dword [0x4449a8]
call esi
pop edi
pop esi
pop ebp
pop ebx
ret