joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4038f5
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x4141c4], 0
jne 0x403903
call fcn.004038cb
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
test esi, esi
jbe 0x403930
test cl, 7
je 0x403930
movzx edx, byte [ecx]
movzx edi, al
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x4141c0]
dec esi
inc ecx
jmp 0x403911
cmp esi, 8
jb 0x4039b4
mov edi, esi
shr edi, 3
xor eax, dword [ecx]
add ecx, 8
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4141c0]
sub esi, 8
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4141c0]
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4141c0]
mov edx, eax
movzx eax, dl
mov eax, dword [eax*4 + 0x4141c0]
xor eax, dword [ecx - 4]
shr edx, 8
xor eax, edx
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4141c0]
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4141c0]
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4141c0]
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4141c0]
dec edi
jne 0x40393a
xor edx, edx
test esi, esi
jbe 0x4039d4
push ebx
movzx edi, byte [edx + ecx]
movzx ebx, al
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x4141c0]
inc edx
cmp edx, esi
jb 0x4039bb
pop ebx
pop edi
pop esi
ret 0xc
Function at 0x401820
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov eax, 0x10
mov ebp, esp
push ebx
sub esp, 0x64
and esp, 0xfffffff0
call fcn.00401d80
call sym.___main
call sub.KERNEL32.dll_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call sub.KERNEL32.dll_GetStartupInfoA
sub esp, 4
test ebx, ebx
jne 0x401858
jmp 0x4018f6
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
or eax, edx
test al, 1
jne 0x401857
cmp cl, 0x22
je 0x4018b0
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
je 0x4018d0
lea esi, [esi]
lea edi, [edi]
test cl, cl
je 0x4018d0
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
jne 0x401890
jmp 0x4018d0
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x22
setne al
xor edx, edx
test cl, cl
setne dl
test eax, edx
jne 0x4018b0
cmp cl, 0x22
je 0x401932
lea esi, [esi]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
jmp 0x4018f0
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete dl
cmp cl, 9
sete al
or eax, edx
test al, 1
jne 0x4018e0
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
test byte [ebp - 0x2c], 1
mov edx, 0xa
je 0x401914
movzx edx, word [ebp - 0x28]
mov dword [esp + 8], ebx
xor ebx, ebx
mov dword [esp + 4], ebx
mov dword [esp + 0xc], edx
mov dword [esp], eax
call sym._WinMain_16
sub esp, 0x10
mov ebx, dword [ebp - 4]
leave
ret
inc ebx
movzx ecx, byte [ebx]
jmp 0x4018d0

Function at 0x402050
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.___do_sjlj_init
Function at 0x41d770
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [str.AFX_MFCATLTEST_H__E3D13D29_C7C4_4B72_9935_223E72862D41__INCLUDED]
push esi
xor esi, esi
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
je 0x41d797
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov eax, 1
je 0x41d799
mov eax, esi
pop esi
ret
Function at 0x427940
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45aa80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
xor eax, eax
mov dword [ebp - 0x10], esp
lea edi, [esi + 0x180]
mov dword [ebp - 0x14], esi
cmp edi, eax
mov dword [ebp - 4], eax
je 0x427978
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42798a
mov ecx, edi
call fcn.004306c0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd8]
mov byte [ebp - 4], 1
call fcn.004446c0
call fcn.00444560
jmp 0x4279ad
push 1
mov ecx, esi
mov dword [ebp - 4], 0
call sub.MFC42u.DLL_CDialog::EndDialog
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x60]
mov ecx, 0x4731f0
call fcn.0041cc70
call fcn.00439800
push 0
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, 0x4279d3
ret
Function at 0x427c50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x45ab02
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x350
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov dword [esp + 0x368], 0
call sub.MFC42u.DLL_CString::CString_3
lea eax, [esp + 0x10]
mov ecx, esi
push eax
push 0x3f6
mov byte [esp + 0x370], 1
call sub.MFC42u.DLL_CWnd::GetDlgItemTextW
push 0x46fea4
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::TrimRight
push 0x471c8c
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::TrimRight
push 0x46fe70
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::TrimRight
mov ecx, dword [esp + 0x10]
push esi
push 0
push 0x80004
push ecx
push str.Test
push 0
lea ecx, [esp + 0x38]
call sub.MFC42u.DLL_CFileDialog::CFileDialog
mov byte [esp + 0x368], 2
call fcn.00451800
mov edx, dword [esi + 0x1a0]
push 0
push 0
push 0x147
push edx
mov dword [esp + 0x90], eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea edi, [esi + 0x1ec]
lea ebp, [esi + 0x180]
push edi
push eax
mov ecx, ebp
call sub.MFC42u.DLL_CComboBox::GetLBText
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x427d44
mov eax, dword [edi]
mov dword [esp + 0xac], eax
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CFileDialog::DoModal
lea ecx, [esp + 0x1c]
mov ebx, eax
call sub.MFC42u.DLL_CString::CString_3
cmp ebx, 1
mov byte [esp + 0x368], 3
jne 0x427e05
lea eax, [esp + 0x18]
lea ecx, [esp + 0x20]
push eax
call sub.MFC42u.DLL_CFileDialog::GetPathName
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x36c], 4
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x368], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
push edi
push ecx
call fcn.00450740
lea ebx, [esi + 0x1f0]
lea edx, [esp + 0x1c]
push ebx
push edx
call fcn.004506e0
mov edi, dword [edi]
mov eax, dword [ebp]
add esp, 0x10
mov ecx, ebp
mov dword [esi + 0x1e4], 1
push edi
call dword [eax + 0xd0]
mov ecx, dword [esi + 0x1a0]
push 0
push eax
push 0x14e
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
call fcn.0042a860
mov ebx, dword [ebx]
mov ecx, esi
push ebx
push 0x3f6
call sub.MFC42u.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42u.DLL_CWnd::SetWindowTextW
jmp 0x427e22
cmp ebx, 2
je 0x427e22
push 0x473070
push 0x3f6
mov ecx, esi
call sub.MFC42u.DLL_CWnd::SetDlgItemTextW
mov ecx, esi
call fcn.00427c50
lea ecx, [esp + 0x1c]
mov byte [esp + 0x368], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0xd0]
mov byte [esp + 0x368], 5
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x368], 1
call fcn.00456590
lea ecx, [esp + 0x10]
mov byte [esp + 0x368], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x368], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x360]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x35c
ret
Function at 0x431ad0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45b5e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], ecx
mov edi, dword [ecx + 0x30]
lea esi, [ecx + 0x2c]
xor ebp, ebp
mov ecx, dword [esi + 0xc]
mov eax, dword [edi]
cmp ecx, ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x10], eax
je 0x431b60
mov ecx, eax
cmp eax, ecx
jne 0x431b60
mov ebx, dword [edi + 4]
mov eax, dword [0x4733e4]
cmp ebx, eax
mov edi, ebx
je 0x431b3e
mov eax, dword [edi + 8]
mov ecx, esi
push eax
call fcn.0042db60
mov edi, dword [edi]
push ebx
call sub.MFC42u.DLL_operatordelete
mov eax, dword [0x4733e4]
add esp, 4
cmp edi, eax
mov ebx, edi
jne 0x431b1d
mov ecx, dword [esi + 4]
lea edx, [esp + 0x18]
push edx
mov dword [ecx + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 0xc], ebp
mov ecx, esi
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
call fcn.00406e50
jmp 0x431b84
cmp eax, edi
je 0x431b84
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.0042dba0
lea eax, [esp + 0x1c]
push ebx
push eax
mov ecx, esi
call fcn.0042d760
mov eax, dword [esp + 0x10]
cmp eax, edi
jne 0x431b64
mov ecx, dword [esi + 4]
push ecx
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov dword [esi + 4], ebp
mov dword [esi + 0xc], ebp
lea ecx, [esp + 0x10]
xor esi, esi
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
mov eax, dword [0x4733e0]
dec eax
mov dword [0x4733e0], eax
jne 0x431bbb
mov esi, dword [0x4733e4]
mov dword [0x4733e4], ebp
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp esi, ebp
je 0x431bd2
push esi
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x14]
call fcn.004317d0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x432650
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45b670
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
push edi
call fcn.00432370
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push eax
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
xor ebp, ebp
push ecx
push edx
mov ecx, 0x473498
mov dword [esp + 0x30], ebp
call fcn.00432f70
mov eax, dword [esp + 0x10]
mov ecx, dword [0x47349c]
cmp eax, ecx
je 0x4326c9
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
cmp eax, ebp
jl 0x4326c9
lea eax, [esp + 0x10]
jmp 0x4326d7
mov ecx, dword [0x47349c]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ecx
mov edi, dword [eax]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42u.DLL_CString::CString
cmp edi, dword [0x47349c]
je 0x432819
mov eax, dword [edi + 0x10]
mov ecx, dword [eax]
dec ecx
mov dword [eax], ecx
mov esi, dword [edi + 0x10]
cmp dword [esi], ebp
jne 0x432819
cmp esi, ebp
je 0x43273e
mov ecx, dword [esi + 4]
cmp ecx, ebp
je 0x432735
push ebx
call fcn.00432030
mov ebx, dword [esi + 4]
cmp ebx, ebp
je 0x432731
mov ecx, ebx
call fcn.00431ad0
push ebx
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov dword [esi + 4], ebp
pop ebx
push esi
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x30]
push edx
mov dword [edi + 0x10], ebp
call sub.MFC42u.DLL_CString::CString_4
lea eax, [esp + 0x30]
mov ecx, 0x473498
push eax
mov dword [esp + 0x2c], 1
call fcn.004333c0
lea ecx, [esp + 0x30]
mov edi, eax
push ecx
mov ecx, 0x473498
call fcn.004332b0
mov esi, eax
cmp esi, edi
mov dword [esp + 0x14], esi
je 0x432790
lea ecx, [esp + 0x14]
call fcn.00433470
cmp dword [esp + 0x14], edi
jne 0x432781
mov ecx, dword [0x4734a4]
mov eax, esi
cmp ecx, ebp
mov dword [esp + 0x18], eax
je 0x4327e1
mov ecx, dword [0x47349c]
cmp esi, dword [ecx]
jne 0x4327e1
cmp edi, ecx
jne 0x4327e1
mov edx, dword [ecx + 4]
mov ecx, 0x473498
push edx
call fcn.00432fd0
mov eax, dword [0x47349c]
mov ecx, dword [0x4734dc]
mov dword [eax + 4], ecx
mov eax, dword [0x47349c]
mov dword [0x4734a4], ebp
mov dword [eax], eax
mov eax, dword [0x47349c]
mov dword [eax + 8], eax
jmp 0x432808
cmp esi, edi
je 0x432808
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.00433470
lea edx, [esp + 0x1c]
push esi
push edx
mov ecx, 0x473498
call fcn.00432b60
mov eax, dword [esp + 0x18]
cmp eax, edi
jne 0x4327e5
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42u.DLL_CString::CString
call fcn.00432370
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x441690
Capabilities:
Resume thread

Disassembly:
push 0
push 0
push 0
push 0
push 0
push 0x443290
call sub.MFC42u.DLL_AfxBeginThread_1
mov eax, dword [eax + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
ret
Function at 0x449720
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x45d701
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.MFC42u.DLL_CString::CString_3
xor edi, edi
lea ecx, [esi + 0x50]
mov dword [esp + 0x14], edi
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esi + 0x54]
mov byte [esp + 0x14], 1
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esi + 0x58]
mov byte [esp + 0x14], 2
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esi + 0x5c]
mov byte [esp + 0x14], 3
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esi + 0x60]
mov byte [esp + 0x14], 4
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esi + 0x64]
mov byte [esp + 0x14], 5
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esi + 0x68]
mov byte [esp + 0x14], 6
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esi + 0x6c]
mov byte [esp + 0x14], 7
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esi + 0x70]
mov byte [esp + 0x14], 8
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esi + 0x74]
mov byte [esp + 0x14], 9
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esi + 0x78]
mov byte [esp + 0x14], 0xa
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esi + 0x7c]
mov byte [esp + 0x14], 0xb
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esi + 0x28]
mov dword [esi + 0x18], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x40], edi
xor eax, eax
mov dword [esi + 0x10], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 8], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0xa4], edi
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [esi + 0x48], edi
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0xa8], edi
mov dword [esi + 0xb0], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0xac], edi
mov ecx, dword [esp + 0xc]
mov dword [esi + 0xb8], edi
mov dword [esi + 0xb4], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x44c810
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45decf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov dword [esp + 0xc], esi
lea edi, [esi + 4]
mov dword [esi + 0xac], ebx
mov ecx, edi
mov dword [esp + 0x10], edi
lea eax, [edi + 0x4c]
push eax
call fcn.0044fe30
lea ecx, [edi + 0x48]
mov dword [esp + 0x2c], ebx
call fcn.0044d850
mov dword [esi + 0x84], ebx
mov dword [esp + 0x2c], 1
mov dword [esi + 0xa4], ebx
push ebx
lea ecx, [esi + 0xb0]
mov byte [esp + 0x30], 2
call fcn.00433e10
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, 0x4732cc
mov byte [esp + 0x34], 3
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ebx
call fcn.0044e6b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
pop edi
mov dword [eax + 0x10], esi
mov eax, esi
mov dword [0x4732f8], ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x4505d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45e467
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], 0
call sub.MFC42u.DLL_CString::CString_3
mov ebx, 1
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], ebx
call sub.MFC42u.DLL_CString::CString_3
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0xa]
lea edx, [esp + 0x10]
push ecx
mov eax, dword [eax]
push edx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x20]
push ecx
push edx
push eax
mov byte [esp + 0x38], 2
call sub.MFC42u.DLL_AfxParseURL
test eax, eax
je 0x45064c
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_5
mov dword [esp + 0x14], ebx
jmp 0x450660
mov esi, dword [esp + 0x2c]
push 0x473070
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_4
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call sub.MFC42u.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 0x451390
Capabilities:
Create process on windows
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x45e640
push eax
mov dword fs:[0], esp
sub esp, 0x40
push esi
mov esi, dword [esp + 0x54]
push edi
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or edi, 0xffffffff
cmp eax, edi
je 0x451474
cmp eax, 0x10
je 0x451474
push esi
call fcn.004524d0
add esp, 4
test eax, eax
jne 0x451474
lea ecx, [esp + 0x58]
call sub.MFC42u.DLL_CString::CString_3
lea eax, [esp + 8]
push 0x92
push eax
mov dword [esp + 0x58], 0
call fcn.00450a40
add esp, 8
mov eax, dword [eax]
mov ecx, dword [0x4732c4]
push eax
lea eax, [esp + 0x5c]
mov edx, dword [ecx]
push eax
mov eax, dword [0x473064]
push str.IDS_STRING_READY_TO_RUN
push eax
mov byte [esp + 0x60], 1
call dword [edx + 0x58]
lea ecx, [esp + 8]
mov byte [esp + 0x50], 0
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x58]
push 0x1024
push 0x473070
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
mov dword [esp + 0x50], edi
lea ecx, [esp + 0x58]
je 0x45146f
call sub.MFC42u.DLL_CString::CString
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret
call sub.MFC42u.DLL_CString::CString
mov edx, dword [esi]
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x3c
push eax
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], 4
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [esp + 0x48]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x4c
ret

Function at 0x451510
Capabilities:
Find taskbar

Disassembly:
push 0
push str.Shell_TrayWnd
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
ret
Function at 0x451530
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x45154f
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0xc], ebx
jne 0x451572
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
jne 0x451591
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x400
mov dword [ebp - 8], ecx
jle 0x4515b9
mov edi, dword [ebp + 8]
push 0x473070
mov ecx, edi
call fcn.00456380
jmp 0x451607
mov al, byte [ecx + esi]
push esi
mov byte [ebp - 1], al
mov byte [ecx + esi], 0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
lea eax, [edi + edi]
add eax, 3
and al, 0xfc
call fcn.00456ef0
mov ebx, esp
push edi
push ebx
push 0xffffffffffffffff
push esi
push 0
push 0
mov word [ebx], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, dword [ebp + 8]
push ebx
mov ecx, edi
call fcn.00456380
mov edx, dword [ebp - 8]
mov cl, byte [ebp - 1]
mov ebx, dword [ebp - 0xc]
mov byte [edx + esi], cl
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0x471c90
mov ecx, edi
call sub.MFC42u.DLL_CString::TrimRight
push 0x46fea4
mov ecx, edi
call sub.MFC42u.DLL_CString::TrimRight
push 0x471c8c
mov ecx, edi
call sub.MFC42u.DLL_CString::TrimRight
push 0x46fe70
mov ecx, edi
call sub.MFC42u.DLL_CString::TrimRight
lea esp, [ebp - 0x18]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4522f0
Capabilities:
Get disk size

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, dword [esp + 0x24]
xor esi, esi
push esi
push 0x472b2c
mov ecx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
call sub.MFC42u.DLL_CString::Find
cmp eax, esi
jle 0x452355
inc eax
mov ecx, edi
push eax
lea eax, [esp + 0x28]
push eax
call sub.MFC42u.DLL_CString::Left
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x1c]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
lea ecx, [esp + 0x24]
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
pop edi
pop esi
add esp, 0x18
ret
Function at 0x452420
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45e767
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.MFC42u.DLL_CString::CString_3
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x2c]
push eax
push ecx
mov dword [esp + 0x1c], 1
call fcn.00450a40
add esp, 8
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
push eax
lea eax, [esp + 8]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x30]
mov byte [esp + 0x1c], 2
push eax
mov eax, dword [esp + 0x30]
push eax
call dword [edx + 0x58]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x14], 1
call sub.MFC42u.DLL_CString::CString
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_5
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret