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

Disassembly:
push 0xffffffffffffffff
push 0x59a588
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 0x402529
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0xbb
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x402529
mov edx, dword [esi + 0x20]
push 0
push 0x1f4
push 0xbb
push edx
call ebp
test eax, eax
jg 0x40250a
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 0x631fbc
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.004ea3a0
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 0x402603
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 0x402602
jmp 0x402586
mov edx, dword [esp + 0x2c]
mov al, byte [ebx + edx]
cmp al, 0xd
jne 0x4025b3
push 0xd
lea ecx, [esp + 0x14]
call fcn.005942a0
push 0xa
lea ecx, [esp + 0x14]
call fcn.005942a0
push 0x6030e4
lea ecx, [esp + 0x14]
call fcn.0059429a
jmp 0x4025ef
cmp al, 0x3e
jne 0x4025e5
push 0xd
lea ecx, [esp + 0x14]
call fcn.005942a0
push 0xa
lea ecx, [esp + 0x14]
call fcn.005942a0
push 0x6030e4
lea ecx, [esp + 0x14]
call fcn.0059429a
mov eax, dword [esp + 0x2c]
mov cl, byte [ebx + eax]
push ecx
jmp 0x4025e6
push eax
lea ecx, [esp + 0x14]
call fcn.005942a0
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 0x402582
pop ebx
push 0xd
lea ecx, [esp + 0x10]
call fcn.005942a0
push 0xa
lea ecx, [esp + 0x10]
call fcn.005942a0
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 0x402690
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x59a5c0
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 0x40272b
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0xbb
push ecx
call edi
mov ebp, eax
test ebp, ebp
jl 0x40272b
mov edx, dword [esi + 0x20]
push 0
push 0x1f4
push 0xbb
push edx
call edi
test eax, eax
jg 0x40270c
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 0x631fbc
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.004ea3a0
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 0x40279e
mov al, byte [eax + ebp]
cmp al, 0xa
jne 0x402782
push 0xd
lea ecx, [esp + 0x10]
call fcn.005942a0
push 0xa
jmp 0x40278b
mov byte [esp + 0x10], al
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
call fcn.005942a0
mov eax, dword [esp + 0x2c]
inc ebp
cmp ebp, dword [eax - 8]
jl 0x40276c
push 0xd
lea ecx, [esp + 0x10]
call fcn.005942a0
push 0xa
lea ecx, [esp + 0x10]
call fcn.005942a0
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 0x424ff0
Capabilities:
Access peb ldr_data
Get number of processors
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x59f418
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 [0x637760]
add esp, 0xc
push ebx
push ebx
push edx
push str.XGSP
call fcn.0058fec0
mov edi, eax
cmp edi, ebx
jne 0x425120
mov eax, dword [0x637760]
cmp eax, ebx
je 0x4250b9
cmp byte [eax + 0x40], bl
je 0x4250b9
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 [0x637760]
push str.runtime
push 0x603760
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb100
mov edx, dword [0x637760]
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 [0x63233c]
mov byte [esp + 0x40], bl
call fcn.00458d90
jmp 0x4251a7
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 0x429350
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x59fd65
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.004e8ec0
lea edi, [esi + 0x108]
mov byte [esp + 0x18], 2
mov ecx, edi
call fcn.00594456
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 0x631fbc
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 0x4342a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5a1920
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 [0x637760]
add esp, 0x10
test eax, eax
je 0x43434d
mov cl, byte [eax + 0x40]
test cl, cl
je 0x43434d
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
mov ecx, esi
call fcn.0041a890
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 [0x637760]
push str.runtime
push 0x603760
mov eax, dword [edx + 0x44]
push eax
call fcn.004eb100
mov ecx, dword [0x637760]
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 [0x63233c]
mov byte [esp + 0x30], 0
call fcn.00458d90
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 0x434544
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a1940
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [ebp + 0xa18]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x30], ebx
jne 0x434496
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x434640
cmp byte [esp + 0x3c], bl
je 0x4344b5
push ebx
push ecx
lea eax, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, ebp
call fcn.00434b30
push 0x60c5d4
push 0x60c5d0
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::Replace
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x3c]
push ecx
push edx
mov ecx, ebp
call fcn.00436200
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 1
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
lea edx, [ebp + 0xa24]
mov ecx, 0x40
xor eax, eax
mov edi, edx
mov dword [ebp + 0x1224], 0x100
mov byte [esp + 0x14], 1
rep stosd dword es:[edi], eax
mov al, 0x1b
mov byte [esp + 0x15], bl
mov byte [esp + 0x16], bl
mov byte [esp + 0x17], al
mov esi, dword [esp + 0x14]
mov ecx, edx
mov byte [esp + 0x18], bl
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], bl
mov byte [esp + 0x1b], 1
mov dword [ecx], esi
mov esi, dword [esp + 0x18]
mov byte [esp + 0x1c], 0x39
mov byte [esp + 0x1d], 0x51
mov byte [esp + 0x1e], 0x70
mov byte [esp + 0x1f], 2
mov dword [ecx + 4], esi
mov esi, dword [esp + 0x1c]
mov byte [esp + 0x20], al
mov byte [esp + 0x21], 0xb
mov byte [esp + 0x22], 0x20
mov byte [esp + 0x23], 0x20
mov dword [ecx + 8], esi
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x38]
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], 0xf
mov dword [ecx + 0xc], esi
mov si, word [esp + 0x24]
mov al, 0x1e
mov word [ecx + 0x10], si
lea esi, [ebp + 0xa37]
mov dword [esp + 0x10], esi
mov byte [ecx + 0x12], al
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp + 0xa32], 0x20
mov byte [ebp + 0xa33], 0x20
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx - 8]
add eax, 0x13
mov dword [ebp + 0x1224], eax
mov byte [eax + ebp + 0xa24], 0x20
mov edi, dword [ebp + 0x1224]
inc edi
mov eax, edi
mov dword [ebp + 0x1224], edi
push ebx
mov byte [eax + ebp + 0xa24], 3
mov esi, dword [ebp + 0x1224]
inc esi
mov dword [ebp + 0x1224], esi
mov cl, byte [ebp + 0x1224]
mov eax, esi
mov byte [ebp + 0xa27], cl
mov ecx, dword [ebp + 0xa18]
push esi
sar eax, 8
mov byte [ebp + 0xa26], al
mov eax, dword [ecx]
push edx
call dword [eax + 0x20]
lea ecx, [esp + 0x38]
mov esi, eax
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 8
Function at 0x4402c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5a3248
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.004ea160
mov eax, dword [esp + 0x30]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0x18
xor esi, esi
test eax, eax
jle 0x440357
lea eax, [esp + 0xc]
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.0040aa20
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 0x440323
mov edx, dword [edi + 0x124]
push 0
push 0
push 0x146
push edx
call ebx
cmp eax, 1
jle 0x440383
mov eax, dword [edi + 0x124]
push 0x631fbc
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.00594582
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret
Function at 0x441720
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x5a3390
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 [0x637760]
push 0
push 0
push eax
push str.XGSP
mov dword [esp + 0x28], 0
call fcn.0058fec0
mov edi, eax
test edi, edi
jne 0x44178c
mov ecx, dword [ebp + 0x20]
push 0x40
push 0x6030cc
push 0x60dec4
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x441813
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 0x441805
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 0x4417f2
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 0x4417e6
push 0x2c
mov ecx, esi
call fcn.005942a0
lea edx, [esp + 0xc]
mov ecx, esi
push edx
call fcn.0059453a
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 0x4417a6
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 0x441fd0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a488b
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 0x44bbf1
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.0059465a
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 0x44bc70
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a48ad
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 0x44bcc1
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 0x44bd19
lea ecx, [esp + 4]
push 0x9001
push ecx
mov ecx, eax
call sub.MFC42.DLL_CFile::CFile_1
jmp 0x44bd1b
xor eax, eax
test eax, eax
mov dword [esp + 0x114], 0xffffffff
je 0x44bd33
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 0x44c510
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x5a4af6
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.0044c4e0
mov ecx, eax
call fcn.00453bd0
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 0x44c593
mov cl, byte [esp + 0xb4]
mov al, 0x80
test al, cl
jne 0x44c58c
test byte [esp + 0xb5], al
je 0x44c593
mov byte [esp + 0xf], 1
jmp 0x44c597
mov byte [esp + 0xf], bl
mov ecx, esi
call fcn.0044e1f0
test al, al
jne 0x44c5d1
call sub.MFC42.DLL_AfxGetThread
cmp eax, ebx
je 0x44c5b4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x44c5b6
xor eax, eax
mov eax, dword [eax + 0x20]
push 0x40
push 0x6030cc
push 0x60fc0c
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x44c699
push 0x3b8
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x11c], 1
je 0x44c5f7
mov ecx, eax
call fcn.00589600
jmp 0x44c5f9
xor eax, eax
mov ecx, eax
mov byte [esp + 0x11c], bl
mov dword [esi + 0xcc], eax
call fcn.00589c50
test al, al
je 0x44c68e
mov ecx, dword [esi + 0xcc]
mov byte [esi + 0xc5], 1
cmp byte [ecx + 0x48], bl
je 0x44c630
cmp byte [esp + 0xf], bl
jne 0x44c630
mov ecx, esi
call fcn.0044c750
cmp byte [esi + 0xc5], bl
je 0x44c68e
call sub.MFC42.DLL_AfxGetThread
cmp eax, ebx
je 0x44c64a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x44c64c
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 0x44c6b3
mov ecx, dword [esi + 0xcc]
call fcn.0058a560
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