joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414f00
Capabilities:
Get file size

Disassembly:
push ecx
push esi
mov eax, dword [esp + 0xc]
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push eax
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x414f40
lea ecx, [esp + 8]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 8]
mov eax, edi
sub eax, ecx
pop edi
xor edx, edx
pop esi
pop ecx
ret

Function at 0x415210
Capabilities:
Delete file
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4181af
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [esp + 0x1c]
push esi
push 0x420a48
push eax
mov dword [esp + 0x10], 0
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x41526c
mov esi, dword [esp + 0x1c]
push 0x420b8c
mov ecx, esi
call fcn.00415e3c
mov eax, esi
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_fseek]
push ebp
push edi
push 2
push 0
push esi
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_ftell]
mov ebp, eax
lea ecx, [ebp + 1]
push ecx
call sub.MFC42.DLL_operatornew
push 0
push 0
push esi
mov edi, eax
call ebx
push esi
mov ebx, 1
push ebp
push ebx
push edi
call dword [sym.imp.MSVCRT.dll_fread]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov edx, dword [esp + 0x60]
add esp, 0x34
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call sub.MFC42.DLL_AfxGetEmptyString
mov eax, dword [eax]
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
call sub.MFC42.DLL_CString::operator_1
push edi
mov dword [esp + 0x24], ebx
call sub.MFC42.DLL_operatordelete
mov esi, dword [esp + 0x2c]
add esp, 4
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], ebx
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
pop edi
pop ebp
mov eax, esi
pop ebx
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x415cc0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
lea eax, [esp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x104]
lea edx, [esp]
push ecx
push 0
push 0x420b7c
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov ecx, dword [esp + 0x20c]
lea eax, [esp + 0x104]
push eax
push 0x41f1e0
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x214
ret
Function at 0x415d20
Capabilities:
Delete file
Set current directory

Disassembly:
sub esp, 0x12c
push esi
mov esi, dword [esp + 0x13c]
push edi
push esi
call fcn.00414cf0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x138]
push eax
push ecx
call fcn.004143c0
mov edi, eax
add esp, 8
test edi, edi
jne 0x415d66
pop edi
pop esi
add esp, 0x12c
ret
lea edx, [esp + 8]
push edx
push 0xffffffffffffffff
push edi
call fcn.004143e0
add esp, 0xc
test eax, eax
je 0x415d8e
push edi
call fcn.004144a0
add esp, 4
xor eax, eax
pop edi
pop esi
add esp, 0x12c
ret
mov eax, dword [esp + 8]
push ebx
xor esi, esi
push ebp
test eax, eax
mov ebx, eax
mov ebp, 1
jle 0x415dcc
lea eax, [esp + 0x10]
push eax
push esi
push edi
call fcn.004143e0
add esp, 0xc
test eax, eax
jne 0x415dca
lea ecx, [esp + 0x14]
push ecx
push esi
push edi
call fcn.00414480
add esp, 0xc
inc esi
cmp esi, ebx
jl 0x415da1
jmp 0x415dcc
xor ebp, ebp
push edi
call fcn.004144a0
mov eax, dword [esp + 0x150]
add esp, 4
test eax, eax
je 0x415dee
mov edx, dword [esp + 0x140]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, ebp
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x12c
ret
Function at 0x10110860
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1023e79b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x102e9794]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x14]
test edi, edi
jne 0x101108a9
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi], 0
cmp dword [0x102e354c], 0
jne 0x101108c0
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
test esi, esi
je 0x1011090d
mov eax, dword [esi]
test eax, eax
je 0x10110892
cmp dword [esi + 4], 0
je 0x10110892
push eax
call fcn.101b9a20
add esp, 4
push dword [esi + 4]
call fcn.101b9a20
mov eax, dword [esi + 0xc]
add esp, 4
test eax, eax
je 0x101108fe
push eax
call fcn.101b9a20
add esp, 4
mov eax, dword [esi + 8]
test eax, eax
je 0x10110945
push eax
call fcn.101b9a20
jmp 0x10110942
push dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
call fcn.101b9a20
add esp, 4
push dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
call fcn.101b9a20
add esp, 4
push dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
call fcn.101b9a20
add esp, 4
push dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.101b9a20
add esp, 4
push 8
call fcn.101b9a20
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x10110980
push dword [ebp + 0x18]
mov ecx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.101b9a20
mov dword [edi], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [edi], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1019c030
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1023ff89
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x102e9794]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], 0
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 4], 0
call sym.AIDE.dll_public:_void___thiscall_AIDE::PaletteInfo::constructor_void_
mov ecx, dword [edi + 0x14]
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
call fcn.1019d620
mov dword [esi], eax
lea ecx, [edi + 0x28]
mov dword [esi + 4], 3
mov dword [esi + 8], 0
mov dword [ecx], 8
mov dword [edi + 0x30], 8
mov dword [edi + 0x2c], 8
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], 8
mov ecx, dword [edi + 0x14]
call fcn.1019d600
mov dword [esi + 0x14], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x101b9a20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x101b9a2f
pop dword [ebp - 0x48]
mov eax, 0x101b9a2f
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x30278e52
add dword [ebp - 0x58], 0x1e2ab6f9
mov dword [ebp - 0x54], 0x1cf810a6
sub dword [ebp - 0x54], 0xeac4c461
mov dword [ebp - 0x50], 0x88498295
add dword [ebp - 0x50], 0xc402c199
mov dword [ebp - 0x4c], 0x2db6fb1f
sub dword [ebp - 0x4c], 0x2db6fb1f
lea eax, [ebp - 0x58]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0xad5d47fe
add dword [ebp - 0x58], 0xc7152158
mov dword [ebp - 0x54], 0x708eb5b7
add dword [ebp - 0x54], 0xd0ddabbe
mov dword [ebp - 0x50], 0x470e851a
add dword [ebp - 0x50], 0x1c60e752
mov dword [ebp - 0x4c], 0xc521f868
sub dword [ebp - 0x4c], 0xc521f868
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0xfa829f60
sub eax, 0xea5b1f3c
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x6527c
push 0
call eax
mov ecx, 0xb6391a9d
sub ecx, 0xb638cb0d
mov edx, eax
mov esi, 0xfd27a8cf
sub esi, 0xecf6aecf
add esi, dword [ebp - 0x48]
mov ebx, 0x414982d2
xor dword [ebp - 0x38], eax
mov edi, dword [esi]
sub dword [ebp - 0x3c], edx
sub edi, ebx
mov dword [edx], edi
add edx, 0x611a13b4
sub edx, 0x611a13b0
add esi, 4
loop 0x101b9b41
add eax, 0x62945340
sub eax, 0x6293222d
xor ebx, ebx
add ebx, eax
add eax, 0xb1e95aa7
sub eax, 0xb1e95aa2
mov ecx, 0x10000000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x101f7900
Capabilities:
Terminate process

Disassembly:
cmp dword [str._AdobeIP0000539_], 0
jne 0x101f7911
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
jmp 0x1021e7c0
push 0x100
push 0
push 0x102f1ce8
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
nop word [eax + eax]
mov byte [eax + 0x102f1de8], al
inc eax
cmp eax, 0x100
jl 0x1021e7e0
push esi
push edi
push 0x100
push 0xff
push 0x102f1ee8
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, 0xfe317780
mov edx, 0xfc403180
mov esi, 0xf6b26d80
mov edi, 0xf8a3b8c0
xor eax, eax
nop dword [eax]
mov dword [eax + 0x102f1fe8], edi
add edi, 0x166e9
mov dword [eax + 0x102f49e8], esi
add esi, 0x1c5a2
mov dword [eax + 0x102f73e8], edx
add edx, 0xb6d2
mov dword [eax + 0x102f9de8], ecx
add eax, 4
add ecx, 0x581a
cmp eax, 0x29e0
jle 0x1021e820
xorps xmm0, xmm0
mov dword [0x102fb2f8], 0
pop edi
movups xmmword [0x102fb2d8], xmm0
mov dword [0x102f88f8], 0
movups xmmword [0x102fb2e8], xmm0
mov dword [0x102f5ef8], 0
movups xmmword [0x102f88d8], xmm0
mov dword [0x102f34f8], 0
movups xmmword [0x102f88e8], xmm0
pop esi
movups xmmword [0x102f5ed8], xmm0
movups xmmword [0x102f5ee8], xmm0
movups xmmword [0x102f34d8], xmm0
movups xmmword [0x102f34e8], xmm0
ret
Function at 0x10209e80
Capabilities:
Terminate process

Disassembly:
cmp dword [str._AdobeIP0000539_], 0
jne 0x10209e91
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
jmp 0x1023bf90
movss xmm5, dword [0x102bd82c]
movss xmm4, dword [0x102bd834]
movss xmm6, dword [0x102bd828]
movss xmm7, dword [0x102bd820]
movss xmm3, dword [0x1027b890]
push esi
xor esi, esi
nop dword [eax + eax]
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
sub esp, 8
addsd xmm0, qword [eax*8 + 0x102d46d0]
cvtpd2ps xmm2, xmm0
movaps xmm0, xmm4
movaps xmm1, xmm2
mulss xmm1, xmm5
subss xmm0, xmm1
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101b9a20
movaps xmm0, xmm2
mov ecx, eax
mulss xmm0, xmm6
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101b9a20
movaps xmm0, xmm2
shl eax, 0x10
mulss xmm0, xmm7
add ecx, eax
mov dword [esi*4 + 0x102fc9f0], ecx
mulss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101b9a20
movaps xmm0, xmm2
mov edx, eax
mulss xmm0, dword [0x102bd830]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101b9a20
movaps xmm0, xmm2
shl eax, 0x10
mulss xmm0, dword [0x102bd818]
add eax, edx
mov dword [esi*4 + 0x102fd1f0], eax
mulss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101b9a20
movaps xmm0, xmm2
mov ecx, eax
mulss xmm0, dword [0x102bd824]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101b9a20
movaps xmm0, xmm2
shl eax, 0x10
mulss xmm0, dword [0x102bd81c]
add eax, ecx
mov dword [esi*4 + 0x102fcdf0], eax
mulss xmm0, xmm3
subss xmm0, xmm4
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101b9a20
movaps xmm0, xmm2
mov dword [esi*4 + 0x102fd5f0], eax
mulss xmm0, dword [0x102bd83c]
mov dword [esi*4 + 0x102fddf0], edx
mov dword [esi*4 + 0x102fd9f0], ecx
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101b9a20
movaps xmm0, xmm2
mov dword [esi*4 + 0x102fe1f0], eax
mulss xmm0, dword [0x102bd840]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101b9a20
movaps xmm0, xmm2
mov dword [esi*4 + 0x102fe5f0], eax
mulss xmm0, dword [0x102bd844]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101b9a20
mov dword [esi*4 + 0x102fe9f0], eax
mulss xmm2, dword [0x102bd838]
cvtps2pd xmm0, xmm2
movsd qword [esp], xmm0
call fcn.101b9a20
mov dword [esi*4 + 0x102fedf0], eax
add esp, 8
inc esi
cmp esi, 0x100
jb 0x1023bfc0
pop esi
ret
Function at 0x1000b6d5
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x1001ff00]
xor eax, esp
mov dword [esp + 0x104], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x118]
lea eax, [esp + 0xc]
mov ebp, 0x104
xor esi, esi
push ebp
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1000b738
lea eax, [esp + 0xc]
push 0x10017e60
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
lea eax, [esp + 0x14]
push edi
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
add esp, 0x10
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x1000b772
push ebp
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x1000b772
lea eax, [esp + 0xc]
push 0x10017e60
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
lea eax, [esp + 0x14]
push edi
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
add esp, 0x10
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov esi, eax
mov ecx, dword [esp + 0x110]
mov eax, esi
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.10014785
add esp, 0x108
ret

Function at 0x1000f060
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x1000f06f
pop dword [ebp - 0x28]
mov eax, 0x1000f06f
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x73140383
sub dword [ebp - 0x38], 0x24c1be38
mov dword [ebp - 0x34], 0xf75b0b04
add dword [ebp - 0x34], 0x3ad84141
mov dword [ebp - 0x30], 0xd4b466e1
sub dword [ebp - 0x30], 0x886822b3
mov dword [ebp - 0x2c], 0xb20440ce
sub dword [ebp - 0x2c], 0xb20440ce
lea eax, [ebp - 0x38]
push eax
mov eax, 0x213e5a2
add eax, 0xded7abe
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xd4b7ffa4
add dword [ebp - 0x38], 0x9fba69b2
mov dword [ebp - 0x34], 0x47744bd0
sub dword [ebp - 0x34], 0x607ea5b
mov dword [ebp - 0x30], 0x4280614a
add dword [ebp - 0x30], 0x20ef0b22
mov dword [ebp - 0x2c], 0x50181cbe
add dword [ebp - 0x2c], 0xafe7e342
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0xcb3e9a7b
sub eax, 0xbb3d3a17
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x37fad
push 0
call eax
mov ecx, 0xf0454334
sub ecx, 0xf044fa64
mov esi, eax
mov edi, 0x986bdd12
add edi, 0x779658ee
add edi, dword [ebp - 0x28]
mov edx, 0x6c74a64d
add edx, 0x595284af
add dword [ebp - 0x1c], 0xef25b4dd
mov ebx, dword [edi]
add ebx, edx
xor dword [ebp - 0xc], esi
mov dword [esi], ebx
mov dword [ebp - 0x14], 0xbf0a9d52
add esi, 4
add edi, 0x5fe4febe
sub edi, 0x5fe4feba
loop 0x1000f18c
add eax, 0x11613
xor ebx, ebx
add ebx, eax
add eax, 0xbd71cbea
add eax, 0x428e341b
mov ecx, 0x10000000
add ecx, dword [ebp - 0x28]
call ebx
leave
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.MSVCR71.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 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x403203
pop dword [ebp - 0x44]
mov eax, 0x403203
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x6030e432
add dword [ebp - 0x54], 0xee216119
mov dword [ebp - 0x50], 0x7e685c18
add dword [ebp - 0x50], 0xb3caf02d
mov dword [ebp - 0x4c], 0x13442fbc
add dword [ebp - 0x4c], 0x39081472
mov dword [ebp - 0x48], 0x36d5ee69
sub dword [ebp - 0x48], 0x36d5ee69
lea eax, [ebp - 0x54]
push eax
mov eax, 0xbf303b22
add eax, 0x4110456a
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0xd6c9ce49
add dword [ebp - 0x54], 0x9da89b0d
mov dword [ebp - 0x50], 0xd8cf4316
sub dword [ebp - 0x50], 0x9762e1a1
mov dword [ebp - 0x4c], 0x4ed671e6
sub dword [ebp - 0x4c], 0xeb67057a
mov dword [ebp - 0x48], 0xc833b986
add dword [ebp - 0x48], 0x37cc467a
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0x4b540a2d
sub eax, 0x4b138959
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x39df9
push 0
call eax
mov ecx, 0x19f10cfb
add ecx, 0xe60f4823
xor edi, edi
add edi, eax
mov edx, 0x411000
add edx, dword [ebp - 0x44]
mov esi, 0xa02fe2a
xor dword [ebp - 0x40], edx
mov ebx, dword [edx]
sub ebx, esi
xor dword [ebp - 8], 0xbc125a99
mov dword [edi], ebx
add dword [ebp - 4], 0xbd66e776
add edi, 4
add edx, 0x6cbd12b0
sub edx, 0x6cbd12ac
loop 0x403316
add eax, 0x1474b
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x77c788d4
add ecx, 0x8878772c
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x4287df
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
cmp dword [0x45aa24], 0
je 0x428816
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call main
add esp, 4
jmp 0x42882f
call main
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call main
add esp, 4
jmp 0x42882f
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4408a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x4408af
pop dword [ebp - 0x14]
mov eax, 0x40ca6638
sub eax, 0x40865d89
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0x528fa
push 0
mov eax, 0x6b63a227
sub eax, 0x6b1d3a4f
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0x9b68f0d9
add ecx, 0x64976a2c
xor edx, edx
add edx, eax
mov esi, 0x48e000
add esi, dword [ebp - 0x14]
mov ebx, 0xedb01faf
sub ebx, 0xfce2f824
add dword [ebp - 0xc], edx
mov edi, dword [esi]
sub dword [ebp - 4], 0x77f33292
xor edi, ebx
sub dword [ebp - 0x10], ebx
mov dword [edx], edi
xor dword [ebp - 0xc], 0x3066f692
add edx, 4
add esi, 0xee8e371f
add esi, 0x1171c8e5
loop 0x44090a
add eax, 0x15ee7
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xbcfe9d3a
sub ecx, 0xbcbe9d3a
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x44c8c0
Capabilities:
Move file

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.kernel32.dll_MoveFileA]
test eax, eax
mov eax, 0
jne 0x44c8df
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
je 0x44c8f2
push eax
call fcn.0044d700
add esp, 4
mov eax, 0xffffffff
ret
xor eax, eax
ret
Function at 0x430006
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp int.00401219
Function at 0x40d8bb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jle 0x40d8fb
and dword [ebp - 4], 0
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
call fcn.0040d8ac
pop ecx
mov eax, dword [ebp - 8]
add eax, 0x46
mov dword [ebp - 4], eax
sub dword [ebp - 4], 0xa
sub dword [ebp - 4], 0x3c
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 4]
add eax, esi
xor byte [eax], cl
inc esi
cmp esi, dword [ebp + 0xc]
jl 0x40d8c8
cmp dword [ebp + 0xc], 0x2d
pop esi
jne 0x40d913
or dword [0x1bfe53c], 0xffffffff
mov dword [0x1bfe538], 0xa62e7790
leave
ret

Function at 0x42d830
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1f000]
push edi
or ebp, 0xffffffff
jmp 0x42d852
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42d859
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42d848
mov eax, 1
add ebx, ebx
jne 0x42d86b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42d860
jne 0x42d87c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42d860
xor ecx, ecx
sub eax, 3
jb 0x42d890
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42d902
mov ebp, eax
add ebx, ebx
jne 0x42d89b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42d8a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42d8cc
inc ecx
add ebx, ebx
jne 0x42d8b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42d8ad
jne 0x42d8c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42d8ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42d8ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42d8dd
jmp 0x42d84e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42d8ec
add edi, ecx
jmp 0x42d84e
pop esi
mov edi, esi
mov ecx, 0xc68
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42d90a
cmp byte [edi], 6
jne 0x42d90a
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 0x42d90f
lea edi, [esi + 0x2b000]
mov eax, dword [edi]
or eax, eax
je 0x42d97e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2dfc4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2e028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42d93c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2e02c]
or eax, eax
je 0x42d978
mov dword [ebx], eax
add ebx, 4
jmp 0x42d959
call dword [esi + 0x2e034]
mov ebp, dword [esi + 0x2e030]
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 0x42d9b2
sub esp, 0xffffff80
jmp 0x418e94
Function at 0x409864
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409918
jmp 0x40990d
cmp dword [esi + 0x10], 0x1000
jne 0x4098f9
test byte [esi + 0x15], 1
jne 0x4098f9
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x4098b8
cmp eax, 2
je 0x4098b8
cmp eax, 0x10
je 0x4098b8
cmp eax, 0x20
jne 0x4098cd
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4098cd
mov bl, 1
xor ebp, ebp
jmp 0x4098de
mov eax, dword [esi]
add eax, ebp
call fcn.0040985c
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x4098d1
test bl, bl
je 0x4098f9
push esp
mov eax, dword [esp + 4]
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 ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409918
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409890
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0xe48678
Capabilities:
Encode data using xor

Disassembly:
jmp 0xe48682
pushal
call 0xe48688
pop ebp
sub ebp, 0x10
sub ebp, 0xa48678
jmp 0xe4869e
mov eax, 0xa48678
add eax, ebp
add eax, 0x4c
mov ecx, 0x5cb
mov edx, 0x73f6ace5
xor byte [eax], dl
inc eax
dec ecx
jne 0xe486b5
jmp 0xe486c8
outsb dx, byte [esi]
sub byte [esi + 0x6c], ch
fxam
in eax, 0xe5
and al, 0x1d
in eax, 0xe5
in eax, 0xe6
sub byte [ebp - 9], bl
in eax, 0xe5
in eax, 0x5f
int 0xe5
in eax, 0xe5
adc al, byte [edi]
out 0x2d, al
outsb dx, byte [esi]
jmp 0xe7ca6cd2