joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454b10
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5a6577
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 0x631fcc
mov ecx, edi
mov byte [esp + 0x28], 4
mov dword [esi], 0x5cd194
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 0x454d10
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x5a65e8
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 [0x637770]
add esp, 0xc
push ebx
push ebx
push edx
push str.XGSP
call fcn.00590210
mov esi, eax
cmp esi, ebx
je 0x454e1f
mov ecx, esi
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
test eax, eax
jle 0x454e11
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.00455070
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 0x6030cc
push 0x610288
jmp 0x454e2b
push 0x40
push 0x6030cc
push 0x610270
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 0x454e70
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x5a6628
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.00455670
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 [0x637770]
add esp, 0xc
push ebx
push ebx
push eax
push str.XGSP
call fcn.00590210
mov esi, eax
cmp esi, ebx
je 0x454fb1
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::IsEOF_void_
test eax, eax
je 0x454eff
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::IsBOF_void_
test eax, eax
jne 0x454fb1
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 [0x637770]
push str.XGSP
call fcn.00590210
cmp eax, ebx
jne 0x454fa6
push 0x40
push 0x6030cc
push 0x60331c
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 0x455020
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 [0x637770]
add esp, 0x10
push ebx
push ebx
push edx
push str.XGSP
call fcn.00590210
cmp eax, ebx
jne 0x455017
push 0x40
push 0x6030cc
push 0x60331c
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [esp + 0x20], 2
lea ecx, [esp + 0x14]
jmp 0x454f60
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 0x45b340
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a721a
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], 0x5cdd24
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
Function at 0x460570
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a77e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x24], 0
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x3c]
mov cl, byte [eax]
lea esi, [eax + 1]
cmp cl, 0x23
je 0x4605b3
mov esi, eax
lea ecx, [esp + 0x10]
push ecx
call sub.MFC42.DLL_CTime::GetTickCount
push esi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
push 0x2d
push 0x5f
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::Replace_1
push 0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CTime::GetLocalTm
mov esi, dword [eax + 4]
push 0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CTime::GetLocalTm
mov edi, dword [eax + 8]
push 0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CTime::GetLocalTm
mov ebp, dword [eax + 0xc]
push 0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CTime::GetLocalTm
mov edx, dword [ebx + 0x78]
mov eax, dword [eax + 0x10]
inc eax
mov ecx, dword [edx + 0x58]
mov edx, dword [esp + 0x14]
push ecx
push edx
push esi
push edi
push ebp
push eax
lea eax, [esp + 0x30]
push str.C_REM__02d_02d__02d_02d__s__s_r
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x54]
add esp, 0x20
push ecx
push edx
push 0x60e6ec
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
Function at 0x4634a0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 1
mov esi, ecx
push 0
call edi
push 0
push 0
push 1
push 0
mov dword [esi + 8], eax
call edi
mov dword [esi + 0xc], eax
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x463550
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov dword [esi + 4], eax
test eax, eax
setne cl
pop edi
mov al, cl
pop esi
pop ecx
ret
Function at 0x465560
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5a7c7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
call sub.MFC42.DLL_CString::CString_1
xor ebx, ebx
lea ecx, [esi + 4]
mov dword [esp + 0x14], ebx
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 8]
mov byte [esp + 0x14], 1
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0xc]
mov byte [esp + 0x14], 2
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x10]
mov byte [esp + 0x14], 3
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x14]
mov byte [esp + 0x14], 4
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x18]
mov byte [esp + 0x14], 5
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x1c]
mov byte [esp + 0x14], 6
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x20]
mov byte [esp + 0x14], 7
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x24]
mov byte [esp + 0x14], 8
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x28]
mov byte [esp + 0x14], 9
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x38], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], ebx
mov byte [esi + 0x2c], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x465de0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a7dfe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::CString_1
xor edi, edi
lea ecx, [esi + 0x10]
mov dword [esp + 0x14], edi
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x14]
mov byte [esp + 0x14], 1
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x1c]
mov byte [esp + 0x14], 2
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x20]
mov byte [esp + 0x14], 3
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x24]
mov byte [esp + 0x14], 4
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x28]
mov byte [esp + 0x14], 5
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 6
call sub.MFC42.DLL_CString::CString_1
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], 0x5cdd70
mov dword [esi + 0x44], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x54], 0x5cdd84
mov dword [esi + 0x58], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], edi
lea ecx, [esi + 0x68]
mov byte [esp + 0x14], 9
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0xc]
mov dword [esi + 0xc], edi
mov dword [esi + 0x70], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x485a10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5aa950
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [ecx + 4]
push str.______________________________________________r
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0x10]
mov eax, dword [edi]
xor ebx, ebx
push ebx
push ecx
mov ecx, edi
mov dword [esp + 0x30], ebx
call dword [eax + 0x90]
mov eax, dword [0x637770]
cmp eax, ebx
je 0x485abb
cmp byte [eax + 0x40], bl
je 0x485abb
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0x10]
mov eax, dword [edi + 0x78]
push edx
push str._RX_
push ebx
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x637770]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb4c0
mov eax, dword [0x637770]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c540
mov eax, dword [eax + 0xd0]
cmp byte [eax], bl
je 0x485b07
mov ecx, dword [esp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [edi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fc8]
mov byte [esp + 0x34], bl
call fcn.00401160
mov eax, dword [0x631fd0]
cmp eax, ebx
je 0x485bf7
mov ecx, dword [eax + 0x50]
xor ebp, ebp
cmp ecx, ebx
jle 0x485bf7
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + ebp*4]
cmp esi, ebx
je 0x485beb
cmp byte [esi + 0x88], bl
je 0x485beb
call fcn.0044c540
mov edx, dword [eax + 0xd0]
cmp byte [edx + 2], bl
je 0x485be6
mov eax, dword [esi + 0x84]
cmp dword [eax - 8], ebx
je 0x485be6
mov ecx, dword [edi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x14]
mov byte [esp + 0x28], 2
cmp dword [edx - 8], ebx
je 0x485bd9
cmp byte [esi + 0x80], bl
jne 0x485bd9
mov eax, dword [edi + 0x78]
mov ecx, dword [esi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x485bd9
mov ecx, dword [esp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [edi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x38], 3
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x34], 2
call fcn.00402500
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x485b21
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 4
Function at 0x49c7f0
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x5acfe3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], 0
push eax
call fcn.0049cd10
mov ebp, eax
test ebp, ebp
jne 0x49c846
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor al, al
pop ebp
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 8
mov al, byte [ebp + 0x10]
test al, al
jne 0x49c872
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov al, 1
pop ebp
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 8
push ebx
push esi
lea ecx, [esp + 0x28]
push edi
push ecx
call sub.MFC42.DLL_CTime::GetTickCount
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
push 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CTime::GetLocalTm
mov edi, dword [eax + 0xc]
push 0
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CTime::GetLocalTm
mov esi, dword [eax + 0x10]
push 0
lea ecx, [esp + 0x30]
inc esi
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0x14]
push edi
add eax, 0x76c
push esi
push eax
lea edx, [esp + 0x20]
push str._04d__02d__02d_00:00:00
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
push eax
push ecx
lea edx, [esp + 0x18]
mov bl, 2
push str.SELECT_COUNT_1__as_pnr_count_FROM__booking_rec__WHERE_account_s_AND_rec_time__s
push edx
mov byte [esp + 0x34], bl
call sub.MFC42.DLL_CString::Format
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 0x14
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0x24], 3
je 0x49c921
push str.PNRR
mov ecx, eax
call fcn.004dbdb0
mov esi, eax
jmp 0x49c923
xor esi, esi
mov eax, dword [esp + 0x10]
push 3
push 3
push 1
mov byte [esp + 0x30], bl
push eax
mov ecx, esi
mov bl, 1
call fcn.004dbe40
test eax, eax
je 0x49c968
mov ecx, esi
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
test eax, eax
jle 0x49c968
lea ecx, [esp + 0x18]
push ecx
push str.pnr_count
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 0x14]
cmp edx, eax
jl 0x49c968
xor bl, bl
test esi, esi
je 0x49c974
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
pop edi
mov al, bl
pop esi
pop ebx
pop ebp
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x49e020
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ad3ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 4]
mov dword [esp + 0x1c], 3
mov ecx, edi
call sub.MFC42.DLL_CString::CString_1
lea ebx, [esi + 8]
mov byte [esp + 0x1c], 4
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_1
lea ebp, [esi + 0xc]
mov byte [esp + 0x1c], 5
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x10]
mov byte [esp + 0x1c], 6
call sub.MFC42.DLL_CString::CString_1
mov al, byte [esp + 0x24]
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
mov byte [esp + 0x20], 7
mov byte [esi], al
call sub.MFC42.DLL_CString::operator_1
mov ecx, edi
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, edi
call sub.MFC42.DLL_CString::TrimRight
mov ecx, edi
call sub.MFC42.DLL_CString::MakeUpper
lea edx, [esp + 0x2c]
mov ecx, ebx
push edx
call sub.MFC42.DLL_CString::operator_1
mov ecx, ebx
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, ebx
call sub.MFC42.DLL_CString::TrimRight
mov ecx, ebx
call sub.MFC42.DLL_CString::MakeUpper
lea eax, [esp + 0x30]
mov ecx, ebp
push eax
call sub.MFC42.DLL_CString::operator_1
mov ecx, ebp
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, ebp
call sub.MFC42.DLL_CString::TrimRight
mov ecx, ebp
call sub.MFC42.DLL_CString::MakeUpper
lea ecx, [esp + 0x34]
lea edi, [esi + 0x10]
push ecx
mov ecx, edi
call sub.MFC42.DLL_CString::operator_1
mov ecx, edi
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, edi
call sub.MFC42.DLL_CString::TrimRight
mov ecx, edi
call sub.MFC42.DLL_CString::MakeUpper
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 1
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x1c], 0
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14

Function at 0x49e760
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 1
mov esi, ecx
push 0
call edi
push 0
push 0
push 1
push 0
mov dword [esi + 8], eax
call edi
mov dword [esi + 0xc], eax
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x49e7b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov dword [esi + 4], eax
test eax, eax
setne cl
pop edi
mov al, cl
pop esi
pop ecx
ret
Function at 0x4a0630
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 1
mov esi, ecx
push 0
call edi
push 0
push 0
push 1
push 0
mov dword [esi + 8], eax
call edi
mov dword [esi + 0xc], eax
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x4a0680
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov dword [esi + 4], eax
test eax, eax
setne cl
pop edi
mov al, cl
pop esi
pop ecx
ret