joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447430
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov cl, byte [eax + 0x4dc440]
xor cl, 0x7d
mov byte [eax + 0x55e1f0], cl
inc eax
cmp eax, 0x21f7
jb 0x447432
mov eax, 0x55e1f0
ret
Function at 0x4478c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b1b76
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], edi
mov dword [edi], 0x4de64c
xor ebp, ebp
lea ecx, [esp + 0x14]
push ebp
push 0x55e1d0
mov dword [esp + 0x30], 6
call sub.MFC42.DLL_CSingleLock::CSingleLock
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 7
call sub.MFC42.DLL_CSingleLock::Lock
mov eax, dword [0x55e1b4]
cmp eax, ebp
je 0x44793e
cmp dword [eax + 8], edi
je 0x447926
mov eax, dword [eax]
cmp eax, ebp
jne 0x447919
jmp 0x44793e
push eax
mov ecx, 0x55e1b0
call sub.MFC42.DLL_CPtrList::RemoveAt
push 0x55e1b0
call fcn.00447580
add esp, 4
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CSingleLock::Unlock
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 6
call sub.MFC42.DLL_CSingleLock::Unlock
lea esi, [edi + 0x31e4]
mov byte [esp + 0x28], 5
lea eax, [esi + 8]
mov dword [esi], 0x4de650
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, esi
call fcn.004aad7a
lea esi, [edi + 0x3110]
mov dword [esp + 0x10], esi
lea ecx, [esi + 0xc0]
mov byte [esp + 0x28], 0xc
call fcn.00423798
lea ecx, [esi + 0xa4]
mov byte [esp + 0x28], 0xb
call fcn.00418bc0
lea ecx, [esi + 0x90]
mov byte [esp + 0x28], 0xa
call fcn.00423798
mov eax, dword [esi + 0x80]
mov dword [esi + 0x7c], 0x4d9a28
cmp eax, ebp
je 0x4479cb
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esi + 0x78]
mov dword [esi + 0x7c], 0x4b6428
mov byte [esp + 0x28], 8
call sub.MFC42.DLL_CString::CString
mov ecx, esi
mov byte [esp + 0x28], 4
call fcn.00418ce0
lea esi, [edi + 0x30f4]
mov dword [esp + 0x10], esi
mov dword [esi], 0x4de670
mov ecx, dword [esi + 4]
mov byte [esp + 0x28], 0xd
cmp ecx, ebp
je 0x447a26
mov eax, dword [esi + 8]
cmp eax, ebp
jbe 0x447a26
mov edx, ecx
mov ebp, eax
mov eax, dword [edx]
test eax, eax
je 0x447a1e
mov eax, dword [eax]
test eax, eax
jne 0x447a18
add edx, 4
dec ebp
jne 0x447a12
xor ebp, ebp
push ecx
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esi + 0x14]
add esp, 4
mov dword [esi + 4], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebp
call sub.MFC42.DLL_CPlex::FreeDataChain
lea ecx, [edi + 0x30e0]
mov dword [esi + 0x14], ebp
mov dword [esi], 0x4b6428
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
mov esi, dword [edi + 0x30b4]
mov dword [edi + 0x30b0], 0x4de684
cmp esi, ebp
je 0x447aa3
mov eax, dword [edi + 0x30b8]
mov ecx, eax
dec eax
test ecx, ecx
je 0x447a94
lea ebp, [eax + 1]
mov ecx, dword [esi]
test ecx, ecx
je 0x447a8e
call fcn.0043bf40
mov dword [esi], 0
add esi, 4
dec ebp
jne 0x447a7d
mov eax, dword [edi + 0x30b4]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [edi + 0x28]
mov dword [edi + 0x30b0], 0x4b6428
mov byte [esp + 0x28], 0
call fcn.0043a210
lea ecx, [edi + 8]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CDWordArray::CDWordArray
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x44abe0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4b1eb6
push eax
mov eax, 0x2308
mov dword fs:[0], esp
call fcn.00423c20
mov eax, dword [0x55bd6c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2324]
lea ecx, [esp + 0x18]
push edi
mov edi, dword [esp + 0x232c]
push ecx
mov ecx, dword [esp + 0x2334]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], eax
call fcn.0044c620
xor ebx, ebx
xor eax, eax
mov dl, byte [eax + 0x4dfaa0]
xor dl, 0x7d
mov byte [esp + eax + 0xc44], dl
inc eax
cmp eax, 0x16d1
jb 0x44ac37
lea eax, [esp + 0xc44]
mov ecx, esi
push eax
mov byte [esp + 0x2319], bl
call fcn.0043ad30
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test al, al
jne 0x44ac88
cmp dword [edi + 0x40], ebx
je 0x44ac88
mov ecx, esi
call fcn.0043a690
mov ecx, dword [edi + 0x40]
push eax
push ebx
push 0x4c9
push ecx
call ebp
xor eax, eax
mov dl, byte [eax + 0x4e1174]
xor dl, 0x7d
mov byte [esp + eax + 0x28], dl
inc eax
cmp eax, 0xc18
jb 0x44ac8a
lea eax, [esp + 0x28]
mov ecx, esi
push eax
mov byte [esp + 0xc44], bl
call fcn.0043ad30
and eax, 0xff
mov dword [esp + 0x18], eax
jne 0x44acd6
cmp dword [edi + 0x40], ebx
je 0x44acd6
mov ecx, esi
call fcn.0043a690
mov ecx, dword [edi + 0x40]
push eax
push ebx
push 0x4c9
push ecx
call ebp
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
push str.On_Error_Resume_Next:QMEngine.SetRunTimeParam__u:QMRoutine.SetRunTimeParam__u:On_Error_Goto_0
lea ecx, [esp + 0x18]
mov dword [esp + 0x2324], ebx
call sub.MFC42.DLL_CString::CString_1
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 + 0x2330], 1
call sub.MFC42.DLL_CString::Format_1
mov eax, dword [esp + 0x20]
add esp, 0x10
mov ecx, esi
push eax
call fcn.0043af50
and eax, 0xff
mov dword [esp + 0x18], eax
jne 0x44ad48
cmp dword [edi + 0x40], ebx
je 0x44ad48
mov ecx, esi
call fcn.0043a690
mov ecx, dword [edi + 0x40]
push eax
push ebx
push 0x4c9
push ecx
call ebp
lea ecx, [esp + 0x14]
mov byte [esp + 0x2320], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x2320], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x2318]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2314
ret

Function at 0x44c470
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b2008
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.004aad26
xor edi, edi
mov ecx, esi
mov dword [esp + 0x14], edi
mov dword [esi], 0x4e2230
call sub.MFC42.DLL_CCmdTarget::EnableAutomation
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x34], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x44c640
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x1c
push esi
push edi
mov edi, dword [esp + 0x30]
test di, di
jne 0x44c653
mov edi, 1
mov esi, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], eax
mov dword [esp + 8], 1
mov dword [esp + 0x18], eax
mov word [esp + 0xc], si
movsx ecx, si
mov dword [esp + 0x1c], eax
push eax
push ecx
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov word [esp + 0xe], ax
movsx eax, word [esp + 0x2c]
sub eax, 0
je 0x44c6d8
dec eax
je 0x44c6bd
dec eax
jne 0x44c71e
call fcn.00455860
mov edx, dword [eax]
movsx ecx, di
push ecx
push esi
push 6
mov ecx, eax
call dword [edx + 4]
pop edi
pop esi
add esp, 0x1c
ret 0xc
call fcn.00454f10
mov edx, dword [eax]
movsx ecx, di
push ecx
push esi
push 3
mov ecx, eax
call dword [edx + 4]
pop edi
pop esi
add esp, 0x1c
ret 0xc
movsx esi, di
test esi, esi
jbe 0x44c71e
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 8]
push 0x1c
push edx
push 1
mov dword [esp + 0x1c], 0
call fcn.00451e40
add esp, 0xc
push 0x32
call edi
lea eax, [esp + 8]
push 0x1c
push eax
push 1
mov dword [esp + 0x1c], 2
call fcn.00451e40
add esp, 0xc
dec esi
jne 0x44c6e5
pop edi
pop esi
add esp, 0x1c
ret 0xc

Function at 0x44c730
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x1c
push esi
push edi
mov edi, dword [esp + 0x30]
test di, di
jne 0x44c743
mov edi, 1
mov esi, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], eax
mov dword [esp + 8], 1
mov dword [esp + 0x18], eax
mov word [esp + 0xc], si
movsx ecx, si
mov dword [esp + 0x1c], eax
push eax
push ecx
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov word [esp + 0xe], ax
movsx eax, word [esp + 0x2c]
sub eax, 0
je 0x44c7c8
dec eax
je 0x44c7ad
dec eax
jne 0x44c7e5
call fcn.00455860
mov edx, dword [eax]
movsx ecx, di
push ecx
push esi
push 7
mov ecx, eax
call dword [edx + 4]
pop edi
pop esi
add esp, 0x1c
ret 0xc
call fcn.00454f10
mov edx, dword [eax]
movsx ecx, di
push ecx
push esi
push 4
mov ecx, eax
call dword [edx + 4]
pop edi
pop esi
add esp, 0x1c
ret 0xc
movsx eax, di
test eax, eax
jbe 0x44c7e5
mov esi, eax
lea edx, [esp + 8]
push 0x1c
push edx
push 1
call fcn.00451e40
add esp, 0xc
dec esi
jne 0x44c7d1
pop edi
pop esi
add esp, 0x1c
ret 0xc
Function at 0x44c7f0
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x1c
push esi
push edi
mov edi, dword [esp + 0x30]
test di, di
jne 0x44c803
mov edi, 1
mov esi, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], eax
mov dword [esp + 8], 1
mov dword [esp + 0x18], eax
mov word [esp + 0xc], si
movsx ecx, si
mov dword [esp + 0x1c], eax
push eax
push ecx
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov word [esp + 0xe], ax
mov dword [esp + 0x10], 2
movsx eax, word [esp + 0x2c]
sub eax, 0
je 0x44c890
dec eax
je 0x44c875
dec eax
jne 0x44c8ad
call fcn.00455860
mov edx, dword [eax]
movsx ecx, di
push ecx
push esi
push 8
mov ecx, eax
call dword [edx + 4]
pop edi
pop esi
add esp, 0x1c
ret 0xc
call fcn.00454f10
mov edx, dword [eax]
movsx ecx, di
push ecx
push esi
push 5
mov ecx, eax
call dword [edx + 4]
pop edi
pop esi
add esp, 0x1c
ret 0xc
movsx eax, di
test eax, eax
jbe 0x44c8ad
mov esi, eax
lea edx, [esp + 8]
push 0x1c
push edx
push 1
call fcn.00451e40
add esp, 0xc
dec esi
jne 0x44c899
pop edi
pop esi
add esp, 0x1c
ret 0xc
Function at 0x44d000
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b20b0
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_1
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString_3
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_1
test eax, eax
jle 0x44d0db
mov ecx, dword [esp + 0x30]
push 0x20
mov esi, dword [ecx - 8]
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::Find_1
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 sub.MFC42.DLL_CString::operator_3
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_1
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 sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
jmp 0x44d0e9
push 0x55b7e8
lea ecx, [esp + 0x10]
call fcn.004232c4
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_2
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_2
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_2
mov byte [esp + 0x34], bl
call fcn.00412010
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 0x44d240
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b20f0
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_3
xor ebx, ebx
push str.CStr_
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.004232c4
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
push eax
call fcn.00423660
push 0x54eedc
lea ecx, [ebp - 0x14]
call fcn.00423660
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_2
mov ecx, dword [esi + 0x20]
lea eax, [ebp - 0x30]
push eax
call fcn.0043b3b0
mov ecx, dword [eax + 8]
push ecx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator_1
jmp 0x44d2dd
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::CString_3
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 0x44d33b
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 0x4c9
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 0x44f210
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b22e8
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
push 0
mov eax, dword [esi + 0x30d8]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x44f360
lea ecx, [esi + 0x31e4]
push 0
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CSingleLock::CSingleLock
or ebx, 0xffffffff
lea ecx, [esp + 0xc]
push ebx
mov dword [esp + 0x24], 0
call sub.MFC42.DLL_CSingleLock::Lock
mov edi, dword [esi + 4]
lea ecx, [esp + 0xc]
shl edi, 0x1d
sar edi, 0x1f
call sub.MFC42.DLL_CSingleLock::Unlock
test edi, edi
jne 0x44f353
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor edx, edx
mov dx, word [esi + 0x313c]
push edx
call edi
test ah, 0x80
je 0x44f2ef
push 0x12
call edi
mov cl, byte [esi + 0x313e]
sar eax, 0xf
shr cl, 2
and eax, 1
and ecx, 1
xor eax, ecx
test ax, ax
jne 0x44f2ef
push 0x11
call edi
mov dl, byte [esi + 0x313e]
sar eax, 0xf
shr dl, 1
and eax, 1
and edx, 1
xor eax, edx
test ax, ax
jne 0x44f2ef
push 0x10
call edi
mov cl, byte [esi + 0x313e]
sar eax, 0xf
and eax, 1
and ecx, 1
xor eax, ecx
test ax, ax
je 0x44f353
xor edx, edx
mov dx, word [esi + 0x30d4]
push edx
call edi
test ah, 0x80
je 0x44f377
push 0x12
call edi
mov cl, byte [esi + 0x30d6]
sar eax, 0xf
shr cl, 2
and eax, 1
and ecx, 1
xor eax, ecx
test ax, ax
jne 0x44f377
push 0x11
call edi
mov dl, byte [esi + 0x30d6]
sar eax, 0xf
shr dl, 1
and eax, 1
and edx, 1
xor eax, edx
test ax, ax
jne 0x44f377
push 0x10
call edi
mov cl, byte [esi + 0x30d6]
sar eax, 0xf
and eax, 1
and ecx, 1
xor eax, ecx
test ax, ax
jne 0x44f377
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], ebx
call sub.MFC42.DLL_CSingleLock::Unlock
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], ebx
call sub.MFC42.DLL_CSingleLock::Unlock
mov ecx, dword [esp + 0x18]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x44fc30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4b2400
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
lea eax, [esp + 0x1c]
lea ecx, [esp]
push eax
mov dword [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp]
mov byte [esp + 0x14], 1
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x44fcc7
push 0x54d15c
lea edx, [esp + 0xc]
push 0x55b878
push edx
call sub.MFC42.DLL_operator_2
lea ecx, [esp + 0x1c]
lea edx, [esp + 4]
push ecx
push eax
push edx
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 4]
mov byte [esp + 0x18], 3
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 4]
mov byte [esp + 0x14], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x14], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp]
mov ecx, dword [esp + 0x20]
push eax
call fcn.0043ab00
lea ecx, [esp]
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x4504c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b2539
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_3
lea ebp, [esi + 0xc]
mov byte [esp + 0x1c], 2
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_3
lea ebx, [esi + 0x10]
mov byte [esp + 0x1c], 3
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x14]
mov byte [esp + 0x1c], 4
call sub.MFC42.DLL_CString::CString_3
push 0x55b7e8
mov ecx, ebx
mov byte [esp + 0x20], 5
call fcn.004232c4
lea eax, [esp + 0x28]
lea ecx, [esi + 0x14]
push eax
call sub.MFC42.DLL_CString::operator_3
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esi + 0x1c], ecx
xor ebx, ebx
push 0x54d15c
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 sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 5
call sub.MFC42.DLL_CString::CString
push 0x54d15c
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 sub.MFC42.DLL_CString::operator_3
mov byte [esp + 0x1c], 5
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString
push 0x54d15c
mov ecx, edi
call sub.MFC42.DLL_CString::TrimLeft_1
push 0x54d15c
mov ecx, edi
call sub.MFC42.DLL_CString::TrimRight_1
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.004506b0
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 0x4506b0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4b2588
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 0x450796
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 0x450785
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_1
lea ebp, [esi + 0x10]
push eax
mov ecx, ebp
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CString::operator_3
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 0x45079a
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_2
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 0x4507c0
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 0x55b7e8
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x45081d
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 0x450814
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 0x451440
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x4b27e0
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.0041a5b0
add esp, 4
push str.qmacro_
lea ecx, [esp + 0x14]
xor esi, esi
push eax
push ecx
mov dword [esp + 0x30], esi
call sub.MFC42.DLL_operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.IMAGEHLP.dll_MakeSureDirectoryPathExists]
lea eax, [esp + 0x10]
push str.qdisp.dll
lea ecx, [esp + 0x1c]
push eax
push ecx
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
mov ebp, dword [sym.imp.MSVCRT.dll_fopen]
push 0x54dad0
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x18]
mov edi, eax
call sub.MFC42.DLL_CString::CString
mov ebx, dword [sym.imp.MSVCRT.dll_fputc]
cmp edi, esi
je 0x4514f9
xor edx, edx
push edi
mov dl, byte [esi + 0x4e2344]
xor edx, 0x7d
push edx
call ebx
add esp, 8
inc esi
cmp esi, 0xa620
jb 0x4514d4
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
push str.cfgdll.dll
lea eax, [esp + 0x1c]
push 0x55b878
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push 0x54dad0
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x18]
mov edi, eax
call sub.MFC42.DLL_CString::CString
test edi, edi
je 0x451550
xor esi, esi
xor ecx, ecx
push edi
mov cl, byte [esi + 0x4ec964]
xor ecx, 0x7d
push ecx
call ebx
add esp, 8
inc esi
cmp esi, 0xe620
jb 0x45152b
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x451580
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov cl, byte [eax + 0x4faf84]
xor cl, 0x7d
mov byte [eax + 0x57b444], cl
inc eax
cmp eax, 0x363b
jb 0x451582
mov eax, 0x57b444
ret