joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10019c00
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004ec98
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1005d500]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov eax, dword [0x1005d500]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
cmp byte [0x100a20a0], bl
je 0x10019c87
cmp dword [0x100a1fd0], 0x10
mov eax, dword [0x100a1fbc]
jae 0x10019c56
mov eax, 0x100a1fbc
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push ebx
push eax
call esi
cmp dword [0x100a1fec], 0x10
mov eax, dword [0x100a1fd8]
jae 0x10019c73
mov eax, 0x100a1fd8
push ebx
push eax
call esi
push edi
call fcn.10019d60
test al, al
jne 0x10019c91
inc dword [0x100a1ddc]
mov eax, 2
jmp 0x10019d3a
call fcn.1001c760
test al, al
je 0x10019c81
call fcn.1001ca50
test al, al
je 0x10019c81
call fcn.1001cb80
test al, al
je 0x10019c81
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov dword [esp + 0x14], vtable.SysService.0
mov dword [esp + 0x38], ebx
lea eax, [esp + 0x18]
mov dword [0x100a1db4], ebx
mov dword [0x100a1db8], ebx
mov dword [0x100a1da4], ebx
mov dword [0x100a1da8], ebx
mov dword [0x100a1dac], ebx
mov dword [0x100a1db0], ebx
mov dword [0x100a1ddc], ebx
call fcn.1002fe50
mov dword [0x100a1d9c], eax
call fcn.10003c40
push 0x100a202c
mov ebx, 0x100a1d90
call fcn.10024ef0
push 0x100a2010
call fcn.100039d0
mov dword [0x100a1ddc], 0
mov eax, 0xa
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.10034eea
mov esp, ebp
pop ebp
ret
Function at 0x1001ca50
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004eb2b
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x78]
push 0x10053b40
push eax
call fcn.1003688d
add esp, 0xc
xor ebx, ebx
push 0xffffffffffffffff
push ebx
push 0x100a1e8c
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], ebx
mov byte [ebp - 0x94], bl
call fcn.10002da0
push 1
mov eax, 0x10054674
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], ebx
call fcn.10002620
lea eax, [ebp - 0x78]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1001cad8
sub eax, edx
push eax
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x94]
call fcn.10002620
mov ecx, dword [0x100a1ff4]
mov esi, 0x10
cmp dword [0x100a2008], esi
jae 0x1001cb08
mov ecx, 0x100a1ff4
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x80], esi
jae 0x1001cb19
lea eax, [ebp - 0x94]
push ebx
push ebx
push ecx
push eax
push ebx
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
je 0x1001cb40
cmp dword [ebp - 0x80], esi
jb 0x1001cb3c
mov ecx, dword [ebp - 0x94]
push ecx
call fcn.10032f50
add esp, 4
xor al, al
jmp 0x1001cb62
push 0x100a1ff4
call fcn.1000dc70
mov bl, al
cmp dword [ebp - 0x80], esi
jb 0x1001cb60
mov edx, dword [ebp - 0x94]
push edx
call fcn.10032f50
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10034eea
mov esp, ebp
pop ebp
ret
Function at 0x1001cb80
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004eb2b
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [0x100a1eb8], ebx
je 0x1001ccaa
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x78]
push 0x10053b40
push eax
call fcn.1003688d
add esp, 0xc
push 0xffffffffffffffff
push ebx
push 0x100a1ea8
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], ebx
mov byte [ebp - 0x94], bl
call fcn.10002da0
push 1
mov eax, 0x10054674
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], ebx
call fcn.10002620
lea eax, [ebp - 0x78]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1001cc14
sub eax, edx
push eax
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x94]
call fcn.10002620
mov ecx, dword [0x100a2048]
mov esi, 0x10
cmp dword [0x100a205c], esi
jae 0x1001cc44
mov ecx, 0x100a2048
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x80], esi
jae 0x1001cc55
lea eax, [ebp - 0x94]
push ebx
push ebx
push ecx
push eax
push ebx
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
je 0x1001cc7c
cmp dword [ebp - 0x80], esi
jb 0x1001cc78
mov ecx, dword [ebp - 0x94]
push ecx
call fcn.10032f50
add esp, 4
xor al, al
jmp 0x1001ccb4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x80], esi
jb 0x1001cc97
mov edx, dword [ebp - 0x94]
push edx
call fcn.10032f50
add esp, 4
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], ebx
mov byte [ebp - 0x94], bl
mov ecx, 0x100a2048
call fcn.10021980
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10034eea
mov esp, ebp
pop ebp
ret
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 0x10053578
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x10020706
push 0x10054700
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 0x10053424
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.10034eea
mov esp, ebp
pop ebp
ret 4
Function at 0x10020aa0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004c7db
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.10037ff0
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.100028b0
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
lea edi, [ebp - 0x130]
mov byte [esi], bl
call fcn.100029b0
cmp dword [ebp - 0x11c], 0x10
jb 0x10020b8f
mov ecx, dword [ebp - 0x130]
push ecx
call fcn.10032f50
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.10034eea
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 0x10054720
push eax
call fcn.10035815
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.10035eae
push esi
mov edi, eax
call fcn.1003547e
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.100028b0
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
pop ebx
call fcn.10034eea
mov esp, ebp
pop ebp
ret
Function at 0x10023ac0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004ea78
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.10024280
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.10018630
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 0x10023b7a
push eax
call fcn.1000d4b0
add esp, 4
push ecx
call fcn.10023c90
jmp 0x10023b8e
cmp eax, 8
jne 0x10023b9d
push eax
call fcn.1000d4b0
add esp, 4
push ecx
call fcn.10023c90
lea edi, [esp + 0x1c]
mov esi, eax
call fcn.10024150
mov dword [esp + 0x14], eax
call fcn.10024000
call fcn.10023d50
mov edi, dword [0x10061c14]
cmp edi, ebx
je 0x10023be1
mov eax, dword [edi]
cmp eax, ebx
je 0x10023bc2
push eax
call fcn.10035a6c
add esp, 4
mov dword [edi], ebx
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x10023bd5
push eax
call fcn.10035a6c
add esp, 4
mov dword [edi + 4], ebx
push edi
mov dword [edi + 8], ebx
call fcn.10032f50
add esp, 4
call fcn.10023dd0
cmp esi, ebx
je 0x10023bf4
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 0x10023c0f
push eax
call fcn.10035a6c
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 0x10023c28
push eax
call fcn.10035a6c
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 0x10025590
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 0x100255c0
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.10025d70
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 0x100256ab
cmp eax, 8
je 0x100256ab
lea ecx, [esi + 4]
call fcn.10026000
jmp 0x100256b7
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 0x10026690
Capabilities:
Delete directory
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004b8e8
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 0x10054980
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 0x10026800
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.10002da0
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.10002da0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c]
mov esi, 0x10
cmp dword [ebp - 0x38], esi
jae 0x10026790
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.1000b240
cmp eax, 0xffffffff
jne 0x1002681f
cmp dword [ebp - 0x1c], esi
jb 0x100267b6
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.10032f50
add esp, 4
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
cmp dword [ebp - 0x38], esi
jb 0x100267d4
mov edx, dword [ebp - 0x4c]
push edx
call fcn.10032f50
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 0x1002673b
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.10034eea
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 0x1c], esi
jb 0x10026830
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.10032f50
add esp, 4
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
cmp dword [ebp - 0x38], esi
jb 0x1002684e
mov edx, dword [ebp - 0x4c]
push edx
call fcn.10032f50
add esp, 4
mov al, 1
jmp 0x10026802
Function at 0x100276b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004cff1
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, 0x10053424
mov ecx, esi
mov dword [ebp - 0x10], 1
call fcn.10002620
push 1
mov eax, 0x10053688
mov ecx, esi
call fcn.10002620
push 1
mov eax, 0x10053424
mov ecx, esi
call fcn.10002620
cmp dword [esi + 0x14], 0x10
jb 0x1002772e
mov eax, dword [esi]
jmp 0x10027730
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 0x10027750
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004c2c9
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.10002da0
mov dword [ebp - 4], ebx
push 2
mov eax, 0x1005368c
mov ecx, esi
mov dword [ebp - 0x10], 1
call fcn.10002620
push 1
mov eax, 0x10053424
mov ecx, esi
call fcn.10002620
cmp dword [esi + 0x14], 0x10
jb 0x100277cb
mov eax, dword [esi]
jmp 0x100277cd
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 0x100277f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
mov dword [esp + 4], 0
call fcn.10028110
call fcn.10028eb0
lea eax, [esp + 4]
push eax
push 0
push 0x100a1f98
push 0x10028d50
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.10002da0
mov eax, esi
mov esp, ebp
pop ebp
ret
Function at 0x10027af0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004c688
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 0x1005498c
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x58], 0xf
mov dword [ebp - 0x5c], 0
mov byte [ebp - 0x6c], 0
call fcn.100028b0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x58], 0x10
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], 0
jae 0x10027b54
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.10011280
mov bl, byte [ebp - 0x78]
add bl, byte [ebp + 8]
push 0x40
lea edx, [ebp - 0x50]
push 0
push edx
call fcn.10037ff0
movsx eax, bl
push eax
lea ecx, [ebp - 0x50]
push 0x10053b40
push ecx
call fcn.1003688d
lea eax, [ebp - 0x50]
add esp, 0x20
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10027bb7
sub eax, ecx
push eax
lea edx, [ebp - 0x50]
push edx
mov ecx, esi
call fcn.100028b0
push 0x40
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.10037ff0
movsx ecx, byte [ebp - 0x77]
push ecx
lea edx, [ebp - 0x50]
push 0x10053b40
push edx
call fcn.1003688d
lea eax, [ebp - 0x50]
add esp, 0x18
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10027bf5
sub eax, ecx
push eax
lea eax, [ebp - 0x50]
mov ecx, esi
call fcn.10002620
push 0x40
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.10037ff0
movsx ecx, byte [ebp - 0x76]
push ecx
lea edx, [ebp - 0x50]
push 0x10053b40
push edx
call fcn.1003688d
lea eax, [ebp - 0x50]
add esp, 0x18
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10027c32
sub eax, ecx
push eax
lea eax, [ebp - 0x50]
mov ecx, esi
call fcn.10002620
push 0x40
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.10037ff0
movsx ecx, byte [ebp - 0x75]
push ecx
lea edx, [ebp - 0x50]
push 0x10053b40
push edx
call fcn.1003688d
lea eax, [ebp - 0x50]
add esp, 0x18
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10027c70
sub eax, edx
push eax
lea eax, [ebp - 0x50]
mov ecx, esi
call fcn.10002620
cmp dword [ebp - 0x58], 0x10
jb 0x10027c96
mov eax, dword [ebp - 0x6c]
push eax
call fcn.10032f50
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.10034eea
mov esp, ebp
pop ebp
ret 4