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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10055050]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x100093ba
cmp byte [esi + 0x3d], 0
je 0x100093ba
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x100093a8
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x10009370
sub eax, 1
je 0x10009374
sub eax, 2
jne 0x100093a8
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001d0df
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10009391
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.100274e8
add esp, 0x10
cmp edi, eax
jne 0x100093a8
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001d0df
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001d0df
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.1001d0df
mov esp, ebp
pop ebp
ret

Function at 0x10009910
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100409e0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10055050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1001d0ed
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.1001c294
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 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 0x100114f0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10055050]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push edi
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov edi, ecx
push eax
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi], 0x67452301
mov dword [edi + 4], 0xefcdab89
mov dword [edi + 8], 0x98badcfe
mov dword [edi + 0xc], 0x10325476
call fcn.10011440
xor edx, edx
lea ecx, [edi + 0x12]
movzx eax, byte [ecx - 2]
lea ecx, [ecx + 4]
mov byte [ebp + edx - 0xc], al
movzx eax, byte [ecx - 5]
mov byte [ebp + edx - 0xb], al
movzx eax, byte [ecx - 4]
mov byte [ebp + edx - 0xa], al
movzx eax, byte [ecx - 3]
mov byte [ebp + edx - 9], al
add edx, 4
cmp edx, 8
jb 0x10011545
mov edx, dword [edi + 0x10]
mov ecx, 0x78
shr edx, 3
mov eax, 0x38
and edx, 0x3f
sub ecx, edx
sub eax, edx
cmp edx, 0x38
push esi
cmovae eax, ecx
mov ecx, edi
push eax
push 0x10055ad0
call fcn.10011440
push 8
lea eax, [ebp - 0xc]
mov ecx, edi
push eax
call fcn.10011440
lea ecx, [edi + 0x5a]
mov esi, 4
lea edx, [edi + 2]
movzx eax, byte [edx - 2]
lea edx, [edx + 4]
mov byte [ecx - 2], al
lea ecx, [ecx + 4]
movzx eax, byte [edx - 5]
mov byte [ecx - 5], al
movzx eax, byte [edx - 4]
mov byte [ecx - 4], al
movzx eax, byte [edx - 3]
mov byte [ecx - 3], al
sub esi, 1
jne 0x100115b3
push 0x58
push esi
push edi
call fcn.1001ef10
add esp, 0xc
nop word [eax + eax]
movzx eax, byte [edi + esi + 0x58]
push eax
push str._02x
lea eax, [edi + 0x68]
lea eax, [eax + esi*2]
push 4
push eax
call fcn.100072c0
inc esi
add esp, 0x10
cmp esi, 0x10
jl 0x100115f0
mov edx, dword [ebp + 0x1c]
pop esi
cmp edx, 0x10
jb 0x10011643
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10011639
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011657
push edx
push ecx
call fcn.1001d11d
add esp, 8
mov ecx, dword [ebp - 4]
lea eax, [edi + 0x68]
xor ecx, ebp
pop edi
call fcn.1001d0df
mov esp, ebp
pop ebp
ret 0x18
call fcn.1002163f
int3
Function at 0x1003135b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100311d1

Function at 0x1003766c
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100372e9
Function at 0x40b9e0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x427b98]
jne 0x40b9ea
repz ret
jmp fcn.00416620
Function at 0x41cae0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x862d20], 0x37
jne 0x41cb30
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
push str.Bim_kigasajalumi_tazameyumayi_hukediluz_colasuvege
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ecx, dword [0x85a76c]
add ecx, dword [ebp + 8]
mov edx, dword [0x862d24]
add edx, dword [ebp + 8]
mov al, byte [edx + 0x12336]
mov byte [ecx], al
mov esp, ebp
pop ebp
ret 4
Function at 0x41cfc0
Capabilities:
Accept command line arguments
Create pipe
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1ea8
call fcn.0040fb50
mov dword [ebp - 4], 0
jmp 0x41cfdf
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x32d05d76
jge 0x41d097
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x862d20], 0x16
jne 0x41d016
push 0
push 0
push str.yukusababodavohojuxogeza
push 0
push str.rifekuvafuxogiyukepufowekoze
push str.koyenajey
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x862d20], 0x9e
jne 0x41d087
lea ecx, [ebp - 0x1290]
push ecx
push 0
lea edx, [ebp - 0x128c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
push 0
lea eax, [ebp - 0xa78]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
push 0
lea ecx, [ebp - 0x1278]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
lea edx, [ebp - 0x278]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
cmp dword [ebp - 4], 0x9be51dc
jle 0x41d092
jmp 0x41d097
jmp 0x41cfd6
push 0x437940
mov eax, dword [0x862d20]
push eax
mov ecx, dword [0x85a76c]
push ecx
call fcn.0041cf30
mov dword [ebp - 0x1294], 0
jmp 0x41d0c9
mov edx, dword [ebp - 0x1294]
add edx, 1
mov dword [ebp - 0x1294], edx
cmp dword [ebp - 0x1294], 0x3e79e
jge 0x41d10a
cmp dword [0x862d20], 0x10
jne 0x41d0f7
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.vocikizifonefakifohihezederomaritefibafecoyibiyitosaharuxo
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
cmp dword [ebp - 0x1294], 0x1e673
jne 0x41d108
call fcn.0041cac0
jmp 0x41d0ba
mov dword [ebp - 0x1298], 0
jmp 0x41d125
mov eax, dword [ebp - 0x1298]
add eax, 1
mov dword [ebp - 0x1298], eax
cmp dword [ebp - 0x1298], 0xdd9a7
jge 0x41d14d
cmp dword [0x862d20], 0xc01
jne 0x41d14b
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
jmp 0x41d116
jmp dword [0x85a76c]
Function at 0x408498
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44f9f8]
jne 0x4084a2
repz ret
jmp fcn.0040b245

Function at 0x40b975
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x40b984
pop dword [ebp - 0x34]
mov eax, 0xf68c4159
add eax, 0x9b4782b
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x44e9e
push 0
mov eax, 0xe6eb8281
sub eax, 0xe6ab7049
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0x7c7d9f6a
sub ecx, 0x7c7d4243
xor esi, esi
add esi, eax
mov edi, 0x45c200
add edi, dword [ebp - 0x34]
mov edx, 0x9e5725e7
sub edx, 0xec355d43
add dword [ebp - 0x10], ebx
mov ebx, dword [edi]
xor dword [ebp - 0x18], ebx
add ebx, edx
mov dword [ebp - 0x2c], 0x2e83f16
mov dword [esi], ebx
add esi, 0x7028ada6
sub esi, 0x7028ada2
add edi, 0x628ee46b
add edi, 0x9d711b99
loop 0x40b9df
add eax, 0x1676f
xor ebx, ebx
add ebx, eax
add eax, 0x7a72998
sub eax, 0x7a72993
mov ecx, 0x1787de0f
add ecx, 0xe8b821f1
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x7003197
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x70031a6
pop dword [ebp - 0x18]
mov eax, 0xfb5dafca
add eax, 0xba281dc
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x61051bc4
sub dword [ebp - 0x28], 0x12b2d679
mov dword [ebp - 0x24], 0x49f47e19
sub dword [ebp - 0x24], 0x17c131d4
mov dword [ebp - 0x20], 0x76cbfb21
add dword [ebp - 0x20], 0xd580490d
mov dword [ebp - 0x1c], 0xcd57484f
add dword [ebp - 0x1c], 0x32a8b7b1
lea eax, [ebp - 0x28]
push eax
mov eax, 0x416d3a9d
add eax, 0xc593f593
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xb4f55d50
sub dword [ebp - 0x28], 0x4082f3fa
mov dword [ebp - 0x24], 0x8829724f
add dword [ebp - 0x24], 0xb942ef26
mov dword [ebp - 0x20], 0x17b049b4
sub dword [ebp - 0x20], 0xb440dd48
mov dword [ebp - 0x1c], 0x47be9af1
add dword [ebp - 0x1c], 0xb841650f
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0xdf54ea11
add eax, 0x27ac4623
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x39787
push 0
call eax
mov ecx, 0xc3c12e04
add ecx, 0x3c3f156f
xor edx, edx
add edx, eax
mov edi, 0x7020200
add edi, dword [ebp - 0x18]
mov esi, 0x4ee00bfb
sub esi, 0x20f40a2b
add dword [ebp - 4], edi
mov ebx, dword [edi]
xor dword [ebp - 8], 0x16ac7db9
sub ebx, esi
add dword [ebp - 0x10], edx
mov dword [edx], ebx
xor dword [ebp - 0x14], 0x8f28bc0a
add edx, 0xebf733c6
sub edx, 0xebf733c2
add edi, 0x59898c68
sub edi, 0x59898c64
loop 0x70032c4
add eax, 0x1009f
xor ebx, ebx
add ebx, eax
add eax, 0x24d406df
add eax, 0xdb2bf926
mov ecx, 0xf29b4042
add ecx, 0x1464bfbe
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x700d29f
Capabilities:
Set current directory

Disassembly:
push 8
mov eax, 0x70120f1
call fcn.07001cf8
mov edi, ecx
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 8]
push esi
call fcn.0700d491
xor ebx, ebx
mov dword [edi], vtable.FileSharedStream.0
mov dword [edi + 0xc], ebx
mov byte [edi + 0x10], bl
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
lea eax, [edi + 0x18]
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0700dd8a
lea ecx, [ebp - 0x10]
call fcn.0700d23c
mov eax, dword [edi + 0x14]
mov byte [ebp - 4], 2
push dword [eax + 0x14]
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x700d30c
mov eax, dword [eax + 0x14]
jmp 0x700d311
mov eax, 0x70138c2
push 0x7015240
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov dword [edi + 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x700d343
mov ecx, dword [edi + 4]
call fcn.070076d1
lea ecx, [ebp - 0x10]
mov dword [edi + 8], eax
call fcn.07003197
mov eax, edi
call fcn.07001ea7
ret 4
push str.file_does_not_exist
push ebx
call fcn.07003197
int3
Function at 0x402060
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x415ad9
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x6945d4]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x10]
push eax
xor ebx, ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x30]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call dword [sym.imp.QL_Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
push 0x419f68
mov ecx, eax
mov dword [esp + 0x40], ebx
call dword [sym.imp.QL_Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0xffffffff
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QDebug::destructor_void_]
mov edx, dword [sym.imp.QL_Core.dll_struct_QMetaObject_const_QIODevice::staticMetaObject]
mov ecx, dword [sym.imp.QL_Core.dll_public:_void___thiscall_QIODevice::readyRead_void_]
mov edi, dword [sym.imp.QL_Core.dll_private:_static_bool___cdecl_QObject::disconnectImpl_class_QObject_const___void____class_QObject_const___void____struct_QMetaObject_const__]
push edx
mov edx, dword [esi + 0x40]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x1c], ecx
push esi
lea ecx, [esp + 0x20]
push ecx
push edx
mov dword [esp + 0x24], 0x401c10
call edi
mov ecx, dword [sym.imp.QL_Network.dll_struct_QMetaObject_const_QNetworkReply::staticMetaObject]
mov eax, dword [sym.imp.QL_Network.dll_public:_void___thiscall_QNetworkReply::error_enum_QNetworkReply::NetworkError_]
push ecx
mov ecx, dword [esi + 0x40]
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x38], eax
push esi
lea eax, [esp + 0x3c]
push eax
push ecx
mov dword [esp + 0x40], fcn.00401ca0
call edi
mov ecx, dword [esp + 0x6c]
add esp, 0x28
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QObject::deleteLater_void_]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
cmp byte [esi + 0xc], bl
je 0x402176
mov ecx, dword [esi + 0x2c]
mov byte [esi + 0xc], bl
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QTimer::stop_void_]
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
call eax
mov ecx, dword [esi + 0x24]
cmp ecx, ebx
je 0x40215e
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push 1
call eax
push ecx
lea edx, [esi + 0x3c]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov ecx, esi
call fcn.004136b0
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x30
ret 4
Function at 0x40b8e0
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push 0xffffffffffffffff
push 0x41721c
mov eax, dword fs:[0]
push eax
mov eax, 0x142c
call fcn.00414cc0
mov eax, dword [0x6945d4]
xor eax, esp
mov dword [esp + 0x1428], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6945d4]
xor eax, esp
push eax
lea eax, [esp + 0x1440]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], ecx
push 0x1000
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x24], 0
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x40b94a
xor al, al
jmp 0x40ba8a
mov esi, dword [esp + 0x18]
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x1036]
push eax
shr esi, 2
mov word [esp + 0x1038], dx
call sub.QL_CR100.dll_memset
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x124a]
push edx
mov word [esp + 0x124c], cx
call sub.QL_CR100.dll_memset
add esp, 0x18
test esi, esi
je 0x40ba88
lea ebx, [esp + 0x2c]
mov dword [esp + 0x14], esi
mov eax, dword [ebx]
test eax, eax
je 0x40ba7b
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebp, eax
test ebp, ebp
je 0x40ba74
push 0x104
lea eax, [esp + 0x1030]
push eax
push ebp
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x40ba74
push 0x104
lea ecx, [esp + 0x1238]
push ecx
lea edx, [esp + 0x1034]
push edx
call fcn.00411590
add esp, 0xc
test al, al
je 0x40ba74
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x64]
mov eax, dword [eax]
add esi, 0x64
cmp eax, 1
je 0x40ba18
test eax, eax
je 0x40ba18
mov ecx, esi
call fcn.00408930
mov edi, dword [esi]
push ebx
lea eax, [esp + 0x28]
push eax
mov ecx, esi
add edi, 8
call fcn.004090f0
cmp dword [eax], edi
jne 0x40ba74
push 0xffffffffffffffff
lea ecx, [esp + 0x1238]
push ecx
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.QL_Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_]
add esp, 0xc
push eax
push ebx
lea eax, [esp + 0x30]
push eax
mov ecx, esi
mov dword [esp + 0x1454], 0
call fcn.00409140
lea ecx, [esp + 0x20]
mov dword [esp + 0x1448], 0xffffffff
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add ebx, 4
dec dword [esp + 0x14]
jne 0x40b99e
mov al, 1
mov ecx, dword [esp + 0x1440]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1428]
xor ecx, esp
call fcn.00414c30
add esp, 0x1438
ret
Function at 0x4107a0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0x10]
xor ecx, ecx
mov word [esp + 4], 0xcdfb
mov byte [esp + 6], 0xac
test edi, edi
jle 0x4107dd
push esi
mov esi, dword [esp + 0x10]
lea ecx, [ecx]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea eax, [edx + edx*2]
mov edx, ecx
sub edx, eax
mov al, byte [esp + edx + 8]
xor byte [ecx + esi], al
inc ecx
cmp ecx, edi
jl 0x4107c0
pop esi
pop edi
pop ecx
ret
Function at 0x4109c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x417f05
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x6945d4]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QByteArray::constructor_void_]
mov esi, dword [esp + 0x30]
mov ecx, esi
mov dword [esp + 0x24], 1
call dword [sym.imp.QL_Core.dll_public:_bool___thiscall_QFile::exists_void_const]
test al, al
je 0x410aa1
push ecx
mov eax, esp
mov dword [eax], 1
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
mov ecx, esi
mov dword [esp + 0x18], esp
call edx
test al, al
je 0x410aa1
mov eax, dword [esi]
mov edx, dword [eax + 0x3c]
mov ecx, esi
call edx
xor edi, edi
mov ecx, 0xa00000
test edx, edx
jg 0x410a4b
jl 0x410a47
cmp eax, ecx
jae 0x410a4b
mov ecx, eax
mov edi, edx
push edi
push ecx
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call dword [sym.imp.QL_Core.dll_public:_class_QByteArray___thiscall_QIODevice::read_long_long___int64__]
push 1
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x30], 2
call dword [sym.imp.QL_Core.dll_public:_static_class_QByteArray___cdecl_QCryptographicHash::hash_class_QByteArray_const___enum_QCryptographicHash::Algorithm_]
add esp, 0xc
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.QL_Core.dll_public:_class_QByteArray____thiscall_QByteArray::operator_class_QByteArray__]
lea ecx, [esp + 0x14]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
mov ecx, esi
call edx
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 1
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.QL_Core.dll_public:_class_QByteArray___thiscall_QByteArray::toHex_void_]
mov ecx, eax
mov byte [esp + 0x24], 3
call dword [sym.imp.QL_Core.dll_public:_char____thiscall_QByteArray::data_void_]
test eax, eax
je 0x410ad1
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x410ac6
sub ecx, esi
jmp 0x410ad4
or ecx, 0xffffffff
push ecx
push eax
call dword [sym.imp.QL_Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
mov esi, dword [esp + 0x34]
add esp, 8
mov dword [esi], eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 1
mov byte [esp + 0x24], 1
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret
Function at 0x411590
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x417f56
mov eax, dword fs:[0]
push eax
sub esp, 0x650
mov eax, dword [0x6945d4]
xor eax, esp
mov dword [esp + 0x64c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6945d4]
xor eax, esp
push eax
lea eax, [esp + 0x664]
mov dword fs:[0], eax
mov eax, dword [esp + 0x678]
mov ecx, dword [0x41d1e0]
mov dx, word [0x41d1e4]
mov ebp, dword [esp + 0x674]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x260]
push eax
push 0x3ff
mov dword [esp + 0x58], ecx
mov word [esp + 0x5c], dx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x4116e5
lea ebx, [esp + 0x260]
xor edi, edi
jmp 0x411620
mov cx, word [ebx]
push 0x104
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x58]
push eax
mov word [esp + 0x5c], cx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x4116d1
xor ecx, ecx
mov eax, ebp
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
mov word [esp + 0x18], cx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x411660
sub eax, edx
sar eax, 1
push eax
push ebp
lea ecx, [esp + 0x20]
call fcn.00410f50
lea eax, [esp + 0x58]
mov dword [esp + 0x66c], edi
lea edx, [eax + 2]
jmp 0x411690
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x411690
sub eax, edx
sar eax, 1
push eax
push edi
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x24]
call fcn.00410b20
mov esi, eax
cmp esi, 0xffffffff
jne 0x41170f
cmp dword [esp + 0x2c], 8
mov dword [esp + 0x66c], eax
jb 0x4116d1
mov eax, dword [esp + 0x18]
push eax
call sub.QL_CR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov cx, word [ebx]
add ebx, 2
test cx, cx
jne 0x4116d1
cmp word [ebx], di
jne 0x411620
xor al, al
mov ecx, dword [esp + 0x664]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64c]
xor ecx, esp
call fcn.00414c30
add esp, 0x65c
ret
xor edx, edx
lea eax, [esp + 0x58]
mov word [esp + 0x34], dx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x411730
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x3c]
call fcn.00410f50
mov eax, ebx
mov byte [esp + 0x66c], 1
lea edx, [eax + 2]
jmp 0x411760
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x411760
mov ecx, dword [esp + 0x44]
sub eax, edx
sar eax, 1
push eax
push ebx
inc ecx
push ecx
push esi
lea ecx, [esp + 0x28]
call fcn.004113b0
mov esi, 8
cmp dword [esp + 0x48], esi
jb 0x411799
mov edx, dword [esp + 0x34]
push edx
call sub.QL_CR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], esi
jae 0x4117a7
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x680]
push eax
push ecx
call dword [sym.imp.QL_CR100.dll_wcscpy_s]
add esp, 0xc
cmp dword [esp + 0x2c], esi
jb 0x4117d1
mov edx, dword [esp + 0x18]
push edx
call sub.QL_CR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, 1
jmp 0x4116e7