joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402500
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x59a898
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x20]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xba
push eax
mov dword [esp + 0x28], 1
call ebp
cmp eax, 0x3e8
jle 0x402599
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0xbb
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x402599
mov edx, dword [esi + 0x20]
push 0
push 0x1f4
push 0xbb
push edx
call ebp
test eax, eax
jg 0x40257a
mov eax, dword [esi + 0x20]
push 0
push edi
push 0xc1
push eax
call ebp
add eax, edi
mov ecx, dword [esi + 0x20]
push eax
push edi
push 0xb1
push ecx
call ebp
mov edx, dword [esi + 0x20]
push 0x631fcc
push 0
push 0xc2
push edx
call ebp
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push 0xa
push 0xd
push eax
push ecx
mov byte [esp + 0x28], 2
call fcn.004ea760
push eax
lea edx, [esp + 0x20]
push 0x6030ec
push edx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x44]
add esp, 0x1c
test edx, edx
je 0x402673
push ebx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x402672
jmp 0x4025f6
mov edx, dword [esp + 0x2c]
mov al, byte [ebx + edx]
cmp al, 0xd
jne 0x402623
push 0xd
lea ecx, [esp + 0x14]
call fcn.005945f0
push 0xa
lea ecx, [esp + 0x14]
call fcn.005945f0
push 0x6030e4
lea ecx, [esp + 0x14]
call fcn.005945ea
jmp 0x40265f
cmp al, 0x3e
jne 0x402655
push 0xd
lea ecx, [esp + 0x14]
call fcn.005945f0
push 0xa
lea ecx, [esp + 0x14]
call fcn.005945f0
push 0x6030e4
lea ecx, [esp + 0x14]
call fcn.005945ea
mov eax, dword [esp + 0x2c]
mov cl, byte [ebx + eax]
push ecx
jmp 0x402656
push eax
lea ecx, [esp + 0x14]
call fcn.005945f0
mov edi, dword [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
inc ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ebx, ecx
jl 0x4025f2
pop ebx
push 0xd
lea ecx, [esp + 0x10]
call fcn.005945f0
push 0xa
lea ecx, [esp + 0x10]
call fcn.005945f0
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetWindowTextLengthA
mov edx, dword [esi + 0x20]
push 0xffffffffffffffff
push eax
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x20]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 0x20]
push ecx
push 0
push 0xc2
push edx
call ebp
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x402700
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x59a8d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xba
push eax
mov dword [esp + 0x2c], 2
call edi
cmp eax, 0x3e8
jle 0x40279b
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0xbb
push ecx
call edi
mov ebp, eax
test ebp, ebp
jl 0x40279b
mov edx, dword [esi + 0x20]
push 0
push 0x1f4
push 0xbb
push edx
call edi
test eax, eax
jg 0x40277c
mov eax, dword [esi + 0x20]
push 0
push ebp
push 0xc1
push eax
call edi
add eax, ebp
mov ecx, dword [esi + 0x20]
push eax
push ebp
push 0xb1
push ecx
call edi
mov edx, dword [esi + 0x20]
push 0x631fcc
push 0
push 0xc2
push edx
call edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push 0xa
push 0xd
push eax
push ecx
mov byte [esp + 0x2c], 3
call fcn.004ea760
push eax
lea edx, [esp + 0x20]
push str._s____s______s______c_c
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x48]
add esp, 0x1c
xor ebp, ebp
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x40280e
mov al, byte [eax + ebp]
cmp al, 0xa
jne 0x4027f2
push 0xd
lea ecx, [esp + 0x10]
call fcn.005945f0
push 0xa
jmp 0x4027fb
mov byte [esp + 0x10], al
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
call fcn.005945f0
mov eax, dword [esp + 0x2c]
inc ebp
cmp ebp, dword [eax - 8]
jl 0x4027dc
push 0xd
lea ecx, [esp + 0x10]
call fcn.005945f0
push 0xa
lea ecx, [esp + 0x10]
call fcn.005945f0
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetWindowTextLengthA
mov ecx, dword [esi + 0x20]
push 0xffffffffffffffff
push eax
push 0xb1
push ecx
call edi
mov edx, dword [esi + 0x20]
push 0
push 0
push 0xb7
push edx
call edi
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0x20]
push eax
push 0
push 0xc2
push ecx
call edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret 0xc
Function at 0x425050
Capabilities:
Access peb ldr_data
Get number of processors
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x59f728
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 [0x637770]
add esp, 0xc
push ebx
push ebx
push edx
push str.XGSP
call fcn.00590210
mov edi, eax
cmp edi, ebx
jne 0x425180
mov eax, dword [0x637770]
cmp eax, ebx
je 0x425119
cmp byte [eax + 0x40], bl
je 0x425119
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
push 0x609904
push 0x603774
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str..dbs.
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x637770]
push str.runtime
push 0x603760
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb4c0
mov edx, dword [0x637770]
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 0x609904
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x38], 1
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x603774
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 0x60375c
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63234c]
mov byte [esp + 0x40], bl
call fcn.00458dc0
jmp 0x425207
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 0x429410
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5a0075
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.004e9240
lea edi, [esi + 0x108]
mov byte [esp + 0x18], 2
mov ecx, edi
call fcn.005947a6
mov dword [edi], 0x5c48d8
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 0x631fcc
mov ecx, edi
mov byte [esp + 0x1c], 5
mov dword [esi], 0x5c8430
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 0x434350
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5a1c30
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 0x60c5b0
push esi
mov dword [esp + 0x30], 0
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x637770]
add esp, 0x10
test eax, eax
je 0x4343fd
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4343fd
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
mov ecx, esi
call fcn.0041a900
push eax
push 0x60b5c0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str..con.
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [0x637770]
push str.runtime
push 0x603760
mov eax, dword [edx + 0x44]
push eax
call fcn.004eb4c0
mov ecx, dword [0x637770]
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 0x60b5c0
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 0x60375c
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63234c]
mov byte [esp + 0x30], 0
call fcn.00458dc0
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 0x440330
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5a3558
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.004ea520
mov eax, dword [esp + 0x30]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0x18
xor esi, esi
test eax, eax
jle 0x4403c7
lea eax, [esp + 0xc]
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.0040aa90
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 0x440393
mov edx, dword [edi + 0x124]
push 0
push 0
push 0x146
push edx
call ebx
cmp eax, 1
jle 0x4403f3
mov eax, dword [edi + 0x124]
push 0x631fcc
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.005948d2
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret
Function at 0x441790
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x5a36a0
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 [0x637770]
push 0
push 0
push eax
push str.XGSP
mov dword [esp + 0x28], 0
call fcn.00590210
mov edi, eax
test edi, edi
jne 0x4417fc
mov ecx, dword [ebp + 0x20]
push 0x40
push 0x6030cc
push 0x60dec4
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x441883
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 0x441875
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 0x441862
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 0x441856
push 0x2c
mov ecx, esi
call fcn.005945f0
lea edx, [esp + 0xc]
mov ecx, esi
push edx
call fcn.0059488a
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 0x441816
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 0x442040
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a4b9b
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 0x44bc61
mov edi, 0x60f8fc
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.005949aa
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 0x44bce0
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a4bbd
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 0x44bd31
mov edi, 0x60f8fc
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 0x44bd89
lea ecx, [esp + 4]
push 0x9001
push ecx
mov ecx, eax
call sub.MFC42.DLL_CFile::CFile_1
jmp 0x44bd8b
xor eax, eax
test eax, eax
mov dword [esp + 0x114], 0xffffffff
je 0x44bda3
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 0x44c580
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x5a4e06
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.0044c550
mov ecx, eax
call fcn.00453c40
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 0x44c603
mov cl, byte [esp + 0xb4]
mov al, 0x80
test al, cl
jne 0x44c5fc
test byte [esp + 0xb5], al
je 0x44c603
mov byte [esp + 0xf], 1
jmp 0x44c607
mov byte [esp + 0xf], bl
mov ecx, esi
call fcn.0044e260
test al, al
jne 0x44c641
call sub.MFC42.DLL_AfxGetThread
cmp eax, ebx
je 0x44c624
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x44c626
xor eax, eax
mov eax, dword [eax + 0x20]
push 0x40
push 0x6030cc
push 0x60fc0c
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x44c709
push 0x3b8
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x11c], 1
je 0x44c667
mov ecx, eax
call fcn.00589950
jmp 0x44c669
xor eax, eax
mov ecx, eax
mov byte [esp + 0x11c], bl
mov dword [esi + 0xcc], eax
call fcn.00589fa0
test al, al
je 0x44c6fe
mov ecx, dword [esi + 0xcc]
mov byte [esi + 0xc5], 1
cmp byte [ecx + 0x48], bl
je 0x44c6a0
cmp byte [esp + 0xf], bl
jne 0x44c6a0
mov ecx, esi
call fcn.0044c7c0
cmp byte [esi + 0xc5], bl
je 0x44c6fe
call sub.MFC42.DLL_AfxGetThread
cmp eax, ebx
je 0x44c6ba
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x44c6bc
xor eax, eax
mov eax, dword [eax + 0x20]
push ebx
push 0x32
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
push 0x60f89c
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 0x44c723
mov ecx, dword [esi + 0xcc]
call fcn.0058a8b0
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 0x44e260
Capabilities:
Access peb ldr_data
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x5a55c8
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 0x44e2fc
mov ecx, dword [esp + 8]
push 0
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x44e3b9
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 0x44e35e
mov edx, dword [esp + 0x10]
push eax
push edx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x44e35e
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.005949aa
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.005949aa
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