joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101aa1d
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x1022d9c]
mov edx, dword [ebp + 0xc]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x448], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x44c], eax
xor ebx, ebx
push 9
xor eax, eax
cmp edx, ebx
mov word [ebp - 0x2c], bx
pop ecx
lea edi, [ebp - 0x2a]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x444], edx
mov dword [ebp - 0x450], esi
stosw word es:[edi], ax
jne 0x101aa93
lea eax, [ebp - 0x43c]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x101abef
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x444], eax
push 0x5c
push dword [ebp - 0x444]
call sub.msvcrt.dll_wcsrchr
cmp eax, ebx
pop ecx
pop ecx
je 0x101aab8
cmp word [eax + 2], bx
jne 0x101aab8
push 1
push ebx
push eax
call sub.msvcrt.dll__wcsnset
add esp, 0xc
cmp esi, ebx
jne 0x101aac6
mov dword [ebp - 0x450], 0x100284c
cmp dword [ebp - 0x448], ebx
jne 0x101aad8
mov dword [ebp - 0x448], 0x1001d14
cmp dword [ebp + 8], ebx
je 0x101ab06
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x10059cc
lea eax, [ebp - 0x2c]
push 0x14
push eax
call fcn.0101a89c
add esp, 0x10
cmp eax, ebx
jge 0x101ab06
and eax, 0xffff
push eax
jmp 0x101abe9
mov dword [ebp - 0x440], ebx
lea eax, [ebp - 0x468]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x468]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x101abef
mov esi, dword [ebp - 0x454]
push dword [ebp - 0x450]
mov eax, dword [ebp - 0x458]
xor edi, edi
shld edi, esi, 0x18
xor ecx, ecx
shr eax, 8
or edi, ecx
push edi
shl esi, 0x18
or esi, eax
push esi
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x448]
push dword [ebp - 0x444]
push 0x10059ac
push dword [ebp + 0x1c]
push dword [ebp - 0x44c]
call fcn.0101a89c
add esp, 0x24
cmp eax, ebx
jl 0x101aafb
push 2
push ebx
push 0x80
push 1
push ebx
push ebx
push 0x40000000
push dword [ebp - 0x44c]
call fcn.0101a7c2
cmp eax, 0xffffffff
jne 0x101abd4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x101abbc
cmp eax, 0x50
jne 0x101abef
inc dword [ebp - 0x440]
cmp dword [ebp - 0x440], 0x100
jb 0x101ab0c
jmp 0x101abdb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x440], 0x100
jne 0x101abf5
push 4
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
xor edx, edx
jmp 0x101abf9
mov eax, esi
mov edx, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.010189ca
leave
ret 0x18
Function at 0x101ac52
Capabilities:
Delete file
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x698
mov eax, dword [0x1022d9c]
or dword [ebp - 0x624], 0xffffffff
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
xor esi, esi
push edi
mov dword [ebp - 0x628], eax
mov dword [ebp - 0x620], esi
call sub.msvcrt.dll__wcsicmp
test eax, eax
pop ecx
pop ecx
jne 0x101aca6
mov eax, dword [ebp - 0x628]
mov dword [eax], 1
xor eax, eax
jmp 0x101adc9
lea eax, [ebp - 0x20c]
push eax
push esi
push 0x1005954
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x101accf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x620], eax
jmp 0x101adc3
push 2
push esi
push esi
push 3
push esi
push 3
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.0101a7c2
cmp eax, 0xffffffff
mov dword [ebp - 0x62c], eax
jne 0x101ad01
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x620], eax
jmp 0x101adb6
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call sub.msvcrt.dll_wcsrchr
pop ecx
pop ecx
push ebx
mov dword [ebp - 0x630], eax
mov edi, 0x208
push edi
lea eax, [ebp - 0x61c]
push eax
call fcn.0101a675
cmp eax, esi
jge 0x101ad3b
and eax, 0xffff
mov dword [ebp - 0x620], eax
jmp 0x101ad97
push dword [ebp - 0x630]
lea eax, [ebp - 0x61c]
push edi
push eax
call fcn.0101a8ca
cmp eax, esi
jl 0x101ad2e
push 2
push esi
push esi
push 3
push esi
push 3
push esi
lea eax, [ebp - 0x61c]
push eax
call fcn.0101a7c2
cmp eax, 0xffffffff
mov dword [ebp - 0x624], eax
jne 0x101add8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
mov dword [ebp - 0x620], eax
je 0x101ad97
cmp eax, 0xe
je 0x101ad97
mov dword [ebp - 0x620], esi
mov eax, dword [ebp - 0x628]
mov dword [eax], esi
push dword [ebp - 0x62c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
cmp dword [ebp - 0x624], 0xffffffff
je 0x101adb6
push dword [ebp - 0x624]
call esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x620]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.010189ca
leave
ret 0xc
mov edi, dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
lea eax, [ebp - 0x664]
push eax
push dword [ebp - 0x62c]
call edi
test eax, eax
je 0x101ae04
lea eax, [ebp - 0x698]
push eax
push dword [ebp - 0x624]
call edi
test eax, eax
jne 0x101ae0f
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x101ad33
mov eax, dword [ebp - 0x638]
cmp eax, dword [ebp - 0x66c]
jne 0x101ad8f
mov eax, dword [ebp - 0x634]
cmp eax, dword [ebp - 0x668]
jne 0x101ad8f
mov eax, dword [ebp - 0x648]
cmp eax, dword [ebp - 0x67c]
jne 0x101ad8f
mov eax, dword [ebp - 0x628]
mov dword [eax], 1
jmp 0x101ad97
Function at 0x101b1b4
Capabilities:
Contain obfuscated stackstrings
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x1022d9c]
push ebx
push edi
mov dword [ebp - 4], eax
xor eax, eax
xor ebx, ebx
mov byte [ebp - 0x3c], bl
lea edi, [ebp - 0x3b]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push ebx
xor eax, eax
push 0x80
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
push 3
stosd dword es:[edi], eax
push ebx
push 1
stosd dword es:[edi], eax
push 0x80000000
push ecx
mov byte [ebp - 0x18], 0x46
mov byte [ebp - 0x17], 0x41
mov byte [ebp - 0x16], 0x58
mov byte [ebp - 0x15], 0x43
mov byte [ebp - 0x14], 0x4f
mov byte [ebp - 0x13], 0x56
mov byte [ebp - 0x12], 0x45
mov byte [ebp - 0x11], 0x52
mov byte [ebp - 0x10], 0x2d
mov byte [ebp - 0xf], 0x56
mov byte [ebp - 0xe], 0x45
mov byte [ebp - 0xd], 0x52
mov byte [ebp - 0xc], 0x30
mov byte [ebp - 0xb], 0x30
mov byte [ebp - 0xa], 0x35
mov byte [ebp - 9], 0x77
mov byte [ebp - 8], 0x87
mov byte [ebp - 7], bl
mov byte [ebp - 6], bl
mov byte [ebp - 5], bl
stosd dword es:[edi], eax
call fcn.0101a850
cmp eax, 0xffffffff
mov dword [ebp - 0x40], eax
jne 0x101b252
xor eax, eax
jmp 0x101b28d
push ebx
lea ecx, [ebp - 0x44]
push ecx
push 0x24
lea ecx, [ebp - 0x3c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x101b282
cmp dword [ebp - 0x44], 0x24
jne 0x101b282
push esi
push 5
pop ecx
lea edi, [ebp - 0x3c]
lea esi, [ebp - 0x18]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
pop esi
jne 0x101b282
xor ebx, ebx
inc ebx
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop ebx
call fcn.010189ca
leave
ret 4

Function at 0x101b2ed
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
cmp dword [ebp + 8], 0
mov eax, dword [0x1022d9c]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
je 0x101b34b
push 0x40
call fcn.0101a48e
test eax, eax
je 0x101b34b
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0x1005a80
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x101b338
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x101b34d
push dword [ebp + 8]
lea eax, [ebp - 0x210]
push 8
push eax
push esi
call dword [sym.imp.USER32.dll_WinHelpW]
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
call fcn.010189ca
leave
ret 8
Function at 0x101b35f
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1022d9c]
and word [ebp - 0x20c], 0
mov edx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], eax
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
push 0x104
stosw word es:[edi], ax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 0x10]
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x101b3e3
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
test edi, edi
je 0x101b3e3
push 9
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.010189ca
leave
ret 0xc
push 1
push 0
push 0
push 0x1005a98
push 0x1003388
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x101b3d2
xor eax, eax
jmp 0x101b3d5

Function at 0x101b5f5
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x1022d9c]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov edx, 0x82
mov dword [ebp - 4], eax
xor eax, eax
cmp ebx, esi
mov ecx, edx
lea edi, [ebp - 0x41a]
mov word [ebp - 0x41c], si
rep stosd dword es:[edi], eax
mov ecx, edx
lea edi, [ebp - 0x20e]
mov word [ebp - 0x210], si
rep stosd dword es:[edi], eax
mov dword [ebp - 0x428], 0x20a
je 0x101b75b
push 1
push 1
push 0x10033dc
push 0x80000001
mov word [ebx], si
call fcn.0101b88b
mov edi, eax
cmp edi, esi
je 0x101b75b
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x420]
push eax
push esi
push 0x1005a64
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov dword [ebp - 0x424], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x424], esi
jne 0x101b75b
cmp dword [ebp - 0x420], 1
je 0x101b6bc
cmp dword [ebp - 0x420], 2
jne 0x101b75b
mov edi, 0x105
push edi
lea eax, [ebp - 0x41c]
push eax
push 5
call fcn.0101b408
test eax, eax
je 0x101b75b
lea eax, [ebp - 0x41c]
push eax
push dword [ebp + 0xc]
push ebx
call fcn.0101a87a
cmp eax, esi
jl 0x101b74f
cmp word [ebp - 0x210], 0x5c
mov esi, 0x1005794
je 0x101b709
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0101ac30
test eax, eax
jl 0x101b74f
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jbe 0x101b73b
cmp eax, edi
jae 0x101b73b
cmp word [ebp + eax*2 - 0x212], 0x5c
je 0x101b73b
push esi
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.0101a8ca
test eax, eax
jl 0x101b74f
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 0xc]
push ebx
call fcn.0101ac30
test eax, eax
jge 0x101b76c
and eax, 0xffff
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.010189ca
leave
ret 8
push ebx
call fcn.0101bef2
xor eax, eax
inc eax
jmp 0x101b75d
Function at 0x101bb32
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
push edi
push 4
pop edi
mov dword [ebp - 4], edi
jne 0x101bb4b
push 0x57
jmp 0x101bb90
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x101bb81
mov eax, dword [ebp + 0x14]
push edi
push esi
push edi
push 0
push dword [ebp + 0xc]
mov dword [esi], eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jmp 0x101bb88
test eax, eax
jne 0x101bb8f
cmp dword [ebp + 0x10], edi
jne 0x101bb8f
xor eax, eax
inc eax
jmp 0x101bb98
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
pop esi
leave
ret 0x10

Function at 0x101bd80
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x1022d9c]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetDateFormatW]
push edi
push dword [ebp + 0x18]
mov edi, dword [ebp + 0x14]
push edi
push 0
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x120], eax
call esi
test eax, eax
mov dword [ebp - 0x11c], eax
je 0x101bdec
cmp dword [ebp + 0x18], 0
jne 0x101bdcc
add eax, eax
jmp 0x101be30
test bl, 0x30
jne 0x101be30
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x101bdf0
xor eax, eax
jmp 0x101be30
cmp dword [ebp - 0x108], 2
jne 0x101be2a
cmp dword [ebp - 0x114], 5
jb 0x101be2a
push edi
push dword [ebp + 8]
call fcn.0101afba
test eax, eax
je 0x101be2a
push dword [ebp + 0x18]
or ebx, 0x20
push edi
push 0
push dword [ebp - 0x120]
push ebx
push dword [ebp + 8]
call esi
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.010189ca
leave
ret 0x14
Function at 0x101bef2
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push dword [ebp + 8]
call fcn.0101bd08
mov esi, eax
test esi, esi
mov dword [ebp + 8], esi
jne 0x101bf1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x101c05c
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x101bf35
test al, 0x10
je 0x101bf35
and dword [ebp - 4], 0
jmp 0x101c05c
push ebx
push edi
push esi
call sub.msvcrt.dll_wcslen
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop ecx
push 2
pop edi
cmp eax, edi
jbe 0x101bf87
push edi
push 0x1001ed4
push esi
call sub.msvcrt.dll_wcsncmp
add esp, 0xc
test eax, eax
jne 0x101bf87
push 0x5c
add esi, 4
push esi
call sub.msvcrt.dll_wcschr
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x101bfe0
push 0x5c
add esi, edi
push esi
call sub.msvcrt.dll_wcschr
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x101bfe0
add esi, edi
jmp 0x101bfdc
push esi
call sub.msvcrt.dll_wcslen
cmp eax, 1
pop ecx
jbe 0x101bfa7
push 1
push 0x1005794
push esi
call sub.msvcrt.dll_wcsncmp
add esp, 0xc
test eax, eax
je 0x101bf83
push esi
call sub.msvcrt.dll_wcslen
cmp eax, 3
pop ecx
jbe 0x101bfdc
xor eax, eax
mov ax, word [esi]
push eax
call sub.msvcrt.dll_iswalpha
test eax, eax
pop ecx
je 0x101bfdc
push edi
lea eax, [esi + 2]
push 0x1005b30
push eax
call sub.msvcrt.dll_wcsncmp
add esp, 0xc
test eax, eax
jne 0x101bfdc
add esi, 6
test esi, esi
jne 0x101c001
push 0
push dword [ebp + 8]
call ebx
test eax, eax
jne 0x101c001
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov dword [ebp - 4], eax
jne 0x101c05a
and dword [ebp - 4], 0
jmp 0x101c05a
add esi, edi
cmp word [esi], 0
je 0x101c05a
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x5c
push esi
call sub.msvcrt.dll_wcschr
pop ecx
mov esi, eax
pop ecx
xor eax, eax
cmp esi, eax
push eax
push dword [ebp + 8]
je 0x101c046
mov word [esi], ax
call ebx
test eax, eax
jne 0x101c037
call edi
cmp eax, 0xb7
jne 0x101c055
mov word [esi], 0x5c
inc esi
inc esi
cmp word [esi], 0
jne 0x101c00f
jmp 0x101c05a
call ebx
test eax, eax
jne 0x101c05a
call edi
cmp eax, 0xb7
je 0x101c05a
call edi
mov dword [ebp - 4], eax
pop edi
pop ebx
push dword [ebp + 8]
call fcn.0101b86f
cmp dword [ebp - 4], 0
pop esi
je 0x101c074
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
cmp dword [ebp - 4], eax
sete al
leave
ret 4
Function at 0x13730
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
jmp 0x13751
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0xc]
jge 0x137bb
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
movzx eax, byte [edx]
test eax, eax
je 0x137b9
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
movzx edx, byte [ecx]
movzx eax, word [edx*2 + 0x1c0d8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0x1c4d8]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x1c4f2]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0xc]
movzx eax, byte [edx + 0x1bcd0]
shl eax, 8
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x1bcd0]
or eax, edx
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
jmp 0x13748
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x13860
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
jmp 0x13881
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0xc]
jge 0x138f3
mov edx, dword [ebp - 8]
shl edx, 5
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
test ecx, ecx
je 0x138f1
mov edx, dword [ebp - 8]
shl edx, 5
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
movzx edx, word [ecx*2 + 0x1c0d8]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x1c4d8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
movzx eax, byte [edx + 0x1c4f2]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + 0x1bcd0]
shl edx, 8
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x1bcd0]
or edx, ecx
xor edx, dword [ebp - 4]
mov dword [ebp - 4], edx
jmp 0x13878
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x418180
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x12000]
push edi
or ebp, 0xffffffff
jmp 0x4181a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4181a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x418198
mov eax, 1
add ebx, ebx
jne 0x4181bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4181b0
jne 0x4181cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4181b0
xor ecx, ecx
sub eax, 3
jb 0x4181e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x418252
mov ebp, eax
add ebx, ebx
jne 0x4181eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4181f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41821c
inc ecx
add ebx, ebx
jne 0x418208
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4181fd
jne 0x418219
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4181fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41823c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41822d
jmp 0x41819e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41823c
add edi, ecx
jmp 0x41819e
pop esi
mov edi, esi
mov ecx, 0x3b2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41825a
cmp byte [edi], 0
jne 0x41825a
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 eax, ebx
loop 0x41825f
lea edi, [esi + 0x16000]
mov eax, dword [edi]
or eax, eax
je 0x4182ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x180b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18114]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41828c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x18118]
or eax, eax
je 0x4182c8
mov dword [ebx], eax
add ebx, 4
jmp 0x4182a9
call dword [esi + 0x1811c]
popal
jmp 0x40a630

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4140c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47016b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00464d93
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x414142
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00462c6d
mov eax, dword [eax]
push 0x48bc54
push eax
call fcn.00455af4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046501e
test bl, bl
je 0x414142
push 0x48bc54
lea ecx, [esp + 0xc]
call fcn.004653ae
push 0x48bc60
lea ecx, [esp + 0xc]
call fcn.004653ae
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41417e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046501e
jmp 0x414249
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x414202
lea edx, [esp + 0x7c]
push 0x48bc5c
push edx
call fcn.00455af4
add esp, 8
test eax, eax
je 0x414202
lea eax, [esp + 0x7c]
push 0x48bc58
push eax
call fcn.00455af4
add esp, 8
test eax, eax
je 0x414202
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x414192
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0046501e
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x414a50
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x414ab2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc