joyce8/EMBER2024-capa huggingface dataset:
Function at 0x9f7d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x9f7d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x9f7d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x9f7d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x9f7d94
push eax
push esi
call fcn.009fa20b
add esp, 8
pop esi
ret 0x10

Function at 0x9f7da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x9f7e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x9f7e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0xa10320
push ecx
mov dword [esp + 0x1c], 4
call fcn.009f9dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x9f7dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x9f7e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x9f7ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x9f7eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0xa10320
push ecx
mov dword [esp + 0x1c], 4
call fcn.009f9dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x9f7eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x9f7e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x9f8000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x9f8131
push esi
call fcn.009fb145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.009ea080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x9f8131
push 0
push ebp
call fcn.009ea3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.009ea260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x9f808b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.009ea2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x9f8121
push 0xa10918
push edi
call fcn.009f93f0
push eax
push ebx
push esi
call fcn.009f7f60
push 0xa108f8
push edi
call fcn.009f93f0
push eax
push ebx
push esi
call fcn.009f7f60
push 0xa108d8
push edi
call fcn.009f93f0
push eax
push ebx
push esi
call fcn.009f7f60
push 0xa108c0
push edi
call fcn.009f93f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.009f7f60
push 0xa108a0
push edi
call fcn.009f93f0
push eax
push ebx
push esi
call fcn.009f7f60
push 0xa10888
push edi
call fcn.009f93f0
push eax
push ebx
push esi
call fcn.009f7f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x9f91b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.009f9140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.009f9140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.009f9140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.009f9140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x9f9bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x9f9c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xa0b87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x9f9c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x9f9c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x10001830
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001beb9
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10025008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov dword [esi], vtable.CWJSLib.0
mov dword [esi + 4], vtable.LeadowLib::CLdArray_class_CWJVolume__.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov byte [esi + 0x14], 0
mov dword [esi + 0x18], vtable.LeadowLib::CLdArray_class_CWJMftReader__.0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov byte [esi + 0x28], 0
mov dword [esi + 0x2c], vtable.LeadowLib::CLdArray_class_CWJMftIndexFile__.0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [esi + 0x3c], 0
mov byte [ebp - 4], 3
call fcn.10001d50
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10001d50
Capabilities:
Enumerate disk volumes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10025008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov esi, ecx
push 0
push eax
call fcn.1000d7b0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10001e78
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10001db0
sub ecx, edx
sar ecx, 1
cmp word [ebp - 0x20c], 0x5c
jne 0x10001da1
cmp word [ebp - 0x20a], 0x5c
jne 0x10001da1
cmp word [ebp - 0x208], 0x3f
jne 0x10001da1
cmp word [ebp - 0x206], 0x5c
jne 0x10001da1
cmp word [ebp + ecx*2 - 0x20e], 0x5c
jne 0x10001da1
push 0x24
call fcn.1000a58d
add esp, 4
mov dword [ebp - 0x214], eax
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, eax
call fcn.100043a0
push eax
lea ecx, [esi + 4]
call fcn.10002260
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.1000d7b0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push edi
call ebx
test eax, eax
jne 0x10001da1
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0x100218c8
push eax
push 0x100025d0
push 4
push dword [esi + 8]
push dword [esi + 0x10]
call fcn.1000e310
add esp, 0x14
mov byte [esi + 0x14], 1
push edi
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1000a56e
mov esp, ebp
pop ebp
ret
Function at 0x10002a00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x244
mov eax, dword [0x10025008]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov ebx, dword [edi + 4]
cmp byte [ebx + 4], 0
je 0x10002a44
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.1000a56e
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 8]
sub eax, 1
je 0x10002b21
sub eax, 1
je 0x10002af0
sub eax, 1
je 0x10002a7a
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.1000a56e
mov esp, ebp
pop ebp
ret 0xc
push ecx
lea eax, [esp + 0x14]
push eax
push dword [esi + 4]
lea ecx, [ebx + 0x54]
push dword [esi]
call fcn.100093b0
test ax, ax
je 0x10002ad8
mov eax, dword [esi + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x1c], eax
mov al, byte [esi + 0x2c]
mov byte [esp + 0x3c], al
movzx eax, al
add eax, eax
push eax
lea eax, [esi + 0x2e]
push eax
lea eax, [esp + 0x46]
push eax
call fcn.1001b260
movzx eax, byte [esp + 0x48]
xor ecx, ecx
add esp, 0xc
mov word [esp + eax*2 + 0x3e], cx
lea eax, [esp + 0x10]
push eax
mov ecx, ebx
call fcn.10003430
jmp 0x10002b2d
push esi
lea ecx, [edi - 4]
call fcn.10002cc0
test eax, eax
je 0x10002b2d
mov ecx, dword [edi + 4]
push esi
call fcn.10003430
jmp 0x10002b2d
push esi
lea ecx, [edi - 4]
call fcn.10002cc0
test eax, eax
je 0x10002b08
mov ecx, dword [edi + 4]
push esi
call fcn.10003430
jmp 0x10002b2d
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 2
je 0x10002b1c
call ebx
cmp eax, 0x7b
jne 0x10002b2d
mov ecx, dword [edi + 4]
jmp 0x10002b23
mov ecx, ebx
push dword [esi + 4]
push dword [esi]
call fcn.10003480
mov edx, dword [edi + 4]
mov ecx, dword [edi + 0xc]
lea esi, [edx + 0x54]
lea ebx, [edx + 0x7c]
mov eax, dword [ecx + 0x18]
mov dword [ebx], eax
mov eax, dword [ecx + 0x1c]
mov dword [ebx + 4], eax
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x10002b85
add eax, 0x1d
cmp dword [eax + 6], 0
je 0x10002b5a
cmp word [eax], 0x10
jae 0x10002b7a
push 0x10
mov ecx, esi
call fcn.10009830
mov ecx, eax
mov dword [esp + 0xc], eax
or ecx, edx
je 0x10002b85
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0xc]
add eax, 0x1d
mov dword [eax + 6], ecx
push 0x10
push ebx
push eax
mov ecx, esi
call fcn.100091b0
mov ecx, dword [edi + 4]
xor eax, eax
pop edi
pop esi
pop ebx
cmp byte [ecx + 4], al
mov ecx, dword [esp + 0x240]
sete al
xor ecx, esp
call fcn.1000a56e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10003910
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001be70
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x10025008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ebx, [esi + 0x14]
mov dword [esi], vtable.CWJMftReader.3.0
push ebx
mov dword [esi + 4], vtable.CWJMftReader.2.0
mov dword [esi + 8], vtable.CWJMftReader.1.0
mov dword [esi + 0xc], vtable.CWJMftReader.0
mov byte [esi + 0x10], 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esi + 0x30]
test edi, edi
je 0x10003979
mov ecx, edi
call fcn.10008f70
push 0x28
push edi
call fcn.1000a57f
add esp, 8
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x10003987
mov eax, dword [ecx]
push 1
call dword [eax + 0x18]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esi + 0x284]
test eax, eax
je 0x100039a8
push eax
call fcn.1000ff5b
add esp, 4
mov dword [esi + 0x284], 0
mov eax, dword [esi + 0x278]
mov dword [esi + 0x38], vtable.CWJMftFileImpl.0
test eax, eax
je 0x100039d4
push 0x20
push eax
mov dword [eax], vtable.CWJMftFileDataImpl.0
call fcn.1000a57f
add esp, 8
mov eax, dword [esi + 0x34]
test eax, eax
je 0x100039e4
push eax
call fcn.1000ff5b
add esp, 4
mov dword [esi + 0x34], 0
mov dword [esi + 0xc], vtable.CWJFileFilter.0
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 0x10004560
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x10025008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 8]
push edi
lea edi, [ecx + 8]
test eax, eax
je 0x10004588
cmp word [eax], 0
jne 0x10004647
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x10004647
cmp word [eax], 0
je 0x10004647
push esi
push ecx
push eax
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x214], 0
call fcn.10004d60
mov esi, dword [ebp - 0x214]
test esi, esi
je 0x100045db
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100045c4
sub ecx, edx
sar ecx, 1
cmp word [esi + ecx*2 - 2], 0x5c
je 0x100045fd
lea eax, [ebp - 0x218]
mov dword [ebp - 0x218], 0x5c
push eax
lea ecx, [ebp - 0x214]
call fcn.10004cd0
mov esi, dword [ebp - 0x214]
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.1000d7b0
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
je 0x10004639
push ecx
lea eax, [ebp - 0x210]
mov ecx, edi
push eax
call fcn.10004d60
test esi, esi
je 0x10004646
push esi
call fcn.1000ff5b
add esp, 4
pop esi
mov eax, dword [edi]
test eax, eax
je 0x1000466d
cmp word [eax], 0
je 0x1000466d
push 0x7b
push eax
call fcn.1000c934
add esp, 8
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000a56e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
call fcn.1000a56e
mov esp, ebp
pop ebp
ret
Function at 0x10004680
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10025008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0xc]
test eax, eax
je 0x100046a4
cmp word [eax], 0
jne 0x100046fa
mov eax, dword [edi + 8]
test eax, eax
je 0x100046f7
cmp word [eax], 0
je 0x100046f7
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.1000d7b0
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
push 0x104
lea eax, [ebp - 0x210]
push eax
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
je 0x100046f7
push ecx
lea eax, [ebp - 0x210]
push eax
lea ecx, [edi + 0xc]
call fcn.10004d60
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1000a56e
mov esp, ebp
pop ebp
ret
Function at 0x10004890
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x10025008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 0xc]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.1000d7b0
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.1000d7b0
mov eax, dword [esi + 0xc]
add esp, 0x18
test eax, eax
je 0x10004913
cmp word [eax], 0
je 0x10004913
push 0x104
lea eax, [ebp - 0x20c]
push eax
lea eax, [esi + 0x18]
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [esi + 0x14]
push eax
push 0x104
lea eax, [ebp - 0x414]
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
jmp 0x10004941
push ecx
lea eax, [ebp - 0x20c]
push eax
lea eax, [esi + 0x18]
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [esi + 0x14]
push eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax]
lea edx, [ebp - 0x414]
mov ecx, eax
call fcn.100047e0
add esp, 0x18
test eax, eax
je 0x10004ab6
mov ecx, str.NTFS
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000497a
test dx, dx
je 0x10004976
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000497a
add eax, 4
add ecx, 4
test dx, dx
jne 0x10004954
xor eax, eax
jmp 0x1000497f
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1000498f
mov dword [esi + 0x10], 1
jmp 0x10004aa6
mov ecx, str.FAT32
lea eax, [ebp - 0x20c]
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100049c6
test dx, dx
je 0x100049c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100049c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x100049a0
xor eax, eax
jmp 0x100049cb
sbb eax, eax
or eax, 1
test eax, eax
je 0x10004a0f
mov ecx, 0x10021b14
lea eax, [ebp - 0x20c]
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10004a06
test dx, dx
je 0x10004a02
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10004a06
add eax, 4
add ecx, 4
test dx, dx
jne 0x100049e0
xor eax, eax
jmp 0x10004a0b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10004a1b
mov dword [esi + 0x10], 2
jmp 0x10004aa6
mov ecx, str.exFAT
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10004a4c
test dx, dx
je 0x10004a48
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10004a4c
add eax, 4
add ecx, 4
test dx, dx
jne 0x10004a26
xor eax, eax
jmp 0x10004a51
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10004a5e
mov dword [esi + 0x10], 3
jmp 0x10004aa6
mov ecx, 0x10021b28
lea eax, [ebp - 0x20c]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10004a96
test dx, dx
je 0x10004a92
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10004a96
add eax, 4
add ecx, 4
test dx, dx
jne 0x10004a70
xor eax, eax
jmp 0x10004a9b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10004aa6
mov dword [esi + 0x10], 5
lea ecx, [esi + 0x1c]
push ecx
lea eax, [ebp - 0x414]
push eax
call fcn.10004d60
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1000a56e
mov esp, ebp
pop ebp
ret
Function at 0x10004bf0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x10025008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10004c14
cmp word [eax], 0
jne 0x10004c19
mov eax, dword [esi]
call dword [eax + 0xc]
mov eax, dword [esi + 0x20]
test eax, eax
je 0x10004c26
cmp word [eax], 0
jne 0x10004c6b
push 0x2b4
lea eax, [ebp - 0x2b8]
push 0
push eax
call fcn.1000d7b0
add esp, 0xc
lea eax, [ebp - 0x2b8]
push 0x200
push 0x2b4
push eax
push 0
push dword [esi + 0xc]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push ecx
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [esi + 0x20]
call fcn.10004d60
mov eax, dword [esi + 0x20]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1000a56e
mov esp, ebp
pop ebp
ret

Function at 0x10005080
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
push esi
push edi
movzx edx, word [ebx + 0xa]
add ecx, 0xfffffffe
movzx esi, word [ebx + 8]
mov edi, edx
imul edi, dword [ebp + 0x10]
mov eax, esi
imul ecx, edx
cdq
push edx
push eax
push 0
add ecx, dword [ebx + 0x44]
push ecx
movups xmmword [ebp - 0x10], xmm0
call fcn.1001af80
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
imul esi, edi
lea eax, [ebp + 0x10]
push eax
mov dword [ebp - 8], edx
push esi
push dword [ebp + 0x14]
push dword [ebx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100050f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x10005110
push 1
push eax
call fcn.1000a57f
add esp, 8
xorps xmm0, xmm0
movups xmmword [esi + 0x30], xmm0
mov eax, dword [esi + 0x2cc]
test eax, eax
je 0x1000512c
push 1
push eax
call fcn.1000a57f
add esp, 8
xorps xmm0, xmm0
movups xmmword [esi + 0x2c0], xmm0
cmp byte [esi + 0x24], 0
je 0x10005145
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.10006ba0
mov bl, al
test bl, bl
je 0x1000521c
movzx ecx, word [esi + 8]
push ecx
call fcn.1000a914
add esp, 4
mov dword [esp + 0x14], 0
mov edi, eax
xorps xmm0, xmm0
lea eax, [esp + 0x14]
movups xmmword [esp + 0x18], xmm0
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x20], 0
push eax
movzx eax, word [esi + 8]
push eax
push edi
push dword [esi + 0x18]
mov dword [esp + 0x34], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100051ab
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov cl, byte [edi + 0x6d]
mov eax, 1
shl ax, cl
mov word [esi + 0xa], ax
mov eax, dword [edi + 0x54]
movzx ecx, word [esi + 0xa]
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x58]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x50]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x48]
mov dword [esi + 0x50], eax
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x54], eax
mov eax, dword [edi + 0x5c]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0
mov byte [esi + 0x69], 1
mov dword [esi + 0x6a], 5
mov dword [esi + 0x6e], 0
mov eax, dword [edi + 0x60]
mov dword [esi + 0x72], eax
movzx eax, word [esi + 8]
imul eax, ecx
push edi
mov byte [esi + 0x7e], 0
cdq
mov dword [esi + 0x76], eax
mov dword [esi + 0x7a], edx
call fcn.1000a91d
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret