joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4055cc
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x433488
push 0x408e20
mov eax, dword fs:[0]
push eax
push ecx
push ecx
mov eax, 0x2a1c
call fcn.004082c0
mov eax, dword [0x4350b4]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2a34], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2a28], eax
test eax, eax
je 0x40579d
mov ecx, eax
lea edx, [ecx + 2]
xor esi, esi
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x40562c
sub ecx, edx
sar ecx, 1
mov dword [ebp - 0x2a30], ecx
cmp ecx, 4
jl 0x40579d
mov ebx, 0x104
cmp ecx, ebx
jg 0x40579d
mov dword [ebp - 4], esi
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov dword [ebp - 4], 0xfffffffe
jmp 0x405684
push 0x800
push esi
lea eax, [ebp - 0xa24]
push eax
call fcn.0040a0a0
mov dword [ebp - 0x2a2c], esi
push 0x2000
push esi
lea eax, [ebp - 0x2a24]
push eax
call fcn.0040a0a0
add esp, 0x18
lea eax, [ebp - 0x2a2c]
push eax
push 0x800
lea eax, [ebp - 0x2a24]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x40579d
push 0x208
push esi
lea eax, [ebp - 0x224]
push eax
call fcn.0040a0a0
add esp, 0xc
push dword [ebp - 0x2a28]
push ebx
lea eax, [ebp - 0x224]
push eax
call fcn.004019fd
push ebx
lea eax, [ebp - 0x224]
push eax
call fcn.00410d54
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00405459
mov ecx, eax
mov dword [ebp - 0x2a28], ecx
cmp dword [ebp - 0x2a2c], 0
jbe 0x40579d
mov eax, dword [ebp + esi*4 - 0x2a24]
cmp ebx, eax
je 0x405794
cmp ecx, eax
je 0x405794
push 0x400
lea ecx, [ebp - 0xa24]
push ecx
push eax
mov ecx, edi
call fcn.004054d4
test eax, eax
je 0x40578e
push 0x400
lea eax, [ebp - 0xa24]
push eax
call fcn.00410d54
push dword [ebp - 0x2a30]
lea eax, [ebp - 0xa24]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.00410b91
add esp, 0x14
test eax, eax
jne 0x40578e
push dword [ebp + esi*4 - 0x2a24]
push edi
call fcn.00405b38
mov ecx, dword [ebp - 0x2a28]
inc esi
cmp esi, dword [ebp - 0x2a2c]
jb 0x405729
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0040815d
leave
ret 8
Function at 0x4057bb
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x433468
push 0x408e20
mov eax, dword fs:[0]
push eax
push ecx
push ecx
mov eax, 0x2a14
call fcn.004082c0
mov eax, dword [0x4350b4]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2a28], eax
cmp dword [ebp + 0xc], 0
je 0x405977
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + 2]
xor esi, esi
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x405815
sub ecx, edx
sar ecx, 1
mov edi, 0x104
cmp ecx, edi
ja 0x405977
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x2a28]
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov dword [ebp - 4], 0xfffffffe
jmp 0x40585e
mov ebx, 0x800
push ebx
push esi
lea eax, [ebp - 0xa24]
push eax
call fcn.0040a0a0
mov dword [ebp - 0x2a2c], esi
push 0x2000
push esi
lea eax, [ebp - 0x2a24]
push eax
call fcn.0040a0a0
add esp, 0x18
lea eax, [ebp - 0x2a2c]
push eax
push ebx
lea eax, [ebp - 0x2a24]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x405977
push 0x208
push esi
lea eax, [ebp - 0x224]
push eax
call fcn.0040a0a0
add esp, 0xc
push dword [ebp + 0xc]
push edi
lea eax, [ebp - 0x224]
push eax
call fcn.004019fd
push edi
lea eax, [ebp - 0x224]
push eax
call fcn.00410d54
pop ecx
pop ecx
mov edi, esi
cmp dword [ebp - 0x2a2c], 0
jbe 0x405977
mov ebx, 0x400
push ebx
lea eax, [ebp - 0xa24]
push eax
push dword [ebp + edi*4 - 0x2a24]
mov ecx, dword [ebp - 0x2a28]
call fcn.004054d4
test eax, eax
je 0x40596a
push ebx
lea eax, [ebp - 0xa24]
push eax
call fcn.00410d54
pop ecx
pop ecx
lea ecx, [ebp - 0xa24]
lea eax, [ebp - 0x224]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40594f
test dx, dx
je 0x40594b
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40594f
add eax, 4
add ecx, 4
test dx, dx
jne 0x405929
mov eax, esi
jmp 0x405954
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40596a
push dword [ebp + edi*4 - 0x2a24]
push dword [ebp - 0x2a28]
call fcn.00405b38
inc edi
cmp edi, dword [ebp - 0x2a2c]
jb 0x4058f0
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0040815d
leave
ret 8
Function at 0x405995
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0x848
push 0x4334a8
call fcn.004082f0
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x20]
xor eax, eax
mov dword [ebp - 4], eax
test esi, esi
je 0x405ac7
cmp word [esi], ax
je 0x405ac7
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 4]
jne 0x4059c8
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
ja 0x405ac7
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x405ac7
push 0x800
xor eax, eax
push eax
lea eax, [ebp - 0x81c]
push eax
call fcn.0040a0a0
push esi
push str.__s_
push 0x3ff
lea eax, [ebp - 0x81c]
push eax
call fcn.00405ae2
push 0x3c
pop esi
push esi
xor eax, eax
push eax
lea eax, [ebp - 0x858]
push eax
call fcn.0040a0a0
add esp, 0x28
mov dword [ebp - 0x858], esi
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x848], eax
mov dword [ebp - 0x84c], str.open
mov dword [ebp - 0x844], ebx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x83c], eax
mov dword [ebp - 0x854], 0x440
lea eax, [ebp - 0x858]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
test esi, esi
je 0x405a90
cmp dword [ebp + 0x1c], 0
je 0x405a90
push 0xffffffffffffffff
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test edi, edi
je 0x405aa5
test esi, esi
je 0x405ab5
push edi
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test esi, esi
je 0x405ab5
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x405ad0
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0x1c

Function at 0x405b38
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 0xc]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x405b65
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop edi
pop ebp
ret 8
Function at 0x406021
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test esi, esi
je 0x406091
push esi
call fcn.00402b6d
pop ecx
test eax, eax
jne 0x40609a
call fcn.004016d6
push eax
lea ecx, [ebp + 8]
call fcn.004011a4
push esi
lea eax, [ebp + 8]
push 0x4242b8
push eax
call fcn.004015e1
mov esi, dword [ebp + 8]
add esp, 0xc
xor edi, edi
push 4
push 0x425cc4
push esi
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x406089
push 1
push edi
push edi
push str.http:__www.diskclean.cn
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esi - 0x10]
call fcn.00401946
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4
lea ebx, [edi + 4]
push esi
mov ecx, ebx
call fcn.004060e2
test eax, eax
je 0x406091
push str.CreateUpdateServer
mov ecx, ebx
call fcn.00405f97
push str.ConnectUpdateServer
mov ecx, ebx
mov dword [edi + 8], eax
call fcn.00405f97
mov dword [edi + 0xc], eax
test eax, eax
jne 0x4060d4
mov ecx, edi
call fcn.00406108
jmp 0x406091
xor eax, eax
inc eax
jmp 0x406093

Function at 0x4061c0
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4350b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x214], esi
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
je 0x406303
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x406303
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0040a0a0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push dword [edi]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
jne 0x406303
lea eax, [esi + 0x38]
push str.update_
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0040231e
mov eax, dword [edi]
lea ecx, [ebp - 0x210]
add esp, 0xc
push dword [eax - 0xc]
push eax
call fcn.00402595
mov esi, dword [ebp - 0x210]
push esi
call ebx
test eax, eax
jne 0x4062eb
mov eax, dword [ebp - 0x214]
push edi
add eax, 0x38
push 0x425820
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0040231e
add esp, 0xc
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.00406189
add esp, 0xc
lea ecx, [ebp - 0x210]
push eax
call fcn.004022ce
mov ecx, dword [ebp - 0x214]
lea ecx, [ecx - 0x10]
call fcn.00401946
mov ecx, dword [ebp - 0x218]
lea ecx, [ecx - 0x10]
call fcn.00401946
mov esi, dword [ebp - 0x210]
push 1
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [esi - 0x10]
call fcn.00401946
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040815d
leave
ret 4
Function at 0x4066fb
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 8]
push edi
call fcn.0040537a
push 0x425820
lea eax, [esi + 0x38]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040231e
add esp, 0xc
lea ecx, [ebp - 4]
push 0xd
push 0x42437c
call fcn.00402595
mov edi, dword [ebp - 4]
push edi
call fcn.00402b6d
pop ecx
test eax, eax
jne 0x406746
xor ebx, ebx
jmp 0x4067d3
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
call fcn.00410e21
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push str.UpdateFinish
lea ecx, [ebp - 4]
mov esi, eax
call fcn.004011cd
xor ebx, ebx
inc ebx
call fcn.00410e21
cmp dword [eax], ebx
jle 0x4067a8
test esi, esi
je 0x4067b3
push 1
push 0x425ef8
lea ecx, [ebp - 4]
call fcn.00402595
push dword [esi + ebx*4]
call fcn.0040140a
pop ecx
push eax
push dword [esi + ebx*4]
lea ecx, [ebp - 4]
call fcn.00402595
inc ebx
call fcn.00410e21
cmp ebx, dword [eax]
jl 0x406776
test esi, esi
je 0x4067b3
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [ebp - 4]
lea eax, [ebp - 8]
push 0
push 0
push 1
push 1
push esi
push edi
push eax
call fcn.00405995
lea ecx, [esi - 0x10]
mov ebx, eax
call fcn.00401946
lea ecx, [edi - 0x10]
call fcn.00401946
lea ecx, [ebp - 8]
call fcn.00405383
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x4067ea
Capabilities:
Check if file exists
Delete file
Get common file path
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4350b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [esi]
call edi
test eax, eax
jne 0x4068cb
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4068cb
push 0x80
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x406842
push dword [esi]
call edi
test eax, eax
jne 0x4068cb
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0040a0a0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x20c]
push eax
call edi
lea eax, [ebp - 0x20c]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4068c4
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
jne 0x4068cb
push 4
push ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x4068ce
push 4
push ebx
push dword [esi]
jmp 0x4068bc
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040815d
leave
ret 4
Function at 0x4068f2
Capabilities:
Check if file exists

Disassembly:
push esi
push 0x3e8
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.0040665d
mov ecx, esi
call fcn.00406314
mov ecx, esi
call fcn.0040660f
mov ecx, esi
call fcn.00406a02
mov ecx, esi
pop esi
jmp fcn.00406924

Function at 0x406924
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4350b4]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov edi, ecx
push 0
push eax
call fcn.0040a0a0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.update_rate.ini
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4069a7
push str.CUpdatorFunction::StartUpdateFiles_INI
mov dword [edi + 0x3c], 1
call fcn.00401cc4
jmp 0x4069f4
push esi
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x210]
call fcn.004011cd
lea eax, [edi + 0x38]
push eax
lea eax, [ebp - 0x210]
push eax
push edi
lea ecx, [edi + 4]
call fcn.00405c46
mov ecx, dword [ebp - 0x210]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00401946
test esi, esi
pop esi
jne 0x4069f5
push str.CUpdatorFunction::StartUpdateFiles
call fcn.00401cc4
mov dword [edi + 0x3c], 1
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0040815d
leave
ret

Function at 0x4183a9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00418228
Function at 0x1b3af6
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x20]
push ebx
push ebp
push esi
push edi
push dword [esp + 0x38]
push dword [esp + 0x38]
push eax
push dword [esp + 0x38]
push edx
push ecx
call fcn.001c3ec4
mov ecx, dword [eax]
lea edi, [eax + 4]
mov ebx, dword [edi]
xor ebp, ebp
mov dword [esp + 0x30], 0x695ee
add esp, 0x18
mov dword [esp + 0x1c], 0x1ff25
xor ebx, ecx
mov dword [esp + 0x20], 0x6330a
add edi, 4
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], 0x47d3e5
shl dword [esp + 0x30], 0xc
xor dword [esp + 0x30], 0x7d3e5004
mov eax, dword [esp + 0x30]
dec eax
mov dword [esp + 0x14], ecx
test ebx, eax
je 0x1b3b73
mov esi, dword [esp + 0x30]
dec esi
not esi
and esi, ebx
add esi, dword [esp + 0x30]
jmp 0x1b3b75
mov esi, ebx
mov dword [esp + 0x30], 0x86ac6f
xor edx, edx
mov eax, dword [esp + 0x30]
push 0x6a
pop ecx
div ecx
push 0x4b
mov dword [esp + 0x34], eax
xor edx, edx
mov eax, dword [esp + 0x34]
pop ecx
div ecx
push 0x5b
mov dword [esp + 0x34], eax
xor edx, edx
xor dword [esp + 0x34], 0xfa0fb
mov dword [esp + 0x14], 0x585860
mov eax, dword [esp + 0x14]
pop ecx
div ecx
push ecx
mov dword [esp + 0x14], eax
mov edx, esi
xor dword [esp + 0x14], 0xfa56c
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
call fcn.001c4ae6
mov dword [esp + 0x34], eax
pop ecx
test eax, eax
je 0x1b3c1b
shr esi, 2
lea ecx, [edi + esi*4]
xor esi, esi
mov edx, ecx
sub edx, edi
add edx, 3
shr edx, 2
cmp edi, ecx
cmova edx, esi
test edx, edx
je 0x1b3c0d
mov esi, dword [esp + 0x14]
mov ecx, eax
sub ecx, edi
mov eax, dword [edi]
xor eax, esi
inc ebp
mov dword [ecx + edi], eax
lea edi, [edi + 4]
cmp ebp, edx
jb 0x1b3bfe
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1b3c17
mov dword [eax], ebx
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x1b924d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1d2214]
mov dword [ebp - 0x10], 0xdebac
mov dword [ebp - 0xc], 0xc717a
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x1b92e9
push esi
push edi
mov esi, dword [ecx + 0xc]
xor edx, edx
mov dword [ebp - 0xc], 0x6f1cd4
add dword [ebp - 0xc], 0xe3f2
shr dword [ebp - 0xc], 7
xor dword [ebp - 0xc], 0x54354
mov dword [ebp - 4], 0x80885e
add dword [ebp - 4], 0x7991
add dword [ebp - 4], 0xd290
mov eax, dword [ebp - 4]
push 0x18
pop edi
div edi
push ecx
mov dword [ebp - 4], eax
xor dword [ebp - 4], 0x25e2
mov dword [ebp - 8], 0xf11862
add dword [ebp - 8], 0x104a
imul eax, dword [ebp - 8], 0x51
mov dword [ebp - 8], eax
xor dword [ebp - 8], 0x4c40ee94
push dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
call fcn.001cf0b2
pop ecx
pop ecx
mov ecx, esi
test esi, esi
jne 0x1b926f
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1be091
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x18
push ebp
push esi
push edi
push dword [esp + 0x30]
mov esi, ecx
push dword [esp + 0x30]
push dword [esp + 0x30]
push edx
push esi
call fcn.001c3ec4
mov dword [esp + 0x28], 0x9460d
lea edi, [esp + 0x2c]
xor eax, eax
add esp, 0x14
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esp + 0x10], 0xad3ec3
shr dword [esp + 0x10], 0xf
xor dword [esp + 0x10], 0x15c
mov dword [esp + 0xc], 0x70a97
add dword [esp + 0xc], 0xffff15c0
or dword [esp + 0xc], 0xd59b5147
shl dword [esp + 0xc], 8
xor dword [esp + 0xc], 0x9f715710
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
movzx edx, word [esi]
mov dword [esp + 0x10], ecx
test dx, dx
je 0x1be14a
push ebx
mov edi, eax
mov ecx, ebp
shl edi, cl
mov ebx, eax
mov ecx, dword [esp + 0x14]
shl eax, cl
mov ecx, eax
cmp dx, 0x41
jb 0x1be135
cmp dx, 0x5a
ja 0x1be135
movzx eax, dx
add eax, 0x20
jmp 0x1be138
movzx eax, dx
add esi, 2
sub ecx, ebx
add ecx, edi
add eax, ecx
movzx edx, word [esi]
test dx, dx
jne 0x1be111
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x18
ret
Function at 0x1c65fa
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x90
push ebx
mov ebx, dword [esp + 0x9c]
push ebp
push esi
push edi
mov edi, dword [esp + 0xb4]
push edi
push dword [esp + 0xb4]
mov dword [esp + 0x24], ecx
push dword [esp + 0xb4]
push ebx
push dword [esp + 0xb4]
push edx
push ecx
call fcn.001c3ec4
mov dword [esp + 0x30], 0xc7695
xor ebp, ebp
mov dword [esp + 0x34], 0xce89
add esp, 0x1c
mov dword [esp + 0x10], 0x56d3d2
mov esi, ebp
imul eax, dword [esp + 0x10], 0x32
mov dword [esp + 0x10], eax
imul eax, dword [esp + 0x10], 0x6f
mov dword [esp + 0x10], eax
or dword [esp + 0x10], 0xfeb7c3f2
xor dword [esp + 0x10], 0xfef7f3ff
mov eax, dword [esp + 0x10]
test edi, eax
je 0x1c668d
push 0x61
pop eax
mov word [esp + esi*2 + 0x20], ax
inc esi
inc eax
cmp ax, 0x7a
jbe 0x1c6680
mov dword [esp + 0x10], 0x27eb6e
xor dword [esp + 0x10], 0x443a6183
shr dword [esp + 0x10], 0xd
xor dword [esp + 0x10], 0x220ee
mov eax, dword [esp + 0x10]
test edi, eax
je 0x1c66c2
push 0x41
pop eax
mov word [esp + esi*2 + 0x20], ax
inc esi
inc eax
cmp ax, 0x5a
jbe 0x1c66b5
mov dword [esp + 0x10], 0x67edf8
imul eax, dword [esp + 0x10], 0x76
mov dword [esp + 0x10], eax
shl dword [esp + 0x10], 1
xor dword [esp + 0x10], 0x5fcf60a4
mov eax, dword [esp + 0x10]
test edi, eax
je 0x1c66f7
push 0x30
pop eax
mov word [esp + esi*2 + 0x20], ax
inc esi
inc eax
cmp ax, 0x39
jbe 0x1c66ea
test ebx, ebx
je 0x1c6766
mov edi, ecx
mov dword [esp + 0x10], 0x2eb846
shr dword [esp + 0x10], 6
or dword [esp + 0x10], 0x8af3b027
shl dword [esp + 0x10], 0xf
xor dword [esp + 0x10], 0xdd70cfc6
mov dword [esp + 0x14], 0x38edc0
add dword [esp + 0x14], 0xfffff021
shr dword [esp + 0x14], 8
xor dword [esp + 0x14], 0x7ca6
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
call fcn.001b692d
xor edx, edx
div esi
mov ax, word [esp + edx*2 + 0x20]
mov word [edi + ebp*2], ax
inc ebp
cmp ebp, ebx
jb 0x1c66fd
mov edi, dword [esp + 0xb4]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], 0xd4d995
xor edx, edx
mov eax, dword [esp + 0x14]
push 0x15
pop esi
div esi
mov dword [esp + 0x14], eax
xor dword [esp + 0x14], 0xa22b5
mov eax, dword [esp + 0x14]
test edi, eax
je 0x1c6793
xor eax, eax
mov word [ecx + ebx*2], ax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
Function at 0x1cbca4
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
push eax
push edx
push ecx
call fcn.001c3ec4
mov ecx, dword [eax]
lea ebx, [eax + 4]
mov ebp, dword [ebx]
add esp, 0xc
mov dword [esp + 0x18], 0xd4516
xor ebp, ecx
mov dword [esp + 0x1c], 0xe15a2
xor edx, edx
mov dword [esp + 0x24], 0xe4f3b7
add ebx, 4
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], ecx
push 0x4d
pop ecx
div ecx
xor edx, edx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], eax
shr dword [esp + 0x24], 4
imul eax, dword [esp + 0x24], 0xb
push 0x2c
pop ecx
mov dword [esp + 0x24], eax
xor dword [esp + 0x24], 0x20b50
mov dword [esp + 0x10], 0xd6ebd8
mov eax, dword [esp + 0x10]
div ecx
mov dword [esp + 0x10], eax
xor dword [esp + 0x10], 0x4e277
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
add ecx, ebp
mov esi, dword [esp + 0x24]
dec eax
add esi, ebp
test eax, ecx
je 0x1cbd4c
mov eax, dword [esp + 0x10]
dec eax
not eax
and esi, eax
add esi, dword [esp + 0x10]
mov dword [esp + 0x10], 0xe92506
mov edx, esi
add dword [esp + 0x10], 0xffff20ea
xor dword [esp + 0x10], 0xe86304
mov dword [esp + 0x24], 0x73346a
or dword [esp + 0x24], 0x3b3b753b
xor dword [esp + 0x24], 0x3b794330
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
push ecx
call fcn.001c4ae6
mov edi, eax
mov dword [esp + 0x14], edi
pop ecx
test edi, edi
je 0x1cbdf2
and dword [esp + 0x24], 0
xor eax, eax
shr esi, 2
mov edx, edi
lea ecx, [ebx + esi*4]
mov esi, ecx
sub esi, ebx
add esi, 3
shr esi, 2
cmp ebx, ecx
cmova esi, eax
test esi, esi
je 0x1cbdee
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
mov ecx, dword [ebx]
lea ebx, [ebx + 4]
xor ecx, edi
mov byte [edx], cl
mov eax, ecx
shr eax, 8
lea edx, [edx + 4]
shr ecx, 0x10
mov byte [edx - 3], al
mov byte [edx - 2], cl
shr ecx, 8
inc ebp
mov byte [edx - 1], cl
cmp ebp, esi
jb 0x1cbdc1
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
mov byte [edi + ebp], 0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret