joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10010b30
Capabilities:
Get storage device properties

Disassembly:
sub esp, 0x24c
mov eax, dword [0x100ef07c]
xor eax, esp
mov dword [esp + 0x244], eax
mov eax, dword [str._:]
mov edx, dword [0x100cc9d8]
push esi
push edi
mov esi, ecx
mov ecx, dword [0x100cc9d4]
push 0x1fa
xor edi, edi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], eax
mov ax, word [0x100cc9dc]
lea ecx, [esp + 0x52]
push edi
push ecx
mov dword [esp + 0x54], edx
mov word [esp + 0x58], ax
call sub.MSVCR90.dll_memset
xor eax, eax
add esp, 0xc
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
cmp si, 0x41
jb 0x10010bcb
cmp si, 0x5a
jbe 0x10010bd4
lea edx, [esi - 0x61]
cmp dx, 0x19
ja 0x10010c4b
push edi
push 0x80
push 3
push edi
push 3
push Ordinal_2
lea eax, [esp + 0x58]
push eax
mov word [esp + 0x64], si
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10010c4b
push edi
lea ecx, [esp + 0xc]
push ecx
push 0x28
lea edx, [esp + 0x24]
push edx
push 0xc
lea eax, [esp + 0x20]
push eax
push 0x2d1400
push esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x10010c2b
mov edi, dword [esp + 0x34]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.100c09bd
add esp, 0x24c
ret
mov ecx, dword [esp + 0x24c]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.100c09bd
add esp, 0x24c
ret

Function at 0x10011500
Capabilities:
Resume thread

Disassembly:
mov eax, dword [esi + 4]
test eax, eax
je 0x1001150c
xor eax, eax
ret 8
push ebx
push edi
xor edi, edi
lea ecx, [esi + 8]
push ecx
mov dword [esi + 4], 1
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov dword [esi + 0x2c], eax
mov eax, dword [esi]
mov dword [esi + 0x28], edx
cmp eax, edi
je 0x10011550
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], edi
push edi
push edi
push 4
push edi
push esi
push 0x100115a0
call sub.mfc90u.dll_AfxBeginThread
mov ebx, eax
cmp ebx, edi
je 0x1001158d
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push edi
push edi
push esi
call ebp
mov ecx, dword [ebx + 0x2c]
push eax
push ecx
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov edx, dword [ebx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop ebp
xor eax, eax
cmp dword [esi], edi
pop edi
setne al
pop ebx
ret 8
Function at 0x10014350
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100c41c8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100ef07c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
mov dword [esi], vtable.CScanData.0
or eax, 0xffffffff
mov dword [esi + 4], eax
xor ebx, ebx
mov dword [esi + 8], eax
lea edi, [esi + 0x20]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
mov ecx, edi
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi], vtable.CScanFileData.0
mov dword [esi + 0x1c], ebx
call dword [0x100ca800]
lea ecx, [edi + 0xc]
call dword [0x100ca800]
lea eax, [esi + 0x30]
mov dword [esp + 0x1c], ebx
push eax
mov dword [esi], vtable.CScanVirusData.0
call fcn.10015870
mov dword [esi + 0x48], ebx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x10014810
Capabilities:
Get disk information via ioctl

Disassembly:
sub esp, 0x414
mov eax, dword [0x100ef07c]
xor eax, esp
mov dword [esp + 0x410], eax
movsx eax, byte [esp + 0x418]
push esi
push eax
lea ecx, [esp + 0x18]
push str.._c:
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10014899
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFile___Error:__ld_n
call dword [sym.imp.MSVCR90.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR90.dll_fprintf]
add esp, 0xc
or eax, esi
pop esi
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.100c09bd
add esp, 0x414
ret
push 0
lea eax, [esp + 8]
push eax
push 0xc
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 0x2d1080
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x100148fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.IOCTL_STORAGE_GET_DEVICE_NUMBER_Error:__ld_n
call dword [sym.imp.MSVCR90.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR90.dll_fprintf]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.100c09bd
add esp, 0x414
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x414]
mov eax, dword [esp + 0xc]
pop esi
xor ecx, esp
call fcn.100c09bd
add esp, 0x414
ret
Function at 0x100178f0
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001790a
mov eax, 1
pop esi
ret 4
cmp dword [esp + 8], 0
mov esi, dword [esi + 4]
je 0x10017921
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x10017928
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10017901
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
pop esi
ret 4

Function at 0x10017ab0
Capabilities:
Check if file exists
Delete file
Terminate process

Disassembly:
cmp dword [esp + 4], 0
push edi
mov edi, ecx
je 0x10017ac0
xor eax, eax
pop edi
ret 4
mov eax, dword [edi + 0x18]
push esi
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10017b25
push ebx
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x7d0
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
pop ebx
je 0x10017b25
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10017b11
pop esi
mov eax, 1
pop edi
ret 4
mov edi, dword [edi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10017b07
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
xor eax, eax
pop edi
ret 4

Function at 0x10017ff0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x100c2fa9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x100ef07c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x20], 0
jne 0x10018034
mov eax, 0xfffffff8
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
lea eax, [esp + 0xc]
push eax
call fcn.10018220
mov dword [esp + 0x18], 0
mov edi, dword [esp + 0xc]
cmp dword [edi - 0xc], 0
je 0x10018095
mov edx, dword [esi]
mov eax, dword [edx + 0x34]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x20]
push ecx
push esi
xor ecx, ecx
mov edx, edi
call fcn.10017220
mov edx, dword [esp + 0xc]
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, 0xfffffff2
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x10018220
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x100c3262
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push edi
mov eax, dword [0x100ef07c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x24]
xor edi, edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], edi
call dword [0x100ca800]
mov ecx, str._temp__
lea ebx, [esp + 0x10]
mov dword [esp + 0x1c], edi
call fcn.100014a0
mov byte [esp + 0x1c], 1
mov edi, dword [esp + 0x10]
push 0x104
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBufferSetLength]
push eax
push 0
push str.MHMC
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
mov eax, dword [esi + 0x1c]
mov edx, dword [esp + 0x24]
mov ecx, dword [eax + 0x80]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
push edx
mov edx, dword [esi + 0x20]
push edx
call eax
test eax, eax
jne 0x100182c9
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebp
call dword [0x100ca804]
jmp 0x100182de
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
mov ecx, ebp
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, ebp
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x10018ca0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100c97f9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x100ef07c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x1c], 0
jne 0x10018cec
mov eax, 0xfffffff8
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
lea eax, [esp + 0x10]
push eax
push esi
call fcn.10018d90
mov dword [esp + 0x20], 0
mov edi, dword [esp + 0x10]
cmp dword [edi - 0xc], 0
je 0x10018d4d
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
mov ecx, dword [ebp + 8]
push ecx
push esi
xor ecx, ecx
mov edx, edi
call fcn.10017220
mov edx, dword [esp + 0x10]
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, 0xfffffff2
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10018d90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c31a4
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push esi
push edi
mov eax, dword [0x100ef07c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], 0
call dword [0x100ca800]
mov ecx, str._temp__
lea ebx, [ebp - 0x18]
mov dword [ebp - 4], 1
call fcn.100014a0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x18]
push 0x104
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBufferSetLength]
push eax
push 0
push str.MHSR
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
lea ecx, [ebp - 0x3c]
call sub.mfc90u.dll_CFile::CFile
push 0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
push 0x1002
push eax
lea ecx, [ebp - 0x3c]
call sub.mfc90u.dll_CFile::Open
test eax, eax
je 0x10018efb
lea ecx, [ebp - 0x2c]
call sub.mfc90u.dll_AFX_EXCEPTION_LINK::AFX_EXCEPTION_LINK
push 0
push 0x1000
push 0
lea ecx, [ebp - 0x3c]
push ecx
mov bl, 5
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], bl
call fcn.100c06b8
mov edx, dword [ebp + 8]
mov byte [ebp - 4], 6
mov ecx, dword [edx + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
lea edx, [ebp - 0x88]
push edx
call eax
lea ecx, [ebp - 0x88]
call sub.mfc90u.dll_CArchive::Close
lea ecx, [ebp - 0x3c]
call sub.mfc90u.dll_CFile::Close
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], bl
call sub.mfc90u.dll_CArchive::CArchive
mov dword [ebp - 4], 4
jmp 0x10018ee4
mov byte [ebp - 4], 3
call sub.mfc90u.dll_AfxTryCleanup
lea ecx, [ebp - 0x14]
push ecx
mov ecx, edi
call dword [0x100ca804]
jmp 0x10018f05
push 0
mov ecx, edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x1c], 1
mov byte [ebp - 4], 2
call fcn.100c036a
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10019e60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100c4fc8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100ef07c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x28]
mov esi, ecx
mov eax, dword [esi + 4]
mov edx, dword [eax + 0x14]
lea ebp, [esi + 4]
push 0xffffffffffffffff
mov ecx, ebp
mov dword [esp + 0x18], ebp
call edx
mov dword [esp + 0x20], 0
mov dword [ebx + 4], esi
mov eax, dword [esi + 0x34]
sub eax, dword [esi + 0x30]
lea edi, [esi + 0x24]
sar eax, 2
mov dword [ebx + 0x38], eax
lea ebx, [esp + 0x28]
call fcn.100a4250
mov esi, dword [edi + 0x10]
sub esi, dword [edi + 0xc]
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [ebp]
mov edx, dword [eax + 0x1c]
mov ecx, ebp
sar esi, 2
call edx
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4

Function at 0x10019f00
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push edi
xor ebx, ebx
lea eax, [esi + 0x140]
mov dword [esi + 0x120], ebx
mov dword [esi + 0x124], ebx
push eax
call ebp
lea ecx, [esi + 0x12c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
mov ecx, esi
mov dword [esi + 0x100], 2
call eax
mov edi, eax
cmp edi, ebx
je 0x10019f5e
mov dword [esi + 0x100], ebx
mov dword [esi + 0x100], ebx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
pop edi
pop ebp
pop ebx
ret
mov edx, dword [esi]
mov eax, dword [edx + 0x2c]
mov ecx, esi
call eax
lea ecx, [esi + 0x148]
push ecx
mov edi, eax
call ebp
lea edx, [esi + 0x134]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, edi
pop edi
mov dword [esi + 0x100], ebx
pop ebp
mov dword [esi + 0x100], ebx
pop ebx
ret
Function at 0x1001b2e0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100c3138
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push edi
mov eax, dword [0x100ef07c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esi + 4]
mov edx, dword [eax + 0x14]
lea edi, [esi + 4]
push 0xffffffffffffffff
mov ecx, edi
mov dword [esp + 0x14], edi
call edx
mov eax, dword [esi + 0x140]
or eax, dword [esi + 0x144]
jne 0x1001b354
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [esp + 0x38], 0xffffffff
mov edx, dword [edi]
mov eax, dword [edx + 0x1c]
mov ecx, edi
call eax
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x148]
mov ecx, dword [esi + 0x14c]
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, eax
or edx, ecx
jne 0x1001b375
lea eax, [esp + 0x14]
push eax
call edi
jmp 0x1001b37d
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov edx, dword [esi + 0x124]
test edx, edx
je 0x1001b3ef
lea eax, [esp + 0x24]
push eax
call edi
mov edi, dword [esi + 0x158]
sub edi, dword [esi + 0x150]
mov eax, dword [esi + 0x15c]
sbb eax, dword [esi + 0x154]
sub edi, dword [esi + 0x140]
mov ecx, dword [esp + 0x20]
sbb eax, dword [esi + 0x144]
sub edi, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
sbb eax, dword [esp + 0x28]
add edi, dword [esp + 0x14]
push 0
adc eax, dword [esp + 0x1c]
push 0x3e8
push ecx
push edx
mov dword [esp + 0x1c], eax
call fcn.100c1a80
push edx
push eax
mov eax, dword [esp + 0x14]
jmp 0x1001b42f
mov edi, dword [esp + 0x14]
sub edi, dword [esi + 0x150]
mov eax, dword [esp + 0x18]
sbb eax, dword [esi + 0x154]
sub edi, dword [esi + 0x140]
mov ecx, dword [esp + 0x20]
sbb eax, dword [esi + 0x144]
mov edx, dword [esp + 0x1c]
push 0
push 0x3e8
push ecx
push edx
mov dword [esp + 0x1c], eax
call fcn.100c1a80
push edx
push eax
mov eax, dword [esp + 0x14]
push eax
push edi
call fcn.100c1a80
mov dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0x10]
mov dword [ebx + 4], edx
mov dword [ebx], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x1001c590
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x100c8e82
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x100ef07c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2c]
xor edi, edi
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
push 0xfde9
lea ecx, [esp + 0x30]
lea esi, [esp + 0x1c]
mov dword [esp + 0x28], edi
call fcn.1001c030
push edi
push 6
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 1
mov eax, dword [eax]
push ecx
push eax
call fcn.1008fd00
add esp, 0x14
test eax, eax
mov ecx, esi
sete bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
test bl, bl
je 0x1001c64d
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x14]
push eax
push 0x1001c670
push str.SELECT__FROM_Info_WHERE_nameversion_
push esi
mov dword [esp + 0x40], edi
call fcn.1006f7d0
push edi
mov eax, esi
call fcn.1008e2e0
add esp, 0x18
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 4
Function at 0x1001c780
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x100c9662
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push edi
mov eax, dword [0x100ef07c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
xor ebx, ebx
call edi
test eax, eax
je 0x1001c7c4
push esi
call fcn.1001c590
cmp eax, 1
jge 0x1001c878
push esi
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
push str..new
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], ebx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
push esi
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
push str..old
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
mov eax, dword [esp + 0x10]
push eax
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1001c819
mov ecx, dword [esp + 0x10]
push ecx
call ebp
mov ecx, dword [esp + 0x10]
mov edx, esi
call fcn.1001ca30
test eax, eax
je 0x1001c864
mov edx, dword [esp + 0x14]
push edx
call edi
test eax, eax
je 0x1001c83a
mov eax, dword [esp + 0x14]
push eax
call ebp
mov ecx, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileW]
push ecx
push esi
call edi
test eax, eax
je 0x1001c864
mov edx, dword [esp + 0x10]
push esi
push edx
call edi
test eax, eax
je 0x1001c864
mov eax, dword [esp + 0x10]
push eax
mov ebx, 1
call ebp
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x1001ce10
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x100c9582
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100ef07c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
push esi
mov ecx, edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001ce58
push esi
call fcn.1001c360
test eax, eax
jne 0x1001ce5e
push esi
call fcn.1001c450
push esi
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
push 0xfde9
lea ecx, [esp + 0x14]
lea esi, [esp + 0x18]
mov dword [esp + 0x24], 0
call fcn.1001c030
push 0
push 6
mov byte [esp + 0x2c], 1
mov eax, dword [eax]
add edi, 8
push edi
push eax
call fcn.1008fd00
add esp, 0x14
test eax, eax
mov ecx, esi
sete bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
test bl, bl
setne al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret