joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4293d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x59e715
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.004e9770
lea edi, [esi + 0x108]
mov byte [esp + 0x18], 2
mov ecx, edi
call fcn.00592e66
mov dword [edi], 0x5c28d8
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 0x62fcec
mov ecx, edi
mov byte [esp + 0x1c], 5
mov dword [esi], 0x5c6430
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 0x434320
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5a02d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
mov edi, ecx
mov eax, dword [esp + 0x28]
mov ecx, dword [edi + 0xa0c]
push eax
lea esi, [edi + 0x9e4]
push ecx
push 0x60a5b0
push esi
mov dword [esp + 0x30], 0
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x635490]
add esp, 0x10
test eax, eax
je 0x4343cd
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4343cd
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
mov ecx, esi
call fcn.0041a850
push eax
push 0x6095c0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str..con.
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [0x635490]
push str.runtime
push 0x601760
mov eax, dword [edx + 0x44]
push eax
call fcn.004eba10
mov ecx, dword [0x635490]
add esp, 0x1c
add ecx, 0x248
mov edx, dword [ecx]
call dword [edx + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0xc], esp
push esi
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x28], 1
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x6095c0
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x2c], 2
mov ecx, esp
mov dword [esp + 0x1c], esp
push str..con.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x30], 3
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x60175c
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63006c]
mov byte [esp + 0x30], 0
call fcn.00458d40
mov esi, dword [esi]
lea ecx, [edi + 0x8fc]
push esi
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x1c
ret 4
Function at 0x4402e0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5a1bf8
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.004eaa70
mov eax, dword [esp + 0x30]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0x18
xor esi, esi
test eax, eax
jle 0x440377
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 0x440343
mov edx, dword [edi + 0x124]
push 0
push 0
push 0x146
push edx
call ebx
cmp eax, 1
jle 0x4403a3
mov eax, dword [edi + 0x124]
push 0x62fcec
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.00592f92
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret
Function at 0x441740
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x5a1d40
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 [0x635490]
push 0
push 0
push eax
push str.XGSP
mov dword [esp + 0x28], 0
call fcn.0058fa20
mov edi, eax
test edi, edi
jne 0x4417ac
mov ecx, dword [ebp + 0x20]
push 0x40
push 0x6010cc
push 0x60bec4
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x441833
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 0x441825
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 0x441812
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 0x441806
push 0x2c
mov ecx, esi
call fcn.00592cb0
lea edx, [esp + 0xc]
mov ecx, esi
push edx
call fcn.00592f4a
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 0x4417c6
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 0x441ff0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5a205e
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 0x44bc30
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a323b
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 0x44bc81
mov edi, 0x60d92c
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.0059306a
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 0x44bd00
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a325d
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 0x44bd51
mov edi, 0x60d92c
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 0x44bda9
lea ecx, [esp + 4]
push 0x9001
push ecx
mov ecx, eax
call sub.MFC42.DLL_CFile::CFile_1
jmp 0x44bdab
xor eax, eax
test eax, eax
mov dword [esp + 0x114], 0xffffffff
je 0x44bdc3
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 0x44c5a0
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x5a34a6
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.0044c570
mov ecx, eax
call fcn.00453b00
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 0x44c623
mov cl, byte [esp + 0xb4]
mov al, 0x80
test al, cl
jne 0x44c61c
test byte [esp + 0xb5], al
je 0x44c623
mov byte [esp + 0xf], 1
jmp 0x44c627
mov byte [esp + 0xf], bl
mov ecx, esi
call fcn.0044e290
test al, al
jne 0x44c661
call sub.MFC42.DLL_AfxGetThread
cmp eax, ebx
je 0x44c644
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x44c646
xor eax, eax
mov eax, dword [eax + 0x20]
push 0x40
push 0x6010cc
push 0x60dc3c
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x44c729
push 0x3b8
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x11c], 1
je 0x44c687
mov ecx, eax
call fcn.00589160
jmp 0x44c689
xor eax, eax
mov ecx, eax
mov byte [esp + 0x11c], bl
mov dword [esi + 0xcc], eax
call fcn.005897b0
test al, al
je 0x44c71e
mov ecx, dword [esi + 0xcc]
mov byte [esi + 0xc5], 1
cmp byte [ecx + 0x48], bl
je 0x44c6c0
cmp byte [esp + 0xf], bl
jne 0x44c6c0
mov ecx, esi
call fcn.0044c7e0
cmp byte [esi + 0xc5], bl
je 0x44c71e
call sub.MFC42.DLL_AfxGetThread
cmp eax, ebx
je 0x44c6da
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x44c6dc
xor eax, eax
mov eax, dword [eax + 0x20]
push ebx
push 0x32
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
push 0x60d8cc
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 0x44c743
mov ecx, dword [esi + 0xcc]
call fcn.0058a0c0
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 0x44e290
Capabilities:
Access peb ldr_data
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x5a3c68
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 0x44e32c
mov ecx, dword [esp + 8]
push 0
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x44e3e9
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 0x44e38e
mov edx, dword [esp + 0x10]
push eax
push edx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x44e38e
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.0059306a
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.0059306a
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 0x4549e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5a4c17
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 0x62fcec
mov ecx, edi
mov byte [esp + 0x28], 4
mov dword [esi], 0x5cb194
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 0x454be0
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x5a4c88
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 [0x635490]
add esp, 0xc
push ebx
push ebx
push edx
push str.XGSP
call fcn.0058fa20
mov esi, eax
cmp esi, ebx
je 0x454cef
mov ecx, esi
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
test eax, eax
jle 0x454ce1
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.00454f40
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 0x6010cc
push 0x60e2b8
jmp 0x454cfb
push 0x40
push 0x6010cc
push 0x60e2a0
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 0x454d40
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x5a4cc8
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.00455540
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 [0x635490]
add esp, 0xc
push ebx
push ebx
push eax
push str.XGSP
call fcn.0058fa20
mov esi, eax
cmp esi, ebx
je 0x454e81
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::IsEOF_void_
test eax, eax
je 0x454dcf
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::IsBOF_void_
test eax, eax
jne 0x454e81
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 [0x635490]
push str.XGSP
call fcn.0058fa20
cmp eax, ebx
jne 0x454e76
push 0x40
push 0x6010cc
push 0x60131c
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 0x454ef0
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 [0x635490]
add esp, 0x10
push ebx
push ebx
push edx
push str.XGSP
call fcn.0058fa20
cmp eax, ebx
jne 0x454ee7
push 0x40
push 0x6010cc
push 0x60131c
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [esp + 0x20], 2
lea ecx, [esp + 0x14]
jmp 0x454e30
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
Function at 0x45b1f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a58ba
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push ebx
mov dword [esp + 0xc], esi
call sub.MFC42.DLL_CSyncObject::CSyncObject
lea eax, [esi + 8]
mov dword [esi], 0x5cbd24
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [esi + 0x2c]
mov dword [esp + 0x14], ebx
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x34]
mov byte [esp + 0x14], 2
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x3c]
mov byte [esp + 0x14], 3
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x40]
mov byte [esp + 0x14], 4
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x44]
mov byte [esp + 0x14], 5
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x48]
mov byte [esp + 0x14], 6
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov byte [esi + 0x38], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret