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

Disassembly:
push 0xffffffffffffffff
push 0x4e50f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push esi
mov esi, ecx
mov eax, dword [esi + 0x30e4]
mov ecx, dword [esi + 0x30e8]
mov dx, word [esi + 0x30ec]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x30f0]
mov dword [esp + 8], ecx
mov cx, word [esi + 0x30f4]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x30f8]
mov word [esp + 0xc], dx
mov dx, word [esi + 0x30f6]
mov word [esp + 0x14], cx
mov ecx, dword [esi + 0x30fc]
mov dword [esp + 0x18], eax
mov word [esp + 0x16], dx
mov edx, dword [esi + 0x3100]
lea eax, [esi + 0x3104]
mov dword [esp + 0x1c], ecx
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 0x3108]
mov edx, dword [esi + 0x3110]
mov eax, dword [esi + 0x310c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x3118]
mov dword [esp + 0x30], edx
mov edx, dword [esi + 0x311c]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
lea ecx, [esi + 0x3140]
xor edx, edx
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x50]
and al, 0xef
cmp ecx, edx
mov dword [esp + 0x48], edx
mov dword [esp + 4], ecx
mov dword [esp + 0x2c], eax
je 0x430891
mov eax, dword [esi + 0x30fc]
cmp eax, edx
je 0x43088b
mov dword [esp + 0x1c], eax
jmp 0x430895
mov dword [esp + 0x1c], esi
jmp 0x430895
mov dword [esp + 0x1c], edx
lea edx, [esp + 4]
push edx
call fcn.0042d380
add esp, 4
lea ecx, [esp + 0x24]
mov esi, eax
mov dword [esp + 0x48], 0xffffffff
call fcn.00415612
mov ecx, dword [esp + 0x40]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x48
ret 4

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

Disassembly:
push ecx
push ebx
push esi
push edi
push 0
push 0
push 0
push 0
push 0x4f8828
call sub.MFC42.DLL_AfxBeginThread_1
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x559fd8], eax
mov eax, dword [esp + 0x14]
push str.kernel32.dll
mov dword [0x55d678], eax
call esi
push 0
mov edi, eax
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esp + 0xc]
mov esi, eax
push ecx
add esi, 0x40
push 4
push 0xa
push esi
call ebx
mov edx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi], edi
add esi, 4
push 0
mov dword [esi], edx
mov eax, dword [esp + 0x10]
push eax
push 0xa
push esi
call ebx
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x434250
Capabilities:
Get common file path
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x1054
call fcn.00415b80
mov eax, dword [esp + 0x1060]
push ebx
push ebp
push esi
push edi
lea edi, [ecx + 0x64]
test eax, eax
jne 0x43426f
lea edi, [ecx + 0x68]
mov eax, dword [esp + 0x106c]
test eax, eax
jne 0x434318
mov eax, dword [edi]
push 0x53624c
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, dword [edi]
push 0x556570
push edi
mov esi, eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 0x10
test eax, eax
je 0x43442c
test esi, esi
je 0x43442c
push 2
push 0
push esi
call dword [sym.imp.MSVCRT.dll_fseek]
push esi
call dword [sym.imp.MSVCRT.dll_ftell]
push esi
mov edi, eax
call dword [sym.imp.MSVCRT.dll_rewind]
add esp, 0x14
test edi, edi
jg 0x4342d7
push esi
jmp 0x434423
mov al, byte [esi + 0xc]
mov bl, 0x10
test bl, al
jne 0x434312
mov edi, dword [esp + 0x1068]
mov ebp, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 0x1000
lea eax, [esp + 0x6c]
push 1
push eax
call ebp
mov ecx, dword [edi]
add esp, 0x10
lea edx, [esp + 0x64]
push 0
push eax
push edx
push edi
call dword [ecx + 0x10]
test byte [esi + 0xc], bl
je 0x4342ed
push esi
jmp 0x434423
lea eax, [esp + 0x64]
add ecx, 0x34
push eax
push 0
call fcn.00404c10
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x556570
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x20]
push ecx
call fcn.00435040
add esp, 8
mov ecx, eax
call fcn.00404c10
mov esi, dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push eax
call esi
test eax, eax
lea ecx, [esp + 0x10]
sete bl
call fcn.00415612
test bl, bl
je 0x4343a5
lea edx, [esp + 0x64]
push edx
push 0
push 0x556570
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x556570
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x20]
push eax
call fcn.00435040
add esp, 8
mov ecx, eax
call fcn.00404c10
push eax
call esi
lea ecx, [esp + 0x10]
call fcn.00415612
lea ecx, [esp + 0x64]
push ecx
mov ecx, edi
call sub.MFC42.DLL_CString::operator
mov edi, dword [edi]
push 0x53623c
push edi
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x43442c
mov esi, dword [esp + 0x1068]
lea eax, [esp + 0x1c]
push 1
push eax
mov edx, dword [esi]
push esi
call dword [edx + 0x30]
xor ebx, ebx
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x64]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
mov ecx, dword [esi]
push edx
lea eax, [esp + 0x68]
push 0x1000
push eax
push esi
call dword [ecx + 0xc]
mov ecx, dword [esp + 0x18]
push ebp
push ecx
lea edx, [esp + 0x6c]
push 1
push edx
call dword [sym.imp.MSVCRT.dll_fwrite]
mov eax, dword [esp + 0x34]
add esp, 0x10
inc ebx
shr eax, 0xc
cmp ebx, eax
jbe 0x4343de
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1054
ret 0xc
Function at 0x434440
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e54fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
xor eax, eax
mov dword [ebp - 0x10], esp
mov ebx, dword [esi + 8]
mov dword [ebp - 4], eax
cmp ebx, eax
je 0x4344ad
lea edi, [ebx + 8]
mov eax, 1
mov dword [ebp - 0x14], edi
mov ecx, eax
dec eax
test ecx, ecx
mov dword [ebp - 0x18], eax
je 0x4344a7
lea ecx, [edi + 0x1c]
mov byte [ebp - 4], 1
call fcn.00415612
lea ecx, [edi + 0x18]
mov byte [ebp - 4], 0
call fcn.00415612
mov eax, dword [ebp - 0x18]
add edi, 0x20
mov dword [ebp - 0x14], edi
jmp 0x43447a
mov ebx, dword [ebx]
xor eax, eax
jmp 0x43446b
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
call sub.MFC42.DLL_CPlex::FreeDataChain
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
lea edi, [esi + 0x64]
mov dword [esi + 0x18], 0
push 0x556570
mov eax, dword [edi]
push eax
call ebx
add esp, 8
test eax, eax
je 0x4344eb
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esi + 0x68]
push 0x556570
push eax
call ebx
add esp, 8
test eax, eax
je 0x434507
mov eax, dword [esi + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x556570
mov ecx, edi
call sub.MFC42.DLL_CString::operator
push 0x556570
lea ecx, [esi + 0x34]
call sub.MFC42.DLL_CString::operator
push 0x556570
lea ecx, [esi + 0x20]
call sub.MFC42.DLL_CString::operator
mov edx, dword [esi + 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x70]
xor edi, edi
cmp eax, edi
mov dword [esi + 0x44], edi
je 0x43454f
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 0x70], edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x435040
Capabilities:
Access peb ldr_data
Create directory
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4e56b7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov dword [esp + 0x10], 0
mov al, byte [0x559fe4]
mov ebx, 1
test bl, al
mov dword [esp + 0x24], ebx
jne 0x435097
or al, bl
push 0x556570
mov ecx, 0x559fe0
mov byte [0x559fe4], al
call sub.MFC42.DLL_CString::CString_1
push 0x435210
call fcn.00415bec
add esp, 4
mov eax, dword [0x559fe0]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x556570
push eax
call esi
add esp, 8
test eax, eax
jne 0x4350db
lea ecx, [esp + 0xc]
push ecx
call fcn.004085b0
add esp, 4
push eax
mov ecx, 0x559fe0
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], bl
call fcn.00415612
mov edx, dword [esp + 0x30]
push 0x556570
push edx
call esi
add esp, 8
test eax, eax
je 0x4351d3
push edi
mov edi, dword [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004084f0
add esp, 0xc
lea ecx, [esp + 0x1c]
push 0x64
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 3
call sub.MFC42.DLL_CString::Left
push eax
lea edx, [esp + 0x1c]
push 0x559fe0
push edx
mov byte [esp + 0x34], 4
call sub.MFC42.DLL_operator_2
push 0x535218
push eax
lea eax, [esp + 0x14]
mov byte [esp + 0x30], 5
push eax
call sub.MFC42.DLL_operator_3
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 8
call fcn.00415612
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 7
call fcn.00415612
mov ecx, dword [esp + 0xc]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, dword [esp + 0x30]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 3
call fcn.00415612
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call fcn.00415612
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 0
call fcn.00415612
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov esi, dword [esp + 0x2c]
push 0x559fe0
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x30]
mov dword [esp + 0x10], ebx
mov byte [esp + 0x24], 0
call fcn.00415612
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x4394d0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e6198
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov eax, dword [esp + 0x1c]
push 0x53624c
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x439525
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.00415612
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ebp, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push 0
push esi
call ebp
push esi
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x10
cmp eax, 0x1000
jg 0x439567
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.00415612
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
push edi
push 0
push 0x1000
push esi
call ebp
mov al, byte [esi + 0xc]
add esp, 0xc
xor edi, edi
test al, 0x10
jne 0x439597
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_fgetc]
push esi
call ebx
not eax
add edi, eax
mov al, byte [esi + 0xc]
add esp, 4
test al, 0x10
je 0x439585
pop ebx
push 0
push 0x1c
push esi
call ebp
push esi
push 1
lea ecx, [esp + 0x20]
push 4
push ecx
call dword [sym.imp.MSVCRT.dll_fread]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x2c]
add esp, 0x20
xor edx, edx
cmp eax, edi
sete dl
lea ecx, [esp + 0x20]
mov esi, edx
mov dword [esp + 0x18], 0xffffffff
call fcn.00415612
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x439b20
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e6228
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esi + 8]
mov eax, edi
xor edx, edx
shr eax, 4
div ebp
mov ecx, dword [esi + 4]
mov dword [esp + 0x18], 0
test ecx, ecx
mov ebx, edx
je 0x439b7a
mov eax, dword [ecx + ebx*4]
test eax, eax
je 0x439b76
cmp dword [eax + 8], edi
je 0x439b70
mov eax, dword [eax]
test eax, eax
jne 0x439b63
jmp 0x439b76
test eax, eax
mov edi, eax
jne 0x439bc7
test ecx, ecx
jne 0x439ba6
lea edi, [ebp*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [esi + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [esi + 8], ebp
mov ecx, esi
call fcn.0043a2c0
mov edi, eax
mov eax, dword [esp + 0x20]
mov dword [edi + 4], ebx
mov dword [edi + 8], eax
mov ecx, dword [esi + 4]
mov edx, dword [ecx + ebx*4]
mov dword [edi], edx
mov eax, dword [esi + 4]
mov dword [eax + ebx*4], edi
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x2c]
mov dword [edi + 0xc], ecx
mov edx, dword [esp + 0x28]
push eax
lea ecx, [edi + 0x14]
mov dword [edi + 0x10], edx
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x30]
push ecx
lea ecx, [edi + 0x18]
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x34]
lea ecx, [edi + 0x1c]
push edx
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], 2
call fcn.00415612
lea ecx, [esp + 0x30]
mov byte [esp + 0x18], 1
call fcn.00415612
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], 0xffffffff
call fcn.00415612
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x18
Function at 0x445f30
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4e700e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push ebp
push esi
mov eax, dword [esp + 0x154]
mov ecx, dword [esp + 0x148]
push eax
push ecx
mov dword [esp + 0x148], 2
call fcn.00492de0
mov ebp, eax
xor esi, esi
add esp, 8
cmp ebp, esi
je 0x446132
push ebx
push edi
lea ecx, [esp + 0x154]
call sub.MFC42.DLL_CString::TrimLeft_2
lea ecx, [esp + 0x154]
call sub.MFC42.DLL_CString::TrimRight
mov edx, dword [esp + 0x154]
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x556570
push edx
call ebx
add esp, 8
test eax, eax
je 0x446042
mov eax, dword [esp + 0x154]
push 0x537650
push eax
call ebx
add esp, 8
test eax, eax
je 0x446042
push 0x5c
lea ecx, [esp + 0x158]
call sub.MFC42.DLL_CString::TrimLeft_1
push 0x3a
lea ecx, [esp + 0x158]
call sub.MFC42.DLL_CString::Find_3
test eax, eax
jg 0x446029
lea ecx, [esp + 0x154]
lea edx, [esp + 0x10]
push ecx
push 0x556608
push edx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x158]
mov byte [esp + 0x14c], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], 2
call fcn.00415612
mov eax, dword [esp + 0x154]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [esp + 0x154]
push ecx
jmp 0x446049
mov edx, dword [0x556608]
push edx
push ebp
call fcn.00492f60
add esp, 8
lea ecx, [esp + 0x158]
call sub.MFC42.DLL_CString::MakeLower
mov ecx, 0x4a
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 0x14], esi
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
push eax
push 0xffffffffffffffff
push ebp
call fcn.00492e20
mov eax, dword [esp + 0x20]
add esp, 0xc
test eax, eax
mov edi, eax
jle 0x446113
lea ecx, [esp + 0x14]
push ecx
push esi
push ebp
call fcn.00492e20
add esp, 0xc
lea edx, [esp + 0x18]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], 4
call sub.MFC42.DLL_CString::MakeLower
mov eax, dword [esp + 0x158]
push 0x556570
push eax
call ebx
add esp, 8
test eax, eax
je 0x4460ea
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x158]
push ecx
push edx
call fcn.00409270
add esp, 8
test eax, eax
je 0x4460f9
lea eax, [esp + 0x18]
push eax
push esi
push ebp
call fcn.00492f20
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], 2
call fcn.00415612
inc esi
cmp esi, edi
jl 0x44608d
push ebp
call fcn.00493020
add esp, 4
test al, al
pop edi
pop ebx
push ebp
je 0x44612a
call fcn.00492fa0
jmp 0x44612f
call fcn.0048e510
add esp, 4
lea ecx, [esp + 0x148]
mov byte [esp + 0x140], 1
call fcn.00415612
lea ecx, [esp + 0x14c]
mov byte [esp + 0x140], 0
call fcn.00415612
lea ecx, [esp + 0x150]
mov dword [esp + 0x140], 0xffffffff
call fcn.00415612
mov ecx, dword [esp + 0x138]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x13c
ret
Function at 0x44ce20
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4e7f56
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
lea edi, [esi + 0x10]
mov dword [esp + 0x18], 1
mov ecx, edi
call sub.MFC42.DLL_CString::CString_3
lea ebx, [esi + 0x14]
mov byte [esp + 0x18], 2
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov dword [esi + 4], ecx
lea ecx, [esp + 0x30]
mov dword [esi], eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, edi
mov byte [esp + 0x1c], 3
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x34]
mov ecx, ebx
push edx
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x30]
mov byte [esp + 0x18], 0
call fcn.00415612
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], 0xffffffff
call fcn.00415612
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18
Function at 0x45a300
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4e9086
push eax
mov eax, 0x2308
mov dword fs:[0], esp
call fcn.00415b80
mov eax, dword [0x556854]
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.004600c0
xor ebx, ebx
xor eax, eax
mov dl, byte [eax + 0x4f5d1c]
xor dl, 0x7d
mov byte [esp + eax + 0xc44], dl
inc eax
cmp eax, 0x16d1
jb 0x45a357
lea eax, [esp + 0xc44]
mov ecx, esi
push eax
mov byte [esp + 0x2319], bl
call fcn.0045d2e0
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test al, al
jne 0x45a3a8
cmp dword [edi + 0x40], ebx
je 0x45a3a8
mov ecx, esi
call fcn.0045cc40
mov ecx, dword [edi + 0x40]
push eax
push ebx
push 0x4c9
push ecx
call ebp
xor eax, eax
mov dl, byte [eax + 0x4f73f0]
xor dl, 0x7d
mov byte [esp + eax + 0x28], dl
inc eax
cmp eax, 0xc18
jb 0x45a3aa
lea eax, [esp + 0x28]
mov ecx, esi
push eax
mov byte [esp + 0xc44], bl
call fcn.0045d2e0
and eax, 0xff
mov dword [esp + 0x18], eax
jne 0x45a3f6
cmp dword [edi + 0x40], ebx
je 0x45a3f6
mov ecx, esi
call fcn.0045cc40
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.0045d500
and eax, 0xff
mov dword [esp + 0x18], eax
jne 0x45a468
cmp dword [edi + 0x40], ebx
je 0x45a468
mov ecx, esi
call fcn.0045cc40
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 fcn.00415612
lea ecx, [esp + 0x10]
mov dword [esp + 0x2320], 0xffffffff
call fcn.00415612
mov ecx, dword [esp + 0x2318]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2314
ret
Function at 0x45ea40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e9628
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 0x45ea83
mov eax, dword [esi]
jmp 0x45ea85
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 0x45eaa1
push 0x536e18
push edi
push eax
call fcn.004dcaaa
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 0x45eb01
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x45eb01
mov eax, dword [esi]
test eax, eax
je 0x45eae8
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x45eaf8
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 0x45ebc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e9668
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 0x45ec03
mov eax, dword [esi]
jmp 0x45ec05
xor eax, eax
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x38]
push edx
push eax
push edi
call dword [ecx + 0x74]
test eax, eax
jge 0x45ec26
push 0x536e18
push edi
push eax
call fcn.004dcaaa
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 0x45ec86
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x45ec86
mov eax, dword [esi]
test eax, eax
je 0x45ec6d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x45ec7d
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 0xc
Function at 0x45f6e0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
push edi
push 0
mov eax, dword [esi + 0x30f8]
mov edi, edx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x45f701
pop edi
mov eax, 1
pop esi
ret
test edi, edi
jne 0x45f812
push ebx
lea ebx, [esi + 0x32a0]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esi + 4]
shl edi, 0x1d
push ebx
sar edi, 0x1f
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
pop ebx
je 0x45f734
pop edi
mov eax, 1
pop esi
ret
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ecx, ecx
mov cx, word [esi + 0x3168]
push ecx
call edi
test ah, 0x80
je 0x45f7a6
push 0x12
call edi
mov dl, byte [esi + 0x316a]
sar eax, 0xf
shr dl, 2
and eax, 1
and edx, 1
xor eax, edx
test ax, ax
jne 0x45f7a6
push 0x11
call edi
mov cl, byte [esi + 0x316a]
sar eax, 0xf
shr cl, 1
and eax, 1
and ecx, 1
xor eax, ecx
test ax, ax
jne 0x45f7a6
push 0x10
call edi
mov dl, byte [esi + 0x316a]
sar eax, 0xf
and eax, 1
and edx, 1
xor eax, edx
test ax, ax
jne 0x45f7a6
pop edi
mov eax, 1
pop esi
ret
xor eax, eax
mov ax, word [esi + 0x30f4]
push eax
call edi
test ah, 0x80
je 0x45f812
push 0x12
call edi
mov cl, byte [esi + 0x30f6]
sar eax, 0xf
shr cl, 2
and eax, 1
and ecx, 1
xor eax, ecx
test ax, ax
jne 0x45f812
push 0x11
call edi
mov dl, byte [esi + 0x30f6]
sar eax, 0xf
shr dl, 1
and eax, 1
and edx, 1
xor eax, edx
test ax, ax
jne 0x45f812
push 0x10
call edi
mov cl, byte [esi + 0x30f6]
sar eax, 0xf
and eax, 1
and ecx, 1
xor eax, ecx
test ax, ax
jne 0x45f812
pop edi
mov eax, 1
pop esi
ret
pop edi
xor eax, eax
pop esi
ret

Function at 0x45ff40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e9878
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 sub.MFC42.DLL_CCmdTarget::CCmdTarget
xor edi, edi
mov ecx, esi
mov dword [esp + 0x14], edi
mov dword [esi], 0x4f87d0
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