joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x4011c0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.zulu_crash_dump.txt
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
pop esi
je 0x4011f4
test al, 0x10
jne 0x4011f4
mov eax, 1
ret
xor eax, eax
ret
Function at 0x212f058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.0212f1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x212f07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x212f06a
add dl, dl
jne 0x212f089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x212f0dc
xor eax, eax
add dl, dl
jne 0x212f096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x212f17d
add dl, dl
jne 0x212f0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x212f0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x212f0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x212f0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x212f0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x212f075
mov eax, 1
add dl, dl
jne 0x212f0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x212f0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x212f0e1
sub eax, ebx
mov ebx, 1
jne 0x212f128
mov ecx, 1
add dl, dl
jne 0x212f10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x212f119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x212f105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x212f075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x212f13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x212f14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x212f136
cmp eax, 0x7d00
jae 0x212f16d
cmp eax, 0x500
jb 0x212f168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x212f075
cmp eax, 0x7f
ja 0x212f170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x212f075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x212f19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x212f075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401d50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41a029
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4be5d0]
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 0x41ee10
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], 0x4018f0
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.00401980
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 0x401e66
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 0x401e4e
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.00417c50
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 0x40f060
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push 0xffffffffffffffff
push 0x41c16c
mov eax, dword fs:[0]
push eax
mov eax, 0x142c
call fcn.004192d0
mov eax, dword [0x4be5d0]
xor eax, esp
mov dword [esp + 0x1428], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4be5d0]
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 0x40f0ca
xor al, al
jmp 0x40f20a
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 0x40f208
lea ebx, [esp + 0x2c]
mov dword [esp + 0x14], esi
mov eax, dword [ebx]
test eax, eax
je 0x40f1fb
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebp, eax
test ebp, ebp
je 0x40f1f4
push 0x104
lea eax, [esp + 0x1030]
push eax
push ebp
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x40f1f4
push 0x104
lea ecx, [esp + 0x1238]
push ecx
lea edx, [esp + 0x1034]
push edx
call fcn.00415fe0
add esp, 0xc
test al, al
je 0x40f1f4
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x64]
mov eax, dword [eax]
add esi, 0x64
cmp eax, 1
je 0x40f198
test eax, eax
je 0x40f198
mov ecx, esi
call fcn.0040bc20
mov edi, dword [esi]
push ebx
lea eax, [esp + 0x28]
push eax
mov ecx, esi
add edi, 8
call fcn.0040c4e0
cmp dword [eax], edi
jne 0x40f1f4
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.0040c530
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 0x40f11e
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.00419240
add esp, 0x1438
ret
Function at 0x4151f0
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 0x41522d
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 0x415210
pop esi
pop edi
pop ecx
ret
Function at 0x415410
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41cf55
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4be5d0]
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 0x4154f1
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 0x4154f1
mov eax, dword [esi]
mov edx, dword [eax + 0x3c]
mov ecx, esi
call edx
xor edi, edi
mov ecx, 0xa00000
test edx, edx
jg 0x41549b
jl 0x415497
cmp eax, ecx
jae 0x41549b
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 0x415521
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x415516
sub ecx, esi
jmp 0x415524
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 0x415fe0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x41cfa6
mov eax, dword fs:[0]
push eax
sub esp, 0x650
mov eax, dword [0x4be5d0]
xor eax, esp
mov dword [esp + 0x64c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4be5d0]
xor eax, esp
push eax
lea eax, [esp + 0x664]
mov dword fs:[0], eax
mov eax, dword [esp + 0x678]
mov ecx, dword [0x422e60]
mov dx, word [0x422e64]
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 0x416135
lea ebx, [esp + 0x260]
xor edi, edi
jmp 0x416070
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 0x416121
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 0x4160b0
sub eax, edx
sar eax, 1
push eax
push ebp
lea ecx, [esp + 0x20]
call fcn.004159a0
lea eax, [esp + 0x58]
mov dword [esp + 0x66c], edi
lea edx, [eax + 2]
jmp 0x4160e0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4160e0
sub eax, edx
sar eax, 1
push eax
push edi
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x24]
call fcn.00415570
mov esi, eax
cmp esi, 0xffffffff
jne 0x41615f
cmp dword [esp + 0x2c], 8
mov dword [esp + 0x66c], eax
jb 0x416121
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 0x416121
cmp word [ebx], di
jne 0x416070
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.00419240
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 0x416180
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x3c]
call fcn.004159a0
mov eax, ebx
mov byte [esp + 0x66c], 1
lea edx, [eax + 2]
jmp 0x4161b0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4161b0
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.00415e00
mov esi, 8
cmp dword [esp + 0x48], esi
jb 0x4161e9
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 0x4161f7
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 0x416221
mov edx, dword [esp + 0x18]
push edx
call sub.QL_CR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, 1
jmp 0x416137
Function at 0x419240
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4be5d0]
jne 0x41924a
repz ret
jmp fcn.004196ae

Function at 0x419c10
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 0x419c3a
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.00419d2c
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 0x419cdb
mov eax, edi
sub eax, esi
push ebp
mov dword [esp + 0x18], eax
jmp 0x419c84
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.00419d2c
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 0x419c80
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 0x419d18
mov eax, dword [esi + edi*4]
test eax, eax
je 0x419d18
push eax
call sub.QL_CR100.dll_void___cdecl_operator_delete___void__
inc edi
add esp, 4
cmp edi, dword [esp + 0xc]
jl 0x419d01
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
Function at 0x41c710
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 0x40], 0x181
mov dword [ebp - 0x38], 0x293
mov dword [ebp - 0xc], 0x22c
mov dword [ebp - 0x3c], 0x294
mov dword [ebp - 0x44], 0x353
mov dword [ebp - 0x24], 0x388
mov dword [ebp - 0x48], 0x18e
mov dword [ebp - 0x4c], 0x74
mov dword [ebp - 0x30], 0x53
mov dword [ebp - 0x50], 0x342
mov dword [ebp - 0x54], 0x1d4
mov dword [ebp - 0x2c], 0xb1
mov dword [ebp - 0x58], 0x1c8
mov dword [ebp - 4], 0x1c2
mov dword [ebp - 0x5c], 0x258
mov dword [ebp - 0x34], 0x24d
mov dword [ebp - 0x28], 0x1e9
mov dword [ebp - 0x60], 0x1be
mov dword [ebp - 0x64], 0x182
mov dword [ebp - 0x68], 0x126
mov dword [ebp - 0x18], 0xa0
mov dword [ebp - 0x1c], 0x343
mov dword [ebp - 8], 0
jmp 0x41c7c2
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x24]
sub ecx, 0x18a28
cmp dword [ebp - 8], ecx
jge 0x41c838
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov edx, dword [ebp - 0x1c]
and edx, dword [ebp - 0x28]
cmp edx, dword [ebp - 0x18]
jge 0x41c7ea
mov dword [ebp - 0x10], 1
jmp 0x41c7f1
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x30]
jge 0x41c802
mov dword [ebp - 0x14], 1
jmp 0x41c809
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
sub edx, 1
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 0x34]
and eax, dword [ebp - 0x10]
and eax, dword [ebp + 8]
xor eax, dword [ebp - 0x14]
je 0x41c836
mov ecx, dword [ebp - 4]
sub ecx, 1
mov dword [ebp - 4], ecx
jmp 0x41c7b9
mov edx, dword [ebp - 0x38]
cmp edx, dword [ebp - 0x3c]
jge 0x41c849
mov dword [ebp - 0x20], 1
jmp 0x41c850
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x1c]
and eax, dword [ebp - 0x40]
or eax, dword [ebp - 0x20]
je 0x41c867
mov ecx, dword [ebp - 4]
sub ecx, 1
mov dword [ebp - 4], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4a0790
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov dword [ebp - 0x90], 0x248
mov dword [ebp - 0x94], 0x22
mov dword [ebp - 8], 0x22d
mov dword [ebp - 4], 0x362
mov dword [ebp - 0x50], 0x108
mov dword [ebp - 0x80], 0x1ac
mov dword [ebp - 0x1c], 0x40
mov dword [ebp - 0x98], 0x24c
mov dword [ebp - 0x24], 0x2d7
mov dword [ebp - 0x20], 0x30a
mov dword [ebp - 0x9c], 0x4c
mov dword [ebp - 0x70], 0x54
mov dword [ebp - 0x10], 0x2da
mov dword [ebp - 0xa0], 0x3de
mov dword [ebp - 0x44], 0x2c8
mov dword [ebp - 0x18], 0x1a6
mov dword [ebp - 0x6c], 0x105
mov dword [ebp - 0xa4], 0x13a
mov dword [ebp - 0xa8], 0x171
mov dword [ebp - 0xc], 0x26e
mov dword [ebp - 0x84], 0x379
mov dword [ebp - 0x7c], 0x16c
mov dword [ebp - 0x68], 0x276
mov dword [ebp - 0xac], 0x1ab
mov eax, dword [0x51aff4]
add eax, 1
mov dword [0x51aff4], eax
mov dword [ebp - 0x14], 0
jmp 0x4a087b
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x50]
sub edx, 0x107
cmp dword [ebp - 0x14], edx
jge 0x4a09a5
mov eax, dword [0x51b000]
cmp eax, dword [0x51b060]
jge 0x4a08a3
mov dword [ebp - 0x2c], 1
jmp 0x4a08aa
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [0x51b06c]
cmp edx, dword [ebp - 4]
jge 0x4a08c7
mov dword [ebp - 0x28], 1
jmp 0x4a08ce
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 8]
and eax, dword [ebp - 0x1c]
and eax, dword [ebp - 0x28]
or eax, dword [ebp - 0x2c]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 0x60], 0
je 0x4a09a0
mov edx, dword [0x51b05c]
sub edx, 1
mov dword [0x51b05c], edx
mov eax, dword [0x51affc]
cmp eax, dword [0x51b05c]
jge 0x4a0915
mov dword [ebp - 0x30], 1
jmp 0x4a091c
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp - 0x10]
imul ecx, dword [0x51b000]
or ecx, dword [ebp - 0x30]
mov dword [ebp - 0x64], ecx
mov edx, dword [0x51b000]
add edx, 1
mov dword [0x51b000], edx
cmp dword [ebp - 0x64], 0
je 0x4a09a0
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x44]
jge 0x4a0952
mov dword [ebp - 0x34], 1
jmp 0x4a0959
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x1c]
jge 0x4a096a
mov dword [ebp - 0x38], 1
jmp 0x4a0971
mov dword [ebp - 0x38], 0
mov edx, dword [ebp - 0x18]
cmp edx, dword [0x51b06c]
jge 0x4a0985
mov dword [ebp - 0x3c], 1
jmp 0x4a098c
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x34]
and eax, dword [ebp - 0x38]
or eax, dword [ebp - 0x3c]
je 0x4a09a0
mov ecx, dword [ebp - 0x10]
sub ecx, 1
mov dword [ebp - 0x10], ecx
jmp 0x4a0872
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]