joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4adf00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x66d060]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x20c]
mov esi, ecx
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x4adf3d
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055337c
mov esp, ebp
pop ebp
ret
cmp word [ebp - 0x20c], 0
jne 0x4adf4b
xor ecx, ecx
jmp 0x4adf63
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4adf54
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00478000
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0055337c
mov esp, ebp
pop ebp
ret

Function at 0x4ae3c0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2010
call fcn.0055f460
mov eax, dword [0x66d060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, edx
xor edx, edx
cmp dword [ecx + 0x14], 8
push edi
mov dword [ebp - 0x2008], edx
jb 0x4ae3ec
mov ecx, dword [ecx]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
push ecx
call ebx
cmp dword [esi + 0x14], 8
mov edi, eax
jb 0x4ae411
mov esi, dword [esi]
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push esi
call ebx
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4ae447
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055337c
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ecx]
push 0
lea eax, [ebp - 0x200c]
push eax
push 0x1000
lea eax, [ebp - 0x2004]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4ae48f
push 0
lea eax, [ebp - 0x2010]
push eax
push dword [ebp - 0x200c]
lea eax, [ebp - 0x2004]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4ae497
call esi
mov dword [ebp - 0x2008], eax
cmp dword [ebp - 0x200c], 0x1000
je 0x4ae450
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call esi
push ebx
call esi
mov edx, dword [ebp - 0x2008]
xor eax, eax
mov ecx, dword [ebp - 4]
test edx, edx
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.0055337c
mov esp, ebp
pop ebp
ret
Function at 0x4ae4d0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f64e8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x66d060]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x4c]
xor bl, bl
cmp dword [edi + 0x14], 8
jb 0x4ae50c
mov eax, dword [edi]
jmp 0x4ae50e
mov eax, edi
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x40], eax
cmp eax, 0xffffffff
jne 0x4ae536
xor al, al
jmp 0x4ae5f6
lea ecx, [ebp - 0x3c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x4ae555
mov eax, dword [ebp - 0x3c]
mov bl, 1
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x34], eax
jmp 0x4ae561
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x4ae5f4
cmp dword [ebp - 0x34], 0
jl 0x4ae5f4
jg 0x4ae583
cmp dword [ebp - 0x30], 0xa00000
jb 0x4ae5f4
mov eax, dword [esi + 0x68]
lea ebx, [esi + 0x68]
test eax, eax
je 0x4ae594
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [ebp - 0x18], 7
push 0xffffffffffffffff
push eax
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00477ee0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.00529cd0
lea edx, [ebp - 0x2c]
mov ecx, edi
call fcn.004ae3c0
test al, al
je 0x4ae5d8
mov ecx, esi
call fcn.004a6c30
mov eax, dword [esi]
mov ecx, esi
push ebx
mov eax, dword [eax]
call eax
cmp dword [ebp - 0x18], 8
mov bl, al
jb 0x4ae5f4
push dword [ebp - 0x2c]
call fcn.00496180
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0055337c
mov esp, ebp
pop ebp
ret 4

Function at 0x4ae620
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4ae66e
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
test eax, eax
jne 0x4ae66b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x4ae66b
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [esi], eax
cmp dword [esi], 0
setne bl
cmp dword [ebp + 0x1c], 8
jb 0x4ae682
push dword [ebp + 8]
call fcn.00496180
add esp, 4
pop esi
mov al, bl
pop ebx
pop ebp
ret 0x18
Function at 0x4aed60
Capabilities:
Create directory

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x4aed6d
mov eax, dword [esi]
jmp 0x4aed6f
mov eax, esi
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x4aedb6
cmp eax, 0xb7
je 0x4aedb6
cmp eax, 0x50
je 0x4aedb6
cmp dword [esi + 0x14], 8
jb 0x4aed92
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Unable_to_create_directoryPath_...Error_Code_is:__d_._At_desired_location:_s
push str.Utilities
call fcn.004b4e00
push eax
call fcn.004b59d0
add esp, 0x14
xor al, al
pop esi
ret
mov al, 1
pop esi
ret

Function at 0x4aedc0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f633e
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x66d060]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004af0d0
test al, al
jne 0x4aee02
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x14], 8
jb 0x4aee0c
mov eax, dword [esi]
jmp 0x4aee0e
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
sete bl
test bl, bl
jne 0x4aee77
cmp dword [esi + 0x14], 8
jb 0x4aee27
mov esi, dword [esi]
mov eax, dword [0x6923c4]
test al, 1
jne 0x4aee58
or eax, 1
mov dword [0x6923c4], eax
mov dword [ebp - 4], 0
call fcn.004b4ad0
push 0x60bf60
call fcn.00553ff2
add esp, 4
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.Failed_to_delete_file:__s_LastError:_d
push str.Utilities
push 0x692330
call fcn.004b5a60
add esp, 0x14
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4af0d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f633e
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x66d060]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x4af100
mov eax, dword [esi]
jmp 0x4af102
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4af170
cmp dword [esi + 0x14], 8
jb 0x4af115
mov esi, dword [esi]
mov eax, dword [0x6923c4]
test al, 1
jne 0x4af146
or eax, 1
mov dword [0x6923c4], eax
mov dword [ebp - 4], 0
call fcn.004b4ad0
push 0x60bf60
call fcn.00553ff2
add esp, 4
mov dword [ebp - 4], 0xffffffff
push esi
push str.File__s_does_not_exist
push str.Utilities
push 0x692330
call fcn.004b5820
add esp, 0x10
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4af190
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f65fe
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x66d060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 0x1c
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x4af221
mov eax, dword [0x6923c4]
test al, 1
jne 0x4af206
or eax, 1
mov dword [0x6923c4], eax
mov dword [ebp - 4], 0
call fcn.004b4ad0
push 0x60bf60
call fcn.00553ff2
add esp, 4
mov dword [ebp - 4], 0xffffffff
push str.Unable_to_retreive_Local_App_Data_Path_from_Win_library:_n
push str.Utilities
push 0x692330
call fcn.004b5a60
add esp, 0xc
xor al, al
jmp 0x4af260
cmp word [ebp - 0x218], 0
jne 0x4af22f
xor ecx, ecx
jmp 0x4af24f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x4af240
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4af240
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00478000
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055337c
mov esp, ebp
pop ebp
ret

Function at 0x4b4030
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f6f10
mov eax, dword fs:[0]
push eax
mov eax, dword [0x66d060]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov byte [edx + 0x51], 0
mov dword [edx + 0x58], 0x10
cmp byte [edx + 0x51], 0
jne 0x4b407c
mov byte [edx + 0x51], 1
lea ecx, [edx + 0x10]
jmp 0x4b407e
xor ecx, ecx
mov dword [edx + 0x5c], ecx
mov byte [edx + 0xa1], 0
mov dword [edx + 0xa8], 0x10
cmp byte [edx + 0xa1], 0
jne 0x4b40a7
mov byte [edx + 0xa1], 1
lea ecx, [edx + 0x60]
jmp 0x4b40a9
xor ecx, ecx
mov dword [edx + 0xac], ecx
mov eax, edx
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4b4ad0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f7127
mov eax, dword fs:[0]
push eax
sub esp, 0x40c
mov eax, dword [0x66d060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x632d90
mov ecx, 0x692330
mov dword [ebp - 0x418], 0x692330
call fcn.005358e0
lea eax, [ebp - 0x410]
mov dword [ebp - 4], 0
push eax
push 0x200
mov dword [0x692330], 0x632e34
mov dword [0x6923bc], 0
mov word [0x6923c0], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4b4b6a
push eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 8
call fcn.005540f2
mov esi, eax
add esp, 4
test esi, esi
je 0x4b4b86
mov dword [esi], 0
mov byte [esi + 4], 0
jmp 0x4b4b88
xor esi, esi
mov dword [0x6923b8], esi
cmp dword [esi], 0
jne 0x4b4ba6
push str.Local5071F542_DF26_4e46_810E_74570ED35255
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov dword [esi], eax
push 0xc0
call fcn.005540f2
add esp, 4
mov dword [ebp - 0x414], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x4b4bcf
push 0x632d88
mov ecx, eax
call fcn.004a57b0
jmp 0x4b4bd1
xor eax, eax
mov byte [ebp - 4], 0
mov ecx, eax
push 0x1e
mov dword [0x6923b4], eax
call fcn.004a4c10
mov ecx, dword [0x6923b4]
push 0x62d904
push str.PDApp.log
call fcn.004a4e80
mov eax, dword [0x692328]
test al, 1
jne 0x4b4c3c
or eax, 1
mov dword [0x692328], eax
mov byte [ebp - 4], 2
mov dword [0x692320], 0
mov dword [0x692324], 0
call fcn.004aa9f0
push 0x60bd70
mov dword [0x692320], eax
call fcn.00553ff2
add esp, 4
mov byte [ebp - 4], 0
push dword [0x6923b4]
mov ecx, 0x692320
call fcn.004a9e10
push 3
push 0x632d88
mov ecx, 0x692350
call fcn.00478000
mov eax, 0x692330
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055337c
mov esp, ebp
pop ebp
ret
Function at 0x4b5f20
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
xor ebx, ebx
push edi
mov edi, esi
xor eax, eax
shr edi, 2
mov ebp, ecx
test edi, edi
je 0x4b5f58
mov esi, ebp
mov dword [esp + 0x10], edi
mov ecx, edx
sub esi, edx
mov eax, dword [esi + ecx]
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
or ebx, eax
dec edi
jne 0x4b5f42
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
shl eax, 2
sub esi, eax
jne 0x4b5f6c
pop edi
xor eax, eax
test ebx, ebx
pop esi
pop ebp
sete al
pop ebx
pop ecx
ret
add ebp, eax
add edx, eax
mov ecx, ebx
mov eax, ebx
shr ecx, 0x18
shr eax, 0x10
or cl, al
mov eax, ebx
shr eax, 8
or cl, al
or cl, bl
test esi, esi
je 0x4b5f9e
sub ebp, edx
jmp 0x4b5f90
mov al, byte [edx + ebp]
lea edx, [edx + 1]
xor al, byte [edx - 1]
or cl, al
dec esi
jne 0x4b5f90
pop edi
xor eax, eax
test cl, cl
pop esi
pop ebp
sete al
pop ebx
pop ecx
ret
Function at 0x4bca80
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, edx
xor esi, esi
mov ebx, ecx
test edi, edi
jle 0x4bcaad
lea ecx, [ecx]
movzx eax, byte [ebx]
lea ecx, [esi*8]
dec edi
lea ebx, [ebx + 1]
movzx edx, byte [eax + 0x627bc0]
xor edx, ecx
xor esi, edx
test edi, edi
jg 0x4bca90
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x4bcb30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, edx
mov ebx, ecx
mov ecx, 0x80
mov dword [ebp - 4], ebx
push edi
lea eax, [esi*8]
cmp eax, 0x400
cmova esi, ecx
cmp esi, dword [ebx]
jne 0x4bcb61
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x68fec4]
test eax, eax
je 0x4bcb6c
call eax
lea eax, [esi*8]
push eax
call fcn.004b8b70
mov ecx, dword [0x68fec8]
add esp, 4
mov esi, eax
mov dword [ebp - 0xc], esi
test ecx, ecx
je 0x4bcb8d
call ecx
test esi, esi
je 0x4bcb58
push dword [ebx + 0xc]
call fcn.004b8e70
add esp, 4
mov dword [ebx + 0xc], esi
push esi
call dword [0x67daa0]
shr eax, 3
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebx], eax
lea ecx, [eax*8]
push ecx
push 0
push esi
call fcn.005594a0
mov ecx, dword [ebx + 8]
add esp, 0xc
mov dword [ebx + 8], 0
test ecx, ecx
je 0x4bcc70
mov esi, dword [ecx + 0x10]
xor edi, edi
mov ebx, dword [ecx + 0xc]
test esi, esi
jle 0x4bcbff
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
dec esi
movzx edx, byte [eax + 0x627bc0]
lea eax, [edi*8]
xor edx, eax
xor edi, edx
test esi, esi
jg 0x4bcbe2
xor edx, edx
mov ebx, dword [ecx]
mov eax, edi
div dword [ebp - 8]
mov eax, dword [ebp - 0xc]
lea esi, [eax + edx*8]
test esi, esi
je 0x4bcc4a
mov eax, dword [esi]
test eax, eax
je 0x4bcc1d
mov edx, dword [esi + 4]
jmp 0x4bcc1f
xor edx, edx
inc eax
mov dword [esi + 4], ecx
mov dword [esi], eax
test edx, edx
je 0x4bcc4a
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x4bcc3f
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x4bcc66
mov eax, dword [ebp - 4]
mov dword [eax + 8], ecx
mov dword [edx + 4], ecx
jmp 0x4bcc66
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [ecx], eax
mov eax, dword [edx + 8]
test eax, eax
je 0x4bcc5c
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edx + 8], ecx
mov ecx, ebx
test ebx, ebx
jne 0x4bcbd6
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bcd90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, ecx
mov dword [ebp - 8], edx
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [eax + 0xc], 0
je 0x4bcde4
push ebx
push esi
xor esi, esi
mov ebx, edx
push edi
mov edi, ecx
test ecx, ecx
jle 0x4bcdd4
movzx eax, byte [ebx]
lea ecx, [esi*8]
dec edi
lea ebx, [ebx + 1]
movzx edx, byte [eax + 0x627bc0]
xor edx, ecx
xor esi, edx
test edi, edi
jg 0x4bcdb4
mov ecx, dword [ebp + 8]
mov eax, esi
xor edx, edx
mov esi, dword [ebp - 4]
pop edi
div dword [esi]
mov eax, esi
pop esi
pop ebx
jmp 0x4bcde6
xor edx, edx
push edx
mov edx, dword [ebp - 8]
push ecx
mov ecx, eax
call fcn.004bcc80
add esp, 8
test eax, eax
je 0x4bce00
mov eax, dword [eax + 8]
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4bce10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], edi
cmp dword [esi], 0
je 0x4bce65
mov eax, dword [ebp + 8]
xor edi, edi
mov ebx, eax
test eax, eax
jle 0x4bce55
mov esi, edx
movzx eax, byte [esi]
lea ecx, [edi*8]
dec ebx
lea esi, [esi + 1]
movzx edx, byte [eax + 0x627bc0]
xor edx, ecx
xor edi, edx
test ebx, ebx
jg 0x4bce35
mov esi, dword [ebp - 0xc]
mov eax, edi
xor edx, edx
div dword [esi]
mov edi, dword [ebp - 8]
mov ebx, edx
mov dword [ebp - 4], edx
jmp 0x4bce6a
xor ebx, ebx
mov dword [ebp - 4], ebx
push ebx
push dword [ebp + 8]
mov edx, edi
mov ecx, esi
call fcn.004bcc80
add esp, 8
test eax, eax
je 0x4bceb2
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x4bcea2
push ebx
mov edx, eax
mov ecx, esi
call fcn.004bcd30
mov eax, dword [ebp - 0xc]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x4bcf50
push 0x14
call fcn.004b8b70
mov edi, eax
add esp, 4
test edi, edi
jne 0x4bced6
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
mov dword [edi + 8], ebx
inc dword [esi + 4]
mov edx, dword [esi + 4]
cmp edx, 0xa
jb 0x4bcf16
mov eax, dword [esi]
add eax, eax
cmp edx, eax
jbe 0x4bcf16
add edx, edx
mov ecx, esi
call fcn.004bcb30
test eax, eax
je 0x4bcf16
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.004bca80
xor edx, edx
div dword [esi]
jmp 0x4bcf19
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4bcf37
push edi
lea edx, [eax + edx*8]
mov ecx, esi
call fcn.004bcac0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 8]
mov dword [edi], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x4bcf46
mov dword [eax + 4], edi
mov dword [edi + 4], 0
mov dword [esi + 8], edi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ef490
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
mov esi, ecx
mov dword [ebp - 0xc], esi
mov ebx, edx
push edi
test edx, edx
je 0x4ef4bd
cmp byte [edx], al
je 0x4ef4b5
inc ebx
cmp byte [ebx], al
jne 0x4ef4b0
sub ebx, edx
and ebx, 0x3fffffff
xor edi, edi
cmp dword [esi + 0x14], eax
jle 0x4ef55f
mov ecx, edi
cmp edi, 2
jge 0x4ef4d7
xor ecx, 1
mov dword [ebp - 4], ecx
jmp 0x4ef4da
mov dword [ebp - 4], edi
mov eax, dword [ebp + 8]
test eax, eax
je 0x4ef52e
mov edx, ecx
mov ecx, dword [esi + 0x10]
add edx, edx
mov esi, dword [ecx + edx*8]
mov ecx, eax
mov cl, byte [ecx]
test cl, cl
je 0x4ef510
movzx edx, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x627bc0]
cmp cl, byte [edx + 0x627bc0]
jne 0x4ef510
mov cl, byte [eax + 1]
inc eax
inc esi
test cl, cl
jne 0x4ef4f3
movzx ecx, byte [esi]
movzx eax, byte [eax]
mov esi, dword [ebp - 0xc]
movzx ecx, byte [ecx + 0x627bc0]
movzx eax, byte [eax + 0x627bc0]
sub eax, ecx
jne 0x4ef54f
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0x10]
add ecx, ecx
push ebx
mov ecx, dword [eax + ecx*8 + 0xc]
add ecx, 8
call fcn.004bcd90
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
jne 0x4ef55f
jmp 0x4ef552
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
inc edi
cmp edi, dword [esi + 0x14]
jl 0x4ef4c8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4ef680
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor eax, eax
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, edx
push esi
push edi
test edx, edx
je 0x4ef6ad
cmp byte [edx], al
je 0x4ef6a5
jmp 0x4ef6a0
inc ebx
cmp byte [ebx], al
jne 0x4ef6a0
sub ebx, edx
and ebx, 0x3fffffff
mov esi, dword [ecx + 0x14]
xor edi, edi
mov dword [ebp - 0x10], esi
test esi, esi
jle 0x4ef753
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0x14], ecx
mov eax, edi
cmp edi, 2
jge 0x4ef6cd
xor eax, 1
add eax, eax
lea esi, [ecx + eax*8]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0xc], eax
test ecx, ecx
je 0x4ef72b
mov esi, dword [esi]
mov eax, ecx
mov cl, byte [ecx]
test cl, cl
je 0x4ef710
lea esp, [esp]
movzx edx, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x627bc0]
cmp cl, byte [edx + 0x627bc0]
jne 0x4ef70d
mov cl, byte [eax + 1]
inc eax
inc esi
test cl, cl
jne 0x4ef6f0
mov edx, dword [ebp - 8]
movzx eax, byte [eax]
movzx ecx, byte [esi]
movzx eax, byte [eax + 0x627bc0]
movzx ecx, byte [ecx + 0x627bc0]
sub eax, ecx
jne 0x4ef740
mov eax, dword [ebp - 0xc]
push ebx
lea ecx, [eax + 0x18]
call fcn.004bcd90
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
jne 0x4ef753
jmp 0x4ef743
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
inc edi
mov ecx, dword [ebp - 0x14]
cmp edi, dword [ebp - 0x10]
jl 0x4ef6c3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4efac0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
mov esi, edx
mov dword [esp + 0x1c], esi
push edi
mov edi, ecx
mov dword [esp + 0x2c], edi
test esi, esi
je 0x4efcad
test edi, edi
je 0x4efaed
cmp dword [edi + 0x200], 0
jne 0x4efafc
mov eax, 0xffff
add word [esi + 0x28], ax
jne 0x4efcad
mov ebx, dword [esi + 8]
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x4efc4f
jmp 0x4efb10
mov esi, dword [ebx + 0x14]
mov dword [esp + 0x18], esi
test edi, edi
je 0x4efb28
cmp dword [edi + 0x200], 0
jne 0x4efbef
mov esi, dword [ebx]
mov ecx, esi
mov dword [esp + 0x30], esi
test esi, esi
je 0x4efb4e
cmp byte [esi], 0
je 0x4efb46
lea esp, [esp]
inc ecx
cmp byte [ecx], 0
jne 0x4efb40
sub ecx, esi
and ecx, 0x3fffffff
mov eax, dword [ebx + 0x18]
add eax, 0x18
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov edx, dword [eax]
mov dword [esp + 0x34], edx
test edx, edx
je 0x4efbc1
xor eax, eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], esi
test ecx, ecx
jle 0x4efbb5
mov ebx, ecx
mov edi, eax
mov ecx, esi
lea ebx, [ebx]
movzx eax, byte [ecx]
lea edx, [edi*8]
dec ebx
lea ecx, [ecx + 1]
movzx esi, byte [eax + 0x627bc0]
xor esi, edx
xor edi, esi
test ebx, ebx
jg 0x4efb80
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x30]
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0xc]
xor edx, edx
div dword [esp + 0x34]
mov eax, dword [esp + 0x14]
jmp 0x4efbc3
xor edx, edx
push edx
mov dword [esp + 0x14], edx
mov edx, esi
push ecx
mov ecx, eax
call fcn.004bcc80
add esp, 8
test eax, eax
je 0x4efbeb
push dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, eax
call fcn.004bcd30
add esp, 4
mov esi, dword [esp + 0x18]
test edi, edi
je 0x4efbfc
cmp dword [edi + 0x200], 0
jne 0x4efc10
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x4efc10
dec dword [eax]
jne 0x4efc10
push eax
call fcn.004b8e70
add esp, 4
mov edx, dword [ebx + 0x24]
mov ecx, edi
call fcn.004e6e10
mov edx, dword [ebx + 0x10]
mov ecx, edi
call fcn.004b8f10
test byte [ebx + 0x38], 0x10
je 0x4efc34
mov edx, dword [ebx + 0x20]
mov ecx, edi
call fcn.004b8f10
mov edx, ebx
mov ecx, edi
call fcn.004b8f10
mov dword [esp + 0x1c], esi
mov ebx, esi
test esi, esi
jne 0x4efb10
mov esi, dword [esp + 0x20]
mov edx, esi
mov ecx, edi
call fcn.004fc640
mov edx, esi
mov ecx, edi
call fcn.004efa40
mov edx, dword [esi]
mov ecx, edi
call fcn.004b8f10
mov edx, dword [esi + 0x14]
mov ecx, edi
call fcn.004b8f10
mov esi, dword [esi + 0xc]
test esi, esi
je 0x4efc8d
mov edx, esi
mov ecx, edi
call fcn.00505330
mov edx, esi
mov ecx, edi
call fcn.004b8f10
mov esi, dword [esp + 0x20]
mov ecx, edi
mov edx, dword [esi + 0x18]
call fcn.004e7ac0
mov edx, esi
mov ecx, edi
call fcn.00514ad0
mov edx, esi
mov ecx, edi
call fcn.004b8f10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret