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

Disassembly:
push 0xffffffffffffffff
push 0x5ac818
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 0x47c1f3
mov eax, dword [esi]
jmp 0x47c1f5
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 0x47c211
push 0x649a68
push edi
push eax
call fcn.004bfdfe
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 0x47c271
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x47c271
mov eax, dword [esi]
test eax, eax
je 0x47c258
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x47c268
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 0x47c330
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ac858
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 0x47c373
mov eax, dword [esi]
jmp 0x47c375
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 0x47c396
push 0x649a68
push edi
push eax
call fcn.004bfdfe
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 0x47c3f6
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x47c3f6
mov eax, dword [esi]
test eax, eax
je 0x47c3dd
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x47c3ed
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 0x47d160
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5acb34
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [esp + 0x34]
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call sub.MFC42.DLL_CString::CString_4
lea eax, [edi + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString_4
lea ecx, [edi + 8]
mov byte [esp + 0x2c], 1
push ecx
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::CString_4
lea edx, [edi + 0xc]
lea ecx, [esi + 0xc]
push edx
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [edi + 0x10]
lea ebx, [esi + 0x18]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
mov ecx, ebx
mov byte [esp + 0x2c], 3
mov dword [esp + 0x34], ebx
call sub.MFC42.DLL_CStringArray::CStringArray
lea edx, [edi + 0x18]
mov ecx, ebx
push edx
mov byte [esp + 0x30], 4
mov dword [ebx], 0x5bdaa0
call sub.MFC42.DLL_CStringArray::Copy
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x5bdaa0
call fcn.004be6be
lea ebx, [esi + 0x2c]
mov byte [esp + 0x2c], 5
mov ecx, ebx
mov dword [esp + 0x34], ebx
call sub.MFC42.DLL_CStringArray::CStringArray
add edi, 0x2c
mov ecx, ebx
push edi
mov byte [esp + 0x30], 6
mov dword [ebx], 0x5bdaa0
call sub.MFC42.DLL_CStringArray::Copy
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x5bdaa0
call fcn.004be6be
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x483040
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5ace1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.004831a0
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x659680
call dword [sym.imp.MSVCRT.dll_public:_void___thiscall_exception::constructor_char_const__const_const__]
mov al, byte [esi]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [esp + 0x24], al
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov edx, dword [ecx]
lea ecx, [esp + 0x24]
push edx
push ebx
push esi
mov byte [esp + 0x48], 1
call dword [sym.imp.MSVCP60.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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, dword [sym.imp.MSVCP60.dll_const_std::runtime_error::vftable]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x4830eb
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4830e2
cmp al, 0xff
je 0x4830e2
dec al
mov byte [ecx], al
jmp 0x4830eb
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.00550880
mov eax, dword [esp + 0x28]
mov ecx, dword [sym.imp.MSVCP60.dll_const_std::runtime_error::vftable]
cmp eax, ebx
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x18], ecx
je 0x483137
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x48312e
cmp al, 0xff
je 0x48312e
dec al
mov byte [ecx], al
jmp 0x483137
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.MSVCRT.dll_public_virtual:_void___thiscall_exception::destructor_void_]
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x4982d0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5aed26
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_3
lea edx, [esp + 0x34]
mov ecx, ebx
push edx
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0x30]
mov byte [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
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 0x4a95e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b06c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CStringArray::CStringArray
xor ebx, ebx
push 0xffffffffffffffff
push 3
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], ebx
call sub.MFC42.DLL_CStringArray::SetSize
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x14]
push eax
push 0x2e
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call sub.MFC42.DLL_CString::CString_1
call fcn.004018c0
mov eax, dword [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0xc]
push eax
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::MakeUpper
mov edx, dword [esp + 0xc]
lea ecx, [esp + 8]
push ecx
push edx
lea ecx, [esi + 0x30c4]
mov dword [esp + 0x10], ebx
call sub.MFC42.DLL_CMapStringToPtr::Lookup
mov eax, dword [esp + 8]
cmp eax, ebx
jne 0x4a9679
xor eax, eax
jmp 0x4a967c
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4a968b
mov dword [esp + 8], ebx
mov esi, dword [esp + 8]
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.004be6be
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 4
Function at 0x4a9c00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b0790
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push 1
push 0x67ad30
lea ecx, [esp + 0x24]
mov dword [esp + 0xc], 0
call sub.MFC42.DLL_CSingleLock::CSingleLock
mov eax, dword [0x67ad14]
mov dword [esp + 0x30], 0
test eax, eax
je 0x4a9dc3
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x4c]
mov bl, 2
jmp 0x4a9c55
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 8]
mov ecx, dword [eax]
test esi, esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], esi
je 0x4a9db3
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x4a9c8b
mov eax, dword [esi + 0x3164]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x4a9db3
lea ebp, [esi + 0x32ec]
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [esi + 4]
push ebp
shl esi, 0x1c
sar esi, 0x1f
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x4a9db3
push 0x659680
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [edi + 4]
mov byte [esp + 0x40], 1
test eax, eax
je 0x4a9d7a
xor esi, esi
mov edx, dword [edi + 4]
lea ecx, [esp + 0x10]
lea eax, [edx + esi*4]
push eax
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x10]
push 0xa
lea edx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0x4c], bl
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x44], 3
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.004a5440
add esp, 8
push 0xa
lea edx, [esp + 0x24]
push eax
push edx
mov byte [esp + 0x4c], 4
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x44], 5
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [edi + 8]
inc esi
dec eax
cmp esi, eax
jbe 0x4a9cd0
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [edx + 0x3120]
call sub.MFC42.DLL_CString::operator_3
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x4c]
inc eax
mov byte [esp + 0x40], 0
mov dword [esp + 0x14], eax
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4a9c51
pop edi
pop esi
pop ebp
pop ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CSingleLock::Unlock
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x34
ret
Function at 0x4aa1f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b0808
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push esi
mov esi, ecx
mov eax, dword [esi + 0x3100]
mov ecx, dword [esi + 0x3104]
mov dx, word [esi + 0x3108]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x310c]
mov dword [esp + 8], ecx
mov cx, word [esi + 0x3110]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x3114]
mov word [esp + 0xc], dx
mov dx, word [esi + 0x3112]
mov word [esp + 0x14], cx
mov ecx, dword [esi + 0x3118]
mov dword [esp + 0x18], eax
mov word [esp + 0x16], dx
mov edx, dword [esi + 0x311c]
lea eax, [esi + 0x3120]
mov dword [esp + 0x1c], ecx
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esi + 0x3124]
mov edx, dword [esi + 0x312c]
mov eax, dword [esi + 0x3128]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x3134]
mov dword [esp + 0x30], edx
mov edx, dword [esi + 0x3138]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
lea ecx, [esi + 0x315c]
xor edx, edx
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x50]
or al, 0xf0
cmp ecx, edx
mov dword [esp + 0x48], edx
mov dword [esp + 4], ecx
mov dword [esp + 0x2c], eax
je 0x4aa2e1
mov eax, dword [esi + 0x3118]
cmp eax, edx
je 0x4aa2db
mov dword [esp + 0x1c], eax
jmp 0x4aa2e5
mov dword [esp + 0x1c], esi
jmp 0x4aa2e5
mov dword [esp + 0x1c], edx
lea edx, [esp + 4]
push edx
call fcn.004a6700
add esp, 4
lea ecx, [esp + 0x24]
mov esi, eax
mov dword [esp + 0x48], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x40]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x48
ret 4
Function at 0x4b0020
Capabilities:
Get common file path
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x1054
call fcn.004bf0b0
mov eax, dword [esp + 0x1060]
push ebx
push ebp
push esi
push edi
lea edi, [ecx + 0x64]
test eax, eax
jne 0x4b003f
lea edi, [ecx + 0x68]
mov eax, dword [esp + 0x106c]
test eax, eax
jne 0x4b00e8
mov eax, dword [edi]
push 0x646a34
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, dword [edi]
push 0x659680
push edi
mov esi, eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 0x10
test eax, eax
je 0x4b01fc
test esi, esi
je 0x4b01fc
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 0x4b00a7
push esi
jmp 0x4b01f3
mov al, byte [esi + 0xc]
mov bl, 0x10
test bl, al
jne 0x4b00e2
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 0x4b00bd
push esi
jmp 0x4b01f3
lea eax, [esp + 0x64]
add ecx, 0x34
push eax
push 0
call fcn.004019ce
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x659680
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x20]
push ecx
call fcn.004b0df0
add esp, 8
mov ecx, eax
call fcn.004019ce
mov esi, dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push eax
call esi
test eax, eax
lea ecx, [esp + 0x10]
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4b0175
lea edx, [esp + 0x64]
push edx
push 0
push 0x659680
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x659680
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x20]
push eax
call fcn.004b0df0
add esp, 8
mov ecx, eax
call fcn.004019ce
push eax
call esi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x64]
push ecx
mov ecx, edi
call fcn.004be14e
mov edi, dword [edi]
push 0x647844
push edi
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4b01fc
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 0x4b01ae
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 0x4b0210
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0dab
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 0x4b027d
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 0x4b0277
lea ecx, [edi + 0x1c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0x18]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x18]
add edi, 0x20
mov dword [ebp - 0x14], edi
jmp 0x4b024a
mov ebx, dword [ebx]
xor eax, eax
jmp 0x4b023b
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 0x659680
mov eax, dword [edi]
push eax
call ebx
add esp, 8
test eax, eax
je 0x4b02bb
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esi + 0x68]
push 0x659680
push eax
call ebx
add esp, 8
test eax, eax
je 0x4b02d7
mov eax, dword [esi + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x659680
mov ecx, edi
call fcn.004be14e
push 0x659680
lea ecx, [esi + 0x34]
call fcn.004be14e
push 0x659680
lea ecx, [esi + 0x20]
call fcn.004be14e
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 0x4b031f
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 0x4b0df0
Capabilities:
Access peb ldr_data
Create directory
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5b0f67
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 [0x67d3b4]
mov ebx, 1
test bl, al
mov dword [esp + 0x24], ebx
jne 0x4b0e47
or al, bl
push 0x659680
mov ecx, 0x67d3b0
mov byte [0x67d3b4], al
call sub.MFC42.DLL_CString::CString_1
push 0x4b0fc0
call fcn.004bf094
add esp, 4
mov eax, dword [0x67d3b0]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x659680
push eax
call esi
add esp, 8
test eax, eax
jne 0x4b0e8b
lea ecx, [esp + 0xc]
push ecx
call fcn.00402545
add esp, 4
push eax
mov ecx, 0x67d3b0
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x30]
push 0x659680
push edx
call esi
add esp, 8
test eax, eax
je 0x4b0f83
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.0040204f
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 0x67d3b0
push edx
mov byte [esp + 0x34], 4
call sub.MFC42.DLL_operator_4
push 0x6468b4
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 sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 7
call sub.MFC42.DLL_CString::CString
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_4
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
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 0x67d3b0
mov ecx, esi
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x30]
mov dword [esp + 0x10], ebx
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x4b6dc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b15f8
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], 0x5d9fe8
call sub.MFC42.DLL_CCmdTarget::EnableAutomation
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x34], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4b7450
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b1660
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x24]
push ebx
push esi
push edi
mov edi, ecx
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString_3
mov bl, 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::TrimRight
push 0x20
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jle 0x4b752b
mov ecx, dword [esp + 0x30]
push 0x20
mov esi, dword [ecx - 8]
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::Find_2
sub esi, eax
lea edx, [esp + 0x10]
dec esi
lea ecx, [esp + 0x30]
push esi
push edx
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
push 0x20
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::Find_2
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
jmp 0x4b7539
push 0x659680
lea ecx, [esp + 0x10]
call fcn.004be14e
push 0
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call sub.MFC42.DLL_CString::CString_4
push ecx
lea eax, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x38], 4
call sub.MFC42.DLL_CString::CString_4
mov edx, dword [edi + 0x24]
push ecx
add edx, 0x30
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x3c], 5
call sub.MFC42.DLL_CString::CString_4
mov byte [esp + 0x38], bl
call fcn.00477710
add esp, 0x10
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 4