joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48270c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00450da4
test al, al
je 0x482861
lea edx, [ebp - 0x20]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00450aa0
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetUpdateRect
test eax, eax
je 0x482778
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_EqualRect
test eax, eax
je 0x482778
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0047fa80
jmp 0x482861
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetDC
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x48284f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0xc], eax
mov edi, dword [ebp - 0x14]
push edi
mov esi, dword [ebp - 0x18]
push esi
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_SelectObject
push 0
push 0
push 0x85
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SendMessageA
push 0
mov ebx, dword [ebp - 0xc]
push ebx
push 0x14
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SendMessageA
push 0
push ebx
push 0xf
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SendMessageA
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
push edi
push esi
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_BitBlt
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482856
cmp dword [ebp - 0xc], 0
je 0x482832
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_DeleteDC
cmp dword [ebp - 0x10], 0
je 0x482841
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ReleaseDC
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a0220
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a02f8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x66421c], 0
jne 0x4a02dc
lea eax, [ebp - 4]
mov edx, 0x4a0310
call fcn.004048f4
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404d0c
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4a02dc
mov eax, ebx
call fcn.004027ac
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4a02d5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4a02bf
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4a0320
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4a02bf
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x66421c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a02dc
mov eax, dword [ebp - 0xc]
call fcn.004027cc
ret
mov ebx, dword [0x66421c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a02ff
lea eax, [ebp - 4]
call fcn.0040485c
ret

Function at 0x4d6920
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x660138]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4d6946
push 0
mov eax, dword [0x660138]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret
Function at 0x4d6f20
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4189d4]
call fcn.004052e4
xor eax, eax
push ebp
push 0x4d7064
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x64f858], 0
jne 0x4d6f73
mov ecx, dword [0x65fc8c]
mov dl, 1
mov eax, dword [0x408404]
call fcn.0040cec8
call fcn.00404238
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403234
mov eax, ebx
call fcn.004050ec
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4d7074
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004067c4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004050fc
test eax, eax
jle 0x4d700b
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.KERNEL32.DLL_GetComputerNameA
test eax, eax
je 0x4d7004
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404adc
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404ac4
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00409250
test eax, eax
jne 0x4d7004
mov ebx, 0x15
jmp 0x4d7010
mov ebx, 0x10
jmp 0x4d7010
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x64f858]
call fcn.004d6e1c
mov eax, dword [ebp - 8]
call fcn.004d6e1c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004067dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d706b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404880
lea eax, [ebp - 0x10]
mov edx, dword [0x4189d4]
call fcn.004053b4
ret
Function at 0x4d9b44
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x48], 0
je 0x4d9b55
mov eax, ebx
call fcn.004d9c6c
cmp dword [ebx + 0x30], 0
je 0x4d9c1a
test byte [ebx + 0x1c], 0x10
jne 0x4d9c1a
push 0
push 0
push 0
call fcn.00407068
mov esi, eax
mov dword [ebx + 0x40], esi
test esi, esi
jne 0x4d9b93
mov ecx, 0x4d9c28
mov dl, 1
mov eax, dword [0x408404]
call fcn.0040ce0c
call fcn.00404238
push 0xffffffffffffffff
mov eax, dword [ebx + 0x40]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
mov eax, 0x118
call fcn.004027ac
mov esi, eax
mov dword [ebx + 0x3c], esi
mov eax, dword [ebx + 0x38]
mov dword [esi], eax
mov eax, dword [ebx + 0x40]
mov dword [esi + 4], eax
mov eax, dword [ebx + 0x34]
mov dword [esi + 0x110], eax
mov al, byte [ebx + 0x44]
mov byte [esi + 0x114], al
mov eax, dword [ebx + 0x30]
call fcn.00404d0c
mov edx, eax
lea eax, [esi + 8]
call fcn.00409e3c
lea eax, [ebx + 0x4c]
push eax
push 0
mov eax, dword [ebx + 0x3c]
push eax
push 0x4d9a84
push 0
push 0
call sub.KERNEL32.DLL_CreateThread
mov esi, eax
mov dword [ebx + 0x48], esi
test esi, esi
jne 0x4d9c13
mov ecx, 0x4d9c4c
mov dl, 1
mov eax, dword [0x408404]
call fcn.0040ce0c
call fcn.00404238
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x34]
pop esi
pop ebx
ret

Function at 0x4daa04
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x14], 0x64f8f4
xor edx, edx
push ebp
push 0x4daa84
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x4daa7a
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
mov eax, dword [0x6643a8]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
test eax, eax
jne 0x4daa6b
mov al, byte [ebp - 0xd]
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4daa9b
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x6643a4]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4daa8e
inc byte [ebp - 0xd]
add dword [ebp - 0x14], 4
cmp byte [ebp - 0xd], 0x25
jne 0x4daa1f
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4db270
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4db337
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push dword [ebx + 0x8c]
push dword [ebx + 0x88]
push 0
lea eax, [ebp - 4]
mov ecx, 0x4db350
mov edx, dword [ebx + 8]
call fcn.00404b60
mov eax, dword [ebp - 4]
push eax
xor ecx, ecx
mov dx, word [ebx + 0x60]
mov eax, dword [ebx + 0x30]
call fcn.0045bc44
mov esi, eax
mov dl, byte [ebx + 0x48]
mov eax, esi
call fcn.004590b8
mov dl, byte [ebx + 0x38]
mov eax, esi
call fcn.00459138
mov dl, byte [ebx + 0x3a]
mov eax, esi
call fcn.00459380
mov dl, byte [ebx + 0x39]
mov eax, esi
call fcn.0045918c
mov dl, byte [ebx + 0x3f]
mov eax, esi
call fcn.00459204
mov eax, dword [ebx + 0x54]
mov dword [esi + 0x54], eax
mov dl, byte [ebx + 0x3d]
mov eax, esi
call fcn.0045982c
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov dl, byte [ebx + 0x3e]
mov eax, esi
call fcn.004592a8
mov edx, dword [ebx + 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, dword [ebx + 0x40]
mov eax, esi
call fcn.004592b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4db33e
lea eax, [ebp - 4]
call fcn.0040485c
ret
Function at 0x4dc198
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404cfc
xor eax, eax
push ebp
push 0x4dc2cd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x30]
call fcn.00404d0c
push eax
mov eax, dword [ebp - 4]
call fcn.00404d0c
pop edx
call fcn.00409f2c
test eax, eax
jne 0x4dc1ed
mov eax, dword [ebp - 4]
call fcn.00404b14
test eax, eax
jg 0x4dc2aa
lea eax, [ebp - 0xc]
mov edx, dword [ebx + 0x30]
call fcn.004048f4
lea eax, [ebx + 0x30]
mov edx, dword [ebp - 4]
call fcn.004048b0
mov eax, dword [ebx + 0x30]
call fcn.00404b14
test eax, eax
jne 0x4dc224
lea eax, [ebp - 8]
push eax
push 0x11
mov eax, ebx
call fcn.004daf18
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
jmp 0x4dc231
mov edx, dword [ebx + 0x30]
xor eax, eax
call fcn.004da948
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4dc266
lea eax, [ebx + 0x30]
mov edx, dword [ebp - 0xc]
call fcn.004048b0
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, 0x4dc2e4
call fcn.00404b60
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x4da398]
call fcn.0040ce0c
call fcn.00404238
mov eax, dword [ebx + 0x30]
call fcn.00404b14
test eax, eax
jle 0x4dc291
mov eax, dword [ebx + 0x30]
call fcn.00404b14
mov edx, dword [ebx + 0x30]
cmp byte [edx + eax - 1], 0x5c
je 0x4dc291
lea eax, [ebx + 0x30]
mov edx, 0x4dc304
call fcn.00404b1c
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004dc308
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x6643a4]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dc2d4
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404880
lea eax, [ebp - 4]
call fcn.0040485c
ret

Function at 0x4dc888
Capabilities:
Get file system object information

Disassembly:
push ebx
add esp, 0xfffffea0
mov ebx, eax
push 0x4009
push 0x160
lea eax, [esp + 8]
push eax
push 0
mov eax, ebx
call fcn.004dc0e4
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [esp + 4]
add esp, 0x160
pop ebx
ret

Function at 0x4dc8bc
Capabilities:
Get file system object information

Disassembly:
push ebx
add esp, 0xfffffea0
mov ebx, eax
push 0x400b
push 0x160
lea eax, [esp + 8]
push eax
push 0
mov eax, ebx
call fcn.004dc0e4
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [esp + 4]
add esp, 0x160
pop ebx
ret

Function at 0x4dcac4
Capabilities:
Get file system object information

Disassembly:
add esp, 0xfffffe9c
mov word [esp], 0
push 0x4009
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
lea eax, [esp + 0x10]
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [esp + 8]
add esp, 0x164
ret

Function at 0x4dcbd4
Capabilities:
Get file system object information

Disassembly:
push ebx
add esp, 0xfffffe9c
mov ebx, edx
mov word [esp], 0
push 0x208
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
lea eax, [esp + 0x10]
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, ebx
lea edx, [esp + 0x10]
mov ecx, 0x104
call fcn.00404ac4
add esp, 0x164
pop ebx
ret
Function at 0x4dd1ac
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404cfc
xor eax, eax
push ebp
push 0x4dd237
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x68], 1
jne 0x4dd1fa
push 0x4000
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00404d0c
push eax
call sub.shell32.dll_SHGetFileInfoA
jmp 0x4dd21b
push 0x4001
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00404d0c
push eax
call sub.shell32.dll_SHGetFileInfoA
mov ebx, dword [ebp - 0x160]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dd23e
lea eax, [ebp - 4]
call fcn.0040485c
ret

Function at 0x4dd28c
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
mov ebx, eax
cmp byte [ebx + 0x68], 0
jne 0x4dd2c6
push 0x4001
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
push 0x4dd35c
call sub.shell32.dll_SHGetFileInfoA
mov edx, eax
mov eax, ebx
call fcn.0045c5fc
jmp 0x4dd2ec
push 0x4000
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
push 0x4dd35c
call sub.shell32.dll_SHGetFileInfoA
mov edx, eax
mov eax, ebx
call fcn.0045c5fc
mov eax, ebx
call fcn.004dd360
test al, al
jne 0x4dd355
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4469a0]
call fcn.0045c2a0
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4dd34e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x42], 1
mov eax, ebx
call fcn.0045c638
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.0045c5fc
mov edx, dword [ebp - 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dd355
mov eax, dword [ebp - 4]
call fcn.00403a6c
ret
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4dde3c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe90
push ebx
xor ebx, ebx
mov dword [ebp - 0x170], ebx
mov dword [ebp - 0x16c], ebx
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404cfc
lea ebx, [ebp - 0x158]
xor eax, eax
push ebp
push 0x4de09e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x15c]
push eax
mov eax, dword [ebp - 8]
call fcn.00404b14
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 8]
call fcn.00404d6c
mov eax, dword [ebp - 0x15c]
mov edx, 0x4de0b4
call fcn.00404c58
jne 0x4ddee0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00404b14
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00404d6c
mov eax, dword [ebp + 8]
call fcn.0040485c
mov byte [ebp - 0x15], 1
push ebx
lea eax, [ebp - 0x160]
mov ecx, 0x4de0c0
mov edx, dword [ebp - 8]
call fcn.00404b60
mov eax, dword [ebp - 0x160]
call fcn.00404d0c
push eax
call sub.KERNEL32.DLL_FindFirstFileA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x4de060
xor eax, eax
push ebp
push 0x4de016
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x164]
lea edx, [ebx + 0x2c]
mov ecx, 0x104
call fcn.00404ac4
mov eax, dword [ebp - 0x164]
mov edx, 0x4de0cc
call fcn.00404c58
je 0x4ddfed
lea eax, [ebp - 0x168]
lea edx, [ebx + 0x2c]
mov ecx, 0x104
call fcn.00404ac4
mov eax, dword [ebp - 0x168]
mov edx, 0x4de0d8
call fcn.00404c58
je 0x4ddfed
push dword [ebp - 8]
push 0x4de0b4
lea eax, [ebp - 0x16c]
lea edx, [ebx + 0x2c]
mov ecx, 0x104
call fcn.00404ac4
push dword [ebp - 0x16c]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404bd4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call fcn.00409138
test eax, eax
je 0x4ddfed
cmp byte [ebp - 0x15], 0
je 0x4ddfcc
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004de0dc
test al, al
jne 0x4ddfd0
xor eax, eax
jmp 0x4ddfd2
mov al, 1
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0
jne 0x4ddfed
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.004048b0
call fcn.004042e4
jmp 0x4de060
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_FindNextFileA
test eax, eax
jne 0x4ddf2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4de01d
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_FindClose
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4de0a5
lea eax, [ebp - 0x170]
mov edx, 4
call fcn.00404880
lea eax, [ebp - 0x160]
mov edx, 2
call fcn.00404880
lea eax, [ebp - 0x14]
call fcn.0040485c
lea eax, [ebp - 8]
call fcn.0040485c
ret
Function at 0x4de98c
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x158], ebx
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 8], ebx
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404cfc
xor eax, eax
push ebp
push 0x4dec03
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebp - 4]
call fcn.00404b14
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 4]
call fcn.00404d6c
mov eax, dword [ebp - 0x14c]
mov edx, 0x4dec1c
call fcn.00404c58
jne 0x4dea36
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
call fcn.00404b14
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404d6c
mov eax, dword [ebp - 4]
mov edx, edi
call fcn.00404c58
je 0x4debc8
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x150]
mov ecx, 0x4dec28
mov edx, dword [ebp - 4]
call fcn.00404b60
mov eax, dword [ebp - 0x150]
call fcn.00404d0c
push eax
call sub.KERNEL32.DLL_FindFirstFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4debc8
lea eax, [ebp - 0x154]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00404ac4
mov eax, dword [ebp - 0x154]
mov edx, 0x4dec34
call fcn.00404c58
je 0x4deb5b
lea eax, [ebp - 0x158]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00404ac4
mov eax, dword [ebp - 0x158]
mov edx, 0x4dec40
call fcn.00404c58
je 0x4deb5b
push dword [ebp - 4]
push 0x4dec1c
lea eax, [ebp - 0x15c]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00404ac4
push dword [ebp - 0x15c]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404bd4
lea edx, [ebp - 0x160]
mov eax, dword [ebp - 8]
call fcn.00409070
mov eax, dword [ebp - 0x160]
push eax
lea edx, [ebp - 0x164]
mov eax, edi
call fcn.00409070
mov edx, dword [ebp - 0x164]
pop eax
call fcn.00404c58
je 0x4deb5b
mov eax, dword [ebp - 0x148]
and eax, 0x10
cmp eax, 0x10
jne 0x4deb50
lea eax, [ebp - 8]
mov edx, 0x4dec28
call fcn.00404b1c
mov edx, dword [ebp - 8]
mov eax, dword [esi + 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x148]
push eax
push ebx
call sub.KERNEL32.DLL_FindNextFileA
test eax, eax
jne 0x4dea7c
push ebx
call sub.KERNEL32.DLL_FindClose
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004048f4
lea edx, [ebp - 8]
mov eax, esi
call fcn.004de764
mov edx, dword [ebp - 8]
mov eax, dword [esi + 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jle 0x4deba6
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
call fcn.004048b0
jmp 0x4debc8
mov eax, dword [ebp + 8]
push eax
lea edx, [ebp - 0x168]
mov eax, dword [ebp - 4]
call fcn.00409ab8
mov edx, dword [ebp - 0x168]
mov ecx, dword [ebp - 4]
mov eax, esi
call fcn.004de98c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dec0a
lea eax, [ebp - 0x168]
mov edx, 6
call fcn.00404880
lea eax, [ebp - 0x150]
mov edx, 2
call fcn.00404880
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404880
ret
Function at 0x4df064
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x148], ecx
mov esi, edx
mov ebx, eax
lea edi, [ebp - 0x144]
xor eax, eax
push ebp
push 0x4df19c
push dword fs:[eax]
mov dword fs:[eax], esp
push edi
lea eax, [ebp - 0x148]
mov ecx, 0x4df1b4
mov edx, esi
call fcn.00404b60
mov eax, dword [ebp - 0x148]
call fcn.00404d0c
push eax
call sub.KERNEL32.DLL_FindFirstFileA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x4df173
xor eax, eax
push ebp
push 0x4df16c
push dword fs:[eax]
mov dword fs:[eax], esp
test dword [edi], 0x10
jbe 0x4df132
cmp byte [edi + 0x2c], 0x2e
jne 0x4df0f4
mov al, byte [edi + 0x2d]
test al, al
je 0x4df147
sub al, 0x2e
je 0x4df147
push esi
lea eax, [ebp - 0x150]
lea edx, [edi + 0x2c]
mov ecx, 0x104
call fcn.00404ac4
push dword [ebp - 0x150]
push 0x4df1c0
lea eax, [ebp - 0x14c]
mov edx, 3
call fcn.00404bd4
mov edx, dword [ebp - 0x14c]
mov eax, ebx
call fcn.004df064
jmp 0x4df147
mov eax, dword [edi + 0x1c]
mov edx, eax
neg eax
add eax, dword [edi + 0x20]
xor edx, edx
add dword [ebx + 0x38], eax
adc dword [ebx + 0x3c], edx
inc dword [ebx + 0x40]
push edi
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_FindNextFileA
test eax, eax
jne 0x4df0db
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4df173
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_FindClose
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4df1a3
lea eax, [ebp - 0x150]
call fcn.0040485c
lea eax, [ebp - 0x14c]
mov edx, 2
call fcn.00404880
ret

Function at 0x4e6a9c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404d0c
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
setne al
pop ebx
ret

Function at 0x4e9c04
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e9cd2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
push 0xd
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4e9c8b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0xc], 0
je 0x4e9c5e
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004050a0
jmp 0x4e9c66
mov eax, dword [ebp - 8]
call fcn.00404f80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e9c92
cmp dword [ebp - 0xc], 0
je 0x4e9c82
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret