joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a5f0
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4c5484]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov byte [ebp - 0x14], 0
mov byte [ebp - 0x13], 0
mov byte [ebp - 0x12], 0
mov byte [ebp - 0x11], 0
mov byte [ebp - 0x10], 0
mov byte [ebp - 0xf], 5
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x45a669
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x45a65f
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00462614
mov esp, ebp
pop ebp
ret

Function at 0x45a680
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x4c5484]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
push 0
lea eax, [ebp - 0x120]
push eax
call fcn.004630d0
add esp, 0xc
mov dword [ebp - 0x120], 0x114
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 5
ja 0x45a6e7
cmp dword [ebp - 0x11c], 5
jne 0x45a6db
cmp dword [ebp - 0x118], 1
jae 0x45a6e7
mov dword [ebp - 0x124], 0
jmp 0x45a6f1
mov dword [ebp - 0x124], 1
mov al, byte [ebp - 0x124]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00462614
mov esp, ebp
pop ebp
ret

Function at 0x45f818
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4c7438], 0
push esi
jne 0x45f786
call fcn.0045f69a
test eax, eax
je 0x45f7c9
mov eax, dword [0x4c7438]
cmp eax, 1
jne 0x45f7a7
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x45f7c9
pop esi
ret
push eax
call dword [0x4c7440]
test eax, eax
jne 0x45f811
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x45f7cd
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4c7438]
call dword [0x4c7440]
mov edi, eax
test edi, edi
je 0x45f7f2
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x45f80e
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4c7438]
call dword [0x4c743c]
add edi, 0x10
cmp edi, esi
jb 0x45f7fa
mov eax, edi
pop edi
pop esi
ret
jmp 0x45f773

Function at 0x462614
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4c5484]
jne 0x46261e
repz ret
jmp fcn.0046f12c
Function at 0x485164
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0046ea69
and dword [ebp - 4], 0
cmp dword [0x4c8398], 0
mov ebx, eax
jne 0x485215
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4852c6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4b4ec4
push edi
call esi
test eax, eax
je 0x4852c6
push eax
call fcn.0046e9f7
mov dword [esp], 0x4b4eb4
push edi
mov dword [0x4c8398], eax
call esi
push eax
call fcn.0046e9f7
mov dword [esp], 0x4b4ea0
push edi
mov dword [0x4c839c], eax
call esi
push eax
call fcn.0046e9f7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4c83a0], eax
call esi
push eax
call fcn.0046e9f7
pop ecx
mov dword [0x4c83a8], eax
test eax, eax
je 0x485215
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0046e9f7
pop ecx
mov dword [0x4c83a4], eax
mov eax, dword [0x4c83a4]
cmp eax, ebx
je 0x48526d
cmp dword [0x4c83a8], ebx
je 0x48526d
push eax
call fcn.0046ea72
push dword [0x4c83a8]
mov esi, eax
call fcn.0046ea72
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x48526d
test edi, edi
je 0x48526d
call esi
test eax, eax
je 0x485264
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x485264
test byte [ebp - 0xc], 1
jne 0x48526d
or dword [ebp + 0x10], 0x200000
jmp 0x4852a6
mov eax, dword [0x4c839c]
cmp eax, ebx
je 0x4852a6
push eax
call fcn.0046ea72
pop ecx
test eax, eax
je 0x4852a6
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4852a6
mov eax, dword [0x4c83a0]
cmp eax, ebx
je 0x4852a6
push eax
call fcn.0046ea72
pop ecx
test eax, eax
je 0x4852a6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4c8398]
call fcn.0046ea72
pop ecx
test eax, eax
je 0x4852c6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4852c8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10016dd0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
test eax, eax
jne 0x10016de4
xor al, al
pop esi
pop ebp
ret 8
push ebx
push edi
push str.A496FA08_DBB5_4914_A013_E3B8E2894EEE
push 0
mov dword [esi + 8], eax
xor bl, bl
mov eax, dword [ebp + 0xc]
push 0
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
test edi, edi
je 0x10016e23
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 0x18]
xchg byte [eax], bl
pop edi
pop ebx
mov al, 1
pop esi
pop ebp
ret 8
Function at 0x10035940
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10162aaf
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x101f6008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ecx]
mov dword [edx], eax
add edx, 8
mov dword [ebp + 8], edx
mov dword [edx], vtable.RC::DmAvCore::IVBusMessageHolder.0
mov dword [ebp - 4], 0
mov dword [edx], vtable.RC::TEHIPS::RCHipsScanResult.0
mov eax, dword [ecx + 0xc]
mov dword [edx + 4], eax
xor eax, eax
mov dword [edx + 0x18], 0
mov dword [edx + 0x1c], 0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [edx + 8], xmm0
movq xmm0, qword [ecx + 0x20]
movq qword [edx + 0x18], xmm0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 7
mov word [ecx + 0x10], ax
mov byte [ebp - 4], 1
mov eax, dword [ecx + 0x28]
mov dword [edx + 0x20], eax
mov eax, dword [ecx + 0x2c]
mov dword [edx + 0x24], eax
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [edx + 0x28], xmm0
mov eax, dword [ecx + 0x40]
mov dword [edx + 0x38], eax
mov eax, dword [ecx + 0x44]
mov dword [edx + 0x3c], eax
xor eax, eax
mov dword [edx + 0x50], 0
mov dword [edx + 0x54], 0
movups xmm0, xmmword [ecx + 0x48]
movups xmmword [edx + 0x40], xmm0
movq xmm0, qword [ecx + 0x58]
movq qword [edx + 0x50], xmm0
mov dword [ecx + 0x58], 0
mov dword [ecx + 0x5c], 7
mov word [ecx + 0x48], ax
mov byte [ebp - 4], 2
mov eax, dword [ecx + 0x60]
mov dword [edx + 0x58], eax
movzx eax, word [ecx + 0x64]
mov word [edx + 0x5c], ax
movzx eax, word [ecx + 0x66]
mov word [edx + 0x5e], ax
xor eax, eax
mov dword [edx + 0x70], 0
mov dword [edx + 0x74], 0
movups xmm0, xmmword [ecx + 0x68]
movups xmmword [edx + 0x60], xmm0
movq xmm0, qword [ecx + 0x78]
movq qword [edx + 0x70], xmm0
mov dword [ecx + 0x78], 0
mov dword [ecx + 0x7c], 7
mov word [ecx + 0x68], ax
mov byte [ebp - 4], 3
movzx eax, word [ecx + 0x80]
mov word [edx + 0x78], ax
movzx eax, word [ecx + 0x82]
mov word [edx + 0x7a], ax
xor eax, eax
mov dword [edx + 0x8c], 0
mov dword [edx + 0x90], 0
movups xmm0, xmmword [ecx + 0x84]
movups xmmword [edx + 0x7c], xmm0
movq xmm0, qword [ecx + 0x94]
movq qword [edx + 0x8c], xmm0
mov dword [ecx + 0x94], 0
mov dword [ecx + 0x98], 7
mov word [ecx + 0x84], ax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10036870
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10162cc6
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x101f6008]
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
mov esi, ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x248]
lea eax, [ebx + 0x30]
push eax
call fcn.100084d0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x238], 0
jne 0x100368d4
push 0x12
push 0x101a9fe0
lea ecx, [ebp - 0x248]
call fcn.10006790
lea ecx, [esi + 0x24]
push 0x65
call dword [sym.imp.2345MiniUI.dll_public:_class_RC::RCMiniUIView____thiscall_RC::RCMiniUIDialogView::GetViewByID_int_const]
mov edi, eax
test edi, edi
je 0x10036901
mov edx, dword [edi]
lea eax, [ebp - 0x248]
push 1
push eax
mov ecx, edi
call dword [edx + 0xd0]
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0x34]
lea eax, [ebx + 0x18]
push eax
lea ecx, [ebp - 0x230]
call fcn.100084d0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x220], 0
je 0x1003693e
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
cmovae ecx, dword [ebp - 0x230]
xor edx, edx
call fcn.100e0440
mov dword [esi + 0x134], eax
push ebx
lea ecx, [esi + 0xc8]
call fcn.10036a70
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [esi + 0x134]
call dword [sym.imp.USER32.dll_GetClassNameW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10036981
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [esi + 0x154]
call fcn.10006790
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [esi + 0x134]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100369e0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [esi + 0x16c]
call fcn.10006790
mov ecx, esi
call fcn.10036d80
cmp byte [esi + 0x138], 0
jne 0x10036a2c
push 0x1f4
push 0x2001
lea ecx, [esi + 0x24]
call dword [sym.imp.2345MiniUI.dll_public:_void___thiscall_RC::RCMiniUIWindow::SetWindowTimer_unsigned_int__unsigned_int_]
mov byte [esi + 0x138], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.10006730
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.10006730
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.10144424
mov esp, ebp
pop ebp
ret 4
Function at 0x1003c780
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101638a8
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x101f6008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
jne 0x1003c7bf
xor eax, eax
jmp 0x1003c8aa
cmp byte [edi + 8], 0
jne 0x1003c7ca
call fcn.1003c720
mov ecx, esi
call fcn.100e2fb0
test al, al
je 0x1003c81b
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1003c7df
mov eax, dword [esi]
push eax
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
je 0x1003c81b
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x2e4], 0
jb 0x1003c7fc
mov esi, dword [esi]
push 1
lea eax, [ebp - 0x2e4]
push eax
push 0
push 0
push esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
mov esi, dword [ebp - 0x2e4]
jmp 0x1003c8a8
mov edx, esi
mov dword [ebp - 0x2e4], 0
lea ecx, [ebp - 0x28]
call fcn.100e3440
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x1003c893
push 0x2b4
lea eax, [ebp - 0x2e0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x2e0]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0x4010
push 0x2b4
push ecx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x1003c893
mov eax, dword [ecx]
lea edx, [ebp - 0x2e4]
push edx
push 0
push dword [ebp - 0x2dc]
push ecx
call dword [eax + 0x28]
mov esi, dword [ebp - 0x2e4]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10006730
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10144424
mov esp, ebp
pop ebp
ret 8
Function at 0x100431e0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016453c
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x101f6008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
lea edi, [ebx + 0x7c]
mov dword [ebx], vtable.RC::RCPromoteInstallDlg.0
mov dword [ebx + 0x24], vtable.RC::RCPromoteInstallDlg.1.0
mov dword [edi], vtable.RC::RCPromoteInstallDlg.2.0
mov dword [ebp - 4], 2
lea esi, [ebx + 0x138]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 5
mov ecx, esi
mov eax, dword [esi]
push eax
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.10044d10
mov byte [ebp - 4], 2
push 0x2c
push dword [esi]
call fcn.101448bc
add esp, 8
mov byte [ebp - 4], 1
lea esi, [ebx + 0xd0]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 8
lea ecx, [esi + 0x48]
call fcn.10006730
mov byte [ebp - 4], 7
lea ecx, [esi + 0x30]
call fcn.10006730
mov byte [ebp - 4], 6
lea ecx, [esi + 0x18]
call fcn.10006730
mov byte [ebp - 4], 1
mov dword [esi], vtable.RC::DmAvCore::IVBusMessageHolder.0
mov byte [ebp - 4], 0
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.RC::RCPopupWndBase.0
mov byte [ebp - 4], 0
lea ecx, [edi + 4]
call fcn.10005820
mov dword [ebp - 4], 0xffffffff
mov dword [ebx], vtable.RC::RCTopMostDlg.0
mov dword [ebx + 0x24], vtable.RC::RCTopMostDlg.1.0
mov dword [ebp - 4], 0xffffffff
mov ecx, ebx
call dword [sym.imp.2345MiniUI.dll_public_virtual:_void___thiscall_RC::RCMiniUISimpleWindow::destructor_void_]
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 0x10045ff0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add ecx, 8
pop ebp
jmp fcn.10036870
Function at 0x100534b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10166860
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x101f6008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
push ecx
mov edx, str._select__
movlpd qword [ebp - 0x5c], xmm0
lea ecx, [ebp - 0x7c]
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x64], 0x3c
mov dword [ebp - 0x60], 0x100400
mov dword [ebp - 0x54], 0x101af524
call fcn.10053c00
mov dword [ebp - 4], 0
mov edx, eax
push 0x101af520
lea ecx, [ebp - 0x28]
call fcn.10028440
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call fcn.10006730
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x48], 1
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10006730
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10144424
mov esp, ebp
pop ebp
ret
Function at 0x1005b400
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101677fb
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x101f6008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push 4
mov dword [ebx], vtable.RC::RCUIAssistProcessor.0
mov dword [ebx + 4], 0
mov byte [ebx + 8], 1
call fcn.10144448
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov dword [eax], 0
mov dword [eax], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0xc], eax
mov dword [ebp - 4], 1
push 0x50
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
call fcn.10144448
mov edi, eax
add esp, 8
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 2
mov byte [edi], 0
mov byte [edi + 1], 0
mov dword [edi + 4], 0
mov byte [ebp - 4], 3
lea eax, [edi + 8]
mov dword [ebp - 0x18], eax
xor ecx, ecx
mov dword [eax], 0
mov byte [eax + 4], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 7
mov word [eax + 8], cx
mov byte [ebp - 4], 5
lea esi, [edi + 0x28]
mov dword [ebp - 0x18], esi
mov dword [esi], ecx
mov dword [esi + 4], ecx
call fcn.1000f3d0
mov dword [esi], eax
mov byte [ebp - 4], 8
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0xffffffff
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov byte [ebp - 4], 1
mov dword [ebx + 0x18], edi
mov byte [ebp - 4], 9
xor eax, eax
lea ecx, [ebx + 0x2c]
mov byte [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov word [ebx + 0x28], 0
mov byte [ebx + 0x2a], 0
push eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x101a2c64
mov word [ecx], ax
call fcn.10006790
mov dword [ebp - 4], 0xffffffff
mov eax, 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 0x1006e8d0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c0
mov eax, dword [0x101f6008]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2bc], 0
push esi
mov esi, ecx
cmp edx, 0x18
jae 0x1006e8fc
mov eax, 1
jmp 0x1006e910
cmp edx, 0x28
jae 0x1006e905
xor eax, eax
jmp 0x1006e910
cmp edx, 0x98
sbb eax, eax
add eax, 3
lea ecx, [ebp - 0x2bc]
push ecx
push 0x1018b368
push eax
call dword [sym.imp.SHELL32.dll_SHGetImageList]
test eax, eax
jne 0x1006e9ac
cmp dword [ebp - 0x2bc], eax
je 0x1006e9ac
push 0x2b4
push eax
lea eax, [ebp - 0x2b8]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x1006e950
mov esi, dword [esi]
push 0x4010
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x1006e9ac
mov eax, dword [ebp - 0x2bc]
lea edx, [ebp - 0x2c0]
push edx
push 0
push dword [ebp - 0x2b4]
mov dword [ebp - 0x2c0], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
test eax, eax
jne 0x1006e9ac
mov eax, dword [ebp - 0x2c0]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10144424
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.10144424
mov esp, ebp
pop ebp
ret
Function at 0x1006f810
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016b038
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x101f6008]
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
mov dword [ebp - 0x54], edx
mov edx, ecx
xor bl, bl
push 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x49], bl
call fcn.100e2560
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
push 0x101b2c60
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1006f8e7
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push 2
push 0
push edi
call esi
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push 0
mov ebx, eax
push 0
push edi
mov dword [ebp - 0x50], ebx
call esi
lea esi, [ebx + 1]
push esi
call fcn.10144c53
push esi
mov ebx, eax
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
mov esi, dword [ebp - 0x50]
push edi
push esi
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x3c
cmp eax, esi
jne 0x1006f8d4
lea ecx, [ebp - 0x48]
call fcn.10095090
push dword [ebp - 0x54]
push esi
push ebx
call fcn.10095350
mov byte [ebp - 0x49], al
push ebx
call fcn.10144c5c
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov bl, byte [ebp - 0x49]
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1006f924
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006f91a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006f91a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.101448bc
add esp, 8
mov dword [ebp - 0x18], 0
mov al, bl
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
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.10144424
mov esp, ebp
pop ebp
ret
Function at 0x10070630
Capabilities:
Check mutex on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016b2cf
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
push esi
push edi
mov eax, dword [0x101f6008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0x101fcb88
mov dword [0x101fcb98], 0
mov dword [0x101fcb9c], 7
mov word [0x101fcb88], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x30]
push 0x24
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
push str.0584EF5D_1493_45BF_B393_F4E62C50F6EB
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
call fcn.10006790
mov byte [ebp - 4], 1
cmp dword [ebp - 0x20], 0
mov dword [0x101fcba0], 0
mov word [0x101fcba4], 0
je 0x100706eb
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
jmp 0x100706ed
xor eax, eax
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x101fcba0], eax
test eax, eax
je 0x10070721
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, byte [0x101fcba5]
cmp eax, 0xb7
mov edx, 1
cmove ecx, edx
mov byte [0x101fcba5], cl
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.10006730
mov dword [0x101fcba8], 0
mov dword [0x101fcbac], 0
mov dword [0x101fcbb0], 0
mov byte [ebp - 4], 4
xor eax, eax
push 0xa
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 0
push str.StatusStat
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
call fcn.10006790
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x60]
call fcn.1006ff60
mov esi, eax
mov dword [ebp - 0x14], 1
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x60]
lea ecx, [ebp - 0x30]
call fcn.100df180
add esp, 4
mov edi, eax
mov byte [ebp - 4], 7
lea eax, [ebp - 0x60]
cmp eax, edi
je 0x100707df
mov ecx, eax
call fcn.10006730
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x60], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x50], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
call fcn.10006730
cmp esi, 0x101fcb88
je 0x10070827
mov ecx, 0x101fcb88
call fcn.10006730
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [0x101fcb88], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x101fcb98], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, 1
mov dword [ebp - 0x14], ecx
and ecx, 0xfffffffe
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x60]
call fcn.10006730
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
call fcn.10006730
mov dword [ebp - 4], 0xffffffff
mov eax, 0x101fcb88
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret