joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c625
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 1
pop eax
test eax, eax
je 0x40cc5c
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jne 0x40c731
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 4
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0xb8
mov byte [ebp - 0x777], 0xc1
mov byte [ebp - 0x776], 0xa7
mov byte [ebp - 0x775], 0xab
mov byte [ebp - 0x774], 0x89
mov byte [ebp - 0x773], 0x94
invalid
call dword [esi + eax*8 - 0x7717b]
call [esi + eax*8 - 0x7707b]
dec dword [ecx - 0x76f7a3a]
invalid
call [edx - 0x76e7a3a]
invalid
call dword [esi - 0x76d7a3a]
invalid
invalid
fcmovnb st(0), st(6)
test dword [ebx - 0x42000008], edx
mov byte [ebp - 0x76c], 0x92
clc
invalid
call dword [edx - 0x76a7a3a]
invalid
call dword [edi - 0x7697a3a]
invalid
call [esi - 0x7687a3a]
invalid
dec dword [eax - 0x7677a3a]
cwde
clc
invalid
jmp dword [edi - 0x7667a3a]
invalid
invalid
mov eax, 0xf89a85c6
invalid
call dword [esi + eax*8 - 0x7647b]
call dword [esi - 0x7637a3a]
test dword [eax + edi*8 - 0x39690001], ebx
test dword [ebp - 0x6b000008], ebx
test dword [eax + edi*8 - 0x39690001], ebx
test dword [ebp - 0x6b000008], ebx
mov byte [ebp - 0x762], 0x95
mov byte [ebp - 0x761], 0xdb
mov byte [ebp - 0x760], 0xbd
mov byte [ebp - 0x75f], 0x92
mov byte [ebp - 0x75e], 0x97
mov byte [ebp - 0x75d], 0x9e
mov byte [ebp - 0x75c], 0x88
mov byte [ebp - 0x75b], 0xa7
mov byte [ebp - 0x75a], 0xa8
mov byte [ebp - 0x759], 0x82
mov byte [ebp - 0x758], 0x88
mov byte [ebp - 0x757], 0x8f
mov byte [ebp - 0x756], 0x9e
test dword [edx - 0x61000008], ebp
mov byte [ebp - 0x755], 0x96
mov byte [ebp - 0x754], 0xa7
mov byte [ebp - 0x753], 0x88
mov byte [ebp - 0x752], 0x82
mov byte [ebp - 0x751], 0x96
mov byte [ebp - 0x750], 0x88
mov byte [ebp - 0x74f], 0x89
mov byte [ebp - 0x74e], 0x8d
mov byte [ebp - 0x74d], 0xd5
mov byte [ebp - 0x74c], 0x9f
invalid
invalid
invalid

Function at 0x40e544
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x50], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x54], 0
ret

Function at 0x40ef6f
Capabilities:
Read file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x460
mov ebp, dword [esp + 0x478]
push 0x43d700
push dword [esp + 0x478]
call sub.msvcrt.dll_fopen
mov edi, eax
test edi, edi
pop eax
pop edx
jne 0x40ef9f
mov byte [ebp], 0
jmp 0x40efff
lea eax, [esp + 0x400]
push eax
call fcn.0040e544
push 0
push 0
push edi
call sub.msvcrt.dll_fseek
add esp, 0x10
jmp 0x40efc6
push eax
push ebx
push esi
call fcn.0040e579
add esp, 0xc
push edi
push 0x400
push 1
lea ebx, [esp + 0xc]
push ebx
call sub.msvcrt.dll_fread
add esp, 0x10
test eax, eax
lea esi, [esp + 0x400]
jne 0x40efbb
push 0
push ebx
push esi
call fcn.0040e579
push edi
call sub.msvcrt.dll_fclose
push esi
push ebp
call fcn.0040ee72
add esp, 0x18
add esp, 0x460
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x401434
Capabilities:
Copy file
Create shortcut via ishelllink
Delete file
Delete registry value
Enumerate files on windows
Get file attributes
Move file
Query environment variable
Query or enumerate registry key
Query or enumerate registry value
Read .ini file
Read file on windows
Set current directory
Set file attributes
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2dc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [0x46c268]
push 7
pop ecx
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x34]
mov esi, section..ndata
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x30]
xor ebx, ebx
shl ecx, 0xe
add ecx, esi
mov edi, eax
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0x30]
shl edi, 0xe
mov dword [0x41e654], ecx
lea ecx, [edx - 2]
add edi, esi
cmp ecx, 0x43
mov dword [ebp - 4], ebx
ja case.0x40148a.66
jmp dword [ecx*4 + 0x402c41]
push ebx
push eax
call fcn.00405707
jmp 0x4023a2
inc dword [0x46422c]
cmp dword [ebp - 8], ebx
je 0x4023a2
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4023a2
push eax
call fcn.0040136d
dec eax
push ebx
push eax
invalid

Function at 0x402eae
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, esi
lea eax, [ebp - 4]
and esi, 0x300
push eax
mov eax, esi
and edi, 1
or al, 9
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004064ef
xor ebx, ebx
invalid

Function at 0x402edf
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
ret
Function at 0x403376
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
jl 0x4033a1
mov ecx, dword [0x46c2b8]
push esi
add eax, ecx
push esi
push eax
mov dword [0x4326f4], eax
push dword [0x40a01c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
call fcn.0040347e
cmp eax, esi
jl 0x403478
lea eax, [ebp + 8]
push 4
push eax
push dword [0x40a01c]
call fcn.004061f5
test eax, eax
je 0x403468
push dword [ebp + 8]
add dword [0x4326f4], 4
call fcn.0040347e
mov ebx, eax
cmp ebx, esi
jl 0x403476
cmp dword [ebp + 0x10], esi
jne 0x403444
cmp dword [ebp + 8], esi
jle 0x403476
mov esi, 0x4266f0
cmp dword [ebp + 8], 0x4000
mov eax, dword [ebp + 8]
jl 0x403406
mov eax, 0x4000
push eax
push esi
push dword [0x40a01c]
mov dword [ebp - 4], eax
call fcn.004061f5
test eax, eax
je 0x403468
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call fcn.00406224
test eax, eax
je 0x403440
mov eax, dword [ebp - 4]
sub dword [ebp + 8], eax
add dword [0x4326f4], eax
add ebx, eax
cmp dword [ebp + 8], 0
jg 0x4033f5
jmp 0x403476
push 0xfffffffffffffffe
jmp 0x40346a
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x40344f
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push esi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40a01c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40346d
push 0xfffffffffffffffd
pop eax
jmp 0x403478
mov ebx, dword [ebp - 4]
add dword [0x4326f4], ebx
invalid
Function at 0x405c65
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x45a750], 0x44
push eax
xor eax, eax
push 0x45a750
push eax
push eax
push 0x4000000
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x405ca4
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x405ca8
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
and dword [eax + 0x24], 0
mov dword [eax], 0x3c
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
ret 4

Function at 0x405d46
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.0040614d
mov edi, eax
cmp edi, 0xffffffff
je 0x405d87
test byte [esp + 0x10], 1
push esi
je 0x405d69
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x405d6f
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x405d78
xor eax, eax
inc eax
jmp 0x405d89
test byte [esp + 0x10], 4
jne 0x405d87
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop edi
pop esi
ret 8

Function at 0x405d8e
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
invalid

Function at 0x405ddf
Capabilities:
Enumerate files on windows

Disassembly:
ret

Function at 0x406059
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x456750
push esi
call fcn.00406682
push esi
call fcn.00405ffc
mov edi, eax
test edi, edi
jne 0x40607a
xor eax, eax
jmp 0x4060d2
push edi
call fcn.00406930
test byte [0x46c278], 0x80
je 0x406097
mov ax, word [edi]
test ax, ax
je 0x406076
cmp ax, 0x5c
je 0x406076
sub edi, esi
sar edi, 1
jmp 0x4060b1
call fcn.004069df
test eax, eax
je 0x4060ab
test byte [eax], 0x10
je 0x406076
push esi
call fcn.00405f9d
push esi
call sub.KERNEL32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x40609d
call fcn.00405f51
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x40614d
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40616c
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x406172
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
ret 0xc
Function at 0x4061a1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
mov eax, dword [0x40a5a8]
dec edi
mov dword [ebp - 8], eax
mov eax, dword [0x40a5ac]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp - 8]
push 0
push eax
push dword [ebp + 0xc]
add word [ebp - 4], dx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x4061f1
test edi, edi
jne 0x4061ae
and word [esi], di
pop edi
pop esi
leave
ret 8
mov eax, esi
jmp 0x4061eb

Function at 0x4062c8
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
test esi, esi
mov dword [0x45ade8], 0x55004e
mov dword [0x45adec], 0x4c
mov edi, 0x400
mov ebp, 0x45ade8
je 0x40631e
push 1
push 0
push esi
call fcn.00406172
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x40643d
cmp eax, edi
jg 0x40643d
mov esi, 0x45b5e8
push edi
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x40643d
cmp eax, edi
jg 0x40643d
push esi
push ebp
push str._ls_ls_r_n
push 0x45a9e8
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x46c270]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.004066bf
push 4
push 0xc0000000
push esi
call fcn.00406172
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x18], ebp
je 0x40643d
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x406436
push edi
push esi
push ebp
call fcn.004061f5
test eax, eax
je 0x406436
push str._Rename__r_n
push esi
call fcn.004060d7
test eax, eax
jne 0x4063d4
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x406409
add eax, 0xa
push 0x40a5b0
push eax
call fcn.004060d7
mov ebp, eax
test ebp, ebp
je 0x406405
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
jmp 0x4063f6
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, ebp
ja 0x4063f0
sub ebp, esi
inc ebp
mov eax, ebp
mov ebp, dword [esp + 0x18]
jmp 0x40640b
mov ebp, dword [esp + 0x18]
mov eax, edi
push ebx
add eax, esi
push 0x45a9e8
push eax
call fcn.0040612d
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
add edi, ebx
push edi
push esi
push ebp
call fcn.00406224
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx

Function at 0x406442
Capabilities:
Move file

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x406465
push dword [esp + 8]
push dword [esp + 8]
call fcn.004062c8
pop ecx
pop ecx
inc dword [0x46c2f0]
ret 8
Function at 0x4066bf
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x10
test eax, eax
jge 0x4066db
mov ecx, dword [0x46423c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [ecx]
mov ecx, dword [0x46c298]
push ebx
push ebp
push esi
push edi
lea edi, [ecx + eax*2]
mov ecx, dword [esp + 0x24]
mov eax, 0x45c200
cmp ecx, eax
mov esi, eax
jb 0x406905
mov edx, ecx
sub edx, eax
sar edx, 1
cmp edx, 0x4000
jae 0x406905
and dword [esp + 0x24], 0
mov esi, ecx
jmp 0x406905
mov ecx, esi
sub ecx, eax
and ecx, 0xfffffffe
cmp ecx, 0x4000
jge 0x406911
push 2
pop ecx
add edi, ecx
cmp bp, 4
jae 0x4068f2
mov cl, byte [edi + 1]
mov al, byte [edi]
mov dl, cl
mov bl, al
and edx, 0x7f
and ebx, 0x7f
shl edx, 7
movzx eax, al
or edx, ebx
mov ebx, eax
mov dword [esp + 0x28], edx
mov edx, 0x8000
or ebx, edx
push 2
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
movzx ebx, cl
mov ecx, ebx
mov dword [esp + 0x20], ebx
or ecx, edx
mov dword [esp + 0x1c], ecx
pop ecx
add edi, ecx
cmp bp, cx
jne 0x406896
xor ebp, ebp
mov dword [esp + 0x28], ecx
cmp dword [0x46c2e4], ebp
je 0x40679a
mov dword [esp + 0x28], 4
test al, al
jns 0x4067d6
mov ecx, eax
and eax, 0x3f
and ecx, 0x40
push ecx
mov ecx, dword [0x46c298]
push esi
lea eax, [ecx + eax*2]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersion
push 0x80000002
call fcn.00406550
cmp word [esi], bp
jne 0x40687e
push ebx
push esi
call fcn.004066bf
jmp 0x406879
cmp eax, 0x25
jne 0x4067ec
push 0x2000
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x406879
cmp eax, 0x24
jne 0x406801
push 0x2000
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov dword [esp + 0x28], ebp
cmp dword [esp + 0x28], ebp
je 0x406879
dec dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + eax*4 + 0x10]
mov eax, dword [0x46c264]
and ebx, 0xffffffbf
mov ebp, ebx
and ebp, 0x8000
test eax, eax
je 0x406839
push esi
push 0
push 0
push ebx
push dword [0x46c268]
call eax
test eax, eax
je 0x406873
push 7
call fcn.00406a76
movzx ecx, bl
push ebp
push ecx
push dword [0x46c268]
call eax
mov ebx, eax
test ebx, ebx
je 0x406868
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push ebx
mov ebp, eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
test ebp, ebp
jne 0x406873
and word [esi], 0
cmp dword [esp + 0x28], 0
jne 0x406807
mov ebx, dword [esp + 0x1c]
xor ebp, ebp
cmp word [esi], bp
je 0x40688e
cmp ebx, 0x1a
jne 0x40688e
push str.MicrosoftInternet_ExplorerQuick_Launch
push esi
call sub.KERNEL32.dll_lstrcatW
push esi
call fcn.00406930
jmp 0x4068e2
cmp bp, 3
jne 0x4068ce
mov ebx, dword [esp + 0x28]
cmp ebx, 0x1d
jne 0x4068b3
push dword [0x46c268]
push esi
call fcn.004065c9
jmp 0x4068c4
invalid

Function at 0x4068b4
Capabilities:
Get common file path

Disassembly:
ret
Function at 0x10851058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.108511a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1085107e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1085106a
add dl, dl
jne 0x10851089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x108510dc
xor eax, eax
add dl, dl
jne 0x10851096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1085117d
add dl, dl
jne 0x108510a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x108510b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x108510bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x108510c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x108510d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10851075
mov eax, 1
add dl, dl
jne 0x108510ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x108510f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x108510e1
sub eax, ebx
mov ebx, 1
jne 0x10851128
mov ecx, 1
add dl, dl
jne 0x1085110e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10851119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10851105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10851075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1085113f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1085114a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10851136
cmp eax, 0x7d00
jae 0x1085116d
cmp eax, 0x500
jb 0x10851168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10851075
cmp eax, 0x7f
ja 0x10851170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10851075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1085119e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10851075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10009e8b
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp + 0xc]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + 6]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
sub ecx, 1
mov dword [ebp - 0xc], ecx
test eax, eax
je 0x10009f12
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x10]
add edx, dword [ecx + 0x14]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 0x14]
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x24]
and eax, 0x20000000
je 0x10009f07
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov edx, dword [ebp - 0x10]
add edx, 0x28
mov dword [ebp - 0x10], edx
jmp 0x10009eae
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000a63e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, 0x400
push edi
mov dword [0x1003af04], eax
call fcn.1001517f
push edi
mov esi, eax
push 0
push esi
mov dword [0x1003af08], esi
call fcn.1001cd70
push 0
push 1
push 1
push edi
push esi
call fcn.1000b53d
add esp, 0x24
xor eax, eax
xor byte [eax + str.._._._..._._._.._._...], 0x2e
inc eax
cmp eax, 0x1000
jl 0x1000a67d
push 0x1000
lea eax, [esp + 0x14]
push str.._._._..._._._.._._...
push eax
call fcn.10006bfa
lea eax, [esp + 0x1c]
push eax
call fcn.10006c56
add esp, 0x10
jmp 0x1000a75b
lea eax, [esp + 0x10]
push eax
call fcn.10006c56
movzx edi, ax
lea eax, [esp + 0x14]
push eax
call fcn.10006c56
movsx ebx, si
pop ecx
pop ecx
movzx ecx, ax
mov eax, dword [0x1003af08]
shl ebx, 3
lea esi, [ebx + eax]
movsx eax, di
dec eax
mov word [esi], di
je 0x1000a73a
dec eax
je 0x1000a723
dec eax
jne 0x1000a750
movsx edi, cx
push edi
call fcn.1001517f
pop ecx
push edi
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
push edi
push eax
call fcn.10006c81
pop ecx
pop ecx
push eax
push dword [esi + 4]
call fcn.1001bb80
push 0
push 1
push 1
push edi
push dword [esi + 4]
call fcn.1000b53d
add esp, 0x20
jmp 0x1000a750
lea eax, [esp + 0x10]
push eax
call fcn.10006c13
pop ecx
mov ecx, dword [0x1003af08]
mov dword [ebx + ecx + 4], eax
jmp 0x1000a750
lea eax, [esp + 0x10]
push eax
call fcn.10006c56
pop ecx
mov ecx, dword [0x1003af08]
mov word [ebx + ecx + 4], ax
lea eax, [esp + 0x10]
push eax
call fcn.10006c56
pop ecx
movzx esi, ax
test si, si
jg 0x1000a6b2
push 0x1000
push 0
push str.._._._..._._._.._._...
call fcn.1001cd70
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xa2e058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xa2e1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xa2e07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa2e06a
add dl, dl
jne 0xa2e089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa2e0dc
xor eax, eax
add dl, dl
jne 0xa2e096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa2e17d
add dl, dl
jne 0xa2e0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa2e0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa2e0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa2e0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xa2e0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xa2e075
mov eax, 1
add dl, dl
jne 0xa2e0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa2e0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa2e0e1
sub eax, ebx
mov ebx, 1
jne 0xa2e128
mov ecx, 1
add dl, dl
jne 0xa2e10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa2e119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa2e105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa2e075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xa2e13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa2e14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa2e136
cmp eax, 0x7d00
jae 0xa2e16d
cmp eax, 0x500
jb 0xa2e168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa2e075
cmp eax, 0x7f
ja 0xa2e170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa2e075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xa2e19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xa2e075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10