joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10020740
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 0x1002085a
push 0x10053590
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x10020846
push 0x100546c8
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x10020846
push edi
lea eax, [esp + 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x10053434
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 0x1002081e
lea ecx, [esp + 0x150]
push ecx
mov ecx, dword [esp + 0x10]
call fcn.10020740
lea ecx, [esp + 0x10]
push ecx
jmp 0x1002084b
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 0x1002084b
lea edx, [esp + 0x10]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100207a6
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.10034d1a
mov esp, ebp
pop ebp
ret 4
Function at 0x10020be0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004c57b
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.10037e20
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 0x10020c7f
call fcn.10021070
cmp dword [ebp - 0x11c], 0x10
jb 0x10020ccf
mov edx, dword [ebp - 0x130]
push edx
jmp 0x10020cc7
lea eax, [ebp - 0x114]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10020c88
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 0x10020ccf
mov ecx, dword [ebp - 0x130]
push ecx
call fcn.10032d80
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.10034d1a
mov esp, ebp
pop ebp
ret
Function at 0x10021020
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [eax + 0x14], 0x10
jb 0x1002102b
mov eax, dword [eax]
push esi
push 0x100546e8
push eax
call fcn.10035645
mov esi, eax
add esp, 8
test esi, esi
jne 0x10021047
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.10035cde
push esi
mov edi, eax
call fcn.100352ae
add esp, 0x14
xor eax, eax
cmp edi, ebx
pop edi
sete al
pop esi
pop ebp
ret 4

Function at 0x10021070
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 0x100210ab
mov eax, 0x1005fbf4
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x10021100
cmp dword [0x1005fc24], 0x10
mov eax, dword [0x1005fc10]
jae 0x100210cc
mov eax, 0x1005fc10
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x100210f1
lea ecx, [ebp - 0x108]
push ecx
push ebx
push ebx
push 0x23
push ebx
call eax
test eax, eax
js 0x100210f1
mov byte [ebp - 0x109], 1
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp byte [ebp - 0x109], bl
jne 0x10021128
push 0x104
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x10021128
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 0x10021140
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.10034d1a
mov esp, ebp
pop ebp
ret
Function at 0x10023900
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004ebd0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1005d500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x148
mov dword [ebp - 4], ebx
call fcn.10032d50
add esp, 4
cmp eax, ebx
je 0x10023965
call fcn.100239d0
mov esi, eax
jmp 0x10023967
xor esi, esi
call fcn.1000c690
cmp al, bl
je 0x10023976
push esi
call fcn.10023c10
cmp esi, ebx
je 0x10023988
call fcn.10023a80
push esi
call fcn.10032d80
add esp, 4
mov eax, dword [0x10061aa4]
cmp eax, ebx
je 0x1002399e
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [0x10061aa4], ebx
mov eax, dword [0x10061aa0]
cmp eax, ebx
je 0x100239b4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x10061aa0], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10023c10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004e878
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.10024440
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.10024360
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 0x10023cca
push eax
call fcn.1002cc10
add esp, 4
push ecx
call fcn.10023de0
jmp 0x10023cde
cmp eax, 8
jne 0x10023ced
push eax
call fcn.1002cc10
add esp, 4
push ecx
call fcn.10023de0
lea edi, [esp + 0x1c]
mov esi, eax
call fcn.100242a0
mov dword [esp + 0x14], eax
call fcn.10024150
call fcn.10023ea0
mov edi, dword [0x10061c14]
cmp edi, ebx
je 0x10023d31
mov eax, dword [edi]
cmp eax, ebx
je 0x10023d12
push eax
call fcn.1003589c
add esp, 4
mov dword [edi], ebx
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x10023d25
push eax
call fcn.1003589c
add esp, 4
mov dword [edi + 4], ebx
push edi
mov dword [edi + 8], ebx
call fcn.10032d80
add esp, 4
call fcn.10023f20
cmp esi, ebx
je 0x10023d44
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 0x10023d5f
push eax
call fcn.1003589c
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 0x10023d78
push eax
call fcn.1003589c
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 0x10025750
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.10021310
add esp, 8
movzx ebx, ax
mov ecx, 0x1005fdb4
test edi, edi
je 0x10025780
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.10025f70
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 0x1002586b
cmp eax, 8
je 0x1002586b
lea ecx, [esi + 4]
call fcn.10026200
jmp 0x10025877
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 0x10025de0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
push 0
push 0
push str.wuvs
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov eax, dword [esi + 0x3c]
cmp dword [eax + 0x18], 0
je 0x10025e60
mov ecx, dword [eax + 0xc]
cmp ecx, 7
je 0x10025e60
cmp ecx, 8
je 0x10025e60
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 0x10025e86
cmp eax, 8
je 0x10025e86
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 0x10026890
Capabilities:
Delete directory
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004b748
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 0x10054834
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 0x10026a00
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 0x10026990
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.1000b660
cmp eax, 0xffffffff
jne 0x10026a1f
cmp dword [ebp - 0x1c], esi
jb 0x100269b6
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.10032d80
add esp, 4
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
cmp dword [ebp - 0x38], esi
jb 0x100269d4
mov edx, dword [ebp - 0x4c]
push edx
call fcn.10032d80
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 0x1002693b
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.10034d1a
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 0x1c], esi
jb 0x10026a30
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.10032d80
add esp, 4
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
cmp dword [ebp - 0x38], esi
jb 0x10026a4e
mov edx, dword [ebp - 0x4c]
push edx
call fcn.10032d80
add esp, 4
mov al, 1
jmp 0x10026a02
Function at 0x10027850
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004cdf1
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.10021070
push 1
mov eax, 0x10053434
mov ecx, esi
mov dword [ebp - 0x10], 1
call fcn.10002620
push 1
mov eax, 0x100536a0
mov ecx, esi
call fcn.10002620
push 1
mov eax, 0x10053434
mov ecx, esi
call fcn.10002620
cmp dword [esi + 0x14], 0x10
jb 0x100278ce
mov eax, dword [esi]
jmp 0x100278d0
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 0x100278f0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004c839
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, 0x100536a4
mov ecx, esi
mov dword [ebp - 0x10], 1
call fcn.10002620
push 1
mov eax, 0x10053434
mov ecx, esi
call fcn.10002620
cmp dword [esi + 0x14], 0x10
jb 0x1002796b
mov eax, dword [esi]
jmp 0x1002796d
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 0x10027990
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
mov dword [esp + 4], 0
call fcn.100282b0
call fcn.10029080
lea eax, [esp + 4]
push eax
push 0
push 0x100a1f98
push 0x10028f20
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 0x10027c90
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004c428
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 0x10054944
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 0x10027cf4
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.10011740
mov bl, byte [ebp - 0x78]
add bl, byte [ebp + 8]
push 0x40
lea edx, [ebp - 0x50]
push 0
push edx
call fcn.10037e20
movsx eax, bl
push eax
lea ecx, [ebp - 0x50]
push 0x10053b58
push ecx
call fcn.100366bd
lea eax, [ebp - 0x50]
add esp, 0x20
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10027d57
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.10037e20
movsx ecx, byte [ebp - 0x77]
push ecx
lea edx, [ebp - 0x50]
push 0x10053b58
push edx
call fcn.100366bd
lea eax, [ebp - 0x50]
add esp, 0x18
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10027d95
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.10037e20
movsx ecx, byte [ebp - 0x76]
push ecx
lea edx, [ebp - 0x50]
push 0x10053b58
push edx
call fcn.100366bd
lea eax, [ebp - 0x50]
add esp, 0x18
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10027dd2
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.10037e20
movsx ecx, byte [ebp - 0x75]
push ecx
lea edx, [ebp - 0x50]
push 0x10053b58
push edx
call fcn.100366bd
lea eax, [ebp - 0x50]
add esp, 0x18
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10027e10
sub eax, edx
push eax
lea eax, [ebp - 0x50]
mov ecx, esi
call fcn.10002620
cmp dword [ebp - 0x58], 0x10
jb 0x10027e36
mov eax, dword [ebp - 0x6c]
push eax
call fcn.10032d80
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.10034d1a
mov esp, ebp
pop ebp
ret 4
Function at 0x10029770
Capabilities:
Query or enumerate registry value
Read file on windows
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004c3c8
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
push ebx
push ebx
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
push ebx
push ebx
push str.wuvs
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov byte [ebp - 4], 1
cmp dword [ebp + 0x20], 0x10
mov eax, dword [ebp + 0xc]
jae 0x100297e7
lea eax, [ebp + 0xc]
push 0x10053438
push eax
call fcn.10035645
mov edi, eax
push edi
push 1
lea edx, [ebp - 0x50]
push 4
push edx
mov dword [ebp - 0x50], ebx
call fcn.1003556c
mov eax, dword [ebp - 0x50]
inc eax
push eax
call fcn.10034252
mov ecx, dword [ebp - 0x50]
add esp, 0x1c
inc ecx
push ecx
mov esi, eax
push ebx
push esi
call fcn.10037e20
mov edx, dword [ebp - 0x50]
push edi
push edx
push 1
push esi
call fcn.1003556c
push edi
call fcn.100352ae
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]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10029850
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.100028b0
push esi
mov byte [ebp - 4], 2
call fcn.10034d29
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.10002da0
lea eax, [ebp - 0x4c]
push eax
call fcn.10029a50
mov edi, eax
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.100029b0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x38], 0x10
jb 0x100298c0
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.10032d80
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.100029b0
mov esi, 0x10
cmp dword [ebp - 0x1c], esi
jb 0x100298ed
mov edx, dword [ebp - 0x30]
push edx
call fcn.10032d80
add esp, 4
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
cmp dword [ebp + 0x20], esi
jb 0x10029928
mov eax, dword [ebp + 0xc]
push eax
call fcn.10032d80
add esp, 4
jmp 0x10029928
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.10034d1a
mov esp, ebp
pop ebp
ret 0x20