joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4265da
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], ecx
push 0x40000000
mov eax, dword [ebp - 0xc]
add eax, 0x1a20
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.CpuDriverInterface.dll_public:_static_class_CCncMemI____cdecl_CCncMemI::Instance_void_]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
call dword [eax]
mov byte [ebp - 8], al
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x1a20], 0xffffffff
je 0x426624
mov edx, dword [ebp - 8]
and edx, 0xff
test edx, edx
jne 0x426638
push str.La_DoConnect__CreateFile__e_fallita
call fcn.004265d5
add esp, 4
xor eax, eax
jmp 0x4267a4
cmp dword [ebp + 0x10], 0
je 0x42664a
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.00426913
mov dword [ebp - 4], 0x64
push 0x457fd4
push 0
push str.NoCpu5Reset
push str.LOADER
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x426675
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x3c
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jle 0x4266be
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x1a20]
push eax
call dword [sym.imp.CpuDriverInterface.dll_public:_static_class_CCncMemI____cdecl_CCncMemI::Instance_void_]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
call dword [edx + 0x24]
and eax, 0xff
test eax, eax
jne 0x4266b5
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4266bc
mov dword [ebp - 4], 0xfffffff6
jmp 0x426675
cmp dword [ebp - 4], 0xfffffff6
je 0x4266d9
push 0
push 0
push str.GENERAL_FAILURE___CNC_IS_EITHER_CRASHED__OR_OFF____
call sub.MFC42.DLL_AfxMessageBox
xor eax, eax
jmp 0x4267a4
push 0x14
push 0
mov ecx, dword [ebp - 0xc]
add ecx, 0x1a00
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x14
push 0
mov edx, dword [ebp - 0xc]
add edx, 0x19ec
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x1a1c], eax
push 0
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x1a10], eax
push 0
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x19fc], eax
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0xc]
push edx
push 0x426231
call sub.MFC42.DLL_AfxBeginThread
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + 0x30]
mov dword [ecx + 0x1a14], edx
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
push 0x4264d2
call sub.MFC42.DLL_AfxBeginThread
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + 0x30]
mov dword [ecx + 0x1a18], edx
push 0
push 0
push 0x465
mov ecx, dword [ebp - 0xc]
call fcn.00402490
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x426913
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jae 0x426979
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x42696f
cmp dword [ebp - 0x1c], 0x12
jne 0x426959
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x426979
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x426977
push 4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x426925
mov esp, ebp
pop ebp
ret 4
Function at 0x429fc7
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0x4584bc
mov ecx, 0x45bd28
call sub.MFC42.DLL_CMapStringToPtr::operator__
mov dword [eax], 0xc8
push 0x4584c0
mov ecx, 0x45bd28
call sub.MFC42.DLL_CMapStringToPtr::operator__
mov dword [eax], 0x12c
push 0x4584c4
mov ecx, 0x45bd28
call sub.MFC42.DLL_CMapStringToPtr::operator__
mov dword [eax], 0x190
push 0x4584c8
mov ecx, 0x45bd28
call sub.MFC42.DLL_CMapStringToPtr::operator__
mov dword [eax], 0x514
push 0x4584cc
mov ecx, 0x45bd28
call sub.MFC42.DLL_CMapStringToPtr::operator__
mov dword [eax], 0x64
push 0x4584d0
mov ecx, 0x45bd28
call sub.MFC42.DLL_CMapStringToPtr::operator__
mov dword [eax], 0x65
push 0x4584d4
mov ecx, 0x45bd28
call sub.MFC42.DLL_CMapStringToPtr::operator__
mov dword [eax], 0x1f4
push 0x4584d8
mov ecx, 0x45bd28
call sub.MFC42.DLL_CMapStringToPtr::operator__
mov dword [eax], 0x1f5
push 0x4584dc
mov ecx, 0x45bd28
call sub.MFC42.DLL_CMapStringToPtr::operator__
mov dword [eax], 0x2bc
push 0x4584e0
mov ecx, 0x45bd28
call sub.MFC42.DLL_CMapStringToPtr::operator__
mov dword [eax], 0x44d
push 0x4584e4
mov ecx, 0x45bd28
call sub.MFC42.DLL_CMapStringToPtr::operator__
mov dword [eax], 0x258
push 0x4584ec
mov ecx, 0x45bd28
call sub.MFC42.DLL_CMapStringToPtr::operator__
mov dword [eax], 0x44c
push 0xc8
mov ecx, 0x45bd48
call sub.MFC42.DLL_CMapWordToPtr::operator__
mov dword [eax], 0x4584f0
push 0x12c
mov ecx, 0x45bd48
call sub.MFC42.DLL_CMapWordToPtr::operator__
mov dword [eax], 0x4584f4
push 0x190
mov ecx, 0x45bd48
call sub.MFC42.DLL_CMapWordToPtr::operator__
mov dword [eax], 0x4584f8
push 0x514
mov ecx, 0x45bd48
call sub.MFC42.DLL_CMapWordToPtr::operator__
mov dword [eax], 0x4584fc
push 0x64
mov ecx, 0x45bd48
call sub.MFC42.DLL_CMapWordToPtr::operator__
mov dword [eax], 0x458500
push 0x65
mov ecx, 0x45bd48
call sub.MFC42.DLL_CMapWordToPtr::operator__
mov dword [eax], 0x458504
push 0x1f4
mov ecx, 0x45bd48
call sub.MFC42.DLL_CMapWordToPtr::operator__
mov dword [eax], 0x458508
push 0x1f5
mov ecx, 0x45bd48
call sub.MFC42.DLL_CMapWordToPtr::operator__
mov dword [eax], 0x45850c
push 0x2bc
mov ecx, 0x45bd48
call sub.MFC42.DLL_CMapWordToPtr::operator__
mov dword [eax], 0x458510
push 0x44d
mov ecx, 0x45bd48
call sub.MFC42.DLL_CMapWordToPtr::operator__
mov dword [eax], 0x458514
push 0x258
mov ecx, 0x45bd48
call sub.MFC42.DLL_CMapWordToPtr::operator__
mov dword [eax], str.ILVA
push 0x44c
mov ecx, 0x45bd48
call sub.MFC42.DLL_CMapWordToPtr::operator__
mov dword [eax], 0x458520
push str.FIDIA.INI
push 0x104
push 0x45bd68
push 0x458530
push 0x458534
push 0x458538
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x458540
push 0x45bd68
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x42a20b
push 0x458544
mov ecx, 0x45bd28
call sub.MFC42.DLL_CMapStringToPtr::operator__
mov dword [eax], 0x44d
pop ebp
ret
Function at 0x42b550
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442dc7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x28]
mov dword [ecx], 0
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0x28]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0xc], 0
push 0x4586e4
push 0
push str.DebugLog
push 0x4586fc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x42b6ee
mov edx, dword [ebp - 0x28]
mov dword [edx + 4], 1
push 0x458704
push 0
push str.DebugLogRequestAndReply
push 0x458728
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 8], eax
push 0x458730
push 0
push str.DebugLogFtm
push 0x458748
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0xc], eax
push 0x10
call fcn.00402720
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x42b626
mov ecx, dword [ebp - 0x18]
call sub.MFC42.DLL_CFile::CFile
mov dword [ebp - 0x2c], eax
jmp 0x42b62d
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x34]
push edx
push str.C:FIDIAPROGRAM_
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_operator
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
push 0
push 0x5041
lea ecx, [ebp - 0x10]
call fcn.00402550
push eax
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov edx, dword [eax]
call dword [edx + 0x28]
push 8
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x24], 0
je 0x42b6c5
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebp - 0x24]
call sub.MFC42.DLL_CDumpContext::CDumpContext
mov dword [ebp - 0x38], eax
jmp 0x42b6cc
mov dword [ebp - 0x38], 0
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x20], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x10], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x43694b
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443e76
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x10]
call fcn.0043fa26
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x19e8
call fcn.00402550
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0043683f
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x20]
push edx
lea ecx, [ebp - 0x10]
call fcn.0043fa38
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
call fcn.00402550
push eax
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x19ec], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x19ec], 0
jne 0x436a05
push 0
push 0
push 0x45a31c
call sub.MFC42.DLL_AfxMessageBox
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
jmp 0x436a76
push 4
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x19ec]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x19f0], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x19f0], 0
jne 0x436a54
push 0
push 0
push 0x45a34c
call sub.MFC42.DLL_AfxMessageBox
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
jmp 0x436a76
mov ecx, dword [ebp - 0x18]
call fcn.004049d0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x19f0]
mov dword [edx], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x437b7b
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443fbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x10]
call fcn.0043fa26
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x19e8
call fcn.00402550
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00437a92
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x20]
push edx
lea ecx, [ebp - 0x10]
call fcn.0043fa38
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
call fcn.00402550
push eax
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x19f4], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x19f4], 0
jne 0x437c35
push 0
push 0
push 0x45a6d0
call sub.MFC42.DLL_AfxMessageBox
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
jmp 0x437ca6
push 4
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x19f4]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x19f8], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x19f8], 0
jne 0x437c84
push 0
push 0
push 0x45a700
call sub.MFC42.DLL_AfxMessageBox
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
jmp 0x437ca6
mov ecx, dword [ebp - 0x18]
call fcn.004049d0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x19f8]
mov dword [edx], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x43de30
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x44454b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x18], 1
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x43dea9
push esi
push 8
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 8], esi
test esi, esi
mov byte [esp + 0x14], 2
je 0x43de8e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.0043d0b0
jmp 0x43de90
xor eax, eax
lea edx, [esp + 4]
push 0x450280
push edx
mov byte [esp + 0x1c], 1
mov dword [esp + 0xc], eax
call sub.MSVCRT.dll__CxxThrowException
pop esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x10], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x43e720
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x4446c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov cl, byte [esi + 9]
xor eax, eax
test cl, cl
mov dword [esp + 0x14], 1
jne 0x43e7a9
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0xc], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.0043f010
test al, al
je 0x43e7a4
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0xc], esp
push edx
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 8]
mov ecx, esi
push eax
call fcn.0043eb40
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x18], 2
call fcn.0043fa38
lea ecx, [esp + 4]
mov byte [esp + 0x14], 1
call sub.MFC42.DLL_CString::CString
jmp 0x43e74c
mov eax, 1
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x43e801
push 8
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 8], esi
test esi, esi
mov byte [esp + 0x14], 3
je 0x43e7e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.0043d0b0
jmp 0x43e7e9
xor eax, eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push 0x450280
push eax
mov byte [esp + 0x1c], 1
call sub.MSVCRT.dll__CxxThrowException
mov al, byte [esp + 0x24]
test al, al
je 0x43e821
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.0043d670
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 0xc
Function at 0x43f090
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x444898
push eax
mov dword fs:[0], esp
push esi
push edi
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
or edi, 0xffffffff
cmp eax, edi
jne 0x43f111
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
je 0x43f0ef
call esi
cmp eax, 3
je 0x43f0ef
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], edi
call sub.MFC42.DLL_CString::CString
mov eax, edi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], edi
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret 4
test al, 0x10
mov dword [esp + 0x10], edi
lea ecx, [esp + 0x18]
je 0x43f13a
call sub.MFC42.DLL_CString::CString
mov eax, 2
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret 4
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
pop edi
mov eax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 4
Function at 0x43f1b0
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4448db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov esi, ecx
mov eax, dword [esp + 0x30]
xor ebx, ebx
push eax
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
or edi, 0xffffffff
cmp eax, edi
je 0x43f2ea
test al, 1
je 0x43f298
cmp byte [esi + 8], bl
je 0x43f34c
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
push 0x5c
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, edi
je 0x43f228
inc eax
lea ecx, [esp + 0xc]
push eax
push ebx
call sub.MFC42.DLL_CString::Delete
push str._is_read_olny._Do_you_want_delete_it_
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
push eax
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
mov byte [esp + 0x34], 2
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 4
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
push 0x23
push str.Warning
push ecx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
sub eax, 2
je 0x43f30d
sub eax, 4
je 0x43f2bb
dec eax
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x10]
je 0x43f2d8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x28], edi
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4
mov edx, dword [esp + 0x30]
push 0x80
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x10]
jne 0x43f286
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], edi
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4
push 8
mov byte [esi + 0xa], 1
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov byte [esp + 0x28], 5
je 0x43f332
push ebx
mov ecx, eax
call fcn.0043d0b0
jmp 0x43f334
xor eax, eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push 0x450280
push eax
mov byte [esp + 0x30], 4
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [esp + 0x30]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
mov dword [esp + 0x28], edi
lea ecx, [esp + 0x30]
jne 0x43f2a0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
pop edi
pop esi
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x40180f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x40181e
pop dword [ebp - 0x1c]
mov eax, 0x40181e
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x15516937
add dword [ebp - 0x2c], 0x3900dc14
mov dword [ebp - 0x28], 0x9fb13ec3
sub dword [ebp - 0x28], 0x6d7df27e
mov dword [ebp - 0x24], 0x564c7ca
add dword [ebp - 0x24], 0x46e77c64
mov dword [ebp - 0x20], 0x4bac515d
sub dword [ebp - 0x20], 0x4bac515d
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x44a214a9
add eax, 0xbb9ebba3
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x198b837c
add dword [ebp - 0x2c], 0x5ae6e5da
mov dword [ebp - 0x28], 0x17d7917d
sub dword [ebp - 0x28], 0xd66b3008
mov dword [ebp - 0x24], 0x44f2b730
sub dword [ebp - 0x24], 0xe1834ac4
mov dword [ebp - 0x20], 0x532c37de
add dword [ebp - 0x20], 0xacd3c822
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x3989d
push 0
call eax
mov ecx, 0x479f
xor esi, esi
add esi, eax
mov edx, 0x1b43fa72
sub edx, 0x1b024a72
add edx, dword [ebp - 0x1c]
mov ebx, 0x6fe04d3e
sub ebx, 0x8d5569f7
mov dword [ebp - 0x18], 0x1cd2f933
mov edi, dword [edx]
xor dword [ebp - 0x14], 0xc47035e7
add edi, ebx
add dword [ebp - 4], 0x5b633798
mov dword [esi], edi
xor dword [ebp - 0xc], esi
add esi, 4
add edx, 0x5ddb082
add edx, 0xfa224f82
loop 0x401932
add eax, 0x5d6bbbfb
add eax, 0xa2955554
xor ebx, ebx
add ebx, eax
add eax, 0x946268e8
add eax, 0x6b9d971d
mov ecx, 0x811b9201
add ecx, 0x7f246dff
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret

Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d
Function at 0x100031f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ebx, dword [ebp + 8]
cmp ebx, 0
je 0x10003235
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov edx, dword [eax + 0x78]
add edx, ebx
mov ecx, dword [edx + 0x18]
mov eax, dword [edx + 0x20]
push ecx
push ecx
push eax
xor eax, eax
or ecx, 0xffffffff
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
repne scasb al, byte es:[edi]
not ecx
pop eax
push ecx
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
mov esi, dword [eax + ebx]
add esi, ebx
repe cmpsb byte [esi], byte es:[edi]
pop ecx
je 0x1000323b
add eax, 4
pop esi
dec esi
push esi
jne 0x1000321d
xor eax, eax
leave
ret 8
pop esi
pop ecx
sub ecx, esi
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx eax, word [eax + ebx]
mov ecx, dword [edx + 0x1c]
lea eax, [ecx + eax*4]
mov eax, dword [eax + ebx]
add eax, ebx
leave
ret 8