joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435520
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4788e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x24]
push ebx
push esi
push edi
mov edi, ecx
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString_2
mov bl, 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::TrimRight
push 0x20
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::Find_3
test eax, eax
jle 0x4355fb
mov ecx, dword [esp + 0x30]
push 0x20
mov esi, dword [ecx - 8]
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::Find_3
sub esi, eax
lea edx, [esp + 0x10]
dec esi
lea ecx, [esp + 0x30]
push esi
push edx
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.0041f1d2
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
push 0x20
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::Find_3
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.0041f1d2
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
jmp 0x435609
push 0x4eaa80
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_3
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_3
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x34], 4
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [edi + 0x24]
push ecx
add edx, 0x30
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x38], 5
call sub.MFC42.DLL_CString::CString_3
mov byte [esp + 0x34], bl
call fcn.00433fe0
add esp, 0xc
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 4
Function at 0x435760
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x478920
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
call sub.MFC42.DLL_CString::CString_2
xor ebx, ebx
push str.CStr_
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::operator_3
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
push eax
call fcn.0041f5d4
push 0x4e79fc
lea ecx, [ebp - 0x14]
call fcn.0041f5d4
push ecx
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x20], esp
push edx
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esi + 0x20]
lea eax, [ebp - 0x30]
push eax
call fcn.00438910
mov ecx, dword [eax + 8]
push ecx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator_1
jmp 0x4357fd
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea ecx, [ebp - 0x18]
push str.Thread:_d____s
push ecx
call sub.MFC42.DLL_CString::Format_1
mov edx, dword [ebp - 0x18]
add esp, 0x10
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0x24]
cmp dword [eax + 0x40], ebx
je 0x43585b
push ebx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x24]
inc ecx
push eax
mov eax, dword [edx + 0x40]
push ecx
push 0xc9
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x439980
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x478f28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 0
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x4399c3
mov eax, dword [esi]
jmp 0x4399c5
xor eax, eax
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
push eax
push edi
call dword [ecx + 0x6c]
test eax, eax
jge 0x4399e1
push 0x4e7a90
push edi
push eax
call fcn.00472b8d
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, edi
test esi, esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov word [esp + 0xc], 0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
je 0x439a41
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x439a41
mov eax, dword [esi]
test eax, eax
je 0x439a28
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x439a38
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x43a870
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x479224
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [esp + 0x34]
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call sub.MFC42.DLL_CString::CString_3
lea eax, [edi + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString_3
lea ecx, [edi + 8]
mov byte [esp + 0x2c], 1
push ecx
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::CString_3
lea edx, [edi + 0xc]
lea ecx, [esi + 0xc]
push edx
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [edi + 0x10]
lea ebx, [esi + 0x18]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
mov ecx, ebx
mov byte [esp + 0x2c], 3
mov dword [esp + 0x34], ebx
call sub.MFC42.DLL_CStringArray::CStringArray
lea edx, [edi + 0x18]
mov ecx, ebx
push edx
mov byte [esp + 0x30], 4
mov dword [ebx], 0x47e028
call sub.MFC42.DLL_CStringArray::Copy
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x47e028
call fcn.0041f6f4
lea ebx, [esi + 0x2c]
mov byte [esp + 0x2c], 5
mov ecx, ebx
mov dword [esp + 0x34], ebx
call sub.MFC42.DLL_CStringArray::CStringArray
add edi, 0x2c
mov ecx, ebx
push edi
mov byte [esp + 0x30], 6
mov dword [ebx], 0x47e028
call sub.MFC42.DLL_CStringArray::Copy
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x47e028
call fcn.0041f6f4
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x4405f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4794fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.00440710
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x4eaa80
call dword [sym.imp.MSVCRT.dll_public:_void___thiscall_exception::constructor_char_const__const_const__]
mov al, byte [esi]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [esp + 0x24], al
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov edx, dword [ecx]
lea ecx, [esp + 0x24]
push edx
push ebx
push esi
mov byte [esp + 0x48], 1
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, dword [sym.imp.MSVCP60.dll_const_std::runtime_error::vftable]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x44069b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x440692
cmp al, 0xff
je 0x440692
dec al
mov byte [ecx], al
jmp 0x44069b
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.00470fe0
mov eax, dword [esp + 0x28]
mov ecx, dword [sym.imp.MSVCP60.dll_const_std::runtime_error::vftable]
cmp eax, ebx
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x18], ecx
je 0x4406e7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4406de
cmp al, 0xff
je 0x4406de
dec al
mov byte [ecx], al
jmp 0x4406e7
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.MSVCRT.dll_public_virtual:_void___thiscall_exception::destructor_void_]
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x442de0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4796c6
push eax
mov eax, 0x25c4
mov dword fs:[0], esp
call fcn.0041fb60
mov eax, dword [0x4eb0a0]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x25e0]
lea ecx, [esp + 0x18]
push edi
mov edi, dword [esp + 0x25e8]
push ecx
mov ecx, dword [esp + 0x25f0]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], eax
call fcn.00434b20
xor ebx, ebx
xor eax, eax
mov dl, byte [eax + 0x4a8b9c]
xor dl, 0x7d
mov byte [esp + eax + 0xf00], dl
inc eax
cmp eax, 0x16d1
jb 0x442e37
lea eax, [esp + 0xf00]
mov ecx, esi
push eax
mov byte [esp + 0x25d5], bl
call fcn.00438510
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test al, al
jne 0x442e88
cmp dword [edi + 0x40], ebx
je 0x442e88
mov ecx, esi
call fcn.00437ed0
mov ecx, dword [edi + 0x40]
push eax
push ebx
push 0xc9
push ecx
call ebp
xor eax, eax
mov dl, byte [eax + 0x4aa270]
xor dl, 0x7d
mov byte [esp + eax + 0x28], dl
inc eax
cmp eax, 0xed7
jb 0x442e8a
lea eax, [esp + 0x28]
mov ecx, esi
push eax
mov byte [esp + 0xf03], bl
call fcn.00438510
and eax, 0xff
mov dword [esp + 0x18], eax
jne 0x442ed6
cmp dword [edi + 0x40], ebx
je 0x442ed6
mov ecx, esi
call fcn.00437ed0
mov ecx, dword [edi + 0x40]
push eax
push ebx
push 0xc9
push ecx
call ebp
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
push str.On_Error_Resume_Next:QMEngine.SetRunTimeParam__u:QMRoutine.SetRunTimeParam__u:On_Error_Goto_0
lea ecx, [esp + 0x18]
mov dword [esp + 0x25e0], ebx
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x1c]
push edx
push eax
lea edx, [esp + 0x18]
push ecx
push edx
mov byte [esp + 0x25ec], 1
call sub.MFC42.DLL_CString::Format_1
mov eax, dword [esp + 0x20]
add esp, 0x10
mov ecx, esi
push eax
call fcn.00438730
and eax, 0xff
mov dword [esp + 0x18], eax
jne 0x442f48
cmp dword [edi + 0x40], ebx
je 0x442f48
mov ecx, esi
call fcn.00437ed0
mov ecx, dword [edi + 0x40]
push eax
push ebx
push 0xc9
push ecx
call ebp
lea ecx, [esp + 0x14]
mov byte [esp + 0x25dc], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x25dc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x25d4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x25d0
ret
Function at 0x4475f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x479df9
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 + 8]
mov dword [esp + 0x1c], 1
mov ecx, edi
call sub.MFC42.DLL_CString::CString_2
lea ebp, [esi + 0xc]
mov byte [esp + 0x1c], 2
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_2
lea ebx, [esi + 0x10]
mov byte [esp + 0x1c], 3
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x14]
mov byte [esp + 0x1c], 4
call sub.MFC42.DLL_CString::CString_2
push 0x4eaa80
mov ecx, ebx
mov byte [esp + 0x20], 5
call sub.MFC42.DLL_CString::operator_3
lea eax, [esp + 0x28]
lea ecx, [esi + 0x14]
push eax
call fcn.0041f1d2
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esi + 0x1c], ecx
xor ebx, ebx
push 0x4e6128
lea ecx, [esp + 0x28]
mov dword [esi], edx
mov dword [esi + 0x18], ebx
call sub.MFC42.DLL_CString::TrimLeft_1
push 0x5c
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::ReverseFind
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Left
push eax
mov ecx, ebp
mov byte [esp + 0x20], 6
call fcn.0041f1d2
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 5
call sub.MFC42.DLL_CString::CString
push 0x4e6128
mov ecx, ebp
call sub.MFC42.DLL_CString::TrimRight_1
mov ecx, dword [esp + 0x24]
push 0x5c
mov ebp, dword [ecx - 8]
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::ReverseFind
sub ebp, eax
lea edx, [esp + 0x2c]
push ebp
push edx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Right
push eax
mov ecx, edi
mov byte [esp + 0x20], 7
call fcn.0041f1d2
mov byte [esp + 0x1c], 5
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString
push 0x4e6128
mov ecx, edi
call sub.MFC42.DLL_CString::TrimLeft_1
push 0x4e6128
mov ecx, edi
call sub.MFC42.DLL_CString::TrimRight_1
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.004477e0
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
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 0x10
Function at 0x4477e0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x479e48
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
xor ebx, ebx
mov eax, dword [esi + 0xc]
lea edi, [esi + 4]
push edi
push 0x20019
push ebx
push eax
mov eax, dword [esi]
mov dword [esp + 0x28], ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4478c6
mov eax, dword [esi + 8]
lea ecx, [esp + 0x10]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ecx
lea edx, [esp + 0x18]
push ebx
push edx
push ebx
push eax
mov eax, dword [edi]
push eax
mov dword [esp + 0x28], ebx
call ebp
mov ecx, dword [esp + 0x10]
push ecx
call sub.MFC42.DLL_operatornew
add esp, 4
lea edx, [esp + 0x10]
mov ebx, eax
mov eax, dword [esi + 8]
push edx
mov edx, dword [edi]
lea ecx, [esp + 0x18]
push ebx
push ecx
push 0
push eax
push edx
call ebp
test eax, eax
push ebx
jne 0x4478b5
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_4
lea ebp, [esi + 0x10]
push eax
mov ecx, ebp
mov dword [esp + 0x28], 0
call fcn.0041f1d2
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
push ebx
call sub.MFC42.DLL_operatordelete
mov eax, dword [edi]
add esp, 4
mov dword [esi + 0x18], 1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
jmp 0x4478ca
call sub.MFC42.DLL_operatordelete
mov ecx, dword [edi]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 0x14
push esi
mov esi, dword [esp + 0x30]
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4

Function at 0x4478f0
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
mov eax, dword [esi + 0xc]
mov edx, dword [esi]
lea edi, [esi + 4]
push ecx
push edi
push 0
push 0x20006
push 0
push 0x4eaa80
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x44794d
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 8]
mov ecx, dword [eax - 8]
inc ecx
push ecx
push eax
mov eax, dword [edi]
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x447944
mov dword [esi + 0x18], 1
mov ecx, dword [edi]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ecx
ret
Function at 0x447a20
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x479e88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
lea eax, [esp + 0x10]
push edi
push eax
call fcn.004163a0
add esp, 4
push str.qdisp.dll
lea ecx, [esp + 0x14]
xor edi, edi
push eax
push ecx
mov dword [esp + 0x30], edi
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
mov ebx, dword [sym.imp.MSVCRT.dll_fopen]
push 0x4e68f8
push eax
call ebx
add esp, 8
lea ecx, [esp + 0x10]
mov esi, eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ebp, dword [sym.imp.MSVCRT.dll_fputc]
cmp esi, edi
je 0x447ac7
mov eax, dword [0x4e8198]
test eax, eax
jbe 0x447abd
xor edx, edx
push esi
mov dl, byte [edi + 0x4ab2fc]
xor edx, 0x7d
push edx
call ebp
mov eax, dword [0x4e8198]
add esp, 8
inc edi
cmp edi, eax
jb 0x447aa1
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
push str.cfgdll.dll
lea eax, [esp + 0x1c]
push 0x4eab18
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push 0x4e68f8
push eax
call ebx
add esp, 8
lea ecx, [esp + 0x18]
mov edi, eax
call sub.MFC42.DLL_CString::CString
test edi, edi
je 0x447b28
mov eax, dword [0x4e819c]
xor esi, esi
test eax, eax
jbe 0x447b1e
xor ecx, ecx
push edi
mov cl, byte [esi + 0x4b891c]
xor ecx, 0x7d
push ecx
call ebp
mov eax, dword [0x4e819c]
add esp, 8
inc esi
cmp esi, eax
jb 0x447b02
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x447cc0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.NtProtectVirtualMemory
push str.NTDLL.DLL
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.ZwDeviceIoControlFile
push str.NTDLL.DLL
mov ebx, eax
call esi
push eax
call edi
push 0
push ebx
mov esi, eax
call fcn.00447d90
push 1
push esi
call fcn.00447d90
mov eax, dword [sym.imp.USER32.dll_SetCursorPos]
push 2
push eax
call fcn.00447d90
mov ecx, dword [sym.imp.USER32.dll_SendInput]
push 3
push ecx
call fcn.00447d90
mov edx, dword [sym.imp.USER32.dll_GetCursorPos]
push 4
push edx
call fcn.00447d90
mov eax, dword [sym.imp.GDI32.dll_GetPixel]
push 5
push eax
call fcn.00447d90
mov ecx, dword [sym.imp.GDI32.dll_GetDIBits]
push 6
push ecx
call fcn.00447d90
mov edx, dword [sym.imp.GDI32.dll_BitBlt]
push 7
push edx
call fcn.00447d90
mov eax, dword [sym.imp.USER32.dll_GetAsyncKeyState]
add esp, 0x40
push 8
push eax
call fcn.00447d90
add esp, 8
lea ecx, [esp + 0xc]
push ecx
push 0x40
push 0x400
push 0x4eb1b8
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x448860
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x479f16
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
mov eax, 0xa
push edi
mov dword [esp + 0x18], esi
mov dword [esi + 8], 0x4c3f58
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], eax
mov dword [esp + 0x24], ebx
mov dword [esi + 0x24], 0x4c3f44
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], 0x11
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], eax
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x13]
push 0x14
mov byte [esp + 0x28], 1
mov byte [esi + 0x40], al
mov byte [esi + 0x41], cl
mov byte [esi + 0x48], bl
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
lea ecx, [esp + 0x14]
mov ebp, edi
mov dword [edi + 4], ebx
mov dword [edi + 0x10], 1
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
cmp dword [0x4eb44c], ebx
jne 0x448916
mov dword [0x4eb44c], edi
mov dword [edi], ebx
mov edx, dword [0x4eb44c]
xor ebp, ebp
mov dword [edx + 8], ebx
mov ecx, dword [0x4eb448]
inc ecx
mov dword [0x4eb448], ecx
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp ebp, ebx
je 0x44893a
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
mov edi, dword [0x4eb44c]
push 0x14
call sub.MFC42.DLL_operatornew
mov dword [eax + 4], edi
mov dword [eax + 0x10], ebx
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x44], eax
mov dword [esi + 0x4c], ebx
mov dword [eax], eax
mov eax, dword [esi + 0x44]
add esp, 4
mov dword [eax + 8], eax
mov dword [esi], 0x4c3f40
mov dword [esi + 4], ebx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x4494d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x12
call esi
mov bx, word [esp + 0xc]
mov cl, bl
sar eax, 0xf
shr cl, 2
and eax, 1
and ecx, 1
xor eax, ecx
test ax, ax
je 0x4494fb
pop esi
xor eax, eax
pop ebx
ret
push 0x11
call esi
mov dl, bl
sar eax, 0xf
shr dl, 1
and eax, 1
and edx, 1
xor eax, edx
test ax, ax
je 0x449518
pop esi
xor eax, eax
pop ebx
ret
push 0x10
call esi
sar eax, 0xf
and eax, 0xffff
and ebx, 0xffff
not eax
xor eax, ebx
pop esi
and eax, 1
pop ebx
ret

Function at 0x449640
Capabilities:
Set global application hook

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
je 0x449689
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, dword [sym.imp.USER32.dll_SetWindowsHookExA]
push eax
push 0x449580
push 0
call esi
mov dword [0x4eb43c], eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4496a8
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x449540
push 3
call esi
mov dword [0x4eb438], eax
pop esi
ret
mov eax, dword [0x4eb43c]
mov esi, dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
push eax
call esi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4496a8
mov ecx, dword [0x4eb438]
push ecx
call esi
pop esi
ret

Function at 0x44ab50
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov eax, dword [esi + 4]
push 1
push eax
call edi
mov ecx, dword [esi + 4]
push 2
push ecx
mov dword [esi + 0x18], eax
call edi
mov edx, dword [esi + 4]
push 4
push edx
mov dword [esi + 0x1c], eax
call edi
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
push 5
push eax
call edi
mov ecx, dword [esi + 4]
push 6
push ecx
mov dword [esi + 0x24], eax
call edi
mov edx, dword [esi + 4]
push 7
push edx
mov dword [esi + 0x28], eax
call edi
mov dword [esi + 0x34], eax
mov eax, dword [esi + 4]
push 9
push eax
call edi
mov ecx, dword [esi + 4]
push 0xa
push ecx
mov dword [esi + 0x2c], eax
call edi
mov dword [esi + 0x30], eax
pop edi
pop esi
ret