joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40175c
Capabilities:
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0x2a8]
sub esp, 0x328
mov eax, dword [0x40806c]
xor eax, ebp
mov dword [ebp + 0x2a4], eax
mov eax, dword [ebp + 0x2b0]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
push edi
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp + 0x94]
push ecx
xor ebx, ebx
mov edi, 0x104
push edi
push eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x80], 1
mov byte [ebp - 0x74], bl
mov byte [ebp + 0x19c], bl
mov byte [ebp + 0x94], bl
call esi
mov eax, dword [ebp - 0x78]
cmp eax, ebx
je 0x4017c1
mov byte [eax], bl
lea eax, [ebp + 0x94]
push eax
call fcn.0040120a
pop ecx
test eax, eax
jne 0x401849
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x7c]
lea eax, [ebp + 0x94]
push 0x4064d0
push eax
call fcn.0040112c
add esp, 0x10
inc dword [ebp - 0x7c]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push dword [ebp - 0x78]
lea eax, [ebp + 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebx
lea eax, [ebp + 0x19c]
push eax
push edi
push eax
call esi
lea eax, [ebp + 0x19c]
push eax
call fcn.0040120a
pop ecx
test eax, eax
jne 0x401842
push ebx
lea eax, [ebp + 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x78]
cmp byte [eax], bl
jne 0x4017d2
mov ecx, dword [ebp + 0x2a4]
mov eax, dword [ebp - 0x80]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004059e5
add ebp, 0x2a8
leave
ret

Function at 0x401916
Capabilities:
Parse pe header
Read file via mapping

Disassembly:
push ecx
push ecx
push esi
push edi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push dword [esp + 0x2c]
mov dword [esp + 0x24], esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
je 0x4019b3
push ebx
push ebp
push esi
push esi
push esi
push 2
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, eax
cmp ebx, esi
je 0x401971
push esi
push esi
push esi
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push ebx
mov edi, eax
call ebp
push dword [esp + 0x14]
call ebp
pop ebp
pop ebx
cmp edi, esi
je 0x4019b3
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x4019ac
mov esi, dword [edi + 0x3c]
push 0xf8
add esi, edi
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x4019ac
cmp dword [esi], 0x4550
jne 0x4019ac
mov dword [esp + 8], 1
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
pop ecx
ret
Function at 0x401fa6
Capabilities:
Accept command line arguments

Disassembly:
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
add esi, edi
jmp 0x401ff8
dec esi
cmp byte [esi], 0x2f
jne 0x401ff8
push 0x40653c
push esi
call fcn.00401f2d
pop ecx
pop ecx
test eax, eax
jne 0x401ffe
push str.autoextract
push esi
call fcn.00401f2d
pop ecx
pop ecx
test eax, eax
je 0x401ff8
cmp dword [0x4084b4], 0
jne 0x401ff8
mov dword [0x4084b4], 1
cmp esi, edi
ja 0x401fbd
jmp 0x402001
mov byte [esi], 0
pop edi
pop esi
ret
Function at 0x40349e
Capabilities:
Terminate process

Disassembly:
push edi
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x40bd68], eax
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [0x408088], eax
call fcn.00402004
cmp dword [0x40b3c4], edi
je 0x4034e4
push 0x40bc60
call fcn.0040175c
pop ecx
test eax, eax
jne 0x4034de
push str.Couldnt_create_output_directory.
call fcn.00401038
push edi
call fcn.004028f6
push esi
mov esi, str.Segoe_UI
push esi
call fcn.00401284
pop ecx
test eax, eax
je 0x4034f8
push esi
jmp 0x40350d
mov esi, str.Tahoma
push esi
call fcn.00401284
pop ecx
test eax, eax
jne 0x4034f5
push 0x4068ac
push 0x40bd80
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
push 0x403031
push edi
push 0x66
push dword [0x40bd68]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x403535
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x403543
xor eax, eax
pop ebp
ret
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
je 0x403584
push esi
mov cl, byte [edx]
dec dword [ebp + 0x10]
movzx ecx, cl
mov esi, ecx
xor esi, eax
and esi, 0xf
shr eax, 4
xor eax, dword [esi*4 + 0x406978]
shr ecx, 4
mov esi, eax
and esi, 0xf
xor ecx, esi
shr eax, 4
xor eax, dword [ecx*4 + 0x406978]
inc edx
cmp dword [ebp + 0x10], 0
jne 0x40354f
pop esi
not eax
pop ebp
ret
Function at 0x40510d
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
push ebx
xor ebx, ebx
push esi
push edi
cmp ecx, ebx
je 0x40513b
cmp dword [ecx + 0x38], ebx
je 0x40513b
cmp eax, dword [ecx + 0x10]
jae 0x40513b
cmp dword [ecx + 0x14], 1
jne 0x40513b
mov edx, dword [ecx + 0x38]
mov esi, dword [edx + 0x10]
mov edi, dword [esi + eax*4]
add edi, dword [edx]
jmp 0x40513d
xor edi, edi
cmp edi, ebx
je 0x405225
mov esi, dword [esp + 0x18]
cmp esi, ebx
je 0x405225
mov dword [esi], eax
mov ecx, dword [ecx + 0x38]
mov ecx, dword [ecx + 0x10]
mov eax, dword [ecx + eax*4]
mov dword [esi + 4], eax
mov ax, word [edi + 4]
mov word [esi + 8], ax
mov ax, word [edi + 6]
mov word [esi + 0xa], ax
mov ax, word [edi + 8]
mov word [esi + 0xc], ax
mov ax, word [edi + 0xa]
mov word [esi + 0xe], ax
lea eax, [esi + 0x10]
push eax
movzx eax, word [edi + 0xc]
push eax
movzx eax, word [edi + 0xe]
push eax
call dword [sym.imp.ole32.dll_CoDosDateTimeToFileTime]
mov eax, dword [edi + 0x10]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ebx
mov eax, dword [edi + 0x18]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebx
mov ax, word [edi + 0x24]
mov word [esi + 0x30], ax
mov eax, dword [edi + 0x26]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x2a]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ebx
movzx ebx, word [edi + 0x1c]
mov eax, 0x103
cmp ebx, eax
jb 0x4051d1
mov ebx, eax
push ebx
lea eax, [edi + 0x2e]
push eax
lea eax, [esi + 0x44]
push eax
call fcn.00401894
mov byte [ebx + esi + 0x44], 0
movzx ebx, word [edi + 0x20]
mov eax, 0xff
add esp, 0xc
cmp ebx, eax
jb 0x4051f6
mov ebx, eax
mov dword [esi + 0x40], ebx
movzx eax, word [edi + 0x1e]
movzx ecx, word [edi + 0x1c]
add eax, edi
lea eax, [ecx + eax + 0x2e]
push ebx
push eax
lea eax, [esi + 0x148]
push eax
call fcn.00401894
xor eax, eax
add esp, 0xc
mov byte [ebx + esi + 0x148], 0
inc eax
jmp 0x405227
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x40590c
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x40806c]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a8]
push ebx
mov ebx, dword [ebp + 0x1a4]
push edi
mov edi, dword [ebp + 0x1a0]
push 0
mov dword [ebp - 0x80], eax
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x78]
push eax
push 0x407454
push 1
push 0
push 0x407474
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4059c8
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
lea edx, [ebp - 0x7c]
push edx
push 0x407464
push eax
call dword [ecx]
test eax, eax
jl 0x4059bf
push 0x104
lea eax, [ebp - 0x74]
push eax
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x78]
push dword [ebp - 0x80]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x4059b6
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x74]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp + 0x194]
pop edi
xor ecx, ebp
pop ebx
call fcn.004059e5
add ebp, 0x198
leave
ret

Function at 0x4059e5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40806c]
jne 0x4059ef
repz ret
jmp fcn.00405a2b
Function at 0x401235
Capabilities:
Check for peb beingdebugged flag

Disassembly:
jmp 0x4103a0
push 0xffffffffffffffff
push 0x5b4010
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
xor eax, eax
push esi
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x5cda48
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
push ecx
push eax
push eax
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CGdiObject::Attach
mov esi, dword [esp + 0x30]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_3
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
mov ecx, esi
lea eax, [edi + 2]
push eax
lea eax, [esp + 0x1c]
push ebx
push eax
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 5]
mov ecx, esi
push eax
push ebx
call sub.MFC42.DLL_CDC::LineTo
lea ebp, [edi + 3]
lea eax, [ebx + 1]
push ebp
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 6]
mov ecx, esi
push eax
lea eax, [ebx + 1]
push eax
call sub.MFC42.DLL_CDC::LineTo
lea eax, [edi + 4]
lea ecx, [ebx + 2]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 7]
mov ecx, esi
push eax
lea eax, [ebx + 2]
push eax
call sub.MFC42.DLL_CDC::LineTo
lea eax, [ebx + 3]
push ebp
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 6]
mov ecx, esi
push eax
lea eax, [ebx + 3]
push eax
call sub.MFC42.DLL_CDC::LineTo
lea eax, [edi + 2]
lea ecx, [ebx + 4]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 5]
mov ecx, esi
push eax
lea eax, [ebx + 4]
push eax
call sub.MFC42.DLL_CDC::LineTo
lea ecx, [edi + 1]
lea eax, [ebx + 5]
push ecx
lea edx, [esp + 0x1c]
push eax
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 4]
mov ecx, esi
push eax
lea eax, [ebx + 5]
push eax
call sub.MFC42.DLL_CDC::LineTo
add ebx, 6
push edi
lea eax, [esp + 0x1c]
push ebx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
push ebp
push ebx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_3
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x10], 0x5cda18
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x401514
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x438230
push ebx
mov ecx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x1c]
lea ebx, [esi + 0xa]
push eax
push 0x40
push ebx
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x438285
mov ecx, esi
mov esi, dword [esp + 0x18]
mov edx, ecx
push edi
mov edi, ebp
lea eax, [esp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
push ecx
push ebx
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x40151e
Capabilities:
Get common file path

Disassembly:
jmp 0x430230
mov eax, 0x1004
call fcn.004cf810
mov al, byte [0x66ab2c]
push ebx
mov ebx, 1
push esi
test bl, al
mov dword [esp + 8], 0
jne 0x430273
mov dl, al
mov ecx, 0x66ab28
or dl, bl
mov byte [0x66ab2c], dl
call sub.MFC42.DLL_CString::CString_3
push 0x430340
call fcn.004cf7f4
add esp, 4
mov eax, dword [0x66ab28]
push 0x669668
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x4302d9
push edi
push ebx
lea ecx, [esp + 0x14]
push 0x1a
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov edi, 0x6568b4
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x66ab28
call fcn.004ce8ae
pop edi
mov esi, dword [esp + 0x1010]
push 0x66ab28
mov ecx, esi
call sub.MFC42.DLL_CString::CString_4
mov eax, esi
pop esi
pop ebx
add esp, 0x1004
ret
Function at 0x401537
Capabilities:
Read file on windows

Disassembly:
jmp 0x407eb0
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5b3708
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push 0x65
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ebp, eax
test ebp, ebp
je 0x407feb
mov eax, dword [esp + 0x20]
push 0
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esi + 0x60]
call sub.MFC42.DLL_CListCtrl::GetItemText_1
add esi, 0x1a4
push eax
lea edx, [esp + 0x24]
push esi
push edx
mov dword [esp + 0x24], 0
call sub.MFC42.DLL_operator_4
push str..txt
push eax
lea eax, [esp + 0x10]
mov byte [esp + 0x20], 1
push eax
call sub.MFC42.DLL_operator_3
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 3
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
push 0x656a34
push ecx
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x407f85
push 0x669668
mov ecx, ebp
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
pop ebp
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
push ebx
push edi
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 ebx, eax
call dword [sym.imp.MSVCRT.dll_rewind]
lea edx, [ebx + 1]
push edx
call sub.MFC42.DLL_operatornew
push esi
mov edi, eax
push ebx
push 1
push edi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x28
mov ecx, ebp
mov byte [edi + ebx], 0
push edi
call sub.MFC42.DLL_CWnd::SetWindowTextA
push edi
call dword [sym.imp.MSVCRT.dll_free]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop ebx
mov ecx, dword [esp + 0x10]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x401578
Capabilities:
Read .ini file

Disassembly:
jmp 0x42bb60
push 0xffffffffffffffff
push 0x5b6768
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x14], esi
push eax
push edi
push str.ShowFirstMacro
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov eax, dword [esi + 0xc]
xor ebp, ebp
cmp eax, edi
jle 0x42bdfa
mov ebx, 1
jmp 0x42bbb6
mov esi, dword [esp + 0x14]
xor edi, edi
lea ecx, [esp + 0x18]
call fcn.00474a30
lea ecx, [esp + 0xdc]
mov dword [esp + 0x1b0], edi
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0xe0]
mov byte [esp + 0x1b0], bl
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0xe4]
mov byte [esp + 0x1b0], 2
call fcn.004011fe
mov dword [esp + 0xe4], 0x5cfdc0
mov dword [esp + 0xf8], edi
lea ecx, [esp + 0xfc]
mov byte [esp + 0x1b0], 3
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x110]
mov byte [esp + 0x1b0], 4
call fcn.00401e29
mov dword [esp + 0x110], 0x5cfda8
lea ecx, [esp + 0x164]
mov byte [esp + 0x1b0], 5
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x178]
mov byte [esp + 0x1b0], 6
call sub.MFC42.DLL_CStringArray::CStringArray
push 0xa
lea ecx, [esp + 0x190]
mov byte [esp + 0x1b4], 7
call fcn.00401be5
mov dword [esp + 0xd8], edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x124]
mov dword [esp + 0x18c], 0x5cfd90
mov dword [esp + 0x18], 0x5cfd4c
mov dword [esp + 0x2c], ebx
rep stosd dword es:[edi], eax
push ecx
lea ecx, [esi + 4]
mov eax, esp
mov dword [esp + 0x14], esp
push ebp
push eax
mov dword [esp + 0x1bc], 8
call fcn.004011ae
lea ecx, [esp + 0x1c]
call fcn.004791e0
push ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x14], esp
mov edi, esp
push 0x10
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
je 0x42bd1d
mov dword [esi + 4], 0
mov dword [esi + 8], ebx
mov dword [esi], 0x5ce988
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1b4], 0xa
call dword [edx + 0x1c]
mov dword [esi + 0xc], eax
mov dword [esi + 4], 2
jmp 0x42bd1f
xor esi, esi
mov ecx, dword [esp + 0x1bc]
mov byte [esp + 0x1b4], 8
mov dword [edi], esi
call fcn.0047da40
lea ecx, [esp + 0x18c]
mov dword [esp + 0x1b0], 0x12
call fcn.00401190
lea ecx, [esp + 0x178]
mov byte [esp + 0x1b0], 0x11
call fcn.004cee1e
lea ecx, [esp + 0x164]
mov byte [esp + 0x1b0], 0x10
call fcn.004cee1e
lea ecx, [esp + 0x110]
mov byte [esp + 0x1b0], 0xf
call fcn.00401f00
lea ecx, [esp + 0xfc]
mov byte [esp + 0x1b0], 0xe
call fcn.004cee1e
lea ecx, [esp + 0xe4]
mov byte [esp + 0x1b0], 0xd
call fcn.004026b2
lea ecx, [esp + 0xe0]
mov byte [esp + 0x1b0], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xdc]
mov byte [esp + 0x1b0], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x1b0], 0xffffffff
call fcn.00402603
mov eax, dword [esp + 0x14]
inc ebp
cmp ebp, dword [eax + 0xc]
jl 0x42bbb0
mov ecx, dword [esp + 0x1a8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1a4
ret 4
Function at 0x4015cd
Capabilities:
Delete file

Disassembly:
jmp 0x42c060
push 0xffffffffffffffff
push 0x5b6820
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x28]
push ebp
push esi
push edi
lea eax, [esp + 0x34]
push ebx
mov esi, ecx
push eax
call fcn.0040254a
mov ecx, esp
mov dword [esp + 0x18], esp
push str.plugin.zip
push eax
push ecx
mov dword [esp + 0x40], 0
call sub.MFC42.DLL_operator_3
mov ecx, esi
call fcn.004024c3
or edi, 0xffffffff
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], edi
call sub.MFC42.DLL_CString::CString
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x669668
call sub.MFC42.DLL_CString::CString_1
push ecx
mov dword [esp + 0x38], 1
mov edx, esp
mov dword [esp + 0x28], esp
push str.plugin
push 0x66a790
push edx
call sub.MFC42.DLL_operator_3
lea eax, [esp + 0x40]
mov byte [esp + 0x38], 2
push eax
call fcn.0040254a
mov ecx, esp
mov dword [esp + 0x30], esp
push str.plugin.zip
push eax
push ecx
mov byte [esp + 0x48], 3
call sub.MFC42.DLL_operator_3
mov byte [esp + 0x3c], 4
call fcn.00487e70
add esp, 0x10
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], edi
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x10]
push edx
call fcn.0040254a
add esp, 4
push str.plugin.zip
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x34], 5
push eax
call sub.MFC42.DLL_operator_3
mov eax, dword [eax]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call ebp
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], edi
call sub.MFC42.DLL_CString::CString
push ebx
lea ecx, [esp + 0x38]
push ecx
call fcn.0040254a
mov edx, esp
mov dword [esp + 0x28], esp
push str.mymacro.zip
push eax
push edx
mov dword [esp + 0x40], 6
call sub.MFC42.DLL_operator_3
mov ecx, esi
call fcn.004024c3
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], edi
call sub.MFC42.DLL_CString::CString
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x669668
call sub.MFC42.DLL_CString::CString_1
push ecx
mov dword [esp + 0x38], 7
mov eax, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0040254a
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 8
push ecx
call fcn.0040254a
add esp, 4
mov byte [esp + 0x3c], 9
mov edx, esp
mov dword [esp + 0x20], esp
push str.mymacro.zip
push eax
push edx
call sub.MFC42.DLL_operator_3
mov byte [esp + 0x3c], 0xa
call fcn.00487e70
add esp, 0x10
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], edi
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x18]
push eax
call fcn.0040254a
add esp, 4
push str.mymacro.zip
lea ecx, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x38], 0xb
call sub.MFC42.DLL_operator_3
mov eax, dword [eax]
push eax
call ebp
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], edi
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 4
Function at 0x4018d9
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x415b50
push 0xffffffffffffffff
push 0x5b449b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x5cdaa4
mov eax, dword [esi + 0x30]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], 1
je 0x415be0
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x20]
mov ecx, edx
push ebx
sub eax, ecx
mov ecx, dword [esi + 0x28]
mov ebx, edi
sub ecx, ebx
mov ebx, dword [esi + 0x1c]
cmp esi, ebp
je 0x415ba7
mov ebp, dword [esi + 4]
push 0xcc0020
push edx
push edi
push ebp
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push edi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x18]
pop ebx
test eax, eax
jne 0x415bd1
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x415be6
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x415be6
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
lea edi, [esi + 0x10]
mov dword [esp + 0x10], edi
mov dword [edi], 0x5cda18
mov ecx, edi
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, esi
mov dword [edi], 0x5cd400
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CDC::CDC
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4018de
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
jmp 0x404d30
push 0xffffffffffffffff
push 0x5b31ef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call sub.MFC42.DLL_CWnd::CWnd
xor ebx, ebx
lea ecx, [esi + 0x40]
mov dword [esp + 0x30], ebx
call sub.MFC42.DLL_CString::CString_3
lea edi, [esi + 0x44]
mov byte [esp + 0x30], 1
mov ecx, edi
mov dword [esp + 0x14], edi
call sub.MFC42.DLL_CString::CString_3
lea ecx, [edi + 4]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString_3
mov al, byte [esp + 0xf]
mov cl, byte [esp + 0xf]
mov byte [edi + 0xc], al
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov byte [edi + 0x1c], cl
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x34], ebx
mov ecx, 0x11
mov eax, 0xa
mov dword [esi + 0x7c], 0x5cd3e8
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ecx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], 0x5cd3d0
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ecx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb0], eax
mov byte [esp + 0x30], 5
mov dword [esi], 0x5cd2e8
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
push ebx
push ebx
lea edx, [esp + 0x20]
push eax
push edx
push ebx
push 0x669668
push ebx
mov ecx, esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call sub.MFC42.DLL_CWnd::Create
push ebx
call dword [sym.imp.MSVCRT.dll_time]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 8
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x20]
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret