joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1e0104
Capabilities:
Get http content length

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, ecx
mov edi, edx
xor ebx, ebx
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esp], 8
xor eax, eax
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
lea eax, [esp + 4]
push eax
push esi
push 0x20000005
push edi
call sub.wininet.dll_HttpQueryInfoW
test eax, eax
je 0x1e0146
mov bl, 1
mov eax, ebx
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x1f5fbc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x1f60c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x143cfc]
call fcn.00145ef0
mov esi, eax
mov dword [ebx + 0x8cc], esi
mov eax, dword [0x2261ec]
mov eax, dword [eax]
mov edx, dword [eax + 0x14]
lea eax, [ebp - 4]
mov ecx, 0x1f60e4
call fcn.00017130
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.001461c0
mov esi, dword [ebx + 0x8cc]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], 0x1f5fa0
mov eax, dword [0x226248]
mov eax, dword [eax]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], 0x201070
lea eax, [esi + 0x20]
mov edx, dword [0x225c98]
mov edx, dword [edx]
mov edx, dword [edx + 4]
call fcn.00016224
mov eax, dword [ebx + 0x8cc]
add eax, 0x24
mov edx, dword [0x225c98]
mov edx, dword [edx]
mov edx, dword [edx + 8]
call fcn.00016224
mov eax, dword [ebx + 0x8cc]
add eax, 0x28
mov edx, dword [0x225c98]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00016224
mov edx, dword [0x225c98]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
mov eax, dword [ebx + 0x8cc]
mov dword [eax + 0x2c], edx
mov edx, dword [0x225c98]
mov edx, dword [edx]
mov edx, dword [edx + 0x18]
mov dword [eax + 0x30], edx
mov edx, dword [0x225c98]
mov edx, dword [edx]
mov edx, dword [edx + 0x20]
mov dword [eax + 0x34], edx
mov edx, dword [0x225c98]
mov edx, dword [edx]
mov edx, dword [edx + 0x28]
mov dword [eax + 0x38], edx
mov dword [eax + 0xc], 3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1f60d0
lea eax, [ebp - 4]
call fcn.00016c4c
ret
Function at 0x1fb398
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov esi, eax
mov ebx, dword [0x225bd4]
mov edi, dword [0x225c98]
xor eax, eax
push ebp
push 0x1fb52f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x1fb548
push 4
push 0x1fb560
mov eax, dword [0x226294]
mov eax, dword [eax]
mov cl, 1
mov dl, 1
call fcn.00169b54
mov dl, 1
mov eax, dword [0x125f10]
call fcn.00126a9c
mov dword [ebx], eax
mov eax, dword [0x2261ec]
mov eax, dword [eax]
mov edx, dword [eax + 0x14]
lea eax, [ebp - 4]
mov ecx, 0x1fb5c0
call fcn.00017130
mov edx, dword [ebp - 4]
mov eax, dword [ebx]
call fcn.00128728
mov eax, dword [ebx]
add eax, 0x3c
mov edx, 0x1fb5e0
call fcn.00016c5c
mov eax, dword [ebx]
add eax, 8
mov edx, dword [edi]
mov edx, dword [edx + 4]
call fcn.00016224
mov eax, dword [ebx]
add eax, 0xc
mov edx, dword [edi]
mov edx, dword [edx + 8]
call fcn.00016224
mov eax, dword [ebx]
add eax, 0x10
mov edx, dword [edi]
mov edx, dword [edx + 0xc]
call fcn.00016224
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
mov edx, dword [ebx]
mov dword [edx + 0x14], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x18]
mov edx, dword [ebx]
mov dword [edx + 0x18], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x20]
mov edx, dword [ebx]
mov dword [edx + 0x1c], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x28]
mov edx, dword [ebx]
mov dword [edx + 0x20], eax
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x40], edx
mov eax, dword [0x226248]
mov eax, dword [eax]
mov edx, dword [ebx]
mov dword [edx + 0x2c], eax
mov dword [edx + 0x28], 0x202228
mov eax, dword [0x226248]
mov eax, dword [eax]
mov edx, dword [ebx]
mov dword [edx + 0x34], eax
mov dword [edx + 0x30], 0x2024b8
mov eax, dword [ebx]
call fcn.001285a8
mov eax, dword [ebx]
cmp byte [eax + 0x49], 0
jne 0x1fb4c4
push 0x10
push 0x1fb5fc
push 0x1fb600
mov eax, dword [esi + 4]
push eax
call sub.user32.dll_MessageBoxW
mov eax, dword [0x225e70]
mov byte [eax], 1
mov eax, dword [ebx]
cmp byte [eax + 0x48], 0
je 0x1fb4e8
push 0x1fb548
push 5
push 0x1fb6bc
mov eax, dword [0x226294]
mov eax, dword [eax]
mov cl, 2
mov dl, 1
call fcn.00169b54
mov eax, dword [ebx]
mov edx, 1
call fcn.00126ba8
mov edx, dword [0x226294]
mov edx, dword [edx]
mov byte [edx + 8], al
mov eax, dword [ebx]
mov edx, 1
call fcn.001276b4
movzx eax, al
mov edx, dword [0x226294]
mov edx, dword [edx]
mov dword [edx + 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1fb536
lea eax, [ebp - 4]
call fcn.00016c4c
ret
Function at 0x403e57
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
push edi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push dword [ebp + 0x18]
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
cmp byte [edi], 0x25
jne 0x403ed4
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x104]
push eax
call fcn.00403093
lea eax, [ebp + eax - 0x105]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_CharPrevA]
cmp byte [eax], 0x25
jne 0x403ebc
and byte [eax], 0
push dword [ebp + 0x1c]
lea eax, [ebp - 0x104]
push dword [ebp + 0x18]
push edi
push dword [ebp + 0x10]
push eax
push 0x4016ec
call esi
pop edi
pop esi
leave
ret 0x18

Function at 0x4041d7
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 0xc]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40422c
push esi
push esi
push esi
lea eax, [ebp - 4]
push esi
push eax
push esi
lea eax, [ebp + 8]
push esi
push eax
push esi
push esi
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x404223
cmp dword [ebp + 8], esi
jne 0x404223
cmp dword [ebp - 4], esi
jne 0x404223
push 1
pop esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret 8

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x402360
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41a679
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x61a5ec]
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 0x41f058
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], 0x401f00
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.00401f90
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 0x402476
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 0x40245e
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.00418100
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 0x40f320
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push 0xffffffffffffffff
push 0x41c5fc
mov eax, dword fs:[0]
push eax
mov eax, 0x142c
call fcn.004197b0
mov eax, dword [0x61a5ec]
xor eax, esp
mov dword [esp + 0x1428], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61a5ec]
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 0x40f38a
xor al, al
jmp 0x40f4ca
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 0x40f4c8
lea ebx, [esp + 0x2c]
mov dword [esp + 0x14], esi
mov eax, dword [ebx]
test eax, eax
je 0x40f4bb
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebp, eax
test ebp, ebp
je 0x40f4b4
push 0x104
lea eax, [esp + 0x1030]
push eax
push ebp
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x40f4b4
push 0x104
lea ecx, [esp + 0x1238]
push ecx
lea edx, [esp + 0x1034]
push edx
call fcn.004159d0
add esp, 0xc
test al, al
je 0x40f4b4
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x64]
mov eax, dword [eax]
add esi, 0x64
cmp eax, 1
je 0x40f458
test eax, eax
je 0x40f458
mov ecx, esi
call fcn.0040c0e0
mov edi, dword [esi]
push ebx
lea eax, [esp + 0x28]
push eax
mov ecx, esi
add edi, 8
call fcn.0040c990
cmp dword [eax], edi
jne 0x40f4b4
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.0040c9e0
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 0x40f3de
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.00419724
add esp, 0x1438
ret
Function at 0x414be0
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 0x414c1d
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 0x414c00
pop esi
pop edi
pop ecx
ret
Function at 0x414e00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41d365
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x61a5ec]
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 0x414ee1
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 0x414ee1
mov eax, dword [esi]
mov edx, dword [eax + 0x3c]
mov ecx, esi
call edx
xor edi, edi
mov ecx, 0xa00000
test edx, edx
jg 0x414e8b
jl 0x414e87
cmp eax, ecx
jae 0x414e8b
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 0x414f11
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x414f06
sub ecx, esi
jmp 0x414f14
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 0x4159d0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x41d3b6
mov eax, dword fs:[0]
push eax
sub esp, 0x650
mov eax, dword [0x61a5ec]
xor eax, esp
mov dword [esp + 0x64c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61a5ec]
xor eax, esp
push eax
lea eax, [esp + 0x664]
mov dword fs:[0], eax
mov eax, dword [esp + 0x678]
mov ecx, dword [0x423288]
mov dx, word [0x42328c]
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 0x415b25
lea ebx, [esp + 0x260]
xor edi, edi
jmp 0x415a60
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 0x415b11
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 0x415aa0
sub eax, edx
sar eax, 1
push eax
push ebp
lea ecx, [esp + 0x20]
call fcn.00415390
lea eax, [esp + 0x58]
mov dword [esp + 0x66c], edi
lea edx, [eax + 2]
jmp 0x415ad0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x415ad0
sub eax, edx
sar eax, 1
push eax
push edi
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x24]
call fcn.00414f60
mov esi, eax
cmp esi, 0xffffffff
jne 0x415b4f
cmp dword [esp + 0x2c], 8
mov dword [esp + 0x66c], eax
jb 0x415b11
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 0x415b11
cmp word [ebx], di
jne 0x415a60
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.00419724
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 0x415b70
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x3c]
call fcn.00415390
mov eax, ebx
mov byte [esp + 0x66c], 1
lea edx, [eax + 2]
jmp 0x415ba0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x415ba0
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.004157f0
mov esi, 8
cmp dword [esp + 0x48], esi
jb 0x415bd9
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 0x415be7
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 0x415c11
mov edx, dword [esp + 0x18]
push edx
call sub.QL_CR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, 1
jmp 0x415b27
Function at 0x418e5b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x41d762
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x61a5ec]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
push esi
lea ecx, [esp + 0x10]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QProcess::constructor_class_QObject__]
push 0x12
push str.QL_InstallFont.bat
mov dword [esp + 0x24], 0
call dword [sym.imp.QL_Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x28], 1
call dword [sym.imp.QL_Core.dll_public:_static_bool___cdecl_QProcess::startDetached_class_QString_const__]
add esp, 0xc
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 0
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
push 0x7530
lea ecx, [esp + 0x10]
call dword [sym.imp.QL_Core.dll_public:_bool___thiscall_QProcess::waitForStarted_int_]
lea ecx, [esp + 0xc]
call dword [sym.imp.QL_Core.dll_public_virtual:_void___thiscall_QProcess::close_void_]
mov edx, dword [esi]
mov eax, dword [edx + 0xc0]
mov ecx, esi
call eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call dword [sym.imp.QL_Core.dll_public_virtual:_void___thiscall_QProcess::destructor_void_]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x18
ret
cmp dword [esp + 8], 0
jne case.default.0x418e30
mov eax, dword [esp + 0xc]
cmp eax, 6
ja case.default.0x418e30
jmp dword [eax*4 + 0x418e78]
mov ecx, dword [esp + 4]
jmp fcn.00415f00
mov ecx, dword [esp + 4]
jmp fcn.00402310
mov ecx, dword [esp + 4]
jmp fcn.00402310
mov ecx, dword [esp + 4]
jmp fcn.00415f10
mov ecx, dword [esp + 4]
jmp fcn.004162c0
mov ecx, dword [esp + 4]
jmp fcn.00416b30
mov ecx, dword [esp + 4]
jmp 0x4173a0
ret
Function at 0x418e64
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x41d762
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x61a5ec]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
push esi
lea ecx, [esp + 0x10]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QProcess::constructor_class_QObject__]
push 0x12
push str.QL_InstallFont.bat
mov dword [esp + 0x24], 0
call dword [sym.imp.QL_Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x28], 1
call dword [sym.imp.QL_Core.dll_public:_static_bool___cdecl_QProcess::startDetached_class_QString_const__]
add esp, 0xc
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 0
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
push 0x7530
lea ecx, [esp + 0x10]
call dword [sym.imp.QL_Core.dll_public:_bool___thiscall_QProcess::waitForStarted_int_]
lea ecx, [esp + 0xc]
call dword [sym.imp.QL_Core.dll_public_virtual:_void___thiscall_QProcess::close_void_]
mov edx, dword [esi]
mov eax, dword [edx + 0xc0]
mov ecx, esi
call eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call dword [sym.imp.QL_Core.dll_public_virtual:_void___thiscall_QProcess::destructor_void_]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x18
ret
cmp dword [esp + 8], 0
jne case.default.0x418e30
mov eax, dword [esp + 0xc]
cmp eax, 6
ja case.default.0x418e30
jmp dword [eax*4 + 0x418e78]
mov ecx, dword [esp + 4]
jmp fcn.00415f00
mov ecx, dword [esp + 4]
jmp fcn.00402310
mov ecx, dword [esp + 4]
jmp fcn.00402310
mov ecx, dword [esp + 4]
jmp fcn.00415f10
mov ecx, dword [esp + 4]
jmp fcn.004162c0
mov ecx, dword [esp + 4]
jmp fcn.00416b30
mov ecx, dword [esp + 4]
jmp 0x4173a0
ret

Function at 0x419724
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x61a5ec]
jne 0x41972e
repz ret
jmp fcn.00419b8e
Function at 0x41a0f0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x14
push edi
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
jne 0x41a11a
or eax, 0xffffffff
pop edi
add esp, 0x14
ret 0x10
mov eax, dword [esp + 4]
xor ecx, ecx
inc eax
mov edx, 4
mul edx
seto cl
push ebx
push esi
neg ecx
or ecx, eax
push ecx
call fcn.0041a20c
mov esi, eax
mov eax, dword [esp + 0x10]
add esp, 4
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], 0
test eax, eax
jle 0x41a1bb
mov eax, edi
sub eax, esi
push ebp
mov dword [esp + 0x18], eax
jmp 0x41a164
mov eax, dword [esp + 0x18]
mov edi, dword [eax + esi]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
push ebx
call fcn.0041a20c
add esp, 4
push 0
push 0
push ebx
mov ebp, eax
push ebp
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [esp + 0x14]
mov dword [esi], ebp
mov eax, dword [esp + 0x10]
inc ecx
add esi, 4
mov dword [esp + 0x14], ecx
cmp ecx, eax
jl 0x41a160
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
pop ebp
push edi
mov dword [esi + eax*4], 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 0xc]
push esi
push eax
call fcn.00401140
xor edi, edi
add esp, 8
mov ebx, eax
cmp dword [esp + 0xc], edi
jle 0x41a1f8
mov eax, dword [esi + edi*4]
test eax, eax
je 0x41a1f8
push eax
call sub.QL_CR100.dll_void___cdecl_operator_delete___void__
inc edi
add esp, 4
cmp edi, dword [esp + 0xc]
jl 0x41a1e1
push esi
call sub.QL_CR100.dll_void___cdecl_operator_delete___void__
add esp, 4
pop esi
mov eax, ebx
pop ebx
pop edi
add esp, 0x14
ret 0x10