joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41deac
Capabilities:
Hash data using murmur3

Disassembly:
fist word [eax + eax - 0x3f]
ror dword [edx], 3
xor eax, 0x54dfb3
call fcn.0044e9a8
xor ebx, esp
call fcn.004c5f2a
sub edx, dword [0x54de40]
not esi
add dword [0x54dce0], edi
xor ebx, 0x763d65ea
or edi, dword [0x54df5a]
rol ebx, 0x17
call fcn.004469ca
xor esi, 0x9a8786e4
dec ebx
call fcn.00456327
call fcn.0048932b
call fcn.0048fc4c
inc ebx
xor esi, 0x9a8786e4
call fcn.00453606
ror ebx, 0x17
xor ebx, 0x763d65ea
add dword [0x54ddbf], ebx
not esi
call fcn.00407b17
xor ebx, esp
ror ecx, 0xa
add edx, esi
xchg ebx, eax
xor eax, 0x5b155ee3
call fcn.00487a79
xor edi, 0x10032d00
neg edx
rol edx, 0x13
call fcn.004fccd3
sub esi, 0x298e40d3
rol edx, 0xd
sub edi, ebx
xor ecx, edx
xchg edx, eax
not esi
xor edi, dword [0x54df95]
ror ebx, 5
add eax, 0x976dce6e
xor edx, dword [0x54de8c]
not ebx
call fcn.004ffd5a
call fcn.0050d854
not ebx
sub eax, 0x976dce6e
rol ebx, 5
not esi
xchg edx, eax
xor ecx, edx
add edi, ebx
ror edx, 0xd
add esi, 0x298e40d3
ror edx, 0x13
neg edx
push edi
inc edi
inc eax
dec edx
call fcn.00427bdf
dec eax
sub dword [0x54dc85], 0x6ab71669
call fcn.0048fc4c
rol edx, 0x12
sub esi, dword [0x54de3e]
or eax, dword [0x54df0b]
not eax
xchg edx, esi
add esi, dword [0x54df6d]
neg ecx
inc edi
xor esi, 0x63dd9de9
add esi, dword [0x54dedd]
xor dword [0x54dcd5], ebx
xor dword [0x54dceb], eax
xor esi, 0x63dd9de9
dec edi
neg ecx
xchg edx, esi
not eax
ror edx, 0x12
call fcn.0046f3de
sub dword [0x54dcb8], 0xfdb6526a
inc eax
call fcn.004dee99
inc edx
dec eax
dec edi
push 0x562b4
sub edi, 0xac1a1994
rol edx, 0x15
neg eax
add edi, esi
or dword [0x54dd10], eax
sub ebx, edx
add edi, dword [0x54de87]
rol edi, 4
call fcn.004e93a5
sub edi, dword [0x54df35]
xor esi, 0x8f55a53e
ror esi, 6
neg ecx
or eax, dword [0x54df7a]
add edx, dword [0x54de23]
neg esi
call fcn.0048fc4c
dec eax
rol edi, 0x19
call fcn.0049fe31
call fcn.00480472
ror edi, 0x19
inc eax
neg esi
neg ecx
rol esi, 6
xor esi, 0x8f55a53e
ror edi, 4
add ebx, edx
xor dword [0x54dcd9], eax
sub edi, esi
neg eax
ror edx, 0x15
add edi, 0xac1a1994
mov edi, 0x4c79d116
xor ecx, eax
call fcn.004f0fe4
not esi
xchg ebx, esi
xor eax, dword [0x54def5]
not edi
xor eax, 0xd442b052
add edi, dword [0x54df8f]
xor dword [0x54dc34], edx
not ebx
call fcn.004cb353
not ebx
and dword [0x54ddcd], edx
xor eax, 0xd442b052
not edi
xchg ebx, esi
not esi
call fcn.004a3fd9
xor ecx, eax
and edi, 0xfa471752
inc eax
xor esi, 0x79214df1
neg esi
and dword [0x54dd53], edx
add esi, edx
xor edx, esp
add ebx, dword [0x54de90]
and dword [0x54dc45], esi
xchg ebx, esi
sub ecx, dword [0x54de7b]
or dword [0x54dd96], ecx
not ecx
dec ebx
call fcn.004cc5a8
rol esi, 0xd
call fcn.004e4a67
xor edx, dword [0x54df18]
call fcn.00482b13
dec ecx
push es
add al, ch
inc ebx
mov eax, 0x9de8000b
and dword [esi], eax
add al, ch
mov edi, 0xc1000de6
into
or eax, 0x1d1f743
or eax, 0x54dc30
Function at 0x43b6d4
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x43b72c
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b733
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x43b73c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x43b791
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b798
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x43b808
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x43b87d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0043b3d4
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.0042d1f8
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x43b867
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b884
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x43b88c
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x43b901
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0043b3d4
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
ret
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x43b8eb
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b908
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x4e12cc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, eax
mov edi, dword [ebx + 0x24]
mov esi, dword [ebx + 0x34]
sub esi, dword [ebx + 0x6c]
sub esi, dword [ebx + 0x64]
test esi, esi
jne 0x4e12f6
cmp dword [ebx + 0x64], 0
jne 0x4e12f6
cmp dword [ebx + 0x6c], 0
jne 0x4e12f6
mov esi, edi
jmp 0x4e1384
cmp esi, 0xffffffff
jne 0x4e1301
dec esi
jmp 0x4e1384
mov eax, dword [ebx + 0x64]
lea edx, [edi + edi]
sub edx, 0x106
cmp eax, edx
jb 0x4e1384
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ebp, edi
mov ecx, ebp
call fcn.004e0934
sub dword [ebx + 0x68], edi
sub dword [ebx + 0x64], edi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x4e134c
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x4e1351
mov word [edx], 0
dec eax
test eax, eax
jne 0x4e1332
mov eax, edi
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x4e1378
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x4e137d
mov word [edx], 0
dec eax
test eax, eax
jne 0x4e135e
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x4e13e2
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.004e1054
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x4e13cd
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x30]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x4e13e2
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4e12d6
pop edx
pop ebp
pop edi
pop esi
pop ebx
Function at 0x519db4
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff64
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x90], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x519f01
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404658
mov dword [ebp - 0xc], 0x10
mov eax, esi
call fcn.00404b08
mov edi, eax
push 0xf0000020
push 1
push 0
push 0
lea eax, [ebp - 4]
push eax
call sub.advapi32.dll_CryptAcquireContextA
test eax, eax
je 0x519ec3
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x8003
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_CryptCreateHash
test eax, eax
je 0x519eb8
push 0
mov eax, esi
call fcn.00404910
push eax
push edi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CryptHashData
test eax, eax
je 0x519eaf
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x8c]
push eax
push 2
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CryptGetHashParam
test eax, eax
je 0x519eaf
mov edi, dword [ebp - 0xc]
dec edi
test edi, edi
jl 0x519eaf
inc edi
lea esi, [ebp - 0x8c]
lea eax, [ebp - 0x90]
push eax
xor eax, eax
mov al, byte [esi]
mov dword [ebp - 0x98], eax
mov byte [ebp - 0x94], 0
lea edx, [ebp - 0x98]
xor ecx, ecx
mov eax, 0x519f18
call fcn.00409ff0
mov edx, dword [ebp - 0x90]
mov eax, ebx
ret
call fcn.00404918
inc esi
dec edi
jne 0x519e74
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CryptDestroyHash
push 0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_CryptReleaseContext
lea edx, [ebp - 0x9c]
mov eax, dword [ebx]
call fcn.00408e9c
mov edx, dword [ebp - 0x9c]
mov eax, ebx
call fcn.004046ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x519f08
lea eax, [ebp - 0x9c]
call fcn.00404658
lea eax, [ebp - 0x90]
call fcn.00404658
ret
Function at 0x403910
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x4012e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401288
mov edx, dword [ebp + 8]
xor esi, esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], esi
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
push 3
lea eax, [ebp - 0x30]
push 0x402310
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryConstruct2]
mov ecx, dword [ebp - 0x18]
or ebx, 0xffffffff
push ecx
push esi
mov word [0x405084], si
mov word [0x405086], bx
mov dword [0x405088], esi
mov word [0x40508c], si
mov dword [0x405090], ebx
mov word [0x405094], si
call dword [sym.imp.MSVBVM60.DLL_rtcBstrFromAnsi]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x40]
call edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
mov ecx, 0x40503c
call edi
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov edx, dword [0x40503c]
push edx
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
push 0x403720
mov dword [0x405040], eax
mov dword [0x405048], eax
call fcn.004035c0
mov edi, dword [sym.imp.KERNEL32.DLL_CreateEventW]
push esi
push esi
push 1
push esi
mov dword [0x40504c], eax
mov dword [0x405050], esi
mov dword [0x405054], esi
call edi
push esi
push esi
push 1
push esi
mov dword [0x405078], eax
call edi
push esi
push esi
push 1
push esi
mov dword [0x405080], eax
call edi
mov ecx, dword [0x405078]
mov dword [0x40507c], eax
cmp ecx, esi
je 0x403a98
cmp dword [0x405080], esi
je 0x403a98
cmp eax, esi
je 0x403a98
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], esi
push eax
push 4
push esi
push 0x403850
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
cmp eax, esi
mov dword [0x405044], eax
je 0x403a9d
push eax
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
mov ecx, dword [ebp - 0x24]
mov edx, dword [0x405044]
push ebx
push esi
mov dword [ecx], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [0x40507c]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x24]
push edx
push 2
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
cmp eax, 1
jne 0x403a98
push 4
mov word [0x405084], bx
mov word [0x405086], si
call fcn.004035d0
mov eax, dword [0x405044]
cmp word [0x405084], si
jne 0x403ac9
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push eax
call esi
mov eax, dword [0x405078]
push eax
call esi
mov ecx, dword [0x405080]
push ecx
call esi
mov edx, dword [0x40507c]
push edx
call esi
mov eax, dword [0x405084]
push 0x403b0c
not eax
mov word [0x405086], ax
mov ecx, dword [0x405084]
mov dword [ebp - 0x3c], ecx
jmp 0x403af0
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea eax, [ebp - 0x44]
lea edx, [ebp - 0x30]
push eax
push 0
mov dword [ebp - 0x44], edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
ret
Function at 0x403da0
Capabilities:
Get token membership

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
xor esi, esi
mov dword [esp + 0xc], eax
mov ecx, 5
mov dword [esp + 8], esi
mov dword [esp + 4], esi
mov word [esp + 0x10], ax
call dword [sym.imp.MSVBVM60.DLL___vbaUI1I4]
lea ecx, [esp + 4]
mov byte [esp + 0x11], al
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
push 0x220
push 0x20
mov ecx, 2
call dword [sym.imp.MSVBVM60.DLL___vbaUI1I2]
lea edx, [esp + 0x30]
push eax
push edx
call dword [sym.imp.ADVAPI32.DLL_AllocateAndInitializeSid]
test eax, eax
je 0x403e24
mov ecx, dword [esp + 4]
lea eax, [esp + 8]
push eax
push ecx
push esi
call dword [sym.imp.ADVAPI32.DLL_CheckTokenMembership]
test eax, eax
je 0x403e19
mov ecx, dword [esp + 8]
xor edx, edx
cmp ecx, esi
setne dl
neg edx
mov esi, edx
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.DLL_FreeSid]
mov ax, si
pop esi
add esp, 0x10
ret
Function at 0x50b580
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8000]
push edi
jmp 0x50b59a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x50b5a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50b590
mov eax, 1
add ebx, ebx
jne 0x50b5b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x50b5a8
jne 0x50b5c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50b5a8
xor ecx, ecx
sub eax, 3
jb 0x50b5d8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50b64a
mov ebp, eax
add ebx, ebx
jne 0x50b5e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x50b5f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x50b614
inc ecx
add ebx, ebx
jne 0x50b600
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x50b5f5
jne 0x50b611
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50b5f5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x50b634
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x50b625
jmp 0x50b596
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x50b634
add edi, ecx
jmp 0x50b596
pop esi
mov edi, esi
mov ecx, 0x1d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x50b652
cmp byte [edi], 6
jne 0x50b652
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 0x50b657
lea edi, [esi + 0x9000]
mov eax, dword [edi]
or eax, eax
je 0x50b6c6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xdacc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xdb24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x50b684
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xdb2c]
or eax, eax
je 0x50b6c0
mov dword [ebx], eax
add ebx, 4
jmp 0x50b6a1
call dword [esi + 0xdb28]
mov ebp, dword [esi + 0xdb30]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x50b6fa
sub esp, 0xffffff80
jmp section.UPX0

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x2fd319c7
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x77f1865
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e084
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x403281
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x48]
call edx
mov ebp, dword [esp + 0x14]
cmp ebp, 1
je 0x4032b4
cmp ebp, 4
je 0x4032b4
cmp ebp, 8
je 0x4032b4
cmp ebp, 0x10
je 0x4032b4
cmp ebp, 0x18
je 0x4032b4
cmp ebp, 0x20
je 0x4032b4
pop esi
xor al, al
pop ebp
ret 0xc
push ebx
push edi
mov edi, dword [esp + 0x14]
imul edi, ebp
shr edi, 3
mov eax, edi
and eax, 3
je 0x4032d0
mov ecx, 4
sub ecx, eax
add edi, ecx
xor ebx, ebx
cmp ebp, 8
ja 0x4032e5
mov edx, 1
mov ecx, ebp
shl edx, cl
mov dword [esi + 0x38], edx
jmp 0x4032e8
mov dword [esi + 0x38], ebx
mov eax, dword [esi + 0x38]
lea ecx, [eax*4 + 0x28]
push ecx
call fcn.0041cd3e
mov dword [esi + 8], eax
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov edx, dword [esi + 8]
mov ecx, dword [esp + 0x18]
mov dword [edx], 0x28
mov eax, dword [esi + 8]
mov dword [eax + 4], ecx
mov edx, dword [esi + 8]
mov eax, dword [esp + 0x1c]
mov dword [edx + 8], eax
imul edi, eax
mov ecx, dword [esi + 8]
mov word [ecx + 0xe], bp
mov edx, dword [esi + 8]
mov word [edx + 0xc], 1
mov ecx, dword [esi + 8]
mov dword [ecx + 0x10], ebx
mov edx, dword [esi + 8]
mov dword [edx + 0x14], edi
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x14]
push ecx
call fcn.0041cd3e
add esp, 8
cmp ebp, 8
mov dword [esi + 0xc], eax
ja 0x4033c1
mov ecx, ebp
mov eax, 1
shl eax, cl
xor ecx, ecx
cmp eax, ebx
mov dword [esi + 0x38], eax
jbe 0x4033c1
nop
mov edi, dword [esi + 0x38]
xor edx, edx
sub edi, 1
mov eax, 0xff
div edi
mov edx, dword [esi + 8]
imul cl
mov byte [edx + ecx*4 + 0x28], al
mov eax, dword [esi + 8]
movzx edx, byte [eax + ecx*4 + 0x28]
mov byte [eax + ecx*4 + 0x29], dl
mov eax, dword [esi + 8]
movzx edx, byte [eax + ecx*4 + 0x29]
lea eax, [eax + ecx*4]
mov byte [eax + 0x2a], dl
mov eax, dword [esi + 8]
mov byte [eax + ecx*4 + 0x2b], bl
add ecx, 1
cmp ecx, dword [esi + 0x38]
jb 0x403380
lea edi, [esi + 0x10]
mov esi, dword [esi + 8]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
pop edi
pop ebx
pop esi
mov al, 1
pop ebp
ret 0xc
Function at 0x4040c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x495453
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebp
push esi
push edi
mov eax, dword [0x4b8670]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0xa
push 0xa0
push 0
call esi
test eax, eax
jne 0x404105
xor edi, edi
jmp 0x404110
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push 0xa
push 0xa0
push 0
call esi
test eax, eax
jne 0x404123
xor esi, esi
jmp 0x40412e
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
lea eax, [esp + 0x4c]
push eax
call fcn.004068d0
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x4c], vtable.ysl::storage::memory_streambuf.0
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], edi
mov dword [ecx], esi
mov edx, dword [esp + 0x70]
mov dword [edx], esi
mov ecx, dword [esp + 0x80]
lea eax, [esi + edi]
sub eax, esi
mov dword [ecx], eax
mov edx, dword [esp + 0x5c]
mov dword [edx], esi
mov ecx, dword [esp + 0x6c]
mov dword [ecx], esi
mov edx, dword [esp + 0x7c]
mov dword [edx], eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0xa8], 0
call fcn.00406720
mov byte [esp + 0xa0], 1
mov edx, dword [ebx + 0x74]
mov edx, dword [edx + 0x40]
lea edi, [ebx + 0x74]
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call edx
mov eax, dword [edi]
mov ebp, dword [ebx + 0xb0]
mov edx, dword [eax + 0xc]
lea esi, [ebx + 0xb0]
push 0x20
mov ecx, edi
add ebp, 0x3c
call edx
push eax
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
push eax
mov eax, dword [ebp]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x34]
push edi
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
push 0x1e
mov ecx, esi
call eax
mov edx, dword [esi]
push eax
mov eax, dword [edx + 8]
mov ecx, esi
call eax
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.004237d7
mov byte [esp + 0xa0], 0
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x18]
mov dword [esp + edx + 0x10], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [esp + 0x18], vtable.std::ios_base.0
push eax
call fcn.00454cc6
mov dword [esp + 0xa4], 0xffffffff
add esp, 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], vtable.ysl::storage::memory_streambuf.0
call fcn.004069d0
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x94
ret