joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10020600
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24c
mov eax, dword [0x1005d500]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
lea eax, [esp + 0x154]
push eax
mov dword [esp + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str..
lea ecx, [esp + 0x154]
push ecx
call esi
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1002071a
push 0x10053590
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x10020706
push 0x100546a0
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x10020706
push edi
lea eax, [esp + 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x1005343c
lea ecx, [esp + 0x154]
push ecx
call esi
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x154]
push eax
call esi
test byte [esp + 0x10], 0x10
je 0x100206de
lea ecx, [esp + 0x150]
push ecx
mov ecx, dword [esp + 0x10]
call fcn.10020600
lea ecx, [esp + 0x10]
push ecx
jmp 0x1002070b
push 0x80
lea edx, [esp + 0x154]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x10]
push ecx
jmp 0x1002070b
lea edx, [esp + 0x10]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10020666
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, dword [esp + 0x254]
pop edi
cmp eax, 1
pop esi
sete al
pop ebx
xor ecx, esp
call fcn.10034caa
mov esp, ebp
pop ebp
ret 4
Function at 0x10020aa0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004c55b
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x1005d500]
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
xor ebx, ebx
mov edi, 0xf
mov esi, ecx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x120], ebx
mov byte [ebp - 0x130], bl
push 0x103
lea eax, [ebp - 0x113]
push ebx
mov dword [ebp - 4], ebx
push eax
mov byte [ebp - 0x114], bl
call fcn.10037db0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x114]
push ecx
push str.TEMP
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x10020b3f
call fcn.10020f30
cmp dword [ebp - 0x11c], 0x10
jb 0x10020b8f
mov edx, dword [ebp - 0x130]
push edx
jmp 0x10020b87
lea eax, [ebp - 0x114]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10020b48
sub eax, edx
push eax
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x130]
call fcn.100028f0
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
lea edi, [ebp - 0x130]
mov byte [esi], bl
call fcn.100029f0
cmp dword [ebp - 0x11c], 0x10
jb 0x10020b8f
mov ecx, dword [ebp - 0x130]
push ecx
call fcn.10032d10
add esp, 4
mov eax, esi
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.10034caa
mov esp, ebp
pop ebp
ret
Function at 0x10020ee0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [eax + 0x14], 0x10
jb 0x10020eeb
mov eax, dword [eax]
push esi
push 0x100546c0
push eax
call fcn.100355d5
mov esi, eax
add esp, 8
test esi, esi
jne 0x10020f07
xor al, al
pop esi
pop ebp
ret 4
mov eax, dword [ebp + 8]
push edi
push esi
push ebx
push 1
push eax
call fcn.10035c6e
push esi
mov edi, eax
call fcn.1003523e
add esp, 0x14
xor eax, eax
cmp edi, ebx
pop edi
sete al
pop esi
pop ebp
ret 4

Function at 0x10020f30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1005fbf4]
push ebx
xor ebx, ebx
cmp dword [0x1005fc08], 0x10
mov dword [ebp - 0x110], ebx
mov byte [ebp - 0x108], bl
mov byte [ebp - 0x109], bl
jae 0x10020f6b
mov eax, 0x1005fbf4
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x10020fc0
cmp dword [0x1005fc24], 0x10
mov eax, dword [0x1005fc10]
jae 0x10020f8c
mov eax, 0x1005fc10
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x10020fb1
lea ecx, [ebp - 0x108]
push ecx
push ebx
push ebx
push 0x23
push ebx
call eax
test eax, eax
js 0x10020fb1
mov byte [ebp - 0x109], 1
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp byte [ebp - 0x109], bl
jne 0x10020fe8
push 0x104
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x10020fe8
push str.All_UsersApplication_Data
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x108]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
lea edx, [eax + 1]
pop edi
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10021000
sub eax, edx
push eax
lea ecx, [ebp - 0x108]
push ecx
mov ecx, esi
call fcn.100028f0
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
pop ebx
call fcn.10034caa
mov esp, ebp
pop ebp
ret
Function at 0x10023aa0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004e838
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x1005d500]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.100242d0
mov dword [esp + 0x1c], vtable.WTL::CMessageLoop.0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x60], ebx
mov edi, dword [0x100a20fc]
lea eax, [esp + 0x1c]
add edi, 0x10
push edi
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x10061c14]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], eax
call fcn.100241f0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xc]
xor esi, esi
cmp eax, 7
jne 0x10023b5a
push eax
call fcn.10002860
add esp, 4
push ecx
call fcn.10023c70
jmp 0x10023b6e
cmp eax, 8
jne 0x10023b7d
push eax
call fcn.10002860
add esp, 4
push ecx
call fcn.10023c70
lea edi, [esp + 0x1c]
mov esi, eax
call fcn.10024130
mov dword [esp + 0x14], eax
call fcn.10023fe0
call fcn.10023d30
mov edi, dword [0x10061c14]
cmp edi, ebx
je 0x10023bc1
mov eax, dword [edi]
cmp eax, ebx
je 0x10023ba2
push eax
call fcn.1003582c
add esp, 4
mov dword [edi], ebx
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x10023bb5
push eax
call fcn.1003582c
add esp, 4
mov dword [edi + 4], ebx
push edi
mov dword [edi + 8], ebx
call fcn.10032d10
add esp, 4
call fcn.10023db0
cmp esi, ebx
je 0x10023bd4
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x10023bef
push eax
call fcn.1003582c
add esp, 4
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
cmp eax, ebx
je 0x10023c08
push eax
call fcn.1003582c
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100255f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [esi + 0x20]
push eax
push 0x10060380
mov ebx, 0x100600f0
mov dword [ebp - 4], edi
call fcn.100211d0
add esp, 8
movzx ebx, ax
mov ecx, 0x1005fdb4
test edi, edi
je 0x10025620
mov ecx, edi
push ecx
mov eax, esp
push 0x40304
push 0x80ca0000
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], ecx
mov eax, esi
call fcn.10025de0
mov ecx, dword [0x10060388]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push 0xc
mov dword [ebp - 4], ecx
call ebx
push eax
push 0xb
call ebx
mov edx, dword [ebp - 4]
push eax
push 1
push 0x6a
push edx
call dword [sym.imp.USER32.dll_LoadImageA]
push eax
mov eax, dword [esi + 4]
push 1
push 0x80
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x10060388]
push 0
push 0x32
mov dword [ebp - 4], ecx
call ebx
push eax
push 0x31
call ebx
mov edx, dword [ebp - 4]
push eax
push 1
push 0x6a
push edx
call dword [sym.imp.USER32.dll_LoadImageA]
push eax
mov eax, dword [esi + 4]
push 0
push 0x80
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongA]
push 0xffffffffffffffec
push ecx
call ebx
mov edx, dword [esi + 4]
push eax
push 0
push 0xfffffffffffffff0
push edx
call ebx
push eax
push edi
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [edi + 4]
mov edx, dword [edi + 0xc]
mov ecx, dword [edi]
push 1
sub edx, eax
push edx
mov edx, dword [edi + 8]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 4]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, esi
mov edx, dword [ecx + 0x3c]
mov eax, dword [edx + 0xc]
cmp eax, 7
je 0x1002570b
cmp eax, 8
je 0x1002570b
lea ecx, [esi + 4]
call fcn.10026080
jmp 0x10025717
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esi + 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10025c70
Capabilities:
Get common file path
Get disk information

Disassembly:
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FlushViewOfFile]
push str.asdf
push 0
push 0
push str.asdf
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov eax, dword [esi + 0x3c]
cmp dword [eax + 0x18], 0
je 0x10025ce3
mov ecx, dword [eax + 0xc]
cmp ecx, 7
je 0x10025ce3
cmp ecx, 8
je 0x10025ce3
mov eax, dword [esi + 4]
push 0x4653
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov dword [0x10061a98], 0
mov dword [esi + 0x40], 0
xor eax, eax
ret
mov eax, dword [eax + 0xc]
cmp eax, 7
je 0x10025d09
cmp eax, 8
je 0x10025d09
mov edx, dword [esi + 4]
push 0x4653
push 0
push 0
push 0
push 0
push 1
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [0x10061a98], 0
mov dword [esi + 0x40], 0
xor eax, eax
ret
Function at 0x10026720
Capabilities:
Delete directory
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004bc78
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
push str.djbv
mov dword [ebp - 0x58], eax
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
push ebx
push ebx
push ebx
push ebx
push ebx
push str.dfgd0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebx
push ebx
push ebx
push ebx
push str.sdfe
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push str.shjt
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push ebx
push ebx
push ebx
push ebx
push str.pigf
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ebx
push 0x10054924
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
mov ecx, dword [edi + 8]
sub ecx, dword [edi + 4]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp - 0x54], ebx
test ecx, ecx
jle 0x10026890
mov dword [ebp - 0x50], ebx
mov esi, dword [edi + 4]
add esi, dword [ebp - 0x50]
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
call fcn.10002de0
push 0xffffffffffffffff
mov dword [ebp - 4], ebx
push ebx
add esi, 0x1c
push esi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
call fcn.10002de0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c]
mov esi, 0x10
cmp dword [ebp - 0x38], esi
jae 0x10026820
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x3c]
push edx
push eax
mov eax, dword [ebp - 0x58]
push eax
xor eax, eax
call fcn.1000b5e0
cmp eax, 0xffffffff
jne 0x100268af
cmp dword [ebp - 0x1c], esi
jb 0x10026846
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.10032d10
add esp, 4
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
cmp dword [ebp - 0x38], esi
jb 0x10026864
mov edx, dword [ebp - 0x4c]
push edx
call fcn.10032d10
add esp, 4
mov ecx, dword [edi + 8]
sub ecx, dword [edi + 4]
mov esi, dword [ebp - 0x54]
add dword [ebp - 0x50], 0x38
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
mov dword [ebp - 0x54], esi
cmp esi, eax
jl 0x100267cb
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10034caa
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 0x1c], esi
jb 0x100268c0
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.10032d10
add esp, 4
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
cmp dword [ebp - 0x38], esi
jb 0x100268de
mov edx, dword [ebp - 0x4c]
push edx
call fcn.10032d10
add esp, 4
mov al, 1
jmp 0x10026892
Function at 0x10027730
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004cdb1
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x1005d500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], vtable.FileService.0
mov dword [ebp - 4], 1
call fcn.10020f30
push 1
mov eax, 0x1005343c
mov ecx, esi
mov dword [ebp - 0x10], 1
call fcn.10002650
push 1
mov eax, 0x100536a0
mov ecx, esi
call fcn.10002650
push 1
mov eax, 0x1005343c
mov ecx, esi
call fcn.10002650
cmp dword [esi + 0x14], 0x10
jb 0x100277ae
mov eax, dword [esi]
jmp 0x100277b0
mov eax, esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x100277d0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004c709
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x1005d500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0xffffffffffffffff
mov dword [ebp - 0x10], ebx
push ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x100a1fbc
mov ecx, esi
mov byte [esi], bl
call fcn.10002de0
mov dword [ebp - 4], ebx
push 2
mov eax, 0x100536a4
mov ecx, esi
mov dword [ebp - 0x10], 1
call fcn.10002650
push 1
mov eax, 0x1005343c
mov ecx, esi
call fcn.10002650
cmp dword [esi + 0x14], 0x10
jb 0x1002784b
mov eax, dword [esi]
jmp 0x1002784d
mov eax, esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10027870
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
mov dword [esp + 4], 0
call fcn.10028190
call fcn.10028f30
lea eax, [esp + 4]
push eax
push 0
push 0x100a1f98
push 0x10028dd0
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
mov dword [0x100a20dc], eax
push 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push 0x100a2084
mov ecx, esi
mov byte [esi], 0
call fcn.10002de0
mov eax, esi
mov esp, ebp
pop ebp
ret
Function at 0x10027b70
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004c408
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 3
push 0x10054930
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x58], 0xf
mov dword [ebp - 0x5c], 0
mov byte [ebp - 0x6c], 0
call fcn.100028f0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x58], 0x10
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], 0
jae 0x10027bd4
lea eax, [ebp - 0x6c]
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x7c]
push ecx
push 0xc
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov edx, dword [ebp - 0x7c]
xor eax, eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], al
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x78]
push ecx
mov dword [ebp - 0x78], edx
call fcn.10011610
mov bl, byte [ebp - 0x78]
add bl, byte [ebp + 8]
push 0x40
lea edx, [ebp - 0x50]
push 0
push edx
call fcn.10037db0
movsx eax, bl
push eax
lea ecx, [ebp - 0x50]
push 0x10053b58
push ecx
call fcn.1003664d
lea eax, [ebp - 0x50]
add esp, 0x20
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10027c37
sub eax, ecx
push eax
lea edx, [ebp - 0x50]
push edx
mov ecx, esi
call fcn.100028f0
push 0x40
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.10037db0
movsx ecx, byte [ebp - 0x77]
push ecx
lea edx, [ebp - 0x50]
push 0x10053b58
push edx
call fcn.1003664d
lea eax, [ebp - 0x50]
add esp, 0x18
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10027c75
sub eax, ecx
push eax
lea eax, [ebp - 0x50]
mov ecx, esi
call fcn.10002650
push 0x40
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.10037db0
movsx ecx, byte [ebp - 0x76]
push ecx
lea edx, [ebp - 0x50]
push 0x10053b58
push edx
call fcn.1003664d
lea eax, [ebp - 0x50]
add esp, 0x18
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10027cb2
sub eax, ecx
push eax
lea eax, [ebp - 0x50]
mov ecx, esi
call fcn.10002650
push 0x40
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.10037db0
movsx ecx, byte [ebp - 0x75]
push ecx
lea edx, [ebp - 0x50]
push 0x10053b58
push edx
call fcn.1003664d
lea eax, [ebp - 0x50]
add esp, 0x18
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10027cf0
sub eax, edx
push eax
lea eax, [ebp - 0x50]
mov ecx, esi
call fcn.10002650
cmp dword [ebp - 0x58], 0x10
jb 0x10027d16
mov eax, dword [ebp - 0x6c]
push eax
call fcn.10032d10
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10034caa
mov esp, ebp
pop ebp
ret 4
Function at 0x10029620
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004c3a8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
cmp dword [ebp + 0x20], 0x10
mov eax, dword [ebp + 0xc]
jae 0x1002966f
lea eax, [ebp + 0xc]
push 0x10053440
push eax
call fcn.100355d5
mov edi, eax
push edi
push 1
lea edx, [ebp - 0x50]
push 4
push edx
mov dword [ebp - 0x50], ebx
call fcn.100354fc
mov eax, dword [ebp - 0x50]
inc eax
push eax
call fcn.100341e2
mov ecx, dword [ebp - 0x50]
add esp, 0x1c
inc ecx
push ecx
mov esi, eax
push ebx
push esi
call fcn.10037db0
mov edx, dword [ebp - 0x50]
push edi
push edx
push 1
push esi
call fcn.100354fc
push edi
call fcn.1003523e
mov edi, 0xf
mov eax, esi
add esp, 0x20
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100296d1
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.100028f0
push esi
mov byte [ebp - 4], 2
call fcn.10034cb9
mov eax, dword [ebp - 0x58]
add esp, 4
add eax, 0x61
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x58], esp
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x30]
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], bl
call fcn.10002de0
lea eax, [ebp - 0x4c]
push eax
call fcn.100298d0
mov edi, eax
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.100029f0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x38], 0x10
jb 0x10029741
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.10032d10
add esp, 4
mov esi, dword [ebp - 0x54]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
lea edi, [ebp - 0x30]
mov byte [esi], bl
call fcn.100029f0
mov esi, 0x10
cmp dword [ebp - 0x1c], esi
jb 0x1002976e
mov edx, dword [ebp - 0x30]
push edx
call fcn.10032d10
add esp, 4
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
cmp dword [ebp + 0x20], esi
jb 0x100297a9
mov eax, dword [ebp + 0xc]
push eax
call fcn.10032d10
add esp, 4
jmp 0x100297a9
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10034caa
mov esp, ebp
pop ebp
ret 0x20
Function at 0x100299c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004cc78
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov ebx, edx
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
mov esi, 0x10
cmp dword [ebp + 0x1c], esi
jae 0x10029a0d
lea eax, [ebp + 8]
push eax
call fcn.10036eb3
mov eax, dword [ebp + 8]
add esp, 4
cmp dword [ebp + 0x1c], esi
jae 0x10029a21
lea eax, [ebp + 8]
push 0x100546c0
push eax
call fcn.100355d5
add esp, 8
add ebx, 0x61
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x38], esp
push 0xffffffffffffffff
push 0
add edi, 0xec
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edi
mov esi, eax
mov byte [ecx], 0
call fcn.10002de0
lea eax, [ebp - 0x30]
push eax
call fcn.100297d0
mov ecx, dword [ebp - 0x20]
push esi
push 1
lea edx, [ebp - 0x34]
push 4
push edx
mov dword [ebp - 0x34], ecx
call fcn.10035c6e
mov eax, dword [ebp - 0x30]
mov edi, 0x10
add esp, 0x10
cmp dword [ebp - 0x1c], edi
jae 0x10029a8e
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
push esi
push ecx
push 1
push eax
call fcn.10035c6e
push esi
call fcn.1003523e
add esp, 0x14
cmp dword [ebp - 0x1c], edi
jb 0x10029ab5
mov edx, dword [ebp - 0x30]
push edx
call fcn.10032d10
add esp, 4
cmp dword [ebp + 0x1c], edi
jb 0x10029ad6
mov eax, dword [ebp + 8]
push eax
call fcn.10032d10
add esp, 4
jmp 0x10029ad6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10034caa
mov esp, ebp
pop ebp
ret 0x1c