joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001060
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x10006018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, str.lostsaga.exe
push 0x5c
push ebx
call dword [sym.imp.MSVCR100.dll_strrchr]
add esp, 8
test eax, eax
je 0x1000108e
lea ebx, [eax + 1]
push 0
push 2
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x10001166
lea eax, [ebp - 0x130]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
lea ecx, [ebp - 0x10c]
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100010e3
test dl, dl
je 0x100010df
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100010e3
add eax, 2
add ecx, 2
test dl, dl
jne 0x100010c3
xor eax, eax
jmp 0x100010e8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1000110a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x128]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10002720
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_Process32Next]
lea ecx, [ebp - 0x130]
push ecx
push edi
call esi
test eax, eax
je 0x1000115f
mov edi, edi
lea ecx, [ebp - 0x10c]
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10001148
test dl, dl
je 0x10001144
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10001148
add eax, 2
add ecx, 2
test dl, dl
jne 0x10001128
xor eax, eax
jmp 0x1000114d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100010ec
lea edx, [ebp - 0x130]
push edx
push edi
call esi
test eax, eax
jne 0x10001120
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.10002720
mov esp, ebp
pop ebp
ret
Function at 0x10001180
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10003313
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x10006018]
xor eax, esp
mov dword [esp + 0xdc], eax
push esi
push edi
mov eax, dword [0x10006018]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
cmp dword [ebp + 0xc], 1
jne 0x100012c5
call fcn.10001060
test eax, eax
je 0x100012c5
mov edi, 0x10004200
sub edi, 0x6fb6d7e4
lea esi, [esp + 0xd4]
call fcn.100024e0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1000120e
test al, 0x10
je 0x1000120e
mov eax, 1
jmp 0x10001210
xor eax, eax
test eax, eax
je 0x100012c5
mov edi, 0x4062520a
lea esi, [esp + 0xd4]
call fcn.10002520
push eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x100], 0
call fcn.10001dd0
xor eax, eax
push 2
mov byte [esp + 0xfc], 2
push eax
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int_]
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP100.dll_public:_class_std::fpos_int____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
mov ecx, dword [eax + 8]
add ecx, dword [eax]
cmp ecx, 0x8a00
jne 0x100012b1
push 0x1f4
push 0x320
call dword [sym.imp.KERNEL32.dll_Beep]
push str.C:Windowsiconcache_kr.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [esp + 0x24]
mov dword [esp + 0xf8], 0xffffffff
call fcn.100012f0
mov eax, 1
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xdc]
xor ecx, esp
call fcn.10002720
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100020f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10003218
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10006018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebx + 0x44], 0
je 0x10002282
cmp byte [ebx + 0x49], 0
je 0x10002282
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, ebx
call edx
cmp eax, 0xffffffff
je 0x10002276
lea esi, [ebp - 0x2c]
call fcn.10001f90
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x10002163
lea edx, [ebp - 0x2c]
mov eax, edx
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, edx
push ecx
mov ecx, dword [ebx + 0x44]
push eax
lea eax, [ebx + 0x4c]
push eax
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x1000219b
dec eax
je 0x1000219f
sub eax, 2
lea esi, [ebp - 0x2c]
je 0x1000227d
call fcn.10001370
xor al, al
jmp 0x10002284
mov byte [ebx + 0x49], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x100021af
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, edx
je 0x100021dd
cmp edi, 0x10
jae 0x100021be
lea eax, [ebp - 0x2c]
mov edx, dword [ebx + 0x54]
push edx
push esi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x1000226e
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [ebx + 0x49], 0
je 0x1000227a
test esi, esi
jne 0x10002157
mov ecx, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, ecx
cmp edx, 8
jbe 0x1000229f
lea esi, [ecx + 8]
cmp esi, 0xfffffffe
ja 0x1000229f
cmp edi, esi
jae 0x10002257
push ecx
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.10002320
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
test esi, esi
je 0x10002157
mov ecx, eax
cmp edi, 0x10
jae 0x10002233
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
jae 0x1000224e
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x10002151
test esi, esi
jne 0x10002229
mov dword [ebp - 0x1c], esi
cmp edi, 0x10
jae 0x10002266
lea eax, [ebp - 0x2c]
mov byte [eax], 0
jmp 0x10002151
lea esi, [ebp - 0x2c]
call fcn.10001370
xor al, al
jmp 0x10002284
lea esi, [ebp - 0x2c]
call fcn.10001370
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10002720
mov esp, ebp
pop ebp
ret
push str.string_too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
int3

Function at 0x10002720
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10006018]
jne 0x1000272a
repz ret
jmp fcn.10002c37
Function at 0x439c06
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x439c15
pop dword [ebp - 0x38]
mov eax, 0xc0cb4e6f
add eax, 0x3f784da6
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x51a62
push 0
mov eax, 0x1f522239
add eax, 0xe0f29077
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0xde3cbb34
add ecx, 0x21c392ab
mov esi, eax
mov edi, 0xf1e81f9e
add edi, 0xe606e62
add edi, dword [ebp - 0x38]
mov ebx, 0xbdb2e043
add ebx, 0x2e10709d
mov dword [ebp - 0x24], 0x3b523365
mov edx, dword [edi]
xor edx, ebx
mov dword [ebp - 4], 0x3b6327be
mov dword [esi], edx
sub dword [ebp - 0x28], 0xa227efcf
add esi, 0xc3724396
add esi, 0x3c8dbc6e
add edi, 0x996c8298
add edi, 0x66937d6c
loop 0x439c74
add eax, 0x54864de5
add eax, 0xab7adc6a
mov ebx, eax
add eax, 0x7eafccb4
sub eax, 0x7eafccaf
mov ecx, 0x4209ab2f
sub ecx, 0x41c9ab2f
add ecx, dword [ebp - 0x38]
call ebx
leave
ret

Function at 0x4400c9
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46c6d0
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x44010c
push str.SystemFunction040
push dword [0x46c6d0]
call edi
push str.SystemFunction041
push dword [0x46c6d0]
mov dword [0x46c6c0], eax
call edi
mov dword [0x46c6c4], eax
jmp 0x440111
mov eax, dword [0x46c6c4]
cmp dword [0x46c6c0], 0
je 0x440122
test eax, eax
jne 0x4401c9
push 0x46c6d4
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x4401d3
push str.CryptProtectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c0], 0
mov dword [0x46c6c8], eax
jne 0x440187
test eax, eax
jne 0x440187
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x440171
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x440178
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work138_s_srclibsdutilcryputil.cpp
call fcn.004038f5
jmp 0x4401d3
push str.CryptUnprotectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c4], 0
mov dword [0x46c6cc], eax
jne 0x4401c9
test eax, eax
jne 0x4401c9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4401bd
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4401c4
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x44017b
mov dword [0x46c6d8], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
je 0x433072
nop
nop
nop
nop
nop
mov ebx, 0x40de38
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x79705104
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x56a47ed3
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
mov eax, 0x1014
push ebp
mov ebp, esp
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
or eax, 0xffffffff
mov dword [0x415c84], 9
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
mov dword [ebp - 8], eax
add esp, 0xc
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
mov ecx, 0x1000
xor eax, eax
lea edx, [ebp - 0x1010]
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
mov edi, eax
add esp, 0xc
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
test eax, eax
mov esi, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x2cd271c6
nop
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x6a2e6ae7
nop
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x417168
Capabilities:
Check os version

Disassembly:
push ebx
add esp, 0xffffff6c
mov ebx, eax
mov dword [esp], 0x94
push esp
call sub.KERNEL32.DLL_GetVersionExA
mov eax, dword [esp + 0x10]
sub eax, 1
jb 0x41718e
je 0x41719c
dec eax
je 0x4171d5
jmp 0x4171e1
mov eax, ebx
mov edx, 0x4171f4
call sub.rtl60.bpl__System__LStrAsg_qqrpvpxv
jmp 0x4171e1
and dword [esp + 0xc], 0xffff
cmp dword [esp + 4], 4
ja 0x4171b9
cmp dword [esp + 4], 4
jne 0x4171c7
cmp dword [esp + 8], 0xa
jb 0x4171c7
mov eax, ebx
mov edx, 0x417200
call sub.rtl60.bpl__System__LStrAsg_qqrpvpxv
jmp 0x4171e1
mov eax, ebx
mov edx, 0x41720c
call sub.rtl60.bpl__System__LStrAsg_qqrpvpxv
jmp 0x4171e1
mov eax, ebx
mov edx, 0x417218
call sub.rtl60.bpl__System__LStrAsg_qqrpvpxv
add esp, 0x94
pop ebx
ret
Function at 0x429100
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov edi, sym.que2.exe__Fr_class_CurBand
xor eax, eax
push ebp
push 0x429284
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebx + 0x30]
mov eax, ebx
call sym.que2.exe__Fr_class_TfrView_BeginDraw_qqrp16Graphics_TCanvas
mov edx, dword [ebx + 0xd4]
mov eax, dword [ebx + 0x44]
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, ebx
mov edx, dword [ebx + 0x44]
mov eax, dword [sym.que2.exe__Fr_class_CurReport]
call sym.que2.exe__Fr_class_TfrReport_InternalOnEnterRect_qqrp19Classes_TStringListp16Fr_class_TfrView
mov edx, dword [ebx + 0xd8]
mov eax, dword [sym.que2.exe__Fr_class_frInterpretator]
mov ecx, dword [eax]
call dword [ecx + 0x10]
cmp word [ebx + 0xc0], 0
je 0x429269
lea eax, [ebp - 4]
mov edx, dword [ebx + 0xd0]
call sub.rtl60.bpl__System__LStrLAsg_qqrpvpxv
cmp dword [ebx + 0xd0], 0
je 0x4291a8
mov edx, dword [ebx + 0xd0]
mov eax, 0x42929c
call sub.rtl60.bpl__System__LStrPos_qqrv
test eax, eax
je 0x4291a8
lea edx, [ebx + 0xd0]
mov eax, ebx
call sym.que2.exe__Fr_class_TfrView_ExpandVariables_qqrr17System_AnsiString
cmp byte [ebx + 0xdc], 5
jne 0x4291d2
cmp dword [edi], 0
je 0x4291d2
mov eax, dword [edi]
mov eax, dword [eax + 0xc8]
mov edx, dword [edi]
add eax, dword [edx + 0xac]
sub eax, dword [ebx + 0xa0]
mov dword [ebx + 0x98], eax
cmp byte [ebx + 0xdc], 6
jne 0x4291ee
cmp dword [edi], 0
je 0x4291ee
mov eax, dword [edi]
mov eax, dword [eax + 0xc8]
mov dword [ebx + 0x98], eax
cmp byte [ebx + 0xdc], 4
jne 0x429218
cmp dword [edi], 0
je 0x429218
mov eax, dword [edi]
mov al, byte [eax + 0xd8]
add al, 0xee
sub al, 3
jae 0x429218
mov eax, dword [edi]
mov eax, dword [eax + 0xcc]
mov dword [ebx + 0x9c], eax
lea edx, [ebx + 0x58]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
cmp byte [ebx + 0x58], 0xa
jne 0x429252
lea edx, [ebp - 0x108]
mov eax, dword [ebx]
call sub.rtl60.bpl__System_TObject_ClassName_qqrp17System_TMetaClass
lea edx, [ebp - 0x108]
lea eax, [ebp - 8]
call sub.rtl60.bpl__System__LStrFromString_qqrr17System_AnsiStringrx28System__SmallString_iuc_255_
mov edx, dword [ebp - 8]
mov eax, esi
call sym.que2.exe__Fr_utils_frWriteString_qqrp15Classes_TStream17System_AnsiString
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
lea eax, [ebx + 0xd0]
mov edx, dword [ebp - 4]
call sub.rtl60.bpl__System__LStrAsg_qqrpvpxv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42928b
lea eax, [ebp - 8]
mov edx, 2
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
ret
Function at 0x42c4dc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x42c64d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x98]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x14]
add eax, dword [edx + 0xc8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
call sub.vcl60.bpl__Graphics_TFont_GetHeight_qqrv
mov ebx, eax
neg ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
fild dword [eax + 0x124]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
fmul qword [eax + 0x80]
call sub.rtl60.bpl__System__ROUND_qqrv
add ebx, eax
mov dword [ebp - 8], ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
xor edx, edx
mov dword [eax + 0x108], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x110]
mov dword [ebp - 0xc], eax
cmp byte [sym.que2.exe__Fr_class_DocMode], 0
jne 0x42c5e6
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jne 0x42c5e6
lea ecx, [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x44]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x30]
call sub.vcl60.bpl__Graphics_TCanvas_TextWidth_qqrx17System_AnsiString
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
mov ecx, dword [ebp + 8]
sub edx, dword [ecx - 0x10]
cmp eax, edx
jle 0x42c5e6
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x44]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x14]
cmp byte [eax], 0x5b
jne 0x42c5e6
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov dword [eax + 0x110], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x42c623
inc ebx
xor esi, esi
push ebp
lea ecx, [ebp - 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x44]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x18]
call fcn.0042c0fc
pop ecx
test al, al
jne 0x42c623
inc esi
dec ebx
jne 0x42c5fe
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x110], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c654
lea eax, [ebp - 0x18]
mov edx, 3
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
ret
Function at 0x42c890
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x42c9a8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
call fcn.00425bec
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x30]
call sub.vcl60.bpl__Graphics_TCanvas_GetHandle_qqrv
push eax
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x94]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x14]
add eax, dword [edx + 0xc4]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
call sub.vcl60.bpl__Graphics_TFont_GetHeight_qqrv
mov ebx, eax
neg ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
fild dword [eax + 0x124]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
fmul qword [eax + 0x78]
call sub.rtl60.bpl__System__ROUND_qqrv
add ebx, eax
mov dword [ebp - 8], ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
xor edx, edx
mov dword [eax + 0x108], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x42c971
inc ebx
xor esi, esi
push ebp
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x44]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x14]
call fcn.0042c65c
pop ecx
inc esi
dec ebx
jne 0x42c950
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x30]
call sub.vcl60.bpl__Graphics_TCanvas_GetHandle_qqrv
push eax
call sub.GDI32.DLL_SelectObject
mov eax, dword [ebp - 0xc]
push eax
call sub.GDI32.DLL_DeleteObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c9af
lea eax, [ebp - 0x14]
call sub.rtl60.bpl__System__LStrClr_qqrpv
ret
Function at 0x42cc5c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42cd9c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0xa0]
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebx + 0x9c]
xor edx, edx
xor eax, eax
call sub.rtl60.bpl__Classes_Rect_qqriiii
lea edx, [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, 1
mov edx, dword [ebp - 4]
mov eax, 0x42cdb4
call sub.rtl60.bpl__System__LStrPos_qqrv
test eax, eax
je 0x42ccdf
jmp 0x42ccd3
mov eax, dword [ebp - 4]
cmp byte [eax + esi - 1], 1
jne 0x42ccd2
lea eax, [ebp - 4]
mov ecx, 1
mov edx, esi
call sub.rtl60.bpl__System__LStrDelete_qqrv
jmp 0x42ccd3
inc esi
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__System__LStrLen_qqrx17System_AnsiString
cmp esi, eax
jl 0x42ccb7
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__System__LStrLen_qqrx17System_AnsiString
cmp eax, 2
jle 0x42cd0d
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 2], 0xd
jne 0x42cd0d
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0xa
jne 0x42cd0d
mov edx, eax
sub edx, 2
lea eax, [ebp - 4]
call sub.rtl60.bpl__System__LStrSetLength_qqrv
mov edx, dword [ebx + 0x30]
mov eax, ebx
call sym.que2.exe__Fr_class_TfrMemoView_AssignFont_qqrp16Graphics_TCanvas
fild dword [ebx + 0x128]
fmul qword [ebx + 0x78]
call sub.rtl60.bpl__System__ROUND_qqrv
push eax
mov eax, dword [ebx + 0x30]
call sub.vcl60.bpl__Graphics_TCanvas_GetHandle_qqrv
push eax
call sub.GDI32.DLL_SetTextCharacterExtra
push 0xc00
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__System__LStrLen_qqrx17System_AnsiString
push eax
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__System__LStrToPChar_qqrx17System_AnsiString
push eax
mov eax, dword [ebx + 0x30]
call sub.vcl60.bpl__Graphics_TCanvas_GetHandle_qqrv
push eax
call sub.USER32.DLL_DrawTextA
fild dword [ebp - 0xc]
fdiv qword [ebx + 0x78]
fadd dword [ebx + 0xa8]
mov eax, dword [ebx + 0xc4]
add eax, eax
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
faddp st(1)
fadd dword [0x42cdb8]
call sub.rtl60.bpl__System__ROUND_qqrv
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42cda3
lea eax, [ebp - 4]
call sub.rtl60.bpl__System__LStrClr_qqrpv
ret