joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002dd20
Capabilities:
Get common file path
Get disk information

Disassembly:
sub esp, 0x424
mov eax, dword [0x1005e3c8]
xor eax, esp
mov dword [esp + 0x420], eax
push esi
push edi
xor esi, esi
push 0x208
lea eax, [esp + 0x16]
push esi
push eax
mov dword [esp + 0x14], esi
lea edi, [esi + 0x64]
mov word [esp + 0x1c], si
call sub.MSVCR80.dll_memset
push 0x208
lea ecx, [esp + 0x22e]
push esi
push ecx
mov word [esp + 0x234], si
call sub.MSVCR80.dll_memset
mov edx, dword [esp + 0x448]
add edx, 0xffffff9b
add esp, 0x18
cmp edx, 0x62
ja 0x1002de38
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [esp + 0x14], eax
push 0x104
lea eax, [esp + 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
push 0x20a
lea ecx, [esp + 0x1c]
push 0
push ecx
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0x20]
mov edx, 1
mov ecx, esi
shl edx, cl
add esp, 0xc
test eax, edx
je 0x1002de19
movzx ecx, word [esp + 0x224]
lea eax, [esi + 0x41]
cmp ecx, eax
je 0x1002de19
push eax
lea edx, [esp + 0x1c]
push str._c:_
push edx
call ebx
add esp, 0xc
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x34]
push eax
call ebp
test eax, eax
je 0x1002de19
add edi, 1
cmp dword [esp + 0x438], edi
je 0x1002de29
add esi, 1
cmp esi, 0x20
jb 0x1002ddb0
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
jmp 0x1002de3b
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
pop ebp
pop ebx
jmp 0x1002de3b
or eax, 0xffffffff
mov ecx, dword [esp + 0x428]
pop edi
pop esi
xor ecx, esp
call fcn.10041218
add esp, 0x424
ret 4
Function at 0x1002de60
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
mov eax, ebx
or esi, 0xffffffff
push edi
mov dword [esp + 0x10], ecx
xor ebp, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1002de77
push 0
push 0
sub eax, edx
push eax
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
test edi, edi
jle 0x1002df59
lea eax, [edi + 1]
push 2
push eax
call dword [sym.imp.MSVCR80.dll_calloc]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x1002df59
mov eax, ebx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1002dec0
push edi
push ebp
sub eax, edx
push eax
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jle 0x1002df59
push 0x1004ae2c
push ebp
call dword [sym.imp.MSVCR80.dll__wfopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x1002df59
push 2
push 0
push edi
call dword [sym.imp.MSVCR80.dll_fseek]
push edi
call dword [sym.imp.MSVCR80.dll_ftell]
push edi
mov ebx, eax
call dword [sym.imp.MSVCR80.dll_rewind]
add esp, 0x14
test ebx, ebx
jle 0x1002df46
push ebx
call dword [sym.imp.MSVCR80.dll_malloc]
mov ecx, dword [esp + 0x1c]
push edi
push 1
push ebx
push eax
mov dword [ecx], eax
call dword [sym.imp.MSVCR80.dll_fread]
mov edx, dword [esp + 0x30]
add esp, 0x14
mov esi, eax
neg esi
sbb esi, esi
and esi, 2
add esi, 0xfffffffe
mov dword [edx], ebx
jmp 0x1002df4b
mov esi, 0xfffffffd
push edi
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 4
test esi, esi
je 0x1002df6b
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x58]
push 0x9896f2
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
test ebp, ebp
je 0x1002df79
push ebp
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc

Function at 0x1002e250
Capabilities:
Check mutex on windows

Disassembly:
push ecx
push esi
push edi
push str.as4pc_fcms_sync
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1002e29c
push str.as4pc_fcms_filemap
push eax
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov edi, eax
test edi, edi
jne 0x1002e2a0
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
pop ecx
ret
mov edi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ecx
ret
Function at 0x1002e2c0
Capabilities:
Check mutex on windows

Disassembly:
mov eax, 0x4018
call fcn.10041250
mov eax, dword [0x1005e3c8]
xor eax, esp
mov dword [esp + 0x4014], eax
push esi
mov esi, dword [esp + 0x4020]
push edi
push 0x4010
lea eax, [esp + 0x402c]
push eax
lea ecx, [esp + 0x14]
push ecx
call sub.MSVCR80.dll_memcpy
add esp, 0xc
push str.as4pc_fcms_sync
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
push 0xffffffffffffffff
push edi
mov dword [esp + 0x10], edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1002e431
push 0x4010
push eax
push eax
push 2
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x1002e34d
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
jmp 0x1002e441
push ebx
push ebp
push 0x1000
push 0
push esi
call sub.MSVCR80.dll_memset
push 0x1000
lea edi, [esi + 0x1004]
push 0
push edi
call sub.MSVCR80.dll_memset
push 0x1000
lea ebx, [esi + 0x2008]
push 0
push ebx
call sub.MSVCR80.dll_memset
push 0x1000
lea ebp, [esi + 0x300c]
push 0
push ebp
call sub.MSVCR80.dll_memset
mov edx, dword [esp + 0x1044]
push edx
lea eax, [esp + 0x48]
push eax
push esi
call sub.MSVCR80.dll_memcpy
mov edx, dword [esp + 0x2054]
mov ecx, dword [esp + 0x1050]
push edx
lea eax, [esp + 0x1058]
push eax
push edi
mov dword [esi + 0x1000], ecx
call sub.MSVCR80.dll_memcpy
mov edi, dword [esp + 0x3064]
mov ecx, dword [esp + 0x2060]
add esp, 0x48
test edi, edi
mov dword [esi + 0x2004], ecx
jbe 0x1002e424
cmp dword [esp + 0x4020], 0
jbe 0x1002e424
push edi
lea edx, [esp + 0x2020]
push edx
push ebx
call sub.MSVCR80.dll_memcpy
mov dword [esi + 0x3008], edi
mov edi, dword [esp + 0x402c]
push edi
lea eax, [esp + 0x3030]
push eax
push ebp
call sub.MSVCR80.dll_memcpy
add esp, 0x18
mov dword [esi + 0x400c], edi
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edi, dword [esp + 0x10]
pop ebp
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x401c]
pop edi
pop esi
xor ecx, esp
call fcn.10041218
add esp, 0x4018
ret 0x4014
Function at 0x1002e460
Capabilities:
Check mutex on windows
Read file via mapping

Disassembly:
push ebx
push esi
push str.as4pc_fcms_sync
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ebx, eax
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1002e560
push 0x4010
push eax
push eax
mov eax, dword [esp + 0x18]
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x1002e4b4
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
or eax, 0xffffffff
pop ebx
ret 8
mov ecx, dword [esi + 0x1000]
push edi
mov edi, dword [esp + 0x14]
push ecx
push esi
push edi
call sub.MSVCR80.dll_memcpy
mov edx, dword [esi + 0x1000]
mov dword [edi + 0x1000], edx
mov eax, dword [esi + 0x2004]
push eax
lea ecx, [esi + 0x1004]
push ecx
lea edx, [edi + 0x1004]
push edx
call sub.MSVCR80.dll_memcpy
mov eax, dword [esi + 0x2004]
mov dword [edi + 0x2004], eax
mov eax, dword [esi + 0x3008]
add esp, 0x18
test eax, eax
jbe 0x1002e558
cmp dword [esi + 0x400c], 0
jbe 0x1002e558
push eax
lea ecx, [esi + 0x2008]
push ecx
lea edx, [edi + 0x2008]
push edx
call sub.MSVCR80.dll_memcpy
mov eax, dword [esi + 0x3008]
mov dword [edi + 0x3008], eax
mov ecx, dword [esi + 0x400c]
push ecx
lea edx, [esi + 0x300c]
push edx
lea eax, [edi + 0x300c]
push eax
call sub.MSVCR80.dll_memcpy
mov ecx, dword [esi + 0x400c]
add esp, 0x18
mov dword [edi + 0x400c], ecx
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop ebx
ret 8

Function at 0x1002e580
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push esi
push edi
push str.as4pc_fcms_sync
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1002e63a
mov eax, dword [esp + 0x10]
push 0x4010
push ebx
push ebx
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
cmp esi, ebx
jne 0x1002e5d6
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
ret 4
push 0x1000
push ebx
push esi
call sub.MSVCR80.dll_memset
push 0x1000
lea ecx, [esi + 0x1004]
push ebx
push ecx
mov dword [esi + 0x1000], ebx
call sub.MSVCR80.dll_memset
push 0x1000
lea edx, [esi + 0x2008]
push ebx
push edx
mov dword [esi + 0x2004], ebx
call sub.MSVCR80.dll_memset
push 0x1000
lea eax, [esi + 0x300c]
push ebx
push eax
mov dword [esi + 0x3008], ebx
call sub.MSVCR80.dll_memset
add esp, 0x30
push esi
mov dword [esi + 0x400c], ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
ret 4
Function at 0x1002f120
Capabilities:
Print debug messages

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push str.UnZipFileThread_Start_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push 0
call dword [sym.imp.XecureMacuxCSM.dll_public:_static_class_XWClientSM____cdecl_XWClientSM::getInstance_char_const___unsigned_long_int_]
add esp, 8
mov ebx, eax
call dword [sym.imp.xwmfUI.dll_public:_static_class_XFClientUI____cdecl_XFClientUI::getInstance_void_]
mov esi, dword [esp + 0x18]
mov ebp, eax
mov eax, dword [sym.NativeMng.dll_class_NativeFCMSWrapper__NativeFCMSWrapper::mNativeFCMSWrapper]
mov edi, 0x80000
mov dword [eax], 0xffffffff
test dword [esi + 0xc], edi
mov dword [esp + 0x10], 0
jne 0x1002f172
push 0
mov ecx, ebp
call dword [sym.imp.xwmfUI.dll_public:_void___thiscall_XFClientUI::setProgressIndex_int_]
mov ecx, dword [esi + 8]
mov edx, dword [esi]
push 0
push ecx
push edx
call fcn.1002c670
add esp, 0xc
test eax, eax
je 0x1002f1b2
test dword [esi + 0xc], edi
jne 0x1002f196
push 3
mov ecx, ebp
call dword [sym.imp.xwmfUI.dll_public:_int___thiscall_XFClientUI::setProgressStatus_unsigned_long_int_]
push 0x16e380c
mov ecx, ebx
mov dword [esp + 0x14], 1
mov edi, 2
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
jmp 0x1002f1ed
test dword [esi + 0xc], edi
jne 0x1002f1d8
mov eax, dword [esi + 4]
cdq
push 0
push edx
push eax
push edx
push eax
mov eax, dword [esi]
push eax
push 0
call sym.NativeMng.dll_protected:_static_int___cdecl_NativeFCMSWrapper::ProgressCallback_void___char_const___long_long___int64___long_long___int64___int_
add esp, 0x1c
push 2
mov ecx, ebp
call dword [sym.imp.xwmfUI.dll_public:_int___thiscall_XFClientUI::setProgressStatus_unsigned_long_int_]
mov ecx, dword [esi + 8]
push ecx
mov ecx, dword [sym.NativeMng.dll_class_NativeFCMSWrapper__NativeFCMSWrapper::mNativeFCMSWrapper]
add ecx, 4
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
xor edi, edi
mov edx, dword [sym.NativeMng.dll_class_NativeFCMSWrapper__NativeFCMSWrapper::mNativeFCMSWrapper]
mov dword [edx], edi
mov esi, dword [esi + 0xc]
test esi, 0x200000
jne 0x1002f20f
cmp dword [esp + 0x10], 0
jne 0x1002f21f
test esi, 0x100000
je 0x1002f21f
test esi, 0x80000
jne 0x1002f21f
mov ecx, ebp
call dword [sym.imp.xwmfUI.dll_public:_void___thiscall_XFClientUI::endProgress_void_]
call dword [sym.imp.XecureMacuxCSM.dll_public:_static_void___cdecl_XWClientSM::removeInstance_void_]
push str.UnZipFileThread_End_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 4
Function at 0x1002fa30
Capabilities:
Print debug messages

Disassembly:
push ebx
push ebp
push esi
push edi
push str.VerifyFileThread_Start_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.xwmfUI.dll_public:_static_class_XFClientUI____cdecl_XFClientUI::getInstance_void_]
push 0
push 0
mov ebp, eax
call dword [sym.imp.XecureMacuxCSM.dll_public:_static_class_XWClientSM____cdecl_XWClientSM::getInstance_char_const___unsigned_long_int_]
mov esi, dword [esp + 0x1c]
mov edi, eax
mov eax, dword [sym.NativeMng.dll_class_NativeFCMSWrapper__NativeFCMSWrapper::mNativeFCMSWrapper]
add esp, 8
xor ebx, ebx
mov dword [eax], 0xffffffff
test dword [esi + 0x18], 0x80000
jne 0x1002fa79
push ebx
mov ecx, ebp
call dword [sym.imp.xwmfUI.dll_public:_void___thiscall_XFClientUI::setProgressIndex_int_]
mov eax, dword [esi + 0x18]
xor ecx, ecx
test al, 4
je 0x1002fa87
mov ecx, 4
test al, 0x10
je 0x1002fa91
or ecx, 0x1000
test al, 0x20
je 0x1002fa9b
or ecx, 0x4000
mov edx, dword [esi + 0x14]
and eax, 0x80000
neg eax
sbb eax, eax
not eax
and eax, sym.NativeMng.dll_protected:_static_int___cdecl_NativeFCMSWrapper::ProgressCallback_void___char_const___long_long___int64___long_long___int64___int_
push eax
mov eax, dword [esi + 0x10]
push edx
mov edx, dword [esi + 0xc]
push eax
mov eax, dword [esi + 8]
push edx
mov edx, dword [esi + 4]
push eax
mov eax, dword [esi]
push edx
push ecx
push eax
push 1
push 0
mov ecx, edi
call dword [sym.imp.XecureMacuxCSM.dll_public:_int___thiscall_XWClientSM::verifyFile_int__int__unsigned_long_int__unsigned_long_int__char_const___char_const___char____char____char____int____cdecl___void___char_const___long_long___int64___long_long___int64___int__]
test eax, eax
jne 0x1002fb11
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
cmp byte [edx], 0x30
jne 0x1002fafa
test dword [esi + 0x18], 0x80000
jne 0x1002faf1
push 3
mov ecx, ebp
call dword [sym.imp.xwmfUI.dll_public:_int___thiscall_XFClientUI::setProgressStatus_unsigned_long_int_]
mov ebx, 1
xor eax, eax
jmp 0x1002fb38
test dword [esi + 0x18], 0x80000
jne 0x1002fb0d
push 2
mov ecx, ebp
call dword [sym.imp.xwmfUI.dll_public:_int___thiscall_XFClientUI::setProgressStatus_unsigned_long_int_]
xor eax, eax
jmp 0x1002fb38
cmp eax, 0xffffffff
jne 0x1002fb1d
mov eax, 1
jmp 0x1002fb38
test dword [esi + 0x18], 0x80000
jne 0x1002fb30
push 3
mov ecx, ebp
call dword [sym.imp.xwmfUI.dll_public:_int___thiscall_XFClientUI::setProgressStatus_unsigned_long_int_]
mov eax, 2
lea ebx, [eax - 1]
mov ecx, dword [sym.NativeMng.dll_class_NativeFCMSWrapper__NativeFCMSWrapper::mNativeFCMSWrapper]
mov dword [ecx], eax
mov esi, dword [esi + 0x18]
test esi, 0x200000
jne 0x1002fb57
test ebx, ebx
jne 0x1002fb67
test esi, 0x100000
je 0x1002fb67
test esi, 0x80000
jne 0x1002fb67
mov ecx, ebp
call dword [sym.imp.xwmfUI.dll_public:_void___thiscall_XFClientUI::endProgress_void_]
call dword [sym.imp.XecureMacuxCSM.dll_public:_static_void___cdecl_XWClientSM::removeInstance_void_]
push str.VerifyFileThread_End_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
Function at 0x100325c0
Capabilities:
Delete file

Disassembly:
sub esp, 8
mov edx, dword [esp + 0x10]
push esi
mov eax, edx
push edi
mov edi, ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100325e0
sub eax, esi
push eax
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push edx
mov ecx, edi
call sym.NativeMng.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_MultiByteToWideChar_unsigned_int__wchar_t____int___char___int_
test eax, eax
je 0x10032612
pop edi
or eax, 0xffffffff
pop esi
add esp, 8
ret 0xc
mov eax, dword [esp + 0x1c]
cmp eax, 2
mov esi, dword [esp + 8]
jne 0x10032699
push 0
push esi
call dword [sym.imp.MSVCR80.dll__waccess]
add esp, 8
test eax, eax
push 0
push 0x80
jne 0x10032656
push 3
push eax
push eax
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x1003266d
push eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100326a6
push 2
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x10032687
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._NativeFCMSWrapper__XMF_File_Access__CreateFile_Error__d_
push edi
call sym.NativeMng.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
add esp, 0xc
or edi, 0xffffffff
jmp 0x100326a6
push eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x100326a6
push eax
push esi
call dword [sym.imp.MSVCR80.dll__waccess]
add esp, 8
mov edi, eax
test esi, esi
je 0x100326b4
push esi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
mov eax, edi
pop edi
pop esi
add esp, 8
ret 0xc

Function at 0x100326c0
Capabilities:
Check mutex on windows

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, ecx
call sym.NativeMng.dll_public:_void____thiscall_NativeFCMSWrapper::openFileMap_void_
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
test esi, esi
je 0x100326e2
push esi
mov ecx, edi
call sym.NativeMng.dll_public:_int___thiscall_NativeFCMSWrapper::deleteFileMapInfo_void__
push esi
call ebx
push str.as4pc_fcms_sync
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1003275e
push str.as4pc_fcms_filemap
push 0x4010
push eax
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edi, eax
test edi, edi
jne 0x1003272d
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
push 0x4010
push 0
push 0
push 0xf001f
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x1003271c
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call ebx
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret
mov edi, dword [esp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call ebx
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x10034780
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10043eab
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1005e3c8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], 0
call fcn.10034140
lea ecx, [esi + 0x20]
mov dword [esp + 0x14], 0xffffffff
call fcn.10034140
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x10041218
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1005e3c8]
jne 0x10041222
repz ret
jmp fcn.100417b1

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rdata
mov ebx, 0x408ecc
nop
mov ecx, 0x71482c6c
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
mov ecx, 0x39c55da0
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x5f9370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x5f938e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x622074
push ecx
mov edi, eax
call fcn.0060d198
mov esi, eax
add esp, 8
test esi, esi
jne 0x5f93cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0060d02e
push esi
call fcn.0060cfb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x5fc850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x5fc8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x627720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x5fc8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.0060d1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x5fc8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x627720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x5fc92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.0060e082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x5fc957
mov word [eax], si
add eax, 2
push eax
call fcn.0060e030
add esp, 4
jmp 0x5fc959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x5fc8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x5fc8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x5fcff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret