joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10015630
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10050262
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esi], 0x10053b24
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esp + 0x18], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov edi, 0xf
mov dword [esi + 0x5c], edi
mov dword [esi + 0x58], ebx
mov byte [esi + 0x48], bl
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
lea ecx, [esi + 0x70]
mov byte [esp + 0x18], 5
call fcn.10002500
mov ecx, dword [esp + 0x10]
mov dword [esi + 0xe8], edi
mov dword [esi + 0xe4], ebx
mov byte [esi + 0xd4], bl
mov dword [esi + 0x104], edi
mov dword [esi + 0x100], ebx
mov byte [esi + 0xf0], bl
mov dword [esi + 0x120], edi
mov dword [esi + 0x11c], ebx
mov byte [esi + 0x10c], bl
mov dword [esi + 0x13c], edi
mov dword [esi + 0x138], ebx
mov byte [esi + 0x128], bl
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x10017280
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1005033f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x24]
mov dword [esp + 0xc], esi
mov dword [esi], 0x10053bb8
mov dword [edi], 0x10053bb0
lea ecx, [esi + 0x30]
mov dword [esp + 0x18], 1
call fcn.100171c0
mov ecx, edi
mov byte [esp + 0x18], 0
call fcn.1000d240
mov esi, dword [esi + 0x14]
test esi, esi
je 0x100172e2
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x10017420
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10050398
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x40
push ebp
push esi
xor esi, esi
cmp eax, esi
push edi
mov ebp, ecx
je 0x10017466
push 0xffffffffffffffff
push eax
call fcn.10016690
mov edi, eax
add esp, 8
cmp edi, esi
mov dword [esp + 0x5c], edi
jne 0x1001746c
push 0x8007000e
call fcn.10016010
xor edi, edi
mov dword [esp + 0x5c], edi
mov eax, dword [esp + 0x60]
mov dword [esp + 0x54], esi
mov word [esp + 0x3c], 3
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x64]
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 1
mov word [esp + 0x30], si
call fcn.10016b40
mov edx, dword [esp + 0x68]
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 2
mov word [esp + 0x20], si
call fcn.10016b40
mov eax, dword [esp + 0x6c]
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x58], 3
mov word [esp + 0x10], si
call fcn.10016b40
mov eax, dword [ebp + 0x7c]
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x34]
push edx
lea edx, [esp + 0x48]
push edx
push edi
push eax
mov byte [esp + 0x6c], 4
call dword [ecx + 0x2c]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0xc]
push eax
call esi
lea ecx, [esp + 0x1c]
push ecx
call esi
lea edx, [esp + 0x2c]
push edx
call esi
lea eax, [esp + 0x3c]
push eax
call esi
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x4c
ret 0x14

Function at 0x1001dee0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10050358
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
xor eax, eax
push esi
mov esi, ecx
mov ecx, dword [sym.imp.USER32.dll_DefWindowProcA]
mov dword [esi + 4], eax
mov dword [esi + 0x14], eax
push edi
mov dword [esp + 8], esi
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ecx
mov edx, dword [esp + 0x1c]
lea edi, [esi + 0x24]
push edx
mov ecx, edi
mov dword [esp + 0x18], eax
call fcn.1000d210
lea ecx, [esi + 0x30]
mov dword [esi], 0x10053bb8
mov dword [edi], 0x10053bb0
call fcn.1001cac0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x10021ec0
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x10050adb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
push 0xe4
call fcn.10036500
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x24], 0
je 0x10021f07
push edi
mov ecx, eax
call fcn.1001dee0
mov esi, eax
jmp 0x10021f09
xor esi, esi
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x1c]
lea edx, [esp + 0xc]
mov dword [esp + 0x18], ecx
push edx
mov ecx, esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], eax
call fcn.1001e440
test eax, eax
je 0x10021f52
push eax
push 0x10021cb0
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, esi
call fcn.1001e590
test esi, esi
je 0x10021f6c
pop edi
lea eax, [esi + 0x24]
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4
mov ecx, dword [esp + 0x1c]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 4

Function at 0x10021f90
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x10050adb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
push 0xdc
call fcn.10036500
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x24], 0
je 0x10021fd7
push edi
mov ecx, eax
call fcn.100271f0
mov esi, eax
jmp 0x10021fd9
xor esi, esi
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x1c]
lea edx, [esp + 0xc]
mov dword [esp + 0x18], ecx
push edx
mov ecx, esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], eax
call fcn.10027380
test eax, eax
je 0x10022022
push eax
push 0x10021cb0
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, esi
call fcn.10027800
test esi, esi
je 0x1002203c
pop edi
lea eax, [esi + 0x34]
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4
mov ecx, dword [esp + 0x1c]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 4

Function at 0x10022060
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x10050adb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push 0xdc
call fcn.10036500
add esp, 4
mov dword [esp + 4], eax
test eax, eax
mov dword [esp + 0x20], 0
je 0x100220a6
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, eax
call fcn.100271f0
mov esi, eax
jmp 0x100220a8
xor esi, esi
mov eax, 0xfffffc18
lea edx, [esp + 8]
push edx
mov ecx, esi
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call fcn.10027380
test eax, eax
je 0x100220e8
push eax
push 0x10021cb0
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, esi
call fcn.10027800
test esi, esi
je 0x10022101
lea eax, [esi + 0x34]
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4
mov ecx, dword [esp + 0x18]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x100227a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10050b08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push ebp
push esi
push edi
xor edi, edi
push edi
mov ebx, ecx
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [0x100a1ce4]
push 0x100543d4
push eax
push edi
mov ecx, 0x100a1cec
call fcn.10022250
mov dword [esp + 0x18], 0x100543e4
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov esi, dword [0x10061880]
lea ecx, [esp + 0x18]
add esi, 0x10
push esi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x100a1d20]
lea edx, [esp + 0x10]
mov dword [esp + 0x14], eax
push edx
lea eax, [esp + 0x18]
push eax
call fcn.100247b0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x60]
mov eax, dword [ecx + 0xc]
xor esi, esi
cmp eax, 3
jne 0x10022864
push ecx
mov ecx, ebx
call fcn.10021f90
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.100221c0
mov ebp, eax
jmp 0x100228d0
cmp eax, 1
jne 0x10022878
lea ecx, [esp + 0x18]
xor esi, esi
call fcn.100221c0
mov ebp, eax
jmp 0x100228d0
cmp eax, 2
jne 0x10022894
push ecx
mov ecx, ebx
call fcn.10021ec0
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.100221c0
mov ebp, eax
jmp 0x100228d0
cmp eax, 7
jne 0x100228b0
push ecx
mov ecx, ebx
call fcn.10022060
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.100221c0
mov ebp, eax
jmp 0x100228d0
cmp eax, 8
jne 0x100228cc
push ecx
mov ecx, ebx
call fcn.10022060
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.100221c0
mov ebp, eax
jmp 0x100228d0
mov ebp, dword [esp + 0x60]
mov ebx, dword [0x10061880]
add ebx, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [0x100a1d20]
mov dword [esp + 0x64], eax
call fcn.100224c0
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, 0x100a1cec
call fcn.10022740
cmp esi, edi
je 0x10022917
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x10022932
push eax
call fcn.1003fa31
add esp, 4
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
je 0x1002294b
push eax
call fcn.1003fa31
add esp, 4
mov ecx, dword [esp + 0x50]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret 4
Function at 0x10025b80
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x118
mov eax, dword [0x1006099c]
mov edx, dword [esp + 0x11c]
push ebp
push esi
mov ebp, ecx
lea ecx, [esp + 0x10]
push ecx
push 0x2001f
push 0
mov dword [esp + 0x128], eax
mov eax, dword [ebp]
push edx
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x10025ca2
lea ecx, [esp + 8]
call fcn.10025a80
mov esi, eax
test esi, esi
mov eax, dword [esp + 0x10]
mov dword [esp + 8], eax
jne 0x10025ca6
push edi
lea ecx, [esp + 0x18]
push ecx
push esi
push esi
push esi
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x34]
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x10025c50
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x10]
call fcn.10025b80
mov edi, eax
test edi, edi
jne 0x10025cca
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x10]
push edi
push edi
push edi
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
push edi
push eax
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x10025c12
mov eax, dword [esp + 0xc]
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x10025c69
push eax
call edi
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x128]
mov edx, dword [ebp]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10025c88
push eax
call edi
pop edi
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x114]
call fcn.1003fd01
add esp, 0x118
ret 4
mov eax, dword [esp + 8]
test eax, eax
je 0x10025cb1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x114]
call fcn.1003fd01
add esp, 0x118
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10025cd9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x120]
mov eax, edi
pop edi
pop esi
pop ebp
call fcn.1003fd01
add esp, 0x118
ret 4
Function at 0x100261c0
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov ebp, ecx
xor edi, edi
push esi
call ebx
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x100261d2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp]
push edi
push eax
push 7
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x10026b80
Capabilities:
Get disk size

Disassembly:
push esi
push 0
push 0
push 0
push 0
push 0
push 0x100537c4
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 0
push 0
push 0
push 0x1005474c
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x10026be5
mov ecx, dword [eax + 0xc]
cmp ecx, 7
je 0x10026be5
cmp ecx, 8
je 0x10026be5
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]
jmp 0x10026c0b
mov eax, dword [eax + 0xc]
cmp eax, 7
je 0x10026c0b
cmp eax, 8
je 0x10026c0b
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]
lea ecx, [esi + 0x34]
call fcn.1000d6b0
mov dword [0x100a1d80], 0
mov dword [esi + 0xd8], 0
xor eax, eax
pop esi
ret 4
Function at 0x100271f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10050df8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
xor eax, eax
push esi
mov esi, ecx
mov ecx, dword [sym.imp.USER32.dll_DefWindowProcA]
mov dword [esi + 4], eax
mov dword [esi + 0x14], eax
push edi
mov dword [esp + 8], esi
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov edx, dword [esp + 0x1c]
lea edi, [esi + 0x34]
push edx
mov ecx, edi
mov dword [esp + 0x18], eax
call fcn.1000d210
lea ecx, [esi + 0x40]
mov dword [esi], 0x1005475c
mov dword [edi], 0x10054754
call fcn.1001cac0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x10027380
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0
push 0
push 0
push 0
push ecx
mov eax, esp
push 0
mov edi, ecx
mov dword [eax], ebx
call fcn.10027300
lea ebp, [edi + 0x34]
mov ecx, ebp
call fcn.1000d1e0
push eax
mov eax, dword [edi + 4]
push 1
lea esi, [edi + 4]
push 0x80
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, ebp
call fcn.1000d1b0
mov ecx, dword [esi]
push eax
push 0
push 0x80
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi]
push 0
push 0
push 0
push 0
push ebx
lea ebp, [edi + 0x40]
push edx
mov ecx, ebp
call fcn.1001e250
mov eax, dword [edi + 0xc0]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x74]
mov eax, dword [ebp + 0x80]
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [edx + 0x68]
mov eax, dword [esp + 0x14]
mov ebp, dword [ebp + 0x80]
mov edx, dword [ebp]
or eax, 8
push eax
push ebp
call dword [edx + 0x64]
mov ecx, dword [esi]
mov ebp, dword [sym.imp.USER32.dll_GetWindowLongA]
push 0xfffffffffffffff0
push ecx
call ebp
mov edx, dword [esi]
push 0xffffffffffffffec
push edx
mov dword [esp + 0x1c], eax
call ebp
push eax
mov eax, dword [esp + 0x18]
push 0
push eax
push ebx
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
push 1
mov edx, dword [ebx + 0xc]
sub edx, eax
push edx
mov edx, dword [ebx + 8]
sub edx, ecx
push edx
push eax
mov eax, dword [esi]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [edi + 0x38]
mov eax, dword [ecx + 0xc]
cmp eax, 7
je 0x10027491
cmp eax, 8
je 0x10027491
push 0
mov ecx, esi
call fcn.100269f0
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esi]
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov edx, dword [esi]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esi]
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x10028740
Capabilities:
Get common file path

Disassembly:
sub esp, 0x110
mov eax, dword [0x1006099c]
push ebx
push esi
xor ebx, ebx
push 0x1005489c
mov dword [esp + 0x118], eax
mov dword [esp + 0x10], ebx
mov byte [esp + 0x14], bl
mov byte [esp + 0xf], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
cmp esi, ebx
je 0x100287a5
push 0x10054888
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x10028798
lea ecx, [esp + 0x10]
push ecx
push ebx
push ebx
push 0x23
push ebx
call eax
test eax, eax
jl 0x10028798
mov byte [esp + 0xb], 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp byte [esp + 0xb], bl
jne 0x100287c9
push 0x104
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x100287c9
push 0x1005486c
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov esi, dword [esp + 0x11c]
lea eax, [esp + 0x10]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100287e4
sub eax, edx
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.10001f80
mov ecx, dword [esp + 0x114]
mov eax, esi
pop esi
pop ebx
call fcn.1003fd01
add esp, 0x110
ret 4

Function at 0x10028be0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x10050fc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [0x1006099c]
push ebx
mov dword [esp + 0x24], eax
push esi
lea eax, [esp + 0xc]
xor ebx, ebx
push eax
mov dword [esp + 0xc], ebx
call fcn.10028740
push 1
push 0x100537f4
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], ebx
call fcn.10001d80
push 1
push 0x10054860
lea ecx, [esp + 0x14]
call fcn.10001d80
push 1
push 0x100537f4
lea ecx, [esp + 0x14]
call fcn.10001d80
cmp dword [esp + 0x24], 0x10
mov eax, dword [esp + 0x10]
jae 0x10028c56
lea eax, [esp + 0x10]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x14]
push ecx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.10001e90
cmp dword [esp + 0x24], 0x10
jb 0x10028c92
mov edx, dword [esp + 0x10]
push edx
call fcn.10036530
add esp, 4
mov ecx, dword [esp + 0x2c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x24]
pop ebx
call fcn.1003fd01
add esp, 0x30
ret 4
Function at 0x10028cb0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x10050fc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [0x1006099c]
push ebx
push esi
xor ebx, ebx
push 0xffffffffffffffff
add ecx, 0x24
push ebx
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.10001e90
push 2
push 0x10054864
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], ebx
call fcn.10001d80
push 1
push 0x100537f4
lea ecx, [esp + 0x14]
call fcn.10001d80
cmp dword [esp + 0x24], 0x10
mov eax, dword [esp + 0x10]
jae 0x10028d2c
lea eax, [esp + 0x10]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x14]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.10001e90
cmp dword [esp + 0x24], 0x10
jb 0x10028d68
mov ecx, dword [esp + 0x10]
push ecx
call fcn.10036530
add esp, 4
mov ecx, dword [esp + 0x2c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x24]
pop ebx
call fcn.1003fd01
add esp, 0x30
ret 4
Function at 0x10028d90
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x10050fa8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
mov eax, dword [0x1006099c]
push ebx
push esi
push 3
xor ebx, ebx
push 0x100537f0
lea ecx, [esp + 0x20]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.10001f80
cmp dword [esp + 0x30], 0x10
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x80], ebx
mov dword [esp + 8], ebx
jae 0x10028def
lea eax, [esp + 0x1c]
push edi
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x1c]
push ecx
push 0xc
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [esp + 0xc]
xor edx, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
lea ecx, [esp + 0x14]
mov byte [esp + 0x18], dl
push ecx
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], eax
call fcn.10010b70
mov dl, byte [esp + 0x18]
add dl, byte [esp + 0x98]
xor eax, eax
mov ecx, 0x10
lea edi, [esp + 0x40]
rep stosd dword es:[edi], eax
movsx eax, dl
push eax
lea ecx, [esp + 0x44]
push 0x100537ec
push ecx
mov byte [esp + 0x24], dl
call fcn.10040b0b
lea eax, [esp + 0x4c]
add esp, 0x14
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10028e61
mov esi, dword [esp + 0x8c]
sub eax, edx
push eax
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.10001f80
xor eax, eax
mov ecx, 0x10
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
movsx eax, byte [esp + 0x11]
push eax
lea ecx, [esp + 0x3c]
push 0x100537ec
push ecx
call fcn.10040b0b
lea eax, [esp + 0x44]
add esp, 0xc
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x10028eb0
sub eax, ecx
push eax
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.10001d80
xor eax, eax
mov ecx, 0x10
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
movsx eax, byte [esp + 0x12]
push eax
lea ecx, [esp + 0x3c]
push 0x100537ec
push ecx
call fcn.10040b0b
lea eax, [esp + 0x44]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x10028ef2
sub eax, ecx
push eax
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.10001d80
xor eax, eax
mov ecx, 0x10
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
movsx eax, byte [esp + 0x13]
push eax
lea ecx, [esp + 0x3c]
push 0x100537ec
push ecx
call fcn.10040b0b
add esp, 0xc
lea eax, [esp + 0x38]
lea edx, [eax + 1]
pop edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10028f35
sub eax, edx
push eax
lea edx, [esp + 0x38]
push edx
mov ecx, esi
call fcn.10001d80
cmp dword [esp + 0x30], 0x10
pop esi
pop ebx
jb 0x10028f61
mov eax, dword [esp + 0x14]
push eax
call fcn.10036530
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x6c]
call fcn.1003fd01
add esp, 0x7c
ret 8