joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ea38
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40eb0d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x40eb28
push ebx
push 0x40eb38
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.0040513c
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00403250
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404d24
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x40eab8
mov al, 0x6a
call fcn.0040e658
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.0040ea0c
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x40eac1
call fcn.0040ea0c
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40eb14
lea eax, [ebp - 4]
call fcn.00404c88
ret

Function at 0x40ec28
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40ecf3
jmp 0x40ece7
cmp dword [esi + 0x10], 0x1000
jne 0x40ecd3
test byte [esi + 0x15], 1
jne 0x40ecd3
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x40ec84
cmp ebp, 2
je 0x40ec84
cmp ebp, 0x10
je 0x40ec84
cmp ebp, 0x20
jne 0x40eca0
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x40eca0
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x40ecb1
mov eax, dword [esi]
add eax, ebx
call fcn.0040ec20
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x40eca4
cmp byte [esp + 4], 0
je 0x40ecd3
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40ecf3
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x40ec59
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x440d8f
Capabilities:
Encode data using xor

Disassembly:
sub al, al
pushal
push 0x12daacbd
cmp dh, bl
repne scasb al, byte es:[edi]
push edi
jmp 0x440274
Function at 0x410e73
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419510]
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.0040af16
and dword [ebp - 0x14], 0
cmp dword [0x816090], 0
mov dword [ebp - 0x18], eax
jne 0x410f26
push 0x4038cc
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x410fce
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4038c0
push ebx
call edi
test eax, eax
je 0x410fce
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4038b0
push ebx
mov dword [0x816090], eax
call edi
push eax
call esi
push 0x40389c
push ebx
mov dword [0x816094], eax
call edi
push eax
call esi
push 0x403880
push ebx
mov dword [0x816098], eax
call edi
push eax
call esi
mov dword [0x8160a0], eax
test eax, eax
je 0x410f26
push 0x403868
push ebx
call edi
push eax
call esi
mov dword [0x81609c], eax
mov eax, dword [0x81609c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x410f7f
cmp dword [0x8160a0], ecx
je 0x410f7f
push eax
call esi
push dword [0x8160a0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x410f7f
test ebx, ebx
je 0x410f7f
call edi
test eax, eax
je 0x410f76
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x410f76
test byte [ebp - 8], 1
jne 0x410f7f
or dword [ebp + 0x10], 0x200000
jmp 0x410fb2
mov eax, dword [0x816094]
cmp eax, dword [ebp - 0x18]
je 0x410fb2
push eax
call esi
test eax, eax
je 0x410fb2
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x410fb2
mov eax, dword [0x816098]
cmp eax, dword [ebp - 0x18]
je 0x410fb2
push eax
call esi
test eax, eax
je 0x410fb2
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x816090]
call esi
test eax, eax
je 0x410fce
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x410fd0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408b51
leave
ret
Function at 0x4135f0
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
mov eax, 0x100c
call fcn.004119e0
cmp dword [0xb99e2c], 0x37
jne 0x41368a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
push 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
lea eax, [esp + 0x810]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov ecx, dword [0xb9ae20]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x81ae7c]
mov byte [ecx + esi], al
add esp, 0x100c
ret
Function at 0x413910
Capabilities:
Accept command line arguments
Enumerate files on windows
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0xb99e2c]
sub esp, 0x974
push ebx
push ebp
push esi
mov esi, dword [0x81ae7c]
push edi
shr eax, 3
xor edi, edi
cmp eax, edi
jbe 0x413b0f
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], eax
jmp 0x413946
mov esi, dword [esp + 0x20]
xor edi, edi
cmp dword [0xb99e2c], 0x1c
jne 0x41395d
lea eax, [esp + 0x38]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov edx, dword [0x811cf8]
mov ebx, dword [0x811d00]
mov ebp, dword [0x811d04]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x811cfc]
mov dword [esp + 0x18], eax
mov esi, 0xc6ef3720
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], 0x20
jmp 0x4139a6
mov eax, dword [esp + 0x18]
xor edi, edi
mov edx, eax
shr edx, 5
add edx, ebp
mov ecx, eax
shl ecx, 4
mov dword [esp + 0x1c], edx
add ecx, ebx
lea edx, [esi + eax]
xor ecx, edx
mov dword [esp + 0x10], ecx
mov dword [0xb99d9c], edi
mov eax, dword [esp + 0x1c]
add dword [0xb99d9c], eax
mov eax, dword [0xb99d9c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x34]
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
sub dword [esp + 0x14], eax
mov edx, dword [esp + 0x14]
shl edx, 4
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x30]
add dword [esp + 0x10], eax
cmp dword [0xb99e2c], 0x1be
mov eax, dword [esp + 0x14]
lea edi, [esi + eax]
jne 0x413a3d
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov eax, dword [esp + 0x14]
shr eax, 5
add eax, dword [esp + 0x2c]
cmp dword [0xb99e2c], 0x979
mov dword [0xb99da0], 0xff6b3619
mov dword [0xb99da4], 0xffffffff
mov dword [esp + 0x1c], eax
jne 0x413a87
push 0
lea ecx, [esp + 0x184]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameW]
lea edx, [esp + 0x40]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
xor dword [esp + 0x10], edi
mov eax, dword [esp + 0x1c]
xor dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
sub dword [esp + 0x18], eax
mov eax, dword [0xb99e2c]
cmp eax, 0x93
je 0x413aad
add esi, 0x61c88647
dec dword [esp + 0x28]
jne 0x4139a0
cmp eax, 0x8d4
jne 0x413ac4
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esi], eax
mov dword [esi + 4], ecx
cmp dword [0xb99e2c], 0x17
jne 0x413afe
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea edx, [esp + 0x40]
push edx
push 0x404070
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
add esi, 8
dec dword [esp + 0x24]
mov dword [esp + 0x20], esi
jne 0x413940
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x974
ret
Function at 0x421f30
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00421cb0

Function at 0x432ff0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00432e6f

Function at 0x419d30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x410015
lea edi, [esi - 0xf015]
push edi
or ebp, 0xffffffff
jmp 0x419d52
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419d59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419d48
mov eax, 1
add ebx, ebx
jne 0x419d6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419d60
jne 0x419d7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419d60
xor ecx, ecx
sub eax, 3
jb 0x419d90
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419e02
mov ebp, eax
add ebx, ebx
jne 0x419d9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419da8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x419dcc
inc ecx
add ebx, ebx
jne 0x419db8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x419dad
jne 0x419dc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419dad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x419dec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x419ddd
jmp 0x419d4e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x419dec
add edi, ecx
jmp 0x419d4e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x419e0a
cmp byte [edi], 5
jne 0x419e0a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x419e0f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x419e87
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x419e3c
mov ecx, edi
jns 0x419e6b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19090]
or eax, eax
je 0x419e81
mov dword [ebx], eax
add ebx, 4
jmp 0x419e59
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x419ebb
sub esp, 0xffffff80
jmp 0x404c20
Function at 0xfe9e30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x90d000]
push edi
or ebp, 0xffffffff
jmp 0xfe9e52
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xfe9e59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xfe9e48
mov eax, 1
add ebx, ebx
jne 0xfe9e6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xfe9e7c
jne 0xfe9e9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xfe9e9b
dec eax
add ebx, ebx
jne 0xfe9e88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xfe9e60
add ebx, ebx
jne 0xfe9e97
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xfe9eed
xor ecx, ecx
sub eax, 3
jb 0xfe9eb3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xfe9f22
sar eax, 1
mov ebp, eax
jmp 0xfe9ebe
add ebx, ebx
jne 0xfe9ebe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xfe9e8c
inc ecx
add ebx, ebx
jne 0xfe9ecc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xfe9e8c
add ebx, ebx
jne 0xfe9ed9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xfe9ece
jne 0xfe9eea
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xfe9ece
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xfe9f0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xfe9efe
jmp 0xfe9e4e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xfe9f0c
add edi, ecx
jmp 0xfe9e4e
pop esi
mov edi, esi
mov ecx, 0x98f9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xfe9f2a
cmp byte [edi], 0x64
jne 0xfe9f2a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0xfe9f2f
lea edi, [esi + 0xbe5000]
mov eax, dword [edi]
or eax, eax
je 0xfe9f9e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xbf9168]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xbf9270]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xfe9f5c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xbf9278]
or eax, eax
je 0xfe9f98
mov dword [ebx], eax
add ebx, 4
jmp 0xfe9f79
call dword [esi + 0xbf9274]
mov ebp, dword [esi + 0xbf927c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xfe9fd2
sub esp, 0xffffff80
jmp 0x605558

Function at 0x408908
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x4085d8
mov esi, dword [esp]
add esp, 4
inc edi
add edi, 0xcfd89bb4
call fcn.0040893d
xor dword [ecx], esi
and eax, eax
inc ecx
dec eax
cmp ecx, edx
jne fcn.00408908
sub eax, 0x4bf7a9da
add edi, 0x4a4768fe
ret
Function at 0x43b647
Capabilities:
Encode data using xor

Disassembly:
push 0x43b3c1
pop edi
and esi, esi
call fcn.0043b67c
add esi, 0x59df4869
sub esi, 0x7f7fa8c6
xor dword [edx], edi
push eax
pop esi
sub eax, esi
sub esi, 0x6c4718e1
inc edx
or esi, eax
inc eax
cmp edx, ecx
jne fcn.0043b647
and esi, esi
sub eax, eax
or esi, eax
ret
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x40288e
pop dword [ebp - 0x10]
mov eax, 0xc5b553dd
add eax, 0x3a8ad4b1
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x650b5105
sub dword [ebp - 0x20], 0x16b90bba
mov dword [ebp - 0x1c], 0xa058b0c4
sub dword [ebp - 0x1c], 0x6e25647f
mov dword [ebp - 0x18], 0x7222518e
add dword [ebp - 0x18], 0xda29f2a0
mov dword [ebp - 0x14], 0x124f4ce1
sub dword [ebp - 0x14], 0x124f4ce1
lea eax, [ebp - 0x20]
push eax
mov eax, 0x1c1486b0
sub eax, 0x1bd4164c
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0xbde34b5f
add dword [ebp - 0x20], 0xb68f1df7
mov dword [ebp - 0x1c], 0xe5d0ffde
sub dword [ebp - 0x1c], 0xa4649e69
mov dword [ebp - 0x18], 0xddf8cf9c
sub dword [ebp - 0x18], 0x7a896330
mov dword [ebp - 0x14], 0xf4522a1b
add dword [ebp - 0x14], 0xbadd5e5
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x375d456e
add eax, 0xc8e32b3a
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x33a2e
push 0
call eax
mov ecx, 0x3c29
xor ebx, ebx
add ebx, eax
mov edi, 0x410000
add edi, dword [ebp - 0x10]
mov edx, 0x58a69f48
sub edx, 0x33724e76
xor dword [ebp - 8], 0x615b79aa
mov esi, dword [edi]
add dword [ebp - 0xc], esi
add esi, edx
sub dword [ebp - 4], 0x25525ffc
mov dword [ebx], esi
mov dword [ebp - 8], 0x87430de6
add ebx, 4
add edi, 4
loop 0x4029a6
add eax, 0xe377
mov ebx, eax
add eax, 0x5adbb671
add eax, 0xa5244994
mov ecx, 0xb7bc2104
add ecx, 0x4883defc
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x40b346
Capabilities:
Copy file
Persist via run registry key
Query environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1800
call fcn.0040d5a0
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, 0x400
push esi
lea eax, [ebp - 0x800]
push eax
xor ebx, ebx
push ebx
call edi
push str.cmxjc48cjj.exe
lea eax, [ebp - 0x800]
call fcn.00405493
test eax, eax
pop ecx
je 0x40b3cf
push esi
lea eax, [ebp - 0x800]
push eax
push ebx
call edi
push 1
lea eax, [ebp - 0x800]
push eax
push str.Taskhost
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000001
call fcn.004069fd
add esp, 0x14
test eax, eax
push 4
je 0x40b3b9
push ebx
push 3
jmp 0x40b3c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 6
call fcn.0040a786
add esp, 0xc
call fcn.0040b2ce
call fcn.0040aafd
test eax, eax
jne 0x40b3ca
call fcn.0040ab7c
test eax, eax
je 0x40b442
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push 4
push ebx
push 9
call fcn.0040a786
add esp, 0xc
push esi
lea eax, [ebp - 0x1800]
push eax
push ebx
call edi
lea eax, [ebp - 0x800]
push eax
call fcn.0040ac20
test eax, eax
pop ecx
je 0x40b442
push ebx
lea eax, [ebp - 0x800]
push eax
lea eax, [ebp - 0x1800]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x40b442
lea eax, [ebp - 0x800]
push eax
call fcn.004077f0
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.0040abd9
test eax, eax
je 0x40b49c
lea eax, [ebp - 0x800]
push eax
call fcn.0040ac20
lea eax, [ebp - 0x800]
push eax
call fcn.00407727
test eax, eax
pop ecx
pop ecx
je 0x40b487
lea eax, [ebp - 0x800]
push eax
call fcn.004077f0
test eax, eax
pop ecx
jne 0x40b43b
push 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xb
jmp 0x40b492
push 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
call fcn.0040a786
add esp, 0xc
jmp 0x40b43b
push ebx
call fcn.00407727
cmp eax, ebx
pop ecx
push esi
je 0x40b4be
lea ecx, [ebp - 0x1000]
push ecx
push dword [eax*4 + 0x41103c]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
jmp 0x40b4d8
lea eax, [ebp - 0x1000]
push eax
push ebx
call edi
mov ecx, str.__nomove
lea eax, [ebp - 0x1000]
call fcn.004054ed
lea eax, [ebp - 0x1000]
push eax
call fcn.004077f0
test eax, eax
pop ecx
jne 0x40b43b
push 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xb
call fcn.0040a786
add esp, 0xc
mov dword [0x411054], ebx
jmp 0x40b3ca

Function at 0x40cd56
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x40cd60
repz ret
jmp fcn.0040cffb

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

Disassembly:
pushal
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x403469
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push ebx
push esi
lea ebx, [edi + 8]
mov edx, dword [ebx + 8]
cmp edx, 0x104
jae 0x4034c9
xor esi, esi
xor ecx, ecx
lea eax, [edi + 0xfe3c]
cmp dword [eax], esi
je 0x403455
inc ecx
add eax, 0x214
cmp ecx, 0x100
jl 0x4033d3
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 4], esi
jl 0x4034c9
push edx
lea eax, [ebx + 0xc]
push eax
lea eax, [ebp - 0x210]
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebx + 8]
shr eax, 1
mov word [ebp + eax*2 - 0x210], si
lea eax, [edi + 0xfa0c]
push eax
call sub.msvcrt.dll_wcslen
mov esi, eax
lea eax, [ebp - 0x210]
push eax
call sub.msvcrt.dll_wcslen
lea eax, [esi + eax + 1]
add esp, 0x14
cmp eax, 0x104
jae 0x40345a
lea eax, [ebp - 0x210]
push eax
lea eax, [edi + 0xfa0c]
push eax
lea eax, [ebp - 0x41c]
call fcn.00404855
pop ecx
pop ecx
jmp 0x403462
mov dword [ebp - 4], ecx
jmp 0x4033e9
and word [ebp - 0x41c], 0
mov eax, dword [ebp - 4]
imul eax, eax, 0x214
lea esi, [eax + edi]
lea ecx, [ebp - 0x41c]
lea eax, [esi + 0xfc2c]
push ecx
push eax
call sub.msvcrt.dll_wcscpy
pop ecx
pop ecx
push 0x104
lea eax, [esi + 0xfc2c]
push eax
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov dword [esi + 0xfe3c], 1
mov eax, dword [ebx + 4]
mov dword [esi + 0xfe38], eax
push dword [edi + 0xfc28]
push dword [ebp - 4]
push 0x437
push dword [edi + 0xfc18]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebx]
test eax, eax
je 0x4034d6
add ebx, eax
jmp 0x4033ba
pop esi
pop ebx
leave
ret