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

Disassembly:
push 0xffffffffffffffff
push 0x59cfb8
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 0x402569
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0xbb
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x402569
mov edx, dword [esi + 0x20]
push 0
push 0x1f4
push 0xbb
push edx
call ebp
test eax, eax
jg 0x40254a
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 0x63546c
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.004eb9d0
push eax
lea edx, [esp + 0x20]
push 0x6060ec
push edx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x44]
add esp, 0x1c
test edx, edx
je 0x402643
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 0x402642
jmp 0x4025c6
mov edx, dword [esp + 0x2c]
mov al, byte [ebx + edx]
cmp al, 0xd
jne 0x4025f3
push 0xd
lea ecx, [esp + 0x14]
call fcn.00596ca0
push 0xa
lea ecx, [esp + 0x14]
call fcn.00596ca0
push 0x6060e4
lea ecx, [esp + 0x14]
call fcn.00596c9a
jmp 0x40262f
cmp al, 0x3e
jne 0x402625
push 0xd
lea ecx, [esp + 0x14]
call fcn.00596ca0
push 0xa
lea ecx, [esp + 0x14]
call fcn.00596ca0
push 0x6060e4
lea ecx, [esp + 0x14]
call fcn.00596c9a
mov eax, dword [esp + 0x2c]
mov cl, byte [ebx + eax]
push ecx
jmp 0x402626
push eax
lea ecx, [esp + 0x14]
call fcn.00596ca0
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 0x4025c2
pop ebx
push 0xd
lea ecx, [esp + 0x10]
call fcn.00596ca0
push 0xa
lea ecx, [esp + 0x10]
call fcn.00596ca0
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 0x4026d0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x59cff0
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 0x40276b
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0xbb
push ecx
call edi
mov ebp, eax
test ebp, ebp
jl 0x40276b
mov edx, dword [esi + 0x20]
push 0
push 0x1f4
push 0xbb
push edx
call edi
test eax, eax
jg 0x40274c
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 0x63546c
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.004eb9d0
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 0x4027de
mov al, byte [eax + ebp]
cmp al, 0xa
jne 0x4027c2
push 0xd
lea ecx, [esp + 0x10]
call fcn.00596ca0
push 0xa
jmp 0x4027cb
mov byte [esp + 0x10], al
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
call fcn.00596ca0
mov eax, dword [esp + 0x2c]
inc ebp
cmp ebp, dword [eax - 8]
jl 0x4027ac
push 0xd
lea ecx, [esp + 0x10]
call fcn.00596ca0
push 0xa
lea ecx, [esp + 0x10]
call fcn.00596ca0
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 0x425120
Capabilities:
Access peb ldr_data
Get number of processors
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x5a1e48
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 [0x63ac10]
add esp, 0xc
push ebx
push ebx
push edx
push str.XGSP
call fcn.00593a10
mov edi, eax
cmp edi, ebx
jne 0x425250
mov eax, dword [0x63ac10]
cmp eax, ebx
je 0x4251e9
cmp byte [eax + 0x40], bl
je 0x4251e9
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
push 0x60c91c
push 0x606790
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str..dbs.
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x63ac10]
push str.runtime
push 0x60677c
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec730
mov edx, dword [0x63ac10]
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 0x60c91c
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x38], 1
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x606790
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 0x606778
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
mov byte [esp + 0x40], bl
call fcn.004590c0
jmp 0x4252d7
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 0x4294e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5a2795
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.004ea4f0
lea edi, [esi + 0x108]
mov byte [esp + 0x18], 2
mov ecx, edi
call fcn.00596e56
mov dword [edi], 0x5c78e8
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 0x63546c
mov ecx, edi
mov byte [esp + 0x1c], 5
mov dword [esi], 0x5cb440
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 0x4346f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5a43c0
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 0x60f67c
push esi
mov dword [esp + 0x30], 0
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac10]
add esp, 0x10
test eax, eax
je 0x43479d
mov cl, byte [eax + 0x40]
test cl, cl
je 0x43479d
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
mov ecx, esi
call fcn.0041a990
push eax
push 0x60e5d8
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str..con.
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [0x63ac10]
push str.runtime
push 0x60677c
mov eax, dword [edx + 0x44]
push eax
call fcn.004ec730
mov ecx, dword [0x63ac10]
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 0x60e5d8
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 0x606778
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
mov byte [esp + 0x30], 0
call fcn.004590c0
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 0x440640
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5a5ce8
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.004eb790
mov eax, dword [esp + 0x30]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0x18
xor esi, esi
test eax, eax
jle 0x4406d7
lea eax, [esp + 0xc]
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.0040aaa0
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 0x4406a3
mov edx, dword [edi + 0x124]
push 0
push 0
push 0x146
push edx
call ebx
cmp eax, 1
jle 0x440703
mov eax, dword [edi + 0x124]
push 0x63546c
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.00596f82
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret
Function at 0x441aa0
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x5a5e30
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 [0x63ac10]
push 0
push 0
push eax
push str.XGSP
mov dword [esp + 0x28], 0
call fcn.00593a10
mov edi, eax
test edi, edi
jne 0x441b0c
mov ecx, dword [ebp + 0x20]
push 0x40
push 0x6060cc
push 0x610f90
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x441b93
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 0x441b85
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 0x441b72
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 0x441b66
push 0x2c
mov ecx, esi
call fcn.00596ca0
lea edx, [esp + 0xc]
mov ecx, esi
push edx
call fcn.00596f3a
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 0x441b26
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 0x442350
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a732b
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 0x44bff1
mov edi, 0x6129dc
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.0059705a
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 0x44c070
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a734d
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 0x44c0c1
mov edi, 0x6129dc
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 0x44c119
lea ecx, [esp + 4]
push 0x9001
push ecx
mov ecx, eax
call sub.MFC42.DLL_CFile::CFile_1
jmp 0x44c11b
xor eax, eax
test eax, eax
mov dword [esp + 0x114], 0xffffffff
je 0x44c133
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 0x44c910
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x5a7596
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.0044c8e0
mov ecx, eax
call fcn.00453e80
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 0x44c993
mov cl, byte [esp + 0xb4]
mov al, 0x80
test al, cl
jne 0x44c98c
test byte [esp + 0xb5], al
je 0x44c993
mov byte [esp + 0xf], 1
jmp 0x44c997
mov byte [esp + 0xf], bl
mov ecx, esi
call fcn.0044e5f0
test al, al
jne 0x44c9d1
call sub.MFC42.DLL_AfxGetThread
cmp eax, ebx
je 0x44c9b4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x44c9b6
xor eax, eax
mov eax, dword [eax + 0x20]
push 0x40
push 0x6060cc
push 0x612cec
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x44ca99
push 0x3b8
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x11c], 1
je 0x44c9f7
mov ecx, eax
call fcn.0058d090
jmp 0x44c9f9
xor eax, eax
mov ecx, eax
mov byte [esp + 0x11c], bl
mov dword [esi + 0xcc], eax
call fcn.0058d6e0
test al, al
je 0x44ca8e
mov ecx, dword [esi + 0xcc]
mov byte [esi + 0xc5], 1
cmp byte [ecx + 0x48], bl
je 0x44ca30
cmp byte [esp + 0xf], bl
jne 0x44ca30
mov ecx, esi
call fcn.0044cb50
cmp byte [esi + 0xc5], bl
je 0x44ca8e
call sub.MFC42.DLL_AfxGetThread
cmp eax, ebx
je 0x44ca4a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x44ca4c
xor eax, eax
mov eax, dword [eax + 0x20]
push ebx
push 0x32
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
push 0x61297c
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 0x44cab3
mov ecx, dword [esi + 0xcc]
call fcn.0058dff0
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 0x44e5f0
Capabilities:
Access peb ldr_data
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x5a7d58
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 0x44e68c
mov ecx, dword [esp + 8]
push 0
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x44e749
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 0x44e6ee
mov edx, dword [esp + 0x10]
push eax
push edx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x44e6ee
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.0059705a
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.0059705a
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