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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x569efa
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push edi
mov edi, ecx
mov eax, dword [edi]
call dword [eax + 8]
mov ecx, dword [edi + 8]
push 0
push ecx
call fcn.00443960
add esp, 8
test al, al
je 0x445729
lea edx, [esp + 8]
push edx
call fcn.00442a90
lea eax, [esp + 8]
push 1
push eax
mov dword [esp + 0x30], 0
call fcn.00443960
add esp, 8
test al, al
jne 0x44573b
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0x2c], 0xffffffff
call fcn.00442ae0
xor al, al
pop edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x445751
push 0x80004003
call fcn.0054a810
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
push esi
lea ecx, [esp + 8]
push ecx
push eax
mov esi, eax
mov dword [esp + 0x10], 0
call dword [edx + 0x708]
test eax, eax
jge 0x44577a
push 0x583cfc
push esi
push eax
call fcn.0054a820
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x445790
push 0x80004003
call fcn.0054a810
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push eax
mov esi, eax
call dword [edx + 0x5dc]
test eax, eax
jge 0x4457ab
push 0x583cfc
push esi
push eax
call fcn.0054a820
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4457c1
push 0x80004003
call fcn.0054a810
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push eax
mov esi, eax
mov dword [esp + 0x10], 0
call dword [ecx + 0x708]
test eax, eax
jge 0x4457e9
push 0x583cfc
push esi
push eax
call fcn.0054a820
cmp word [esp + 8], 0
jne 0x4458be
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x445807
push 0x80004003
call fcn.0054a810
mov esi, dword [esp + 0x10]
call fcn.00446f70
test eax, eax
je 0x4458be
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x44582a
push 0x80004003
call fcn.0054a810
mov esi, dword [edi + 8]
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
jne 0x445841
push 0x80004003
call fcn.0054a810
mov edi, dword [esi]
mov esi, dword [esp + 0x10]
call fcn.00446de0
mov ecx, dword [edi]
push eax
push edi
call dword [ecx + 0x138]
test eax, eax
jge 0x445866
push 0x583cfc
push edi
push eax
call fcn.0054a820
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x44587c
push 0x80004003
call fcn.0054a810
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push 0
push eax
mov esi, eax
call dword [edx + 0x138]
test eax, eax
jge 0x445899
push 0x583cfc
push esi
push eax
call fcn.0054a820
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x30], 0xffffffff
call fcn.00442ae0
pop esi
mov al, 1
pop edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x30], 0xffffffff
call fcn.00442ae0
mov ecx, dword [esp + 0x24]
pop esi
xor al, al
pop edi
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x447ba0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x563cff
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, dword [esp + 0x18]
push edi
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esi], vtable.CPaperStock.0
mov byte [esi + 4], 1
call fcn.00408310
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
lea edi, [esi + 0x14]
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_9]
mov byte [esp + 0x14], 2
fld qword [0x594cf8]
fstp qword [esi + 0x20]
push str.Normal_Paper
fld qword [0x594cf8]
mov ecx, edi
fstp qword [esi + 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_6]
fld qword [0x68cee8]
mov ecx, dword [esp + 0xc]
fld qword [0x68cee0]
mov byte [esi + 0x18], bl
fstp qword [esi + 0x20]
mov dword [esi + 0x30], ebx
pop edi
fstp qword [esi + 0x28]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 4
Function at 0x447cf0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x563ccb
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
push edi
call fcn.00447e50
mov edi, dword [esp + 0x3c]
mov al, byte [edi + 0x18]
lea ecx, [edi + 0x14]
push ecx
lea ecx, [esi + 0x14]
mov byte [esi + 0x18], al
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_5]
lea edx, [edi + 0x20]
mov ecx, dword [edx]
lea eax, [esi + 0x20]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov edi, dword [edi + 0xc]
mov ebp, dword [edi]
cmp ebp, edi
jne 0x447d72
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
mov esi, dword [esp + 0x38]
push 0x20
call sub.MFC71.DLL_operator_new_1
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
mov dword [esp + 0x30], 0
je 0x447dd7
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
add eax, 8
mov esi, dword [eax]
mov ebx, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x20], edx
mov edx, dword [ecx]
mov dword [esp + 0x24], eax
call dword [edx + 0xc]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [edi], eax
lea eax, [edi + 8]
mov dword [eax], esi
mov esi, dword [esp + 0x38]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov byte [edi + 0x18], 1
mov dword [edi + 0x1c], 0
jmp 0x447dd9
xor edi, edi
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x18]
mov byte [edi + 0x18], cl
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
mov dword [edi + 0x1c], eax
mov dword [esp + 0x14], edi
mov edi, dword [esi + 0xc]
mov edx, dword [edi + 4]
lea ebx, [esi + 8]
lea ecx, [esp + 0x14]
push ecx
push edx
push edi
call fcn.0044a350
mov ecx, 1
mov edx, ebx
mov esi, eax
call fcn.0044a380
mov ecx, dword [esp + 0x3c]
mov dword [edi + 4], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
mov ebp, dword [ebp]
cmp ebp, dword [ecx + 0xc]
jne 0x447d6e
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x38]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 8
Function at 0x449a20
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x56b8d9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x250
mov eax, dword [0x5c58d0]
push ebx
push ebp
mov ebp, dword [esp + 0x268]
push esi
mov dword [esp + 0x258], eax
mov eax, dword [0x68c9b4]
mov eax, dword [eax + 0x24]
push edi
push str.PaperStocks
call fcn.0045ee50
lea ecx, [esp + 0x14]
mov edi, eax
mov dword [esp + 0x10], 0x208
xor esi, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_9]
push eax
push esi
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x274], esi
call fcn.00401cf0
lea ecx, [esp + 0x14]
mov byte [esp + 0x268], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push esi
push esi
push esi
push esi
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x64]
push eax
push esi
push edi
call ebx
test eax, eax
jne 0x449b0f
jmp 0x449ac0
mov ecx, dword [0x68c9b4]
mov eax, dword [ecx + 0x24]
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x54]
push ecx
push str.PaperStocks
push eax
inc esi
call fcn.0045e970
push 0
lea edx, [esp + 0x1c]
push edx
mov ecx, ebp
call fcn.004492c0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x64]
push ecx
push esi
push edi
mov dword [esp + 0x30], 0x208
call ebx
test eax, eax
je 0x449ac0
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x26c], 0xffffffff
call fcn.00401dc0
mov ecx, dword [esp + 0x260]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x250]
pop ebx
call fcn.0054939e
add esp, 0x25c
ret 4
Function at 0x452d60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x56fcff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
mov dword [esp + 0xc], 0
mov ebp, dword [esp + 0x24]
push esi
lea ebx, [ebp + 0xa8]
push edi
mov esi, ebx
call fcn.00459b60
mov edi, dword [esp + 0x34]
add ebp, 0xd0
mov esi, ebp
call fcn.00457130
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
mov esi, ebx
mov edi, ebp
call fcn.00456990
mov ebp, dword [esp + 0x30]
add ebp, 0x54
add esp, 4
mov esi, ebp
call fcn.00470b90
mov eax, dword [esp + 0x38]
test eax, eax
jle 0x452e97
mov dword [esp + 0x38], eax
lea esp, [esp]
push 0x4c
call sub.MFC71.DLL_operator_new_1
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
test esi, esi
je 0x452e30
lea ecx, [esp + 0x3c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_9]
mov ebx, eax
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x34]
or edi, 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_9]
mov ecx, dword [esp + 0x30]
push ebx
push ecx
or edi, 2
mov dword [esp + 0x2c], 2
push esi
mov ecx, eax
mov dword [esp + 0x20], edi
call fcn.0046f740
jmp 0x452e32
xor eax, eax
mov dword [esp + 0x24], 4
mov ecx, dword [ebp + 0x40]
test ecx, ecx
jne 0x452e45
xor ebx, ebx
jmp 0x452e4d
mov ebx, dword [ebp + 0x44]
sub ebx, ecx
sar ebx, 2
push eax
mov edi, ebp
call fcn.00471650
mov ebx, dword [esp + 0x14]
test bl, 2
je 0x452e6f
and ebx, 0xfffffffd
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], ebx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
test bl, 1
mov dword [esp + 0x24], 0xffffffff
je 0x452e8d
and ebx, 0xfffffffe
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], ebx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
dec dword [esp + 0x38]
jne 0x452de0
mov eax, dword [0x68c9b4]
mov esi, dword [eax + 0x40]
mov edx, dword [esp + 0x2c]
mov edi, dword [esi + 8]
add esi, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], edx
mov edx, dword [edi + 4]
push ecx
push edx
push edi
call fcn.00420820
mov ecx, 1
mov edx, esi
mov ebx, eax
call fcn.00420850
mov ecx, dword [esp + 0x1c]
mov dword [edi + 4], ebx
mov eax, dword [ebx + 4]
pop edi
pop esi
mov dword [eax], ebx
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 0x14
Function at 0x45ea90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
push esi
push eax
mov eax, dword [esp + 0x10]
call fcn.0045ee50
mov esi, eax
test esi, esi
jne 0x45eaad
pop esi
xor al, al
pop ebp
ret 0xc
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ebx
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0
push ebp
push esi
call edi
test eax, eax
je 0x45ead5
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
xor al, al
pop ebp
ret 0xc
mov edx, dword [esp + 0x18]
push ebx
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push ebp
push esi
call edi
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
pop edi
pop esi
sete al
pop ebp
ret 0xc

Function at 0x45eb00
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Empty_1]
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
call fcn.0045ee50
mov esi, eax
test esi, esi
jne 0x45eb2b
pop esi
xor al, al
pop ebp
pop ecx
ret 0xc
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x1c]
push ecx
push 0
lea edx, [esp + 0x14]
push edx
push 0
push ebp
push esi
call ebx
test eax, eax
jne 0x45eb8e
cmp dword [esp + 0xc], 1
jne 0x45eb8e
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x1c]
push eax
push ecx
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer_2]
push eax
lea edx, [esp + 0x14]
push edx
push 0
push ebp
push esi
call ebx
push 0xffffffffffffffff
mov ecx, edi
mov ebx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::ReleaseBuffer_1]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test ebx, ebx
pop ebx
pop esi
sete al
pop ebp
pop ecx
ret 0xc
pop ebx
pop esi
xor al, al
pop ebp
pop ecx
ret 0xc
Function at 0x4600e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov eax, dword [0x5c58d0]
mov dword [esp + 0x1c], eax
lea eax, [esp]
push esi
push eax
call fcn.0045fff0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
add esp, 4
xor esi, esi
cmp eax, 0x10
jae 0x46010c
lea ecx, [esp + 8]
mov al, byte [ecx]
test al, al
je 0x460124
movsx eax, al
lea edx, [esi + esi]
xor edx, eax
mov al, byte [ecx + 1]
add esi, edx
inc ecx
test al, al
jne 0x460112
lea ecx, [esp + 4]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
call fcn.0054939e
add esp, 0x20
ret
Function at 0x466210
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x55e0e9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
lea ecx, [esp]
mov dword [esp + 0xc], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_9]
lea eax, [esp + 4]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push SysReAllocString
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4662bd
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0xc]
push ecx
push eax
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [esp + 0x18]
push str.Personal
push eax
call esi
test eax, eax
jne 0x4662b1
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push ecx
push edx
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer_2]
mov ecx, dword [esp + 0xc]
push eax
lea eax, [esp + 0x18]
push eax
push 0
push str.Personal
push ecx
call esi
push 0xffffffffffffffff
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::ReleaseBuffer_1]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, dword [esp]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jne 0x4662d6
push 0x585150
lea ecx, [esp + 4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_6]
lea ecx, [esp]
push ecx
mov ecx, ebx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_10]
lea ecx, [esp]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ecx, dword [esp + 0x10]
mov eax, ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x46ed90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x566dd6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
call fcn.00558d20
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [esi]
push 0x57e764
mov ebx, vtable.CFileInputStream.0
push eax
mov dword [ebp - 0x5c], 0x77190912
mov dword [ebp - 0x60], ebx
call dword [sym.imp.MSVCR71.dll_fopen]
add esp, 8
cmp eax, edi
mov dword [ebp - 0x58], eax
jne 0x46ee02
call dword [sym.imp.MSVCR71.dll___doserrno]
mov ecx, dword [eax]
lea eax, [ebp - 0x40]
call fcn.00460c60
push 0x5a697c
push eax
call sub.MSVCR71.dll__CxxThrowException
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.0046e970
test al, al
jne 0x46f02f
mov eax, dword [esi]
lea esi, [ebp - 0x54]
call fcn.00441a00
mov ecx, dword [ebp - 0x4c]
mov esi, dword [sym.imp.MSVCR71.dll_ftell]
push ecx
call esi
mov edx, dword [ebp - 0x4c]
mov ebx, dword [sym.imp.MSVCR71.dll_fseek]
push 2
push 0
push edx
mov edi, eax
call ebx
mov eax, dword [ebp - 0x4c]
push eax
call esi
mov ecx, dword [ebp - 0x4c]
push 0
push edi
push ecx
mov esi, eax
call ebx
inc esi
push esi
call dword [sym.imp.MSVCR71.dll_malloc]
add esp, 0x24
mov edi, eax
lea edx, [esi - 1]
push edx
push edi
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 3
call fcn.00441a70
lea ebx, [esi + edi - 1]
mov dword [ebp - 0x14], ebx
lea ebx, [ebx]
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x46eeb6
push eax
push 1
push 1
push ebx
call dword [sym.imp.MSVCR71.dll_fread]
add esp, 0x10
cmp eax, 1
je 0x46eeb6
call dword [sym.imp.MSVCR71.dll___doserrno]
mov ecx, dword [eax]
lea eax, [ebp - 0x48]
call fcn.00460c60
push 0x5a697c
push eax
call sub.MSVCR71.dll__CxxThrowException
inc ebx
mov ecx, ebx
sub ecx, edi
cmp ecx, esi
mov dword [ebp - 0x14], ebx
jne 0x46ee80
lea ebx, [esi + 0x400]
push ebx
push edi
call dword [sym.imp.MSVCR71.dll_realloc]
add esp, 8
test eax, eax
jne 0x46eefd
push edi
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
push 0x5a6944
lea edx, [ebp - 0x28]
push edx
mov dword [ebp - 0x28], vtable.CFormatException.0
mov dword [ebp - 0x24], 0x5247
call sub.MSVCR71.dll__CxxThrowException
mov edi, eax
add eax, esi
mov esi, ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], eax
mov ebx, eax
jmp 0x46ee80
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x8c], vtable.CNeroCoverEditorFile.0
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x88], edi
mov byte [ebp - 4], 8
mov ecx, dword [0x68c9b4]
mov edi, dword [ecx + 4]
lea edx, [ebp - 0x8c]
push edx
lea esi, [ebp - 0x60]
call fcn.00460260
mov eax, dword [ebp - 0x58]
test eax, eax
mov dword [ebp - 0x60], ebx
je 0x46f08d
push eax
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x470280
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x560517
push eax
mov dword fs:[0], esp
push esi
mov esi, dword [esp + 0x14]
push edi
mov eax, dword [esp + 0x1c]
xor edi, edi
mov dword [esp + 0x10], edi
push eax
lea ecx, [esi + 4]
mov dword [esi], vtable.CProjectData.0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_10]
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [esi + 8]
mov byte [esp + 0x14], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_10]
lea ecx, [esi + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dx, word [esp + 0x24]
mov ecx, dword [esp + 8]
mov word [esi + 0x38], dx
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
pop edi
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 0x10

Function at 0x470340
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x56faf2
push eax
mov dword fs:[0], esp
push esi
mov esi, dword [esp + 0x14]
push edi
xor edi, edi
mov dword [esp + 0x10], edi
lea ecx, [esi + 4]
mov dword [esi], vtable.CProjectData.0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_9]
lea ecx, [esi + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_9]
lea ecx, [esi + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov eax, dword [esp + 0x1c]
push eax
mov byte [esp + 0x14], 5
push esi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
call fcn.00470520
mov ecx, dword [esp + 8]
pop edi
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 8
Function at 0x470480
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x56dc92
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, dword [esp + 0x18]
push edi
mov dword [esi], vtable.CProjectData.0
mov dword [esp + 0x14], 5
call fcn.00470b90
lea edi, [esi + 0x3c]
call fcn.004725b0
mov eax, dword [edi + 4]
xor ebx, ebx
cmp eax, ebx
je 0x4704c9
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x4704e2
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
lea ecx, [esi + 0xc]
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esi + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esi + 4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ecx, dword [esp + 0xc]
pop edi
mov dword [esi], vtable.CSerializable.0
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 4
Function at 0x47c160
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
fld qword [0x594cf8]
push 0xffffffffffffffff
push 0x566bbb
push eax
mov dword fs:[0], esp
push esi
mov esi, dword [esp + 0x14]
fstp qword [esi + 8]
fld qword [0x594cf8]
fstp qword [esi + 0x10]
fld qword [0x594cf8]
fstp qword [esi + 0x18]
fld qword [0x594cf8]
fstp qword [esi + 0x20]
call fcn.0046d050
mov dword [esi + 0x2c], eax
xor eax, eax
mov dword [esi + 0x30], eax
mov dword [esp + 0xc], eax
lea eax, [esi + 0x34]
push eax
mov edx, 5
call fcn.00401b50
mov ecx, dword [esp + 4]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 4
Function at 0x496390
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x560189
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
test eax, eax
push edi
je 0x49648a
mov ecx, dword [0x68c8bc]
cmp ecx, 3
je 0x496438
cmp ecx, 4
je 0x496438
cmp ecx, 5
je 0x496438
cmp eax, 0xec82e0
jbe 0x496438
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_9]
push 0x566a
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::LoadStringA_1]
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x20]
push 0x5254
push ecx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::FormatMessageA_1]
mov edx, dword [esp + 0x28]
add esp, 0xc
push 0
push 0x10
push edx
call sub.MFC71.DLL_AfxMessageBox
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
xor al, al
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
call sub.MFC71.DLL_AfxGetThread
test eax, eax
je 0x49644c
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
mov edi, eax
jmp 0x49644e
xor edi, edi
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x49648a
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_GetClipboardOwner]
push eax
call sub.MFC71.DLL_CWnd::FromHandle
cmp eax, edi
jne 0x496484
mov eax, dword [esi + 0x14]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x4964a0
call dword [sym.imp.USER32.dll_CloseClipboard]
xor al, al
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [esi + 0x18], 0x10
mov ecx, dword [esi + 0x14]
jb 0x4964b5
mov esi, dword [esi + 4]
jmp 0x4964b8
add esi, 4
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0x1c]
push ebx
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 4