joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44cbb0
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542ba0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x58f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
lea esi, [edi + 0x4c]
mov dword [ebp - 0x18], 0
push esi
lea ecx, [ebp - 0x28]
mov word [ebp - 0x28], ax
call fcn.00412e90
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00453ee0
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00453c80
lea eax, [ebp - 0x58]
mov edx, 0x55c328
push eax
lea ecx, [ebp - 0x70]
call fcn.00414d80
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00412fb0
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x44cc69
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.004132e0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.00454170
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.00453f70
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x44ccf5
cmp dword [esi + 0x10], 0
je 0x44ccf5
cmp dword [ebp - 0x18], 0
je 0x44ccf5
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp dword [esi + 0x14], 8
jb 0x44cccc
mov esi, dword [esi]
push eax
push esi
call fcn.00526786
add esp, 8
test eax, eax
jne 0x44ccf5
lea ecx, [edi + 0x98]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x44ccf1
push 0xffffffffffffffff
push 0
push eax
call fcn.00412e90
mov bl, 1
jmp 0x44ccf7
xor bl, bl
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x44cd0c
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004132e0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x44cd35
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004132e0
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
cmp ecx, 8
jb 0x44cd5e
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.004132e0
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 - 0x10]
xor ecx, ebp
call fcn.0050ce8d
mov esp, ebp
pop ebp
ret
Function at 0x44f890
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53bdd6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x58f070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0050d2f7
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0050b9e1
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x450540
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542f60
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x58f070]
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
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [esi + 0x64], edi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], eax
call fcn.00453da0
test al, al
je 0x45073e
xor ecx, ecx
mov dword [ebp - 0x48], 7
push 0xffffffffffffffff
push ecx
lea eax, [esi + 0x34]
mov word [ebp - 0x5c], cx
push eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x4c], 0
call fcn.00412e90
push str..trace
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.00412950
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.00454020
mov byte [ebp - 4], 1
mov bl, al
mov ecx, dword [ebp - 0x30]
cmp ecx, 8
jb 0x4505f8
inc ecx
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x44]
call fcn.004132e0
test bl, bl
je 0x450715
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x2c]
call fcn.00453e30
test al, al
je 0x450715
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x450636
mov dword [esi + 0x64], 0xa
jmp 0x450715
push str..debug
lea ecx, [ebp - 0x44]
call fcn.00412950
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00454020
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
mov bl, al
call fcn.00412890
test bl, bl
je 0x450674
lea ecx, [ebp - 0x2c]
call fcn.00453d80
test al, al
jne 0x450709
lea ecx, [ebp - 0x2c]
call fcn.004540d0
test al, al
je 0x450715
push str.asu.trace
lea ecx, [ebp - 0x44]
call fcn.00412950
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00453e30
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
mov bl, al
call fcn.00412890
test bl, bl
je 0x450715
lea ecx, [ebp - 0x2c]
call fcn.00453d80
test al, al
je 0x4506c7
mov dword [esi + 0x64], 0xa
jmp 0x450715
lea ecx, [ebp - 0x2c]
call fcn.004540d0
test al, al
je 0x450715
push str.asu.debug
lea ecx, [ebp - 0x44]
call fcn.00412950
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00453e30
lea ecx, [ebp - 0x44]
mov bl, al
call fcn.00412890
test bl, bl
je 0x450715
lea ecx, [ebp - 0x2c]
call fcn.00453d80
test al, al
je 0x450715
cmp edi, 0x14
jle 0x450715
mov dword [esi + 0x64], 0x14
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x45072a
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.004132e0
xor eax, eax
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x450753
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004132e0
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.0050ce8d
mov esp, ebp
pop ebp
ret 4
Function at 0x453da0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x58f070]
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 0x453ddd
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050ce8d
mov esp, ebp
pop ebp
ret
cmp word [ebp - 0x20c], 0
jne 0x453deb
xor ecx, ecx
jmp 0x453e03
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x453df4
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00412ae0
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0050ce8d
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2010
call fcn.0050e430
mov eax, dword [0x58f070]
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 - 0x200c], edx
jb 0x4542bc
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 0x4542e1
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 0x454317
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.0050ce8d
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [eax]
push 0
lea eax, [ebp - 0x2008]
push eax
push 0x1000
lea eax, [ebp - 0x2004]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x45435f
push 0
lea eax, [ebp - 0x2010]
push eax
push dword [ebp - 0x2008]
lea eax, [ebp - 0x2004]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x454367
call esi
mov dword [ebp - 0x200c], eax
cmp dword [ebp - 0x2008], 0x1000
je 0x454320
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call esi
push ebx
call esi
mov edx, dword [ebp - 0x200c]
xor eax, eax
mov ecx, dword [ebp - 4]
test edx, edx
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.0050ce8d
mov esp, ebp
pop ebp
ret
Function at 0x4543a0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543208
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x58f070]
xor eax, ebp
mov dword [ebp - 0x10], 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 0x4543dc
mov eax, dword [edi]
jmp 0x4543de
mov eax, edi
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3c], eax
cmp eax, 0xffffffff
jne 0x454406
xor al, al
jmp 0x4544ce
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x454425
mov eax, dword [ebp - 0x38]
mov bl, 1
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
jmp 0x454431
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x4544cc
cmp dword [ebp - 0x2c], 0
jl 0x4544cc
jg 0x454457
cmp dword [ebp - 0x30], 0xa00000
jb 0x4544cc
mov eax, dword [esi + 0x68]
lea ebx, [esi + 0x68]
test eax, eax
je 0x454468
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00412e90
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.004c8f90
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.00454290
test al, al
je 0x4544ac
mov ecx, esi
call fcn.0044ced0
mov eax, dword [esi]
mov ecx, esi
push ebx
mov eax, dword [eax]
call eax
mov ecx, dword [ebp - 0x14]
mov bl, al
cmp ecx, 8
jb 0x4544cc
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.004132e0
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 - 0x10]
xor ecx, ebp
call fcn.0050ce8d
mov esp, ebp
pop ebp
ret 4

Function at 0x4544f0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x45453e
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 0x45453b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x45453b
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
mov ecx, dword [ebp + 0x1c]
setne bl
cmp ecx, 8
jb 0x454556
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.004132e0
pop esi
mov al, bl
pop ebx
pop ebp
ret 0x18
Function at 0x454bf0
Capabilities:
Create directory

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x454bfd
mov eax, dword [esi]
jmp 0x454bff
mov eax, esi
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x454c46
cmp eax, 0xb7
je 0x454c46
cmp eax, 0x50
je 0x454c46
cmp dword [esi + 0x14], 8
jb 0x454c22
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 0x56a260
call fcn.004c3260
push eax
call fcn.004c3e80
add esp, 0x14
xor al, al
pop esi
ret
mov al, 1
pop esi
ret

Function at 0x454c50
Capabilities:
Check if file exists
Delete file

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x454c5f
mov eax, dword [esi]
jmp 0x454c61
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x454c97
cmp dword [esi + 0x14], 8
jb 0x454c74
mov esi, dword [esi]
push esi
push str.File__s_does_not_exist
push 0x56a260
push ecx
call fcn.004c3260
add esp, 4
push eax
call fcn.004c3cd0
add esp, 0x10
mov al, 1
pop esi
pop ebx
pop ecx
ret
cmp dword [esi + 0x14], 8
jb 0x454ca1
mov eax, dword [esi]
jmp 0x454ca3
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
sete bl
test bl, bl
jne 0x454cdc
cmp dword [esi + 0x14], 8
jb 0x454cbc
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.Failed_to_delete_file:__s_LastError:_d
push 0x56a260
call fcn.004c3260
push eax
call fcn.004c3f10
add esp, 0x14
pop esi
mov al, bl
pop ebx
pop ecx
ret

Function at 0x454e70
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x454e7d
mov eax, dword [esi]
jmp 0x454e7f
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x454eb3
cmp dword [esi + 0x14], 8
jb 0x454e92
mov esi, dword [esi]
push esi
push str.File__s_does_not_exist
push 0x56a260
push ecx
call fcn.004c3260
add esp, 4
push eax
call fcn.004c3cd0
add esp, 0x10
xor al, al
pop esi
ret
mov al, 1
pop esi
ret

Function at 0x454ec0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x58f070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x1c
lea eax, [ebp - 0x210]
mov esi, ecx
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x454f16
push str.Unable_to_retreive_Local_App_Data_Path_from_Win_library:_n
push 0x56a260
call fcn.004c3260
push eax
call fcn.004c3f10
add esp, 0xc
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050ce8d
mov esp, ebp
pop ebp
ret
cmp word [ebp - 0x210], 0
jne 0x454f24
xor ecx, ecx
jmp 0x454f3f
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x454f30
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call fcn.00412ae0
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0050ce8d
mov esp, ebp
pop ebp
ret
Function at 0x45b980
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 0x45b9ad
nop dword [eax]
movzx eax, byte [ebx]
lea ecx, [esi*8]
dec edi
lea ebx, [ebx + 1]
movzx edx, byte [eax + 0x556d10]
xor edx, ecx
xor esi, edx
test edi, edi
jg 0x45b990
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x45ba30
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 0x45ba61
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x5993f0]
test eax, eax
je 0x45ba6c
call eax
lea eax, [esi*8]
push eax
call fcn.00457c10
mov ecx, dword [0x5993f4]
add esp, 4
mov esi, eax
mov dword [ebp - 0xc], esi
test ecx, ecx
je 0x45ba8d
call ecx
test esi, esi
je 0x45ba58
push dword [ebx + 0xc]
call fcn.00457f10
add esp, 4
mov dword [ebx + 0xc], esi
push esi
call dword [0x590ad8]
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.00510fa0
mov ecx, dword [ebx + 8]
add esp, 0xc
mov dword [ebx + 8], 0
test ecx, ecx
je 0x45bb70
mov esi, dword [ecx + 0x10]
xor edi, edi
mov ebx, dword [ecx + 0xc]
test esi, esi
jle 0x45baff
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
dec esi
movzx edx, byte [eax + 0x556d10]
lea eax, [edi*8]
xor edx, eax
xor edi, edx
test esi, esi
jg 0x45bae2
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 0x45bb4a
mov eax, dword [esi]
test eax, eax
je 0x45bb1d
mov edx, dword [esi + 4]
jmp 0x45bb1f
xor edx, edx
inc eax
mov dword [esi + 4], ecx
mov dword [esi], eax
test edx, edx
je 0x45bb4a
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x45bb3f
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x45bb66
mov eax, dword [ebp - 4]
mov dword [eax + 8], ecx
mov dword [edx + 4], ecx
jmp 0x45bb66
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [ecx], eax
mov eax, dword [edx + 8]
test eax, eax
je 0x45bb5c
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edx + 8], ecx
mov ecx, ebx
test ebx, ebx
jne 0x45bad6
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45bc90
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 0x45bce4
push ebx
push esi
xor esi, esi
mov ebx, edx
push edi
mov edi, ecx
test ecx, ecx
jle 0x45bcd4
movzx eax, byte [ebx]
lea ecx, [esi*8]
dec edi
lea ebx, [ebx + 1]
movzx edx, byte [eax + 0x556d10]
xor edx, ecx
xor esi, edx
test edi, edi
jg 0x45bcb4
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 0x45bce6
xor edx, edx
push edx
mov edx, dword [ebp - 8]
push ecx
mov ecx, eax
call fcn.0045bb80
add esp, 8
test eax, eax
je 0x45bd00
mov eax, dword [eax + 8]
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x45bd10
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 0x45bd65
mov eax, dword [ebp + 8]
xor edi, edi
mov ebx, eax
test eax, eax
jle 0x45bd55
mov esi, edx
movzx eax, byte [esi]
lea ecx, [edi*8]
dec ebx
lea esi, [esi + 1]
movzx edx, byte [eax + 0x556d10]
xor edx, ecx
xor edi, edx
test ebx, ebx
jg 0x45bd35
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 0x45bd6a
xor ebx, ebx
mov dword [ebp - 4], ebx
push ebx
push dword [ebp + 8]
mov edx, edi
mov ecx, esi
call fcn.0045bb80
add esp, 8
test eax, eax
je 0x45bdb2
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x45bda2
push ebx
mov edx, eax
mov ecx, esi
call fcn.0045bc30
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 0x45be50
push 0x14
call fcn.00457c10
mov edi, eax
add esp, 4
test edi, edi
jne 0x45bdd6
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 0x45be16
mov eax, dword [esi]
add eax, eax
cmp edx, eax
jbe 0x45be16
add edx, edx
mov ecx, esi
call fcn.0045ba30
test eax, eax
je 0x45be16
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.0045b980
xor edx, edx
div dword [esi]
jmp 0x45be19
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x45be37
push edi
lea edx, [eax + edx*8]
mov ecx, esi
call fcn.0045b9c0
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 0x45be46
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 0x48d070
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov eax, edx
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edx
push esi
mov esi, ecx
mov dword [ebp - 8], esi
push edi
mov edi, eax
test eax, eax
je 0x48d09f
cmp byte [eax], dl
je 0x48d097
inc edi
cmp byte [edi], dl
jne 0x48d092
sub edi, eax
and edi, 0x3fffffff
xor ebx, ebx
cmp dword [esi + 0x14], edx
jle 0x48d14b
nop word [eax + eax]
mov eax, ebx
mov ecx, ebx
xor eax, 1
cmp ebx, 2
cmovl ecx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
test eax, eax
je 0x48d11b
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 0x48d0fd
nop dword [eax]
movzx edx, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x556d10]
cmp cl, byte [edx + 0x556d10]
jne 0x48d0fd
mov cl, byte [eax + 1]
inc eax
inc esi
test cl, cl
jne 0x48d0e0
movzx ecx, byte [esi]
movzx eax, byte [eax]
mov esi, dword [ebp - 8]
movzx ecx, byte [ecx + 0x556d10]
movzx eax, byte [eax + 0x556d10]
sub eax, ecx
jne 0x48d13e
mov ecx, dword [ebp - 0xc]
mov eax, dword [esi + 0x10]
add ecx, ecx
mov edx, dword [ebp - 0x10]
push edi
mov ecx, dword [eax + ecx*8 + 0xc]
add ecx, 8
call fcn.0045bc90
mov edx, eax
add esp, 4
mov dword [ebp - 4], edx
test edx, edx
jne 0x48d14b
jmp 0x48d141
mov edx, dword [ebp - 4]
inc ebx
cmp ebx, dword [esi + 0x14]
jl 0x48d0b0
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48d270
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, edx
xor edx, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
push ebx
push edi
mov edi, eax
test eax, eax
je 0x48d29d
cmp byte [eax], dl
je 0x48d295
nop dword [eax]
inc edi
cmp byte [edi], dl
jne 0x48d290
sub edi, eax
and edi, 0x3fffffff
mov eax, dword [ecx + 0x14]
xor ebx, ebx
mov dword [ebp - 0x10], eax
test eax, eax
jle 0x48d349
push esi
mov esi, dword [ecx + 0x10]
mov dword [ebp - 0x14], esi
mov ecx, ebx
mov eax, ebx
xor ecx, 1
cmp ebx, 2
cmovl eax, ecx
mov ecx, dword [ebp + 8]
shl eax, 4
add esi, eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 8], eax
test ecx, ecx
je 0x48d31b
mov esi, dword [esi]
mov eax, ecx
mov cl, byte [ecx]
test cl, cl
je 0x48d300
nop dword [eax]
movzx edx, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x556d10]
cmp cl, byte [edx + 0x556d10]
jne 0x48d2fd
mov cl, byte [eax + 1]
inc eax
inc esi
test cl, cl
jne 0x48d2e0
mov edx, dword [ebp - 4]
movzx eax, byte [eax]
movzx ecx, byte [esi]
movzx eax, byte [eax + 0x556d10]
movzx ecx, byte [ecx + 0x556d10]
sub eax, ecx
jne 0x48d333
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
lea ecx, [eax + 0x18]
push edi
call fcn.0045bc90
mov edx, eax
add esp, 4
mov dword [ebp - 4], edx
test edx, edx
jne 0x48d340
mov esi, dword [ebp - 0x14]
inc ebx
cmp ebx, dword [ebp - 0x10]
jl 0x48d2b4
pop esi
pop edi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret