joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49ed2c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov edi, dword [ebp + 8]
mov byte [ebp - 5], 0
push 0
mov eax, dword [ebx + 0x34]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
jne 0x49ed9b
mov eax, dword [ebp - 4]
push eax
push edi
mov eax, dword [ebp + 0xc]
push eax
push esi
mov eax, dword [ebx + 0x30]
push eax
call sub.kernel32.dll_ReadFile_1
test eax, eax
je 0x49ed7d
mov ecx, dword [edi]
mov edx, esi
mov eax, ebx
call fcn.0049eda8
test al, al
je 0x49ed9b
jmp 0x49ed43
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x3e5
jne 0x49ed8f
mov byte [ebp - 5], 1
jmp 0x49ed9b
cmp eax, 6
je 0x49ed9b
mov eax, ebx
call fcn.0049f020
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x49f170
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov ebx, dword [ebp + 8]
mov byte [ebp - 9], 0
xor eax, eax
mov dword [ebp - 0x10], eax
xor esi, esi
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 8]
add eax, esi
push eax
mov eax, dword [edi + 0x30]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x49f22c
call sub.kernel32.dll_GetLastError_1
cmp eax, 6
je 0x49f23e
cmp eax, 0x3e5
je 0x49f1d4
mov eax, edi
call fcn.0049f24c
jmp 0x49f23e
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x18]
push eax
push 2
call sub.kernel32.dll_WaitForMultipleObjects
sub eax, 0xffffffff
je 0x49f21a
dec eax
je 0x49f23e
dec eax
je 0x49f1f0
jmp 0x49f223
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [edi + 0x30]
push eax
call sub.kernel32.dll_GetOverlappedResult
test eax, eax
jne 0x49f22c
call sub.kernel32.dll_GetLastError_1
cmp eax, 6
je 0x49f23e
mov eax, edi
call fcn.0049f24c
jmp 0x49f23e
mov eax, edi
call fcn.0049f24c
jmp 0x49f23e
mov eax, edi
call fcn.0049f24c
jmp 0x49f23e
sub ebx, dword [ebp - 0x10]
add esi, dword [ebp - 0x10]
test ebx, ebx
ja 0x49f19e
mov byte [ebp - 9], 1
mov al, byte [ebp - 9]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4b24d8
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff54
push ebx
push esi
push edi
mov ebx, eax
mov dword [ebp - 0x9c], 0x94
lea eax, [ebp - 0x9c]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [ebp - 0x8c], 1
jne 0x4b2531
test bl, bl
je 0x4b251d
push 0
push 5
call sub.user32.dll_ExitWindowsEx
neg eax
sbb ebx, ebx
neg ebx
jmp 0x4b25d0
push 0
push 1
call sub.user32.dll_ExitWindowsEx
neg eax
sbb ebx, ebx
neg ebx
jmp 0x4b25d0
xor eax, eax
push ebp
push 0x4b25c4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
lea eax, [ebp - 0xa8]
push eax
push 0x4b25dc
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [ebp - 0xac], 1
mov dword [ebp - 0xa0], 2
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0xac]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
test bl, bl
je 0x4b25ab
push 0
push 0xc
call sub.user32.dll_ExitWindowsEx
neg eax
sbb ebx, ebx
neg ebx
jmp 0x4b25ba
push 0
push 8
call sub.user32.dll_ExitWindowsEx
neg eax
sbb ebx, ebx
neg ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b25d0
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b5564
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4b556c
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b5750
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x11], 0
lea edx, [ebp - 0x18]
mov eax, dword [0x4beecc]
mov eax, dword [eax]
call fcn.004513b0
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0xc]
call fcn.00409784
lea eax, [ebp - 0x1c]
mov ecx, 0x4b576c
mov edx, dword [ebp - 0xc]
call fcn.00404020
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x4597a4]
call fcn.0045984c
mov ebx, eax
push 0
mov ecx, 0x4b5784
mov edx, 0x4b5794
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 8]
mov ebx, eax
test bl, bl
jne 0x4b55fa
lea eax, [ebp - 0x10]
mov edx, 0x4b57a4
call fcn.00403dec
mov byte [ebp - 5], 0
mov byte [ebp - 0x11], 1
jmp 0x4b56be
xor eax, eax
push ebp
push 0x4b56a3
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x20]
xor eax, eax
mov al, bl
call fcn.00409398
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d4]
add eax, 0x3c
mov edx, 0x4b5804
call fcn.00404020
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d4]
call fcn.0049e240
mov byte [ebp - 6], 0
mov byte [ebp - 5], 0
lea eax, [ebp - 0x10]
mov edx, 0x4b5810
call fcn.00403dec
jmp 0x4b567f
inc byte [ebp - 6]
mov bl, 3
mov cl, 1
mov dl, byte [ebp - 6]
mov eax, dword [ebp - 4]
call fcn.004b5464
test al, al
je 0x4b567b
mov byte [ebp - 5], 1
xor ecx, ecx
mov dl, byte [ebp - 6]
mov eax, dword [ebp - 4]
call fcn.004b5464
jmp 0x4b567f
dec bl
jne 0x4b5657
cmp byte [ebp - 5], 0
jne 0x4b568b
cmp byte [ebp - 6], 8
jbe 0x4b5652
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d4]
call fcn.0049e5e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b56be
cmp byte [ebp - 5], 0
jne 0x4b5728
cmp byte [ebp - 0x11], 0
je 0x4b56ea
push 0x40
push 0x4b5890
mov eax, dword [ebp - 0x10]
call fcn.00404198
push eax
mov eax, dword [ebp - 4]
call fcn.004389d0
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x4b5708
push 0x10
push 0x4b58a4
mov eax, dword [ebp - 0x10]
call fcn.00404198
push eax
mov eax, dword [ebp - 4]
call fcn.004389d0
push eax
call sub.user32.dll_MessageBoxA_1
push 1
lea eax, [ebp - 0x24]
mov ecx, 0x4b58c0
mov edx, dword [ebp - 0xc]
call fcn.00404020
mov eax, dword [ebp - 0x24]
call fcn.00404198
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b5757
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00403d78
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00403d78
ret
Function at 0x1c465f2
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
jmp 0x14445e6
jle 0x1bd5309
lea ebx, [esi + 1]
adc cx, 0x615
or cx, cx
mov ecx, dword [ebp + 8]
test esi, esp
cmc
cmp ebx, edi
jmp 0x144ad2e
jle 0x1debbb9
jmp 0x1bd532f
mov dword [ebp - 8], eax
jmp 0x145bcd0
je 0x1d60e7e
mov eax, 0x5a4d
stc
cmp word [ecx], ax
jmp 0x1d60e78
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
or dl, 0xe
and dh, 0x60
mov edx, dword [ecx + eax + 0x24]
lea ecx, [edx + esi*2]
dec dh
movsx edx, di
movzx edx, word [ecx + eax]
mov dword [ebp - 8], edx
neg ch
dec ch
mov ecx, eax
cdq
mov edx, dword [ebp - 4]
bswap eax
dec eax
ja 0x1dbe938
mov eax, esi
test bp, 0x1452
test ebp, edx
clc
sub eax, dword [edx + ecx + 0x10]
jmp 0x1b8957a
mov eax, dword [eax + esi*4]
push edx
mov edx, dword [ebp + 0xc]
stc
test al, 0xcc
add eax, ecx
call fcn.01ba9e1d
lea esp, [esp + 4]
test edi, ebx
test eax, eax
jmp 0x1d72a60
js 0x1bd5335
jmp 0x1debbc3
push ebp
mov ebp, esp
bts cx, dx
mov ecx, dword [ebp + 8]
cmc
lea esp, [esp - 0x114]
push esi
jmp 0x1c4c118
test ecx, ecx
jmp 0x1dd5150
jne 0x1d60e7e
mov edx, dword [eax + ecx + 0x78]
mov dword [ebp - 4], edx
test ebp, esi
test edx, edx
jmp 0x1e6839f
je 0x1da08f7
sub eax, eax
movzx esi, dx
mov si, cx
movsx esi, ax
pop esi
jmp 0x1dc10b5
jns 0x14445d5
lea edi, [esi - 1]
jmp section..X7a
cmp esi, 0xffff
jmp 0x1bf8b29
dec edi
mov dword [ebp - 0xc], eax
jmp 0x1c2dcfa
mov eax, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
jmp 0x1c57ec5
mov edi, dword [edx + ecx + 0x18]
test edi, edi
je 0x1bd5335
mov eax, dword [edx + ecx + 0x20]
cmc
test dh, 0xa8
add eax, ecx
stc
sub ebx, ebx
jmp 0x1d9b796
mov esp, ebp
mov ebp, esi
mov bp, 0x3d8
movsx ebp, sp
pop ebp
ret
je 0x1d60e7e
mov esi, dword [ebp + 0xc]
test esi, 0x760e10d7
test esi, esi
jmp 0x1bbfe3f
mov eax, dword [ebp - 0xc]
sar edx, 0x84
btc esi, 0x5e
mov edx, dword [ebp + 0x10]
bsr si, cx
lea esi, [edi + ebx]
sar esi, 1
jmp 0x1c15edf
je 0x1d60e7e
mov eax, dword [eax + ecx + 0x7c]
cmc
cmp edi, 0x2f715ca7
push ebx
push edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0xffffffff
cmc
jmp 0x1d746cd
Function at 0x419edd0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x28], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__System__LStrAddRef_qqrpv
xor eax, eax
push ebp
push 0x419ee9b
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [sym.imp.VEDatasets.bpl__Vedataset_defConnection]
mov edx, dword [edx]
mov ecx, 0x419eeb4
mov eax, dword [0x4199d68]
call fcn.0419a04c
test al, al
jne 0x419ee22
mov bl, 1
jmp 0x419ee75
cmp ebx, 0x64
jne 0x419ee2b
xor ebx, ebx
jmp 0x419ee75
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__Sysutils_QuotedStr_qqrx17System_AnsiString
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x18], 0
lea eax, [ebp - 0x24]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
mov edx, dword [sym.imp.VEDatasets.bpl__Vedataset_defConnection]
mov edx, dword [edx]
mov ecx, 0x419eed0
mov eax, dword [0x4199d68]
call fcn.0419a5d8
lea eax, [ebp - 0x14]
call sub.rtl60.bpl__System__VarToInt_qqrrx14System_Variant
test eax, eax
setne bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x419eea2
lea eax, [ebp - 0x28]
call sub.rtl60.bpl__System__LStrClr_qqrpv
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 0x41a32cc
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x41a3385
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, 0x41a339c
call sub.rtl60.bpl__System__LStrAsg_qqrpvpxv
test edi, edi
je 0x41a331f
push dword [ebx]
push 0x41a3784
lea edx, [ebp - 4]
mov eax, edi
call sub.rtl60.bpl__Sysutils_IntToStr_qqri
push dword [ebp - 4]
push 0x41a37a4
mov eax, ebx
mov edx, 4
call sub.rtl60.bpl__System__LStrCatN_qqrv
test esi, esi
je 0x41a3348
push dword [ebx]
push 0x41a37b0
lea edx, [ebp - 8]
mov eax, esi
call sub.rtl60.bpl__Sysutils_IntToStr_qqri
push dword [ebp - 8]
push 0x41a37a4
mov eax, ebx
mov edx, 4
call sub.rtl60.bpl__System__LStrCatN_qqrv
push dword [ebx]
push 0x41a37c8
push 0x41a3840
push 0x41a38c8
push 0x41a3970
mov eax, ebx
mov edx, 5
call sub.rtl60.bpl__System__LStrCatN_qqrv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a338c
lea eax, [ebp - 8]
mov edx, 2
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
ret
Function at 0x41a4a14
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x41a4a1c
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__System__LStrAddRef_qqrpv
xor eax, eax
push ebp
push 0x41a4aef
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x41a4ab8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [sym.imp.VEDatasets.bpl__Vedataset_defDonemNo]
mov eax, dword [eax]
push eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__Sysutils_QuotedStr_qqrx17System_AnsiString
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0xb
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [sym.imp.VEDatasets.bpl__Vedataset_defFirmaNo]
mov ecx, dword [ecx]
mov edx, 0x41a4b08
mov eax, dword [0x4199d68]
call fcn.0419a7f8
lea eax, [ebp - 0x24]
push eax
call sub.VEDatasets.bpl__Vedataset_Connection_qqrv
mov edx, eax
mov ecx, dword [ebp - 8]
mov eax, dword [0x4199d68]
call fcn.0419a670
lea eax, [ebp - 0x24]
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
jmp 0x41a4ac4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a4af6
lea eax, [ebp - 0x24]
call sub.rtl60.bpl__System__VarClr_qqrr14System_Variant
lea eax, [ebp - 0x14]
call sub.rtl60.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 8]
mov edx, 2
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
ret

Function at 0x41a567c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x41a5684
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__System__LStrAddRef_qqrpv
xor eax, eax
push ebp
push 0x41a5760
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 1
cmp dword [ebp - 4], 0
je 0x41a572c
mov eax, dword [ebp - 4]
mov edx, 0x41a5778
call sub.rtl60.bpl__System__LStrCmp_qqrv
je 0x41a572c
lea ecx, [ebp - 8]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.041a4064
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call sub.rtl60.bpl__System__LStrLAsg_qqrpvpxv
lea eax, [ebp - 0x18]
push eax
mov eax, dword [sym.imp.VEDatasets.bpl__Vedataset_defDonemNo]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea eax, [ebp - 0x24]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [sym.imp.VEDatasets.bpl__Vedataset_defFirmaNo]
mov ecx, dword [ecx]
mov edx, 0x41a5788
mov eax, dword [0x4199d68]
call fcn.0419a7f8
mov ecx, dword [ebp - 0x1c]
mov edx, dword [0x41fa150]
mov eax, dword [0x4199d68]
call fcn.0419a670
lea eax, [ebp - 0x18]
call sub.rtl60.bpl__System__VarToInt_qqrrx14System_Variant
mov ebx, eax
test ebx, ebx
jne 0x41a5735
mov ebx, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a5767
lea eax, [ebp - 0x1c]
call sub.rtl60.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x18]
call sub.rtl60.bpl__System__VarClr_qqrr14System_Variant
lea eax, [ebp - 8]
mov edx, 2
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
ret
Function at 0x41a67c0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x41a67c8
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__System__LStrAddRef_qqrpv
xor eax, eax
push ebp
push 0x41a68a1
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__Sysutils_Trim_qqrx17System_AnsiString
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call sub.rtl60.bpl__System__LStrLAsg_qqrpvpxv
cmp dword [ebp - 4], 0
jne 0x41a680a
xor ebx, ebx
jmp 0x41a6871
lea eax, [ebp - 0x18]
push eax
mov eax, dword [sym.imp.VEDatasets.bpl__Vedataset_defDonemNo]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x41a68b8
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__Sysutils_QuotedStr_qqrx17System_AnsiString
push dword [ebp - 0x24]
push 0x41a68ec
lea eax, [ebp - 0x20]
mov edx, 3
call sub.rtl60.bpl__System__LStrCatN_qqrv
mov edx, dword [ebp - 0x20]
mov ecx, dword [sym.imp.VEDatasets.bpl__Vedataset_defFirmaNo]
mov ecx, dword [ecx]
mov eax, dword [0x4199d68]
call fcn.0419ab18
mov ecx, dword [ebp - 0x1c]
mov edx, dword [0x41fa150]
mov eax, dword [0x4199d68]
call fcn.0419a670
lea eax, [ebp - 0x18]
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 0x41a68a8
lea eax, [ebp - 0x24]
mov edx, 3
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x18]
call sub.rtl60.bpl__System__VarClr_qqrr14System_Variant
lea eax, [ebp - 8]
mov edx, 2
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
ret
Function at 0x41a98ec
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x41a98f4
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x41a9a02
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, dword [0x41fa160]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x34]
lea edx, [ebp - 0xc]
mov eax, dword [0x41fa160]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x20]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x41a998f
inc ebx
xor esi, esi
lea edx, [ebp - 0x18]
mov eax, dword [0x41fa160]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x1c]
mov eax, dword [0x41fa160]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov edx, dword [ebp - 0x1c]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
inc esi
dec ebx
jne 0x41a994c
lea edx, [ebp - 0x20]
mov eax, dword [0x41fa160]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x2c]
lea edx, [ebp - 0x24]
mov eax, dword [0x41fa160]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x30]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a9a09
lea eax, [ebp - 0x24]
mov edx, dword [0x419fc14]
mov ecx, 4
call sub.rtl60.bpl__System__FinalizeArray_qqrpvt1ui
lea eax, [ebp - 0x14]
call sub.rtl60.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 0x10]
call sub.rtl60.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 0xc]
call sub.rtl60.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 8]
call sub.rtl60.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 4]
call sub.rtl60.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
ret
Function at 0x41aba10
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], ebx
mov esi, ecx
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 0x41abac7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
call sub.VEDatasets.bpl__Vedataset_DonemNo_qqrv
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x1c], 0
lea eax, [ebp - 0x28]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
call sub.VEDatasets.bpl__Vedataset_FirmaNo_qqrv
mov ecx, eax
mov edx, 0x41abadc
mov eax, dword [0x4199d68]
call fcn.0419a7f8
mov eax, dword [ebp - 0x18]
push eax
call sub.VEDatasets.bpl__Vedataset_Connection_qqrv
mov edx, eax
mov eax, dword [0x4199d68]
pop ecx
call fcn.0419a670
lea edx, [ebp - 0x14]
mov eax, esi
call sub.rtl60.bpl__System__VarToWStr_qqrr17System_WideStringrx14System_Variant
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41abace
lea eax, [ebp - 0x18]
call sub.rtl60.bpl__System__LStrClr_qqrpv
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 0x41ae6d8
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], ebx
mov esi, ecx
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 0x41ae78d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [sym.imp.VEDatasets.bpl__Vedataset_defDonemNo]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
lea eax, [ebp - 0x18]
push eax
push 1
lea eax, [ebp - 8]
push eax
mov ecx, dword [sym.imp.VEDatasets.bpl__Vedataset_defFirmaNo]
mov ecx, dword [ecx]
mov edx, 0x41ae7a4
mov eax, dword [0x4199d68]
call fcn.0419a7f8
lea eax, [ebp - 0x28]
push eax
call sub.VEDatasets.bpl__Vedataset_Connection_qqrv
mov edx, eax
mov ecx, dword [ebp - 8]
mov eax, dword [0x4199d68]
call fcn.0419a670
lea edx, [ebp - 0x28]
mov eax, esi
call sub.rtl60.bpl__System__VarToLStr_qqrr17System_AnsiStringrx14System_Variant
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41ae794
lea eax, [ebp - 0x28]
call sub.rtl60.bpl__System__VarClr_qqrr14System_Variant
lea eax, [ebp - 8]
mov edx, 2
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
ret
Function at 0x41b786c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__System__LStrAddRef_qqrpv
xor eax, eax
push ebp
push 0x41b7947
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
mov eax, dword [sym.imp.VEDatasets.bpl__Vedataset_defDonemNo]
mov eax, dword [eax]
push eax
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x34]
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 - 0x34]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x1c], 0
lea eax, [ebp - 0x30]
push eax
push 2
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [sym.imp.VEDatasets.bpl__Vedataset_defFirmaNo]
mov ecx, dword [ecx]
mov edx, 0x41b7960
mov eax, dword [0x4199d68]
call fcn.0419a7f8
mov ecx, dword [ebp - 0x18]
mov edx, dword [0x41fa150]
mov eax, dword [0x4199d68]
call fcn.0419a670
lea edx, [ebp - 0x14]
mov eax, dword [ebp + 8]
call sub.rtl60.bpl__System__VarToLStr_qqrr17System_AnsiStringrx14System_Variant
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41b794e
lea eax, [ebp - 0x34]
call sub.rtl60.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x18]
call sub.rtl60.bpl__System__LStrClr_qqrpv
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 0x41bbc94
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor edx, edx
mov dword [ebp - 4], edx
xor edx, edx
push ebp
push 0x41bbd2b
push dword fs:[edx]
mov dword fs:[edx], esp
mov ecx, eax
mov dl, 1
mov eax, dword [sym.imp.adortl60.bpl__Adodb_TADOQuery_]
call sub.adortl60.bpl__Adodb_TADOQuery__bctr_qqrp18Classes_TComponent
mov ebx, eax
call sub.VEDatasets.bpl__Vedataset_Connection_qqrv
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x268]
lea eax, [ebp - 4]
push eax
call sub.VEDatasets.bpl__Vedataset_FirmaNo_qqrv
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0
call sub.VEDatasets.bpl__Vedataset_DonemNo_qqrv
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0x14]
mov ecx, 1
mov eax, 0x41bbd44
call sub.rtl60.bpl__Sysutils_Format_qqrx17System_AnsiStringpx14System_TVarRecxi
mov eax, dword [ebp - 4]
push eax
mov eax, ebx
call sub.adortl60.bpl__Adodb_TADOQuery_GetSQL_qqrv
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_Open_qqrv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41bbd32
lea eax, [ebp - 4]
call sub.rtl60.bpl__System__LStrClr_qqrpv
ret