joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412a81
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x14]
xor bl, bl
test eax, eax
jbe 0x412b0a
mov edx, dword [esi + 0x498]
test edx, edx
je 0x412b0a
cmp dword [ecx + 0x18], 0x10
jb 0x412aa6
mov ecx, dword [ecx + 4]
jmp 0x412aa9
add ecx, 4
push ebp
push edi
lea edi, [esi + 0x49c]
push edi
lea ebp, [esp + 0x18]
push ebp
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x412aff
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x412b01
mov eax, dword [esi + 0x4b0]
mov ecx, dword [esi + 0x4ac]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x412b01
push eax
mov eax, dword [esi + 0x498]
mov edx, ebp
push edx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x412b01
mov bl, 1
pop edi
pop ebp
pop esi
mov al, bl
pop ebx
ret 4
pop esi
xor al, al
pop ebx
ret 4

Function at 0x413904
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x432adc]
jne 0x41390e
repz ret
jmp fcn.00416cef

Function at 0x41e05d
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.00417cd8
and dword [ebp - 4], 0
cmp dword [0x435450], 0
mov ebx, eax
jne 0x41e10e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41e1bf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x41e1bf
push eax
call fcn.00417c66
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x435450], eax
call esi
push eax
call fcn.00417c66
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x435454], eax
call esi
push eax
call fcn.00417c66
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x435458], eax
call esi
push eax
call fcn.00417c66
pop ecx
mov dword [0x435460], eax
test eax, eax
je 0x41e10e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00417c66
pop ecx
mov dword [0x43545c], eax
mov eax, dword [0x43545c]
cmp eax, ebx
je 0x41e166
cmp dword [0x435460], ebx
je 0x41e166
push eax
call fcn.00417ce1
push dword [0x435460]
mov esi, eax
call fcn.00417ce1
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41e166
test edi, edi
je 0x41e166
call esi
test eax, eax
je 0x41e15d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41e15d
test byte [ebp - 0xc], 1
jne 0x41e166
or dword [ebp + 0x10], 0x200000
jmp 0x41e19f
mov eax, dword [0x435454]
cmp eax, ebx
je 0x41e19f
push eax
call fcn.00417ce1
pop ecx
test eax, eax
je 0x41e19f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41e19f
mov eax, dword [0x435458]
cmp eax, ebx
je 0x41e19f
push eax
call fcn.00417ce1
pop ecx
test eax, eax
je 0x41e19f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x435450]
call fcn.00417ce1
pop ecx
test eax, eax
je 0x41e1bf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41e1c1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10017220
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 0x10017234
xor al, al
pop esi
pop ebp
ret 8
push ebx
push edi
push 0x101b8ff8
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 0x10017273
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 0x10035c60
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101666ff
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x101fb008]
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 0x10036b90
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10166916
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x101fb008]
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.100085c0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x238], 0
jne 0x10036bf4
push 0x12
push 0x101ae04c
lea ecx, [ebp - 0x248]
call fcn.10006870
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 0x10036c21
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.100085c0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x220], 0
je 0x10036c5e
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
cmovae ecx, dword [ebp - 0x230]
xor edx, edx
call fcn.100e2c90
mov dword [esi + 0x134], eax
push ebx
lea ecx, [esi + 0xc8]
call fcn.10036d90
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 0x10036ca1
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [esi + 0x154]
call fcn.10006870
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 0x10036d00
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [esi + 0x16c]
call fcn.10006870
mov ecx, esi
call fcn.100370a0
cmp byte [esi + 0x138], 0
jne 0x10036d4c
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.10006810
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.10006810
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.10147fe4
mov esp, ebp
pop ebp
ret 4
Function at 0x1003d570
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101676c8
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x101fb008]
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 0x1003d5af
xor eax, eax
jmp 0x1003d69a
cmp byte [edi + 8], 0
jne 0x1003d5ba
call fcn.1003d510
mov ecx, esi
call fcn.100e6e40
test al, al
je 0x1003d60b
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1003d5cf
mov eax, dword [esi]
push eax
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
je 0x1003d60b
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x2e4], 0
jb 0x1003d5ec
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 0x1003d698
mov edx, esi
mov dword [ebp - 0x2e4], 0
lea ecx, [ebp - 0x28]
call fcn.100e72d0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x1003d683
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 0x1003d683
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.10006810
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.10147fe4
mov esp, ebp
pop ebp
ret 8
Function at 0x10044960
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016843c
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x101fb008]
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.10046490
mov byte [ebp - 4], 2
push 0x2c
push dword [esi]
call fcn.1014847c
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.10006810
mov byte [ebp - 4], 7
lea ecx, [esi + 0x30]
call fcn.10006810
mov byte [ebp - 4], 6
lea ecx, [esi + 0x18]
call fcn.10006810
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.10005900
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 0x10047770
Capabilities:
Get graphical window text

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016a770
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x101fb008]
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], str.explorer.exe
call fcn.10055390
mov dword [ebp - 4], 0
mov edx, eax
push 0x101b3a84
lea ecx, [ebp - 0x28]
call fcn.10028780
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call fcn.10006810
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.10006810
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10147fe4
mov esp, ebp
pop ebp
ret
Function at 0x1005cc10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016b66b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x101fb008]
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.10148008
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.10148008
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.1000f7f0
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 0x101a6c64
mov word [ecx], ax
call fcn.10006870
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 0x100701b0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c0
mov eax, dword [0x101fb008]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2bc], 0
push esi
mov esi, ecx
cmp edx, 0x18
jae 0x100701dc
mov eax, 1
jmp 0x100701f0
cmp edx, 0x28
jae 0x100701e5
xor eax, eax
jmp 0x100701f0
cmp edx, 0x98
sbb eax, eax
add eax, 3
lea ecx, [ebp - 0x2bc]
push ecx
push 0x1018f368
push eax
call dword [sym.imp.SHELL32.dll_SHGetImageList]
test eax, eax
jne 0x1007028c
cmp dword [ebp - 0x2bc], eax
je 0x1007028c
push 0x2b4
push eax
lea eax, [ebp - 0x2b8]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x10070230
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 0x1007028c
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 0x1007028c
mov eax, dword [ebp - 0x2c0]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10147fe4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.10147fe4
mov esp, ebp
pop ebp
ret
Function at 0x10070bf0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016ed58
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x101fb008]
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.100e63f0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
push 0x101b7104
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 0x10070cc7
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.10148813
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 0x10070cb4
lea ecx, [ebp - 0x48]
call fcn.10096ec0
push dword [ebp - 0x54]
push esi
push ebx
call fcn.10097180
mov byte [ebp - 0x49], al
push ebx
call fcn.1014881c
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 0x10070d04
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10070cfa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10070cfa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1014847c
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.10147fe4
mov esp, ebp
pop ebp
ret
Function at 0x10071f20
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 0x1016f13f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
push esi
push edi
mov eax, dword [0x101fb008]
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], 0x10201c70
mov dword [0x10201c80], 0
mov dword [0x10201c84], 7
mov word [0x10201c70], 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.10006870
mov byte [ebp - 4], 1
cmp dword [ebp - 0x20], 0
mov dword [0x10201c88], 0
mov word [0x10201c8c], 0
je 0x10071fdb
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
jmp 0x10071fdd
xor eax, eax
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x10201c88], eax
test eax, eax
je 0x10072011
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, byte [0x10201c8d]
cmp eax, 0xb7
mov edx, 1
cmove ecx, edx
mov byte [0x10201c8d], cl
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.10006810
mov dword [0x10201c90], 0
mov dword [0x10201c94], 0
mov dword [0x10201c98], 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.10006870
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x60]
call fcn.10071840
mov esi, eax
mov dword [ebp - 0x14], 1
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x60]
lea ecx, [ebp - 0x30]
call fcn.100e42d0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 7
lea eax, [ebp - 0x60]
cmp eax, edi
je 0x100720cf
mov ecx, eax
call fcn.10006810
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.10006810
cmp esi, 0x10201c70
je 0x10072117
mov ecx, 0x10201c70
call fcn.10006810
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [0x10201c70], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x10201c80], 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.10006810
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
call fcn.10006810
mov dword [ebp - 4], 0xffffffff
mov eax, 0x10201c70
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