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

Disassembly:
push 0xffffffffffffffff
push 0x448063
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x66c
push edi
mov edi, ecx
lea ecx, [esp + 4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push str..bin
lea eax, [esp + 8]
push eax
lea ecx, [edi + 4]
push 0x450e14
push ecx
mov dword [esp + 0x688], 0
call fcn.0040ea00
add esp, 0x10
lea ecx, [esp + 8]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov byte [esp + 0x678], 1
call fcn.00409a00
push eax
lea ecx, [esp + 0xc]
call dword [0x450374]
lea ecx, [esp + 4]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetString]
push eax
lea ecx, [esp + 0xc]
call dword [0x450374]
lea ecx, [esp + 0x24]
call fcn.0040f390
push 0x200
push str.AnimContainer
lea ecx, [esp + 0x2c]
mov byte [esp + 0x680], 2
call fcn.0040f3d0
push 0
lea ecx, [esp + 0xc]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push 1
lea ecx, [esp + 0x30]
call fcn.0040f470
test eax, eax
lea ecx, [esp + 0x24]
jne 0x407bcd
mov byte [esp + 0x678], 1
call fcn.0040f150
lea ecx, [esp + 8]
mov byte [esp + 0x678], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 4]
call dword [0x45017c]
mov eax, 0x80004005
pop edi
mov ecx, dword [esp + 0x66c]
mov dword fs:[0], ecx
add esp, 0x678
ret
mov eax, dword [edi + 0x350]
mov edx, dword [esp + 0x24]
push ebp
push esi
push eax
mov dword [esp + 0x3c], 0x13
call dword [edx + 0x68]
mov ebp, dword [edi + 0x34c]
mov esi, dword [ebp]
cmp esi, ebp
je 0x407c05
mov ecx, dword [esi + 8]
lea eax, [esp + 0x2c]
push eax
call fcn.004079d0
mov esi, dword [esi]
cmp esi, ebp
jne 0x407bf2
mov eax, dword [edi + 0x344]
mov edx, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x30]
call dword [edx + 0x68]
mov edi, dword [edi + 0x340]
mov esi, dword [edi]
cmp esi, edi
je 0x407c36
mov ecx, dword [esi + 8]
lea eax, [esp + 0x2c]
push eax
call fcn.004079d0
mov esi, dword [esi]
cmp esi, edi
jne 0x407c23
lea ecx, [esp + 0x2c]
mov byte [esp + 0x680], 1
call fcn.0040f150
lea ecx, [esp + 0x10]
mov byte [esp + 0x680], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xc]
call dword [0x45017c]
mov ecx, dword [esp + 0x678]
pop esi
pop ebp
xor eax, eax
pop edi
mov dword fs:[0], ecx
add esp, 0x678
ret
Function at 0x40e380
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4497f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov ecx, dword [esp + 0x30]
test ecx, ecx
mov dword [esp + 0xc], 0
je 0x40e3e6
mov eax, dword [ecx + 4]
mov edx, dword [eax]
push esi
push edi
lea esi, [ecx + 4]
push eax
push edx
lea eax, [esp + 0x10]
push eax
mov edi, ecx
call fcn.0040deb0
mov eax, dword [esi]
push eax
call sub.MFC71.DLL_operator_delete_1
push edi
mov dword [esi], 0
mov dword [edi + 8], 0
call sub.MFC71.DLL_operator_delete_1
add esp, 8
pop edi
mov dword [esp + 0x34], 0
pop esi
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 0x20

Function at 0x40f910
Capabilities:
Hash data using sha256

Disassembly:
mov eax, ecx
xor ecx, ecx
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
ret
Function at 0x413100
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4499ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
lea ebp, [esi + 0x1174]
mov ecx, ebp
mov dword [esp + 0xc], esi
mov dword [esi], 0x456720
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], 6
mov dword [esi + 0x24], 0x16
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
call fcn.00412c50
mov dword [ebp + 4], eax
mov byte [eax + 0xe], 1
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
mov dword [eax], eax
mov eax, dword [ebp + 4]
mov dword [eax + 8], eax
mov dword [ebp + 8], edi
lea ebp, [esi + 0x1198]
mov ecx, ebp
mov dword [esp + 0x18], edi
call fcn.00412c50
mov dword [ebp + 4], eax
mov ecx, dword [esp + 0x10]
mov byte [eax + 0xe], 1
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
mov dword [eax], eax
mov eax, dword [ebp + 4]
mov dword [eax + 8], eax
mov dword [ebp + 8], edi
mov dword [esi + 0x11c8], edi
mov dword [esi + 0x11cc], edi
mov dword [esi + 0x11d0], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41f9f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x449d89
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
push 0x8b2490
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [esp + 0x34]
mov edx, dword [esi + 0x44]
mov eax, dword [esp + 0x38]
mov edi, dword [esi + 0x48]
inc edx
push eax
lea ecx, [esp + 0xc]
mov dword [esi + 0x44], edx
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 8]
push ecx
mov ecx, 0x8b25d8
mov dword [esp + 0x30], 0
call fcn.0041f6b0
lea ecx, [esp + 8]
mov dword [eax], esi
mov dword [esp + 0x2c], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0x8b2490
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x24]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x420ce0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x449e29
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
mov ecx, esi
mov dword [esp + 8], edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetManager]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
push edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::StringLength]
add esp, 4
push eax
push edi
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Concatenate]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 8]
call dword [0x45017c]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x426bc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x48
cmp eax, 1
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x80], 0
jne 0x426d42
mov edi, dword [esp + 0x5c]
test edi, edi
jne 0x426bfa
pop edi
pop esi
pop ebp
mov eax, 0x80070057
pop ebx
add esp, 0x48
ret 0xc
mov eax, dword [ebx]
test eax, eax
je 0x426c0f
push eax
call sub.MFC71.DLL_operator_delete
add esp, 4
mov dword [ebx], 0
mov esi, dword [sym.imp.WINMM.dll_mmioOpenA]
push 0
push 0
push edi
call esi
test eax, eax
mov dword [ebx + 4], eax
je 0x426d5b
push 0
push eax
call dword [sym.imp.WINMM.dll_mmioClose]
push 0x10000
push 0
push edi
call esi
test eax, eax
mov dword [ebx + 4], eax
jne 0x426d02
mov ebp, dword [sym.imp.KERNEL32.dll_FindResourceA]
push str.WAVE
push edi
push eax
call ebp
mov esi, eax
test esi, esi
jne 0x426c6d
push 0x458114
push edi
push eax
call ebp
mov esi, eax
test esi, esi
je 0x426d5b
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x426d5b
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test ebp, ebp
je 0x426d5b
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x426d5b
push ebp
call sub.MFC71.DLL_operator_new_1
mov dword [ebx + 0x90], eax
mov edi, eax
mov ecx, ebp
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
add esp, 4
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x10]
mov ecx, 0x48
mov edi, edi
mov byte [eax], 0
inc eax
dec ecx
jne 0x426cd0
mov ecx, dword [ebx + 0x90]
push 0x10000
lea edx, [esp + 0x14]
push edx
push 0
mov dword [esp + 0x20], 0x204d454d
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ecx
call dword [sym.imp.WINMM.dll_mmioOpenA]
mov dword [ebx + 4], eax
mov ecx, ebx
call fcn.004263a0
mov esi, eax
test esi, esi
jge 0x426d27
mov eax, dword [ebx + 4]
push 0
push eax
call dword [sym.imp.WINMM.dll_mmioClose]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 0xc
mov ecx, ebx
call fcn.00426520
test eax, eax
jl 0x426d9b
mov ecx, dword [ebx + 0xc]
pop edi
pop esi
pop ebp
mov dword [ebx + 0x30], ecx
pop ebx
add esp, 0x48
ret 0xc
mov edx, dword [esp + 0x5c]
push 0x11002
push 0
push edx
call dword [sym.imp.WINMM.dll_mmioOpenA]
test eax, eax
mov dword [ebx + 4], eax
jne 0x426d6a
pop edi
pop esi
pop ebp
mov eax, 0x80004005
pop ebx
add esp, 0x48
ret 0xc
mov eax, dword [esp + 0x60]
push eax
mov ecx, ebx
call fcn.00426850
mov esi, eax
test esi, esi
jge 0x426d94
mov ecx, dword [ebx + 4]
push 0
push ecx
call dword [sym.imp.WINMM.dll_mmioClose]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 0xc
mov ecx, ebx
call fcn.00426520
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 0xc
Function at 0x44402d
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x470898
call fcn.00444640
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x44406d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44406d
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x444085
cmp eax, 0x20b
je 0x444072
mov dword [ebp - 0x1c], ebx
jmp 0x444099
cmp dword [ecx + 0x84], 0xe
jbe 0x44406d
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x444093
cmp dword [ecx + 0x74], 0xe
jbe 0x44406d
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x1f4b2f4], 0xffffffff
or dword [0x1f4b2f8], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x1f4aea8]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x1f4aea4]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1f4b2f0], eax
call fcn.0044473e
call fcn.004447de
cmp dword [0x4a69a0], ebx
jne 0x4440f9
push fcn.004447de
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.004447cc
push 0x47749c
push 0x477498
call sub.MSVCR71.dll__initterm
push 0x444782
call fcn.00443eb5
mov eax, dword [0x1f4aea0]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x1f4ae9c]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jge 0x44414d
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x477494
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x24], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x4441cb
cmp al, bl
je 0x444177
cmp dword [ebp - 0x20], ebx
jne 0x4441cb
mov al, byte [esi]
cmp al, bl
je 0x444187
cmp al, 0x20
ja 0x444187
inc esi
mov dword [ebp - 0x24], esi
jmp 0x444177
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x58], 1
je 0x4441a3
movzx eax, word [ebp - 0x54]
jmp 0x4441a6
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.004475f1
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], ebx
jne 0x4441c3
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x444220
cmp al, 0x22
jne 0x4441da
xor ecx, ecx
cmp dword [ebp - 0x20], ebx
sete cl
mov dword [ebp - 0x20], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR71.dll__ismbblead]
pop ecx
test eax, eax
je 0x4441ed
inc esi
mov dword [ebp - 0x24], esi
inc esi
jmp 0x444165
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0044467b
ret
Function at 0x41c083
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
cmp dword [0x44073c], 0
push ebx
push esi
push edi
mov ebx, 0x400
jne 0x41c0ce
push 0x64
lea eax, [ebp - 0x12c]
push eax
push 0xf
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ax, word [ebp - 0x12c]
mov word [0x461ce8], ax
xor eax, eax
mov word [0x461cea], ax
mov dword [0x44073c], 0x461ce8
push 0x32
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004117e3
mov edi, dword [ebp + 0x10]
xor eax, eax
mov esi, dword [ebp + 0x14]
push esi
push edi
push 0x44072c
mov word [edi], ax
lea eax, [ebp - 0x64]
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
xor eax, eax
mov word [edi + esi*2 - 2], ax
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x41c39e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x200c
call fcn.0041ffc0
cmp byte [0x453898], 0
je 0x41c44c
push 0x800
lea eax, [ebp - 0x200c]
push eax
push dword [ebp + 8]
call fcn.0041d824
lea eax, [ebp - 8]
push eax
push 1
push 0
push str.SoftwarePacker_EXE
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41c44c
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x1000
push eax
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x200c]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41c443
mov eax, dword [ebp - 4]
mov ecx, 0x7ff
shr eax, 1
mov dword [ebp - 4], eax
cmp eax, ecx
jb 0x41c427
mov eax, ecx
push dword [ebp + 0xc]
xor ecx, ecx
mov word [ebp + eax*2 - 0x100c], cx
lea eax, [ebp - 0x100c]
push eax
push dword [ebp + 8]
call fcn.00411928
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret 8
Function at 0x41eb33
Capabilities:
Hide graphical window

Disassembly:
and dword [0x45188c], 0
push 1
push dword [esp + 8]
mov byte [0x44a46d], 1
mov byte [0x44a46e], 1
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 2
push dword [esp + 0xc]
call fcn.004012b3
cmp dword [0x461cd4], 0
jne 0x41eb73
cmp byte [0x44a47b], 0
je 0x41eb7c
cmp dword [0x44a474], 0
jne 0x41eb8f
push 0
push 1
push 0x111
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
ret 4

Function at 0x41ec8b
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0041ffc0
cmp byte [0x453898], 0
je 0x41ed1a
cmp word [0x45389a], 0
je 0x41ed1a
push esi
push 0x800
lea eax, [ebp - 0x1008]
push eax
push 0x45389a
call fcn.0041d824
lea eax, [ebp - 8]
xor esi, esi
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push str.SoftwarePacker_EXE
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41ed19
push dword [ebp + 8]
call fcn.00424f93
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x1008]
push 1
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret 4

Function at 0x41ed1e
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2000
call fcn.0041ffc0
push esi
push dword [ebp + 8]
push str.sfxcmd
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0x1000
lea eax, [ebp - 0x2000]
push eax
push dword [ebp + 8]
call fcn.00411697
mov esi, eax
test esi, esi
je 0x41ed76
movzx ecx, word [esi]
push ecx
jmp 0x41ed61
add esi, 2
movzx eax, word [esi]
push eax
call fcn.004117b3
test al, al
jne 0x41ed5a
push esi
push str.sfxpar
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
pop esi
leave
ret 4
Function at 0x7cd892f6
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7cd81ef8
push 0x7ce2c828
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ecx
sub esp, 0x110
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov ebx, ecx
mov eax, dword [ebp + 0x18]
and dword [eax], 0
xor ecx, ecx
mov edi, dword [ebp + 8]
mov eax, edi
add eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
mov edx, esi
adc edx, ecx
mov dword [ebp - 0x124], edx
jne 0x7cd89358
cmp eax, 0x7fffffff
jae 0x7cd89358
mov eax, dword [ebp + 0x14]
add eax, edi
push eax
mov ecx, ebx
call fcn.7ce0cfea
jmp 0x7cd89361
push 1
mov ecx, ebx
call fcn.7ce0bfc6
mov ecx, ebx
call fcn.7ce0cf90
test eax, eax
je 0x7cd89417
and dword [ebp - 4], 0
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebx + 0x5c]
mov edx, dword [ebp + 8]
add edi, edx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or dword [ebp - 4], 0xffffffff
mov ecx, eax
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
xor esi, esi
cmp dword [ebx + 0x1c], esi
je 0x7cd893b5
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xf80]
mov eax, dword [eax]
add eax, dword [ebx + 0x1c]
jmp 0x7cd893b7
xor eax, eax
or dword [eax + 0x2c], 8
cmp dword [ebx + 0x1c], esi
je 0x7cd893d3
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xf80]
mov eax, dword [eax]
add eax, dword [ebx + 0x1c]
jmp 0x7cd893d5
xor eax, eax
add ecx, edx
cmp dword [eax + 0x24], ecx
jae 0x7cd894b2
cmp dword [ebx + 0x1c], esi
je 0x7cd893f8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xf80]
mov eax, dword [eax]
add eax, dword [ebx + 0x1c]
jmp 0x7cd893fa
xor eax, eax
mov dword [eax + 0x24], ecx
jmp 0x7cd894b2
push esi
push edi
mov ecx, ebx
call fcn.7ce0cf14
test eax, eax
jne 0x7cd89433
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], esi
and dword [ebp - 0x24], eax
lea eax, [ebp - 0x34]
push eax
jmp 0x7cd89435
push 0
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebx + 0x24]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x7cd89459
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.7ce3959e
jmp 0x7cd894b4
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
xor ecx, ecx
mov edx, edi
add edx, eax
adc esi, ecx
push esi
push edx
mov ecx, ebx
call fcn.7ce0cec7
cmp dword [ebx + 0x1c], 0
je 0x7cd89488
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xf80]
mov eax, dword [eax]
add eax, dword [ebx + 0x1c]
jmp 0x7cd8948a
xor eax, eax
mov ecx, dword [ebp + 0x14]
add edi, ecx
cmp dword [eax + 0x24], edi
jae 0x7cd894b2
cmp dword [ebx + 0x1c], 0
je 0x7cd894ad
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xf80]
mov eax, dword [eax]
add eax, dword [ebx + 0x1c]
jmp 0x7cd894af
xor eax, eax
mov dword [eax + 0x24], edi
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x7cd8c2b0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
lea ecx, [edx + 4]
mov dx, word [edx]
shr dx, 1
je 0x7cd8c2cf
movzx edx, dx
shl eax, 8
xor eax, dword [ecx]
add ecx, 4
dec edx
jne 0x7cd8c2c4
ret 4

Function at 0x7cd8ea4b
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jbe 0x7cd8ea75
mov ecx, dword [esp + 8]
push edi
movzx edx, byte [ecx]
lea eax, [eax + eax*2]
mov edi, 0xfb
xor eax, edx
xor edx, edx
div edi
inc ecx
dec esi
mov eax, edx
jne 0x7cd8ea5d
pop edi
pop esi
ret 0xc

Function at 0x7cd937cd
Capabilities:
Open clipboard

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
xor ebx, ebx
test edi, edi
jne 0x7cd937ee
push 1
call fcn.7cd93754
mov edi, eax
test edi, edi
jne 0x7cd937ee
mov ebx, 0x80004005
jmp 0x7cd9380e
mov esi, dword [sym.imp.USER32.dll_OpenClipboard]
push edi
call esi
test eax, eax
jne 0x7cd9380e
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call esi
test eax, eax
jne 0x7cd9380e
mov ebx, 0x800401d0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x7cd93818
mov dword [eax], edi
pop edi
mov eax, ebx
pop esi
pop ebx
ret 8
Function at 0x7cd93820
Capabilities:
Delete file

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
xor ebp, ebp
cmp esi, ebp
je 0x7cd93918
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 0xc
push esi
call ebx
test eax, eax
jne 0x7cd93918
cmp dword [esi + 8], ebp
push edi
setne al
mov edi, eax
mov eax, dword [esi]
cmp eax, 8
ja 0x7cd93890
je 0x7cd93874
sub eax, ebp
je 0x7cd938f8
dec eax
je 0x7cd93948
dec eax
je 0x7cd9391e
dec eax
dec eax
jne 0x7cd938f8
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x7cd938f8
push eax
call sym.ole32.dll_IsValidInterface
test eax, eax
je 0x7cd938f8
mov eax, dword [esi + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x7cd938f8
cmp eax, 0x10
je 0x7cd938e6
cmp eax, 0x20
je 0x7cd938b3
cmp eax, 0x40
jne 0x7cd938f8
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x7cd938f8
cmp edi, ebp
jne 0x7cd938f8
push eax
call dword [sym.imp.GDI32.dll_DeleteEnhMetaFile]
jmp 0x7cd938f8
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x7cd938f8
cmp edi, ebp
jne 0x7cd938f8
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebp
je 0x7cd938f8
push dword [eax + 0xc]
call dword [sym.imp.GDI32.dll_DeleteMetaFile]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x7cd938f8
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x7cd938f8
cmp edi, ebp
jne 0x7cd938f8
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 8]
cmp eax, ebp
je 0x7cd93915
push eax
call sym.ole32.dll_IsValidInterface
test eax, eax
je 0x7cd93912
mov eax, dword [esi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [esi + 8], ebp
mov dword [esi], ebp
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x7cd938f8
push 1
push eax
call ebx
test eax, eax
jne 0x7cd938f8
cmp edi, ebp
jne 0x7cd9393b
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [esi + 4]
call sym.ole32.dll_CoTaskMemFree
mov dword [esi + 4], ebp
jmp 0x7cd938f8
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x7cd938f8
cmp edi, ebp
jne 0x7cd938f8
push eax
jmp 0x7cd938de