joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e2c0
Capabilities:
Check if file exists
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x18a4
call fcn.00416a70
mov eax, dword [0x433080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x492]
push ecx
mov word [ebp - 0x494], ax
call fcn.0040fec0
xor edx, edx
push 0x7fe
push edx
lea eax, [ebp - 0x10a2]
push eax
mov word [ebp - 0x10a4], dx
call fcn.0040fec0
xor ecx, ecx
push 0x7e
push ecx
lea edx, [ebp - 0x82]
push edx
mov word [ebp - 0x84], cx
call fcn.0040fec0
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x69a]
push ecx
mov word [ebp - 0x69c], ax
call fcn.0040fec0
add esp, 0x30
push esi
xor ebx, ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40e36b
mov ecx, esi
call fcn.0040e190
test eax, eax
jne 0x40e36b
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f8f6
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
push 0x40
lea edx, [ebp - 0x84]
push edx
push 0
push str.version
push str.AppInfo
call edi
test eax, eax
je 0x40e4e3
push esi
push 0x400
lea eax, [ebp - 0x10a4]
push eax
push 0
push 0x42fd30
push str.AppInfo
call edi
test eax, eax
je 0x40e4e3
push 0x104
lea ecx, [esi + 0x208]
push ecx
lea edx, [ebp - 0x494]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push str.Setup.exe
lea eax, [ebp - 0x494]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push esi
push 0x104
lea ecx, [ebp - 0x69c]
push ecx
push 0
push str.general
push str.AppInfo
call edi
test eax, eax
je 0x40e4e3
lea edx, [ebp - 0x494]
lea ecx, [ebp - 0x69c]
lea edi, [ebp - 0x10a4]
call fcn.0040e810
mov ebx, eax
test ebx, ebx
je 0x40e4e3
xor edx, edx
push 0x7fe
push edx
lea eax, [ebp - 0x18a2]
push eax
mov word [ebp - 0x18a4], dx
call fcn.0040fec0
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x8a2]
push edx
mov word [ebp - 0x8a4], cx
call fcn.0040fec0
push 0x104
lea edi, [ebp - 0x8a4]
call fcn.00402ea0
mov eax, edi
push eax
push str.http:__t.sogou.com_update_platform_done.php_v_sappnamesogoudownload_checkupdatestate1
lea ecx, [ebp - 0x18a4]
push 0x3ff
push ecx
call fcn.0040fa7b
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x28a]
push eax
mov word [ebp - 0x28c], dx
call fcn.0040fec0
lea ecx, [ebp - 0x28c]
push ecx
lea edx, [ebp - 0x18a4]
push edx
call fcn.0040f650
add esp, 0x40
lea eax, [ebp - 0x28c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40e4e3
lea ecx, [ebp - 0x28c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x40e4e3
lea edx, [ebp - 0x28c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x494]
push eax
call edi
push esi
call edi
mov ecx, dword [ebp - 4]
pop edi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0040f8f6
mov esp, ebp
pop ebp
ret
Function at 0x40e510
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x433080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x210], eax
test eax, eax
je 0x40e70c
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call esi
test eax, eax
je 0x40e70c
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40e61c
push 0x103
lea ecx, [ebp - 0x107]
push 0
push ecx
mov byte [ebp - 0x108], 0
call fcn.0040fec0
add esp, 0xc
test ebx, ebx
jne 0x40e584
xor eax, eax
jmp 0x40e5ad
push ebx
call esi
inc eax
cmp eax, 0x3fffffff
jle 0x40e593
xor eax, eax
jmp 0x40e5ad
lea edi, [eax + eax]
mov eax, edi
call fcn.00418bb0
mov esi, esp
mov edx, 3
mov ecx, edi
mov eax, ebx
call fcn.0040e030
lea edi, [ebp - 0x108]
mov ecx, eax
call fcn.0040f180
mov edx, edi
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0x40e5d2
xor eax, eax
jmp 0x40e5eb
lea eax, [edi + edi]
call fcn.00418bb0
mov esi, esp
push 3
mov edx, edi
lea eax, [ebp - 0x108]
call fcn.004052f0
mov ecx, dword [ebp - 0x210]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x40e607
mov eax, 1
jmp 0x40e70e
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x40e70c
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [ebp - 0x214]
push 0
push ebx
push edx
call fcn.0040f530
add esp, 0xc
test eax, eax
je 0x40e70c
push 0x103
lea eax, [ebp - 0x20b]
push 0
push eax
mov byte [ebp - 0x20c], 0
call fcn.0040fec0
add esp, 0xc
test ebx, ebx
jne 0x40e65b
xor eax, eax
jmp 0x40e684
push ebx
call esi
inc eax
cmp eax, 0x3fffffff
jle 0x40e66a
xor eax, eax
jmp 0x40e684
lea edi, [eax + eax]
mov eax, edi
call fcn.00418bb0
mov esi, esp
mov edx, 3
mov ecx, edi
mov eax, ebx
call fcn.0040e030
lea edi, [ebp - 0x20c]
mov ecx, eax
call fcn.0040f180
mov ecx, edi
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0x40e6a9
xor eax, eax
jmp 0x40e6c2
lea eax, [edi + edi]
call fcn.00418bb0
mov esi, esp
push 3
mov edx, edi
lea eax, [ebp - 0x20c]
call fcn.004052f0
mov esi, dword [ebp - 0x210]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x40e5fd
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x40e705
lea edi, [eax + eax]
mov eax, edi
call fcn.00418bb0
mov eax, dword [ebp - 0x210]
mov esi, esp
mov edx, 3
mov ecx, edi
call fcn.0040e030
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
lea esp, [ebp - 0x21c]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f8f6
mov esp, ebp
pop ebp
ret
Function at 0x40e730
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
mov eax, dword [0x433080]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x38
xor edi, edi
lea eax, [ebp - 0x150]
push edi
push eax
mov dword [ebp - 0x154], 0x3c
call fcn.0040fec0
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x144], esi
mov dword [ebp - 0x140], str._Update
mov dword [ebp - 0x138], 1
mov dword [ebp - 0x150], 0x40
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x40e7b9
cmp dword [ebp - 0x114], 6
jb 0x40e7b9
mov dword [ebp - 0x148], str.runas
lea edx, [ebp - 0x154]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x40e7f0
mov eax, dword [ebp - 0x11c]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40e7e3
lea edi, [eax + 1]
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.0040f8f6
mov esp, ebp
pop ebp
ret

Function at 0x40e810
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x433080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor eax, eax
push 0x206
mov ebx, ecx
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov esi, edx
mov word [ebp - 0x20c], ax
call fcn.0040fec0
add esp, 0xc
test esi, esi
jne 0x40e871
lea edx, [ebp - 0x20c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.TempExe.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
jmp 0x40e87f
push esi
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push ebx
push edi
lea ebx, [ebp - 0x20c]
call fcn.0040e510
add esp, 8
test eax, eax
jne 0x40e8a5
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f8f6
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40e893
lea esi, [ebp - 0x20c]
call fcn.0040e730
mov esi, eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f8f6
mov esp, ebp
pop ebp
ret
Function at 0x40f180
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4a0
mov eax, dword [0x433080]
xor eax, esp
mov dword [esp + 0x49c], eax
push ebx
push esi
xor eax, eax
xor ebx, ebx
push ebx
mov dword [edi], eax
push ebx
mov dword [edi + 4], eax
push 3
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
push ebx
mov dword [edi + 0x10], eax
push 1
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
push 0x80000000
mov dword [edi + 0x1c], eax
push ecx
mov byte [edi + 0x20], al
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [esp + 0xc], esi
cmp esi, 0xffffffff
jne 0x40f1ee
xor al, al
pop esi
pop ebx
mov ecx, dword [esp + 0x49c]
xor ecx, esp
call fcn.0040f8f6
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [esp + 0xc]
push eax
push 0x400
lea ecx, [esp + 0xac]
push ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
mov dword [esp + 0x24], 0x67452301
mov dword [esp + 0x28], 0xefcdab89
mov dword [esp + 0x2c], 0x98badcfe
mov dword [esp + 0x30], 0x10325476
call ebx
test eax, eax
je 0x40f26d
mov eax, dword [esp + 8]
test eax, eax
je 0x40f26d
lea edx, [esp + 0xa0]
push edx
lea ecx, [esp + 0x14]
call fcn.0040e900
add esp, 4
push 0
lea eax, [esp + 0xc]
push eax
push 0x400
lea ecx, [esp + 0xac]
push ecx
push esi
call ebx
test eax, eax
jne 0x40f236
lea esi, [esp + 0x10]
lea ebx, [esp + 0x6c]
call fcn.0040e9c0
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
lea ebx, [esp + 0x7c]
jmp 0x40f290
movzx eax, byte [esp + esi + 0x6c]
push eax
push 0x42f758
push 2
push ebx
call fcn.0041ebb7
inc esi
add esp, 0x10
add ebx, 2
cmp esi, 0x10
jl 0x40f290
push 0x20
lea ecx, [esp + 0x80]
push ecx
push edi
call fcn.00416170
mov ecx, dword [esp + 0x4b0]
add esp, 0xc
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.0040f8f6
mov esp, ebp
pop ebp
ret

Function at 0x40f8f6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x433080]
jne 0x40f900
repz ret
jmp fcn.0041012e
Function at 0x415df8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x433080]
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.004123f1
and dword [ebp - 0x14], 0
cmp dword [0x435828], 0
mov dword [ebp - 0x18], eax
jne 0x415eab
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x415f53
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x415f53
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x435828], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x43582c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x435830], eax
call edi
push eax
call esi
mov dword [0x435838], eax
test eax, eax
je 0x415eab
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x435834], eax
mov eax, dword [0x435834]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x415f04
cmp dword [0x435838], ecx
je 0x415f04
push eax
call esi
push dword [0x435838]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x415f04
test ebx, ebx
je 0x415f04
call edi
test eax, eax
je 0x415efb
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x415efb
test byte [ebp - 8], 1
jne 0x415f04
or dword [ebp + 0x10], 0x200000
jmp 0x415f37
mov eax, dword [0x43582c]
cmp eax, dword [ebp - 0x18]
je 0x415f37
push eax
call esi
test eax, eax
je 0x415f37
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x415f37
mov eax, dword [0x435830]
cmp eax, dword [ebp - 0x18]
je 0x415f37
push eax
call esi
test eax, eax
je 0x415f37
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x435828]
call esi
test eax, eax
je 0x415f53
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x415f55
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f8f6
leave
ret
Function at 0x4099ec
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 0x409abf
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409ad8
push ebx
push 0x409ae4
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
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.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409a6c
mov al, 0x6a
call fcn.00409648
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.004099c0
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a75
call fcn.004099c0
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 0x409ac6
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409b78
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 0x409c2c
jmp 0x409c21
cmp dword [esi + 0x10], 0x1000
jne 0x409c0d
test byte [esi + 0x15], 1
jne 0x409c0d
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409bcc
cmp eax, 2
je 0x409bcc
cmp eax, 0x10
je 0x409bcc
cmp eax, 0x20
jne 0x409be1
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 0x409be1
mov bl, 1
xor ebp, ebp
jmp 0x409bf2
mov eax, dword [esi]
add eax, ebp
call fcn.00409b70
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409be5
test bl, bl
je 0x409c0d
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 0x409c2c
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409ba4
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x403161
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x403161
lcall 0x5de5, 0x8b10c483
jmp loc.00791034
Function at 0x401ec0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
je 0x401f68
mov ebx, dword [esp + 0x18]
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x401f68
mov edi, dword [esp + 0x1c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x401f68
mov esi, dword [esp + 0x20]
or ecx, 0xffffffff
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x401f68
push esi
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
lea eax, [esp + 0x20]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push ecx
push ebp
push 2
push ebp
push ebp
push ebp
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x401f52
mov ecx, dword [esp + 0x18]
inc edi
push edi
push esi
push 1
push eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x401f52
mov ebp, 1
mov eax, dword [esp + 0x18]
test eax, eax
je 0x401f61
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret
push 0x80070057
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x525fb4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
push edi
push esi
mov esi, 0xffffffff
push ebx
xor ebx, ebx
sub esp, 0x24c
lea ebp, [esp + 0x130]
mov dword [esp + 0x1c], 0
mov dword [esp + 8], 0x104
mov dword [esp + 4], 0
mov dword [esp], ebp
mov edi, ebp
call fcn.00a5b648
mov dword [esp + 4], ebp
mov dword [esp], 0x104
call fcn.00993968
cld
mov ecx, esi
mov eax, ebx
sub esp, 8
repne scasb al, byte es:[edi]
mov edi, ebp
not ecx
lea edx, [ecx - 1]
mov dword [ebp + ecx - 1], 0x616c706d
mov dword [edx + ebp + 4], 0x5c726579
mov byte [edx + ebp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebp
call fcn.009939b0
cld
mov ecx, esi
mov eax, ebx
sub esp, 8
repne scasb al, byte es:[edi]
mov edi, ebp
not ecx
lea edx, [ecx - 1]
mov dword [ebp + ecx - 1], 0x6e696b73
mov word [edx + ebp + 4], 0x5c73
mov byte [edx + ebp + 6], 0
mov dword [esp + 4], 0
mov dword [esp], ebp
call fcn.009939b0
cld
mov ecx, esi
mov eax, ebx
sub esp, 8
repne scasb al, byte es:[edi]
xor esi, esi
not ecx
mov dword [ebp + ecx - 1], 0x65756c62
mov word [ebp + ecx + 3], 0x5c
mov dword [esp + 4], 0
mov dword [esp], ebp
call fcn.009939b0
sub esp, 8
lea edi, [esp + 0x20]
jmp 0x5260da
mov ecx, dword [esi + 0x128cb04]
mov edx, dword [esi + 0x128cb00]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.00a5b558
mov dword [esp], ebx
call fcn.00a5b578
add dword [esp + 0x1c], 1
add esi, 0xc
cmp dword [esp + 0x1c], 0x1b
jg 0x526137
mov dword [esp + 8], 0x104
mov dword [esp + 4], 0
mov dword [esp], edi
call fcn.00a5b648
mov ebx, dword [esi + 0x128cb08]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 4], 0xc3a28e
mov dword [esp], edi
call fcn.00a5b560
mov dword [esp + 4], 0xc3a293
mov dword [esp], edi
call fcn.00a5b588
test eax, eax
mov ebx, eax
jne 0x52609f
add esp, 0x24c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
add esp, 0x24c
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x534125
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
sub esp, 8
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov eax, dword [edx + 0xec]
cmp eax, 2
je 0x534178
jbe 0x534151
cmp eax, 4
je 0x534156
cmp eax, 8
je 0x53419e
call fcn.00a5b758
sub eax, 1
jne 0x53414c
mov eax, dword [edx + 4]
mov edx, dword [eax + 4]
mov ebx, dword [edx + 0x156]
mov dword [ecx], ebx
movzx eax, word [edx + 0x15a]
mov word [ecx + 4], ax
add esp, 8
mov eax, ecx
pop ebx
ret 4
lea eax, [ebx + ebx*2]
mov edx, dword [edx + 8]
add eax, eax
add eax, dword [edx + 0x28]
add eax, 0x250
mov edx, dword [eax + 6]
mov dword [ecx], edx
movzx eax, word [eax + 0xa]
mov word [ecx + 4], ax
add esp, 8
mov eax, ecx
pop ebx
ret 4
mov ebx, dword [edx + 8]
mov edx, dword [ebx + 0x28]
jmp 0x53415c
Function at 0x67afbb
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov eax, 0x105c
push edi
push esi
push ebx
call fcn.00a51dc8
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x1080]
mov edi, dword [esp + 0x1074]
cmp dword [esp + 0x4c], eax
mov esi, dword [esp + 0x1078]
jge 0x67b069
xor ebp, ebp
xor ebx, ebx
movzx edx, byte [ebx + esi]
movzx eax, byte [ebx + edi]
lea ecx, [ebp + ebx]
sub eax, edx
shl eax, 4
mov dword [esp + ecx*4 + 0x50], eax
movzx edx, byte [esi + ebx + 1]
movzx eax, byte [edi + ebx + 1]
sub eax, edx
shl eax, 4
mov dword [esp + ecx*4 + 0x54], eax
movzx edx, byte [esi + ebx + 2]
movzx eax, byte [edi + ebx + 2]
sub eax, edx
shl eax, 4
mov dword [esp + ecx*4 + 0x58], eax
movzx eax, byte [edi + ebx + 3]
movzx edx, byte [esi + ebx + 3]
add ebx, 4
sub eax, edx
shl eax, 4
cmp ebx, 0x20
mov dword [esp + ecx*4 + 0x5c], eax
jl 0x67aff0
add dword [esp + 0x4c], 1
mov ebx, dword [esp + 0x1080]
add edi, dword [esp + 0x107c]
add esi, dword [esp + 0x107c]
add ebp, 0x20
cmp dword [esp + 0x4c], ebx
jl 0x67afee
mov edi, dword [esp + 0x1080]
lea esi, [esp + 0x50]
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0x20
mov dword [esp + 8], edi
mov dword [esp + 4], 0x20
mov dword [esp], esi
xor ebp, ebp
call fcn.00798c2d
mov dword [esp + 0x48], 0
xor ecx, ecx
cmp dword [esp + 0x48], 0
setne cl
cmp ecx, 3
mov dword [esp + 0x44], ecx
jg 0x67b181
mov ecx, 4
mov eax, dword [esp + 0x48]
mov edi, 0x20
sub ecx, dword [esp + 0x48]
mov dword [esp + 0x34], 0x20
add eax, 0x18
sar edi, cl
shl dword [esp + 0x34], cl
mov dword [esp + 0x30], eax
xor edx, edx
mov eax, dword [esp + 0x34]
test byte [esp + 0x44], 1
mov ecx, edx
mov dword [esp + 0x2c], 0
cmovne ecx, edi
sar eax, 1
test byte [esp + 0x44], 2
cmove eax, edx
cmp edx, edi
jge 0x67b171
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x44]
add eax, ecx
lea esi, [ebx + edx*4]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], esi
xor ebx, ebx
cmp ebx, edi
jge 0x67b15e
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
add eax, dword [esp + 0x38]
mov esi, dword [ecx*4 + 0xc96480]
lea ecx, [esp + eax*4 + 0x50]
mov eax, dword [ecx]
add ebx, 1
add ecx, 4
imul eax, esi
cdq
xor eax, edx
sub eax, edx
add ebp, eax
cmp ebx, edi
jl 0x67b148
add dword [esp + 0x2c], 1
mov esi, dword [esp + 0x34]
add dword [esp + 0x38], esi
cmp dword [esp + 0x2c], edi
jl 0x67b12b
add dword [esp + 0x44], 1
cmp dword [esp + 0x44], 3
jle 0x67b0e8
add dword [esp + 0x48], 1
cmp dword [esp + 0x48], 4
jl 0x67b0aa
add esp, 0x105c
sar ebp, 9
pop ebx
mov eax, ebp
pop esi
pop edi
pop ebp
ret