joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418990
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4189bb
test byte [esp + 8], 0x80
je 0x4189aa
and al, 0xfe
jmp 0x4189ac
or al, 1
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesA]
test eax, eax
jne 0x4189cc
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
call fcn.00419a1f
pop ecx
or eax, 0xffffffff
ret
xor eax, eax
ret

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x418af1
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
call fcn.00419a1f
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x418b12
test byte [esp + 8], 2
je 0x418b12
mov dword [0x427690], 0xd
mov dword [0x427694], 5
jmp 0x418aed
xor eax, eax
ret

Function at 0x41c905
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x426cd0
cmp edx, dword [eax]
je 0x41c927
add eax, 8
inc ecx
cmp eax, 0x426d60
jl 0x41c918
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x426cd0]
jne 0x41ca55
mov eax, dword [0x4276ec]
cmp eax, 1
je 0x41ca2f
test eax, eax
jne 0x41c958
cmp dword [0x424758], 1
je 0x41ca2f
cmp edx, 0xfc
je 0x41ca55
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x41c98f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0041b1c0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0041bec0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x41c9d2
lea eax, [ebp - 0x1a4]
push eax
call fcn.0041bec0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4223ec
push edi
call fcn.004190f0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0041b1c0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0041b1d0
lea eax, [ebp - 0xa0]
push 0x420b14
push eax
call fcn.0041b1d0
push dword [esi + 0x426cd4]
lea eax, [ebp - 0xa0]
push eax
call fcn.0041b1d0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0041e105
add esp, 0x2c
pop edi
jmp 0x41ca55
lea eax, [ebp + 8]
lea esi, [esi + 0x426cd4]
push 0
push eax
push dword [esi]
call fcn.0041bec0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
pop esi
leave
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x77b865f1
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x432060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
je 0x4320d2
nop
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x7c0c410b
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x4068d0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x807a68]
jne 0x4068da
repz ret
jmp fcn.00409dff

Function at 0x409876
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00403906
and dword [ebp - 4], 0
cmp dword [0x80a018], 0
mov ebx, eax
jne 0x409927
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4099d8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4099d8
push eax
call fcn.00403894
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x80a018], eax
call esi
push eax
call fcn.00403894
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x80a01c], eax
call esi
push eax
call fcn.00403894
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x80a020], eax
call esi
push eax
call fcn.00403894
pop ecx
mov dword [0x80a028], eax
test eax, eax
je 0x409927
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403894
pop ecx
mov dword [0x80a024], eax
mov eax, dword [0x80a024]
cmp eax, ebx
je 0x40997f
cmp dword [0x80a028], ebx
je 0x40997f
push eax
call fcn.0040390f
push dword [0x80a028]
mov esi, eax
call fcn.0040390f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40997f
test edi, edi
je 0x40997f
call esi
test eax, eax
je 0x409976
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409976
test byte [ebp - 0xc], 1
jne 0x40997f
or dword [ebp + 0x10], 0x200000
jmp 0x4099b8
mov eax, dword [0x80a01c]
cmp eax, ebx
je 0x4099b8
push eax
call fcn.0040390f
pop ecx
test eax, eax
je 0x4099b8
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4099b8
mov eax, dword [0x80a020]
cmp eax, ebx
je 0x4099b8
push eax
call fcn.0040390f
pop ecx
test eax, eax
je 0x4099b8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x80a018]
call fcn.0040390f
pop ecx
test eax, eax
je 0x4099d8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4099da
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4311d6
Capabilities:
Terminate process

Disassembly:
jmp 0x440880
jmp fcn.00443600
cmp ecx, dword [0x4ab0b0]
jne 0x44088a
repz ret
jmp 0x4316fe
Function at 0x1000d4d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x14
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov eax, dword [edi]
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_fread]
cmp ebx, eax
jne 0x1000d510
add esp, 0x14
pop ebx
pop esi
pop edi
pop ebp
ret
imul ebx, esi
mov dword [esp + 8], str.Read_error._Got__d_bytes__block_should_be_of__d_bytes
imul eax, esi
mov dword [esp + 4], 1
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov eax, dword [edi + 4]
mov dword [esp], eax
call sym._cmsSignalError
add esp, 0x14
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x1000d600
Capabilities:
Write file on windows

Disassembly:
push ebp
mov eax, 1
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
test edx, edx
jne 0x1000d620
leave
ret
mov eax, dword [ecx]
add dword [ecx + 8], edx
mov dword [esp + 8], 1
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_fwrite]
leave
cmp eax, 1
sete al
movzx eax, al
ret
Function at 0x1000eb80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x214]
push ebx
sub esp, 0x210
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [esp + 4], 0x104
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
mov edx, edi
sub esp, 8
cmp word [ebp - 0x214], 0
je 0x1000ebc9
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x1000ebc0
xor eax, eax
mov ecx, 0x5c
jmp 0x1000ebdf
movzx ecx, word [eax + str._spooldriverscolor]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1000ebd8
movzx edx, word [ebp - 0x214]
test dx, dx
je 0x1000ec60
mov eax, edi
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x1000ec00
sub eax, edi
test ebx, ebx
je 0x1000ec13
cmp eax, dword [esi]
jbe 0x1000ec30
mov edx, dword fs:[0x18]
mov dword [edx + 0x34], 0xea
mov dword [esi], eax
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
xor ecx, ecx
jmp 0x1000ec3c
movzx edx, word [edi + ecx]
mov word [ebx + ecx], dx
add ecx, 2
test dx, dx
jne 0x1000ec38
mov dword [esi], eax
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
test ebx, ebx
je 0x1000ec6d
xor eax, eax
mov word [ebx], ax
xor eax, eax
jmp 0x1000ec48
xor eax, eax
jmp 0x1000ec13

Function at 0x1000ec80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x18
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
test byte [0x100407a0], 8
jne 0x1000ecd0
test esi, esi
jne 0x1000ecc0
test ebx, ebx
je 0x1000ecc0
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], 0
add esp, 0x18
pop ebx
pop esi
pop edi
pop ebp
jmp sym._GetColorDirectoryW_12.part.0
add esp, 0x18
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.___p___p___n
mov dword [esp + 8], str.GetColorDirectoryW
mov dword [esp + 4], 0x100407a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x1000ec9b
Function at 0x1000f800
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xc
mov ebx, dword [0x10040898]
test ebx, ebx
je 0x1000f8d0
mov eax, dword [0x10040898]
test eax, eax
je 0x1000f8a8
mov eax, dword [0x10040898]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
sub esp, 8
cmp eax, 0xffffffff
je 0x1000f8a8
mov eax, dword [0x10040824]
test eax, eax
je 0x1000f920
mov eax, dword [0x10040898]
test eax, eax
je 0x1000f880
mov eax, dword [0x10040898]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ReleaseMutex]
sub esp, 4
test eax, eax
je 0x1000f880
mov dword [0x1004089c], 1
mov ebx, dword [ebp - 4]
mov eax, 1
leave
ret
mov dword [esp + 8], str.Mutex_unlock_failed
mov dword [esp + 4], 3
mov dword [esp], 0
call sym._cmsSignalError
mov ebx, dword [ebp - 4]
xor eax, eax
leave
ret
mov dword [esp + 8], str.Mutex_lock_failed
mov dword [esp + 4], 3
mov dword [esp], 0
call sym._cmsSignalError
mov ebx, dword [ebp - 4]
xor eax, eax
leave
ret
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateMutexA]
sub esp, 0xc
mov edx, eax
test eax, eax
je 0x1000f815
mov eax, ebx
lock cmpxchg dword [0x10040898], edx
test eax, eax
je 0x1000f815
mov dword [esp], edx
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
jmp 0x1000f815
mov dword [esp], 0x10040824
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
sub esp, 4
jmp 0x1000f84d
Function at 0x1000fbf0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x430
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x420], 0x208
test ebx, ebx
sete al
test edx, edx
setne dl
or edx, eax
test byte [0x100407a0], 8
jne 0x1000fd28
test dl, dl
je 0x1000fc38
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
lea edi, [ebp - 0x420]
lea esi, [ebp - 0x41c]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], 0
call sym._GetColorDirectoryW_12.part.0
sub esp, 0xc
test eax, eax
je 0x1000fc29
lea edx, [ebp - 0x214]
mov eax, ebx
call sym._basename
cmp word [ebp - 0x41c], 0
mov edx, esi
je 0x1000fc89
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x1000fc80
xor eax, eax
mov ecx, 0x5c
jmp 0x1000fc9f
movzx ecx, word [eax + 0x1004236c]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1000fc98
cmp word [ebp - 0x41c], 0
mov edx, esi
je 0x1000fcc9
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x1000fcc0
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [ebp + eax - 0x214]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1000fcd0
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcscmp]
mov edx, eax
mov eax, 1
test edx, edx
je 0x1000fc2b
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 8], 1
call dword [sym.imp.kernel32.dll_CopyFileW]
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov eax, ebx
mov byte [ebp - 0x421], dl
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.___s___n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.InstallColorProfileW
mov dword [esp + 4], 0x100407a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
movzx edx, byte [ebp - 0x421]
test dl, dl
jne 0x1000fc29
lea edi, [ebp - 0x420]
test byte [0x100407a0], 8
je 0x1000fc3e
lea esi, [ebp - 0x41c]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.___p___p___n
mov dword [esp + 8], str.GetColorDirectoryW
mov dword [esp + 4], 0x100407a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x1000fc44
Function at 0x10010970
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x30
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
test byte [0x100407a0], 8
jne 0x10010a00
test ebx, ebx
je 0x100109f0
mov eax, dword [ebx + 4]
test eax, eax
je 0x100109f0
test byte [ebx], 2
jne 0x10010a40
lea edx, [ebp - 0x18]
mov eax, ebx
mov dword [ebp - 0x1c], ecx
call sym._profile_AtoW
test eax, eax
je 0x100109f0
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp + 0xc], ecx
mov dword [esp], eax
call sym.mscms.dll_OpenColorProfileW
mov edx, dword [ebp - 0x14]
sub esp, 0x10
mov dword [ebp - 0x1c], eax
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.___p___lx___lx___lx___n
mov dword [esp + 8], str.OpenColorProfileA
mov dword [esp + 4], 0x100407a0
mov dword [esp], 3
mov dword [ebp - 0x1c], ecx
call sym._wine_dbg_log.constprop.0_2
mov ecx, dword [ebp - 0x1c]
jmp 0x1001098e
mov dword [ebp + 0x10], edi
mov dword [ebp + 0xc], esi
mov dword [ebp + 8], ebx
mov dword [ebp + 0x14], ecx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp sym.mscms.dll_OpenColorProfileW
Function at 0x10013310
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov edx, eax
mov ebx, eax
mov ecx, eax
mov esi, eax
shr edx, 0xa
shr ebx, 0xd
shr esi, 0xe
and ebx, 1
mov edi, edx
shr ecx, 3
and edi, 1
mov dword [ebp - 0x10], ebx
mov ebx, eax
shr eax, 0x17
mov dword [ebp - 0x24], edi
shr ebx, 7
mov edi, eax
xor edx, esi
and edi, 1
and ecx, 0xf
and ebx, 7
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x20], ebx
setne bl
and eax, ebx
and edx, 1
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x28], edx
je 0x10013468
test al, al
je 0x100134c0
mov eax, dword [ebp + 0x10]
mov edx, 0x80008001
movzx eax, byte [eax]
mov edi, eax
shl edi, 8
mov esi, edi
or eax, esi
movzx esi, ax
lea eax, [esi + 0x7fff]
mul edx
shr edx, 0xf
lea eax, [edx + esi]
mov esi, dword [ebp - 0x20]
add esi, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
test ecx, ecx
je 0x10013459
lea eax, [ecx - 1]
mov edi, dword [ebp - 0x24]
xor edx, edx
mov dword [ebp - 0x18], eax
lea esi, [esi]
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp + 0xc]
sub eax, edx
test edi, edi
cmove eax, edx
cmp dword [ebp - 0x10], 0
movzx ebx, word [ebx + eax*2]
mov eax, ebx
not eax
cmovne ebx, eax
cmp dword [ebp - 0x14], 0
movzx eax, bx
je 0x100133f3
imul eax, dword [ebp - 0x1c]
add eax, 0x8000
shr eax, 0x10
mov ebx, eax
imul eax, eax, 0xff01
add eax, 0x800000
shr eax, 0x18
mov byte [esi + edx], al
inc edx
cmp ecx, edx
ja 0x100133c0
test ecx, ecx
mov eax, 1
mov edx, dword [ebp - 0x28]
cmovne eax, ecx
add esi, eax
test edx, edx
je 0x100134b0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x10013459
test byte [ebp - 0x2c], 1
je 0x10013459
mov eax, dword [ebp + 0x10]
dec ecx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
inc eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_memmove]
movzx eax, bx
mov edi, dword [ebp + 0x10]
imul eax, eax, 0xff01
add eax, 0x800000
shr eax, 0x18
mov byte [edi], al
add esp, 0x2c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0x1c], 0
test al, al
je 0x1001349a
mov eax, dword [ebp + 0x10]
mov edx, 0x80008001
movzx eax, byte [eax + ecx]
mov ebx, eax
shl ebx, 8
or eax, ebx
movzx ebx, ax
lea eax, [ebx + 0x7fff]
mul edx
shr edx, 0xf
lea eax, [edx + ebx]
mov dword [ebp - 0x1c], eax
mov esi, dword [ebp + 0x10]
xor ebx, ebx
test ecx, ecx
jne 0x100133ae
lea esi, [esi]
nop
add esi, dword [ebp - 0x20]
jmp 0x10013420
mov esi, dword [ebp - 0x20]
xor ebx, ebx
add esi, dword [ebp + 0x10]
mov dword [ebp - 0x1c], 0
test ecx, ecx
jne 0x100133ae
jmp 0x10013420
Function at 0x100134e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x30
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov edx, eax
mov ebx, eax
mov ecx, eax
shr edx, 0xb
shr ebx, 0xd
mov edi, edx
mov edx, eax
and ebx, 1
shr ecx, 3
shr edx, 0xa
and edi, 1
mov dword [ebp - 0x14], ebx
mov ebx, eax
mov esi, edx
mov dword [ebp - 0x28], edi
shr ebx, 7
and ecx, 0xf
and esi, 1
mov dword [ebp - 0x10], esi
mov esi, eax
shr eax, 0x17
shr esi, 0xe
mov edi, eax
and edi, 1
xor edx, esi
and ebx, 7
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x18], edi
mov edi, ebx
mov dword [ebp - 0x24], ebx
setne bl
and eax, ebx
and edx, 1
mov dword [ebp - 0x2c], edx
je 0x10013630
test al, al
mov eax, dword [ebp + 0x10]
je 0x10013670
movzx esi, word [eax]
mov edx, 0x80008001
lea eax, [esi + 0x7fff]
mul edx
shr edx, 0xf
lea eax, [edx + esi]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
lea esi, [eax + edi*2]
test ecx, ecx
je 0x1001361e
lea edi, [ecx - 1]
xor eax, eax
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x28]
lea esi, [esi]
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
sub edx, eax
test ebx, ebx
mov ebx, dword [ebp + 0xc]
cmove edx, eax
movzx ebx, word [ebx + edx*2]
mov edx, ebx
rol dx, 8
test edi, edi
cmovne ebx, edx
cmp dword [ebp - 0x14], 0
mov edx, ebx
not edx
cmovne ebx, edx
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x100135d1
movzx ebx, bx
imul ebx, dword [ebp - 0x20]
add ebx, 0x8000
shr ebx, 0x10
mov word [esi + eax*2], bx
inc eax
cmp ecx, eax
ja 0x10013590
test ecx, ecx
mov edx, 2
lea eax, [ecx + ecx]
cmove eax, edx
mov edx, dword [ebp - 0x2c]
add esi, eax
test edx, edx
je 0x10013668
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x1001361e
test byte [ebp - 0x30], 1
je 0x1001361e
lea eax, [ecx + ecx - 2]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
add eax, 2
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_memmove]
mov eax, dword [ebp + 0x10]
mov word [eax], bx
add esp, 0x30
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0x20], 0
test al, al
je 0x10013658
mov eax, dword [ebp + 0x10]
mov edx, 0x80008001
movzx ebx, word [eax + ecx*2]
lea eax, [ebx + 0x7fff]
mul edx
shr edx, 0xf
lea eax, [edx + ebx]
mov dword [ebp - 0x20], eax
mov esi, dword [ebp + 0x10]
xor ebx, ebx
test ecx, ecx
jne 0x10013581
lea esi, [esi]
mov eax, dword [ebp - 0x24]
lea esi, [esi + eax*2]
jmp 0x100135f0
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x20], 0
xor ebx, ebx
lea esi, [eax + edi*2]
test ecx, ecx
jne 0x10013581
jmp 0x100135f0
Function at 0x10014600
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov edx, eax
mov ecx, eax
mov ebx, eax
shr edx, 0xa
shr ecx, 0xd
mov esi, edx
and ecx, 1
shr ebx, 3
and esi, 1
mov dword [ebp - 0x14], ecx
mov ecx, eax
and ebx, 0xf
mov dword [ebp - 0x10], esi
mov esi, eax
shr eax, 0x17
shr esi, 0xe
shr ecx, 7
xor edx, esi
mov esi, eax
and esi, 1
and ecx, 7
mov edi, ecx
setne cl
and eax, ecx
and edx, 1
mov dword [ebp - 0x18], edx
je 0x100146e0
mov dword [ebp - 0x18], 0
test al, al
jne 0x10014720
mov ecx, dword [ebp + 0x14]
imul ecx, edi
add ecx, dword [ebp + 0x10]
mov edx, 1
test ebx, ebx
jne 0x10014682
jmp 0x100146cf
mov edx, eax
mov edi, ebx
lea eax, [edx - 1]
sub edi, edx
cmp dword [ebp - 0x10], 0
cmovne eax, edi
mov edi, dword [ebp + 0xc]
cmp dword [ebp - 0x14], 0
movzx eax, word [edi + eax*2]
mov edi, eax
not edi
cmovne eax, edi
movzx eax, ax
test esi, esi
je 0x100146b5
imul eax, dword [ebp - 0x18]
add eax, 0x8000
shr eax, 0x10
imul eax, eax, 0xff01
add eax, 0x800000
shr eax, 0x18
mov byte [ecx], al
add ecx, dword [ebp + 0x14]
lea eax, [edx + 1]
cmp edx, ebx
jne 0x10014680
mov eax, dword [ebp + 0x10]
add esp, 0xc
pop ebx
pop esi
inc eax
pop edi
pop ebp
ret
mov ecx, dword [ebp + 0x10]
test al, al
je 0x10014671
mov eax, dword [ebp + 0x14]
mov edx, 0x80008001
imul eax, ebx
movzx eax, byte [ecx + eax]
mov edi, eax
shl edi, 8
or eax, edi
movzx edi, ax
lea eax, [edi + 0x7fff]
mul edx
shr edx, 0xf
lea eax, [edx + edi]
mov dword [ebp - 0x18], eax
jmp 0x10014671
mov eax, dword [ebp + 0x10]
mov edx, 0x80008001
movzx eax, byte [eax]
mov ecx, eax
shl ecx, 8
or eax, ecx
movzx ecx, ax
lea eax, [ecx + 0x7fff]
mul edx
shr edx, 0xf
lea eax, [edx + ecx]
mov dword [ebp - 0x18], eax
jmp 0x10014668
Function at 0x10014750
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x10
mov eax, dword [ebp + 8]
mov esi, dword [eax + 4]
mov eax, esi
mov edi, esi
mov edx, esi
mov ebx, esi
shr eax, 0xa
shr edi, 0xe
shr edx, 0xd
mov ecx, eax
xor edi, eax
mov eax, esi
shr eax, 0x17
and ecx, 1
and edx, 1
shr ebx, 3
mov dword [ebp - 0x10], ecx
mov ecx, esi
shr esi, 0xb
and ebx, 0xf
mov dword [ebp - 0x14], edx
shr ecx, 7
mov edx, eax
and esi, 1
and edx, 1
and ecx, 7
mov dword [ebp - 0x18], edx
setne dl
and eax, edx
and edi, 1
mov dword [ebp - 0x1c], edi
je 0x10014840
mov dword [ebp - 0x1c], 0
test al, al
jne 0x10014870
imul ecx, dword [ebp + 0x14]
add ecx, dword [ebp + 0x10]
mov edx, 1
test ebx, ebx
jne 0x100147da
jmp 0x10014828
mov edx, eax
mov edi, ebx
lea eax, [edx - 1]
sub edi, edx
cmp dword [ebp - 0x10], 0
cmovne eax, edi
mov edi, dword [ebp + 0xc]
movzx eax, word [edi + eax*2]
mov edi, eax
rol di, 8
test esi, esi
cmovne eax, edi
cmp dword [ebp - 0x14], 0
mov edi, eax
not edi
cmovne eax, edi
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x1001481b
movzx eax, ax
imul eax, dword [ebp - 0x1c]
add eax, 0x8000
shr eax, 0x10
mov word [ecx], ax
add ecx, dword [ebp + 0x14]
lea eax, [edx + 1]
cmp edx, ebx
jne 0x100147d8
mov eax, dword [ebp + 0x10]
add esp, 0x10
pop ebx
pop esi
add eax, 2
pop edi
pop ebp
ret
mov ecx, dword [ebp + 0x10]
test al, al
je 0x100147c8
mov eax, dword [ebp + 0x14]
mov edx, 0x80008001
imul eax, ebx
movzx edi, word [ecx + eax*2]
lea eax, [edi + 0x7fff]
mul edx
shr edx, 0xf
lea eax, [edx + edi]
mov dword [ebp - 0x1c], eax
jmp 0x100147c8
mov eax, dword [ebp + 0x10]
mov edx, 0x80008001
movzx edi, word [eax]
lea eax, [edi + 0x7fff]
mul edx
shr edx, 0xf
lea eax, [edx + edi]
mov dword [ebp - 0x1c], eax
jmp 0x100147c1