joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425010
Capabilities:
Access peb ldr_data
Get number of processors
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x5a6988
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esi + 0x74]
lea ecx, [esp + 0xc]
push eax
xor ebx, ebx
push str.SELECT__FROM_ins_filter_WHERE_id_d
push ecx
mov dword [esp + 0x3c], ebx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x18]
mov ecx, dword [0x641030]
add esp, 0xc
push ebx
push ebx
push edx
push str.XGSP
call fcn.00598520
mov edi, eax
cmp edi, ebx
jne 0x425140
mov eax, dword [0x641030]
cmp eax, ebx
je 0x4250d9
cmp byte [eax + 0x40], bl
je 0x4250d9
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
push 0x61291c
push 0x60c790
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str..dbs.
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x641030]
push str.runtime
push 0x60c77c
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ed3c0
mov edx, dword [0x641030]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x61291c
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x38], 1
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x60c790
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x3c], 2
mov ecx, esp
mov dword [esp + 0x2c], esp
push str..dbs.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x40], 3
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x60c778
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63bc8c]
mov byte [esp + 0x40], bl
call fcn.00459390
jmp 0x4251c7
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x6c]
mov byte [esp + 0x30], 4
push ecx
push str.cmd_name
mov ecx, edi
mov dword [esp + 0x18], ebx
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea edx, [esi + 0x70]
mov ecx, edi
push edx
push str.cmd_perfix
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea eax, [esi + 0x68]
mov ecx, edi
push eax
push str.min_len
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea ecx, [esi + 0x64]
push ecx
push str.max_len
mov ecx, edi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea edx, [esp + 0x10]
mov ecx, edi
push edx
push str.disable
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp ecx, 1
push ebx
sete al
mov ecx, esi
mov dword [esi + 0x60], eax
call sub.MFC42.DLL_CWnd::UpdateData
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret
Function at 0x429370
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5a72d5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], 0
push eax
push 0xb1
call sub.MFC42.DLL_CDialog::CDialog
lea ecx, [esi + 0x60]
mov byte [esp + 0x18], 1
call fcn.004eb1c0
lea edi, [esi + 0x108]
mov byte [esp + 0x18], 2
mov ecx, edi
call fcn.0059b968
mov dword [edi], 0x5cc8d8
lea edi, [esi + 0x14c]
mov byte [esp + 0x18], 3
mov ecx, edi
call sub.MFC42.DLL_CString::CString_1
lea ebx, [esi + 0x158]
mov byte [esp + 0x18], 4
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_1
push 0x63b90c
mov ecx, edi
mov byte [esp + 0x1c], 5
mov dword [esi], 0x5d0430
mov dword [esi + 0x148], 0
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x24]
mov dword [esi + 0x15c], ecx
push edx
mov ecx, ebx
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov dword [esi + 0x154], ecx
lea ecx, [esp + 0x24]
mov dword [esi + 0x150], eax
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14
Function at 0x440730
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5aa898
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CStringArray::CStringArray
push 1
push 1
push 0x64
lea eax, [esp + 0x1c]
push 0x2c
push eax
push ecx
lea edx, [edi + 0x64]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov dword [esp + 0x48], 0
call sub.MFC42.DLL_CString::CString_2
call fcn.004ec420
mov eax, dword [esp + 0x30]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0x18
xor esi, esi
test eax, eax
jle 0x4407c7
lea eax, [esp + 0xc]
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.0041abd0
mov eax, dword [eax]
mov ecx, dword [edi + 0x124]
push eax
push 0
push 0x143
push ecx
call ebx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x18]
inc esi
cmp esi, eax
jl 0x440793
mov edx, dword [edi + 0x124]
push 0
push 0
push 0x146
push edx
call ebx
cmp eax, 1
jle 0x4407f3
mov eax, dword [edi + 0x124]
push 0x63b90c
push 0
push 0x14a
push eax
call ebx
mov ecx, dword [edi + 0x124]
push 0
push 0
push 0x14e
push ecx
call ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0059ba94
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret
Function at 0x441b90
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x5aa9e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
mov ebp, ecx
push edi
push str.SELECT_DISTINCT_office_code_FROM__pid_config__WHERE_disable__0_AND_delflag0
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0xc]
mov ecx, dword [0x641030]
push 0
push 0
push eax
push str.XGSP
mov dword [esp + 0x28], 0
call fcn.00598520
mov edi, eax
test edi, edi
jne 0x441bfc
mov ecx, dword [ebp + 0x20]
push 0x40
push 0x60c0cc
push 0x616fa4
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x441c83
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_1
mov ecx, edi
mov byte [esp + 0x18], 1
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::IsEOF_void_
test eax, eax
jne 0x441c75
push esi
lea edx, [esp + 0xc]
mov ecx, edi
push edx
push str.office_code
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
mov eax, dword [esp + 0xc]
cmp dword [eax - 8], 6
jne 0x441c62
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::MakeUpper
mov ecx, dword [ebp + 0x2f0]
lea esi, [ebp + 0x2f0]
mov eax, dword [ecx - 8]
test eax, eax
je 0x441c56
push 0x2c
mov ecx, esi
call fcn.0059b7b2
lea edx, [esp + 0xc]
mov ecx, esi
push edx
call fcn.0059ba4c
mov ecx, edi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::MoveNext_void_
mov ecx, edi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::IsEOF_void_
test eax, eax
je 0x441c16
pop esi
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x442440
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5aacfe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 0x30]
mov dword [esp + 0x10], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x28]
mov byte [esp + 0x10], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x24]
mov byte [esp + 0x10], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x18]
mov byte [esp + 0x10], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x10]
mov byte [esp + 0x10], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xc]
mov byte [esp + 0x10], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 8]
mov byte [esp + 0x10], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 4]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x44c0a0
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5abedb
push eax
mov dword fs:[0], esp
sub esp, 0x124
lea eax, [esp + 0x1c]
push ebx
push esi
push edi
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x28]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, str.pdsys.bin
cmp byte [esp + ecx + 0x27], 0x5c
jne 0x44c0f1
mov edi, 0x6189f8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CFileFind::CFileFind
lea eax, [esp + 0x28]
push 0
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x140], 0
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x138], 0xffffffff
sete bl
call fcn.0059bb6c
mov ecx, dword [esp + 0x130]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x130
ret

Function at 0x44c170
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5abefd
push eax
mov dword fs:[0], esp
sub esp, 0x10c
lea eax, [esp + 4]
push ebx
push esi
push edi
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, str.pdsys.bin
cmp byte [esp + ecx + 0xf], 0x5c
jne 0x44c1c1
mov edi, 0x6189f8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x10
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0xc], eax
pop edi
pop esi
test eax, eax
mov dword [esp + 0x118], 0
pop ebx
je 0x44c219
lea ecx, [esp + 4]
push 0x9001
push ecx
mov ecx, eax
call sub.MFC42.DLL_CFile::CFile_1
jmp 0x44c21b
xor eax, eax
test eax, eax
mov dword [esp + 0x114], 0xffffffff
je 0x44c233
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 4]
mov ecx, dword [esp + 0x10c]
mov dword fs:[0], ecx
add esp, 0x118
ret
Function at 0x44ca10
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x5ac146
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push ebx
push esi
push edi
mov esi, ecx
call sub.MFC42.DLL_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.MFC42.DLL_CCmdTarget::BeginWaitCursor
xor ebx, ebx
push ebx
mov dword [esp + 0x120], ebx
call fcn.0044c9e0
mov ecx, eax
call fcn.00454180
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
cmp eax, ebx
je 0x44ca93
mov cl, byte [esp + 0xb4]
mov al, 0x80
test al, cl
jne 0x44ca8c
test byte [esp + 0xb5], al
je 0x44ca93
mov byte [esp + 0xf], 1
jmp 0x44ca97
mov byte [esp + 0xf], bl
mov ecx, esi
call fcn.0044e6f0
test al, al
jne 0x44cad1
call sub.MFC42.DLL_AfxGetThread
cmp eax, ebx
je 0x44cab4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x44cab6
xor eax, eax
mov eax, dword [eax + 0x20]
push 0x40
push 0x60c0cc
push 0x618d08
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x44cb99
push 0x3b8
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x11c], 1
je 0x44caf7
mov ecx, eax
call fcn.00591b90
jmp 0x44caf9
xor eax, eax
mov ecx, eax
mov byte [esp + 0x11c], bl
mov dword [esi + 0xcc], eax
call fcn.005921e0
test al, al
je 0x44cb8e
mov ecx, dword [esi + 0xcc]
mov byte [esi + 0xc5], 1
cmp byte [ecx + 0x48], bl
je 0x44cb30
cmp byte [esp + 0xf], bl
jne 0x44cb30
mov ecx, esi
call fcn.0044cc50
cmp byte [esi + 0xc5], bl
je 0x44cb8e
call sub.MFC42.DLL_AfxGetThread
cmp eax, ebx
je 0x44cb4a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x44cb4c
xor eax, eax
mov eax, dword [eax + 0x20]
push ebx
push 0x32
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
push 0x618998
lea ecx, [esi + 0x1ec]
call sub.MFC42.DLL_CString::operator
mov byte [esi + 0xc4], 1
mov dword [esp + 0x11c], 0xffffffff
call sub.MFC42.DLL_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.MFC42.DLL_CCmdTarget::EndWaitCursor
mov al, 1
jmp 0x44cbb3
mov ecx, dword [esi + 0xcc]
call fcn.00592af0
mov dword [esp + 0x11c], 0xffffffff
call sub.MFC42.DLL_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.MFC42.DLL_CCmdTarget::EndWaitCursor
xor al, al
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x114
ret
Function at 0x44e6f0
Capabilities:
Access peb ldr_data
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x5ac908
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push str..dbibsp.mdb
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
push str..dbibsp_install.mdb
lea ecx, [esp + 0xc]
mov dword [esp + 0x44], 0
call sub.MFC42.DLL_CString::CString_3
mov ebx, 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], bl
call sub.MFC42.DLL_CFileFind::CFileFind
mov eax, dword [esp + 0xc]
push 0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 2
call sub.MFC42.DLL_CFileFind::FindFile
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x44e78c
mov ecx, dword [esp + 8]
push 0
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x44e849
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push ebx
push edx
push eax
call esi
mov dword [esp + 0x40], 2
push str..dbpnr_rec.mdb
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
push str..dbpnr_rec_install.mdb
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 5
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0x14]
push 0
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 6
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x44e7ee
mov edx, dword [esp + 0x10]
push eax
push edx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x44e7ee
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push ebx
push eax
push ecx
call esi
mov dword [esp + 0x40], 6
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], bl
call fcn.0059bb6c
lea ecx, [esp + 8]
mov byte [esp + 0x40], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov al, bl
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], bl
call fcn.0059bb6c
lea ecx, [esp + 8]
mov byte [esp + 0x40], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x38]
pop esi
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret
Function at 0x4550e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5ad907
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
lea edi, [esi + 4]
mov ecx, edi
call sub.MFC42.DLL_CString::CString_1
xor ebx, ebx
lea ecx, [esi + 0x18]
mov dword [esp + 0x24], ebx
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x1c]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x20]
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x24]
mov byte [esp + 0x24], 3
call sub.MFC42.DLL_CString::CString_1
push 0x63b90c
mov ecx, edi
mov byte [esp + 0x28], 4
mov dword [esi], 0x5d52ec
call sub.MFC42.DLL_CString::operator
lea eax, [esp + 0x10]
mov dword [esi + 8], ebx
push eax
mov dword [esi + 0xc], ebx
call sub.MFC42.DLL_CTime::GetTickCount
push ebx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CTime::GetLocalTm
mov ebp, dword [eax + 0xc]
push ebx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CTime::GetLocalTm
mov edi, dword [eax + 0x10]
push ebx
lea ecx, [esp + 0x14]
inc edi
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0x14]
push 0xffffffffffffffff
push ebx
push ebx
push ebx
add eax, 0x76c
push ebp
push edi
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CTime::CTime_1
mov ecx, dword [eax]
push ebx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CTime::GetLocalTm
mov ebp, dword [eax + 0xc]
push ebx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CTime::GetLocalTm
mov edi, dword [eax + 0x10]
push ebx
lea ecx, [esp + 0x14]
inc edi
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0x14]
push 0xffffffffffffffff
push 0x3b
push 0x3b
push 0x17
add eax, 0x76c
push ebp
push edi
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CTime::CTime_1
mov edx, dword [eax]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x14], edx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov byte [esi + 0x44], 1
mov byte [esi + 0x45], 1
mov byte [esi + 0x46], bl
mov byte [esi + 0x47], bl
mov byte [esi + 0x48], 1
mov byte [esi + 0x4b], bl
mov byte [esi + 0x4a], bl
mov byte [esi + 0x49], bl
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x4552e0
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x5ad978
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], ebx
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0xc]
push eax
push str.SELECT__FROM__pnr_analysis_config__WHERE_template_name_s
push ecx
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x18]
mov ecx, dword [0x641030]
add esp, 0xc
push ebx
push ebx
push edx
push str.XGSP
call fcn.00598520
mov esi, eax
cmp esi, ebx
je 0x4553ef
mov ecx, esi
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
test eax, eax
jle 0x4553e1
lea eax, [edi + 4]
mov ecx, esi
push eax
push str.template_name
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 2
push ecx
push str.param
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
call fcn.00455640
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 4
push 0x40
push 0x60c0cc
push 0x619394
jmp 0x4553fb
push 0x40
push 0x60c0cc
push 0x61937c
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 4
Function at 0x455440
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x5ad9b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
lea eax, [esp + 0xc]
xor ebx, ebx
push eax
mov dword [esp + 0x24], ebx
call fcn.00455c40
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x28]
lea edx, [esp + 8]
push ecx
push str.SELECT__FROM__pnr_analysis_config__WHERE_template_name_s
push edx
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x14]
mov ecx, dword [0x641030]
add esp, 0xc
push ebx
push ebx
push eax
push str.XGSP
call fcn.00598520
mov esi, eax
cmp esi, ebx
je 0x455581
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::IsEOF_void_
test eax, eax
je 0x4554cf
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::IsBOF_void_
test eax, eax
jne 0x455581
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0xc]
push ecx
push edx
lea eax, [esp + 0x18]
push str.UPDATE__pnr_analysis_config__set_param_s_WHERE_template_name_s
push eax
mov byte [esp + 0x30], 4
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x20]
add esp, 0x10
push ebx
push ebx
push ecx
mov ecx, dword [0x641030]
push str.XGSP
call fcn.00598520
cmp eax, ebx
jne 0x455576
push 0x40
push 0x60c0cc
push 0x60c338
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [esp + 0x20], 2
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
mov byte [esp + 0x20], 2
lea ecx, [esp + 0x10]
jmp 0x4555f0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x1c]
push str.INSERT_INTO__pnr_analysis_config__template_name__param__VALUES__s___s_
push ecx
mov byte [esp + 0x30], 3
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x24]
mov ecx, dword [0x641030]
add esp, 0x10
push ebx
push ebx
push edx
push str.XGSP
call fcn.00598520
cmp eax, ebx
jne 0x4555e7
push 0x40
push 0x60c0cc
push 0x60c338
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [esp + 0x20], 2
lea ecx, [esp + 0x14]
jmp 0x455530
mov byte [esp + 0x20], 2
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4