joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4699d0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c83a0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x64a070]
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 edi, ecx
mov esi, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0x10]
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.0051d620
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [edi + 0x38]
cmp ecx, esi
je 0x469a45
push 0xffffffffffffffff
push 0
push esi
call fcn.00408f10
lea eax, [ebp - 0x48]
mov ecx, ebx
push eax
push edi
push dword [ebp + 0xc]
call fcn.00536dc0
test al, al
je 0x469a62
cmp dword [ebp - 0x48], 0
jne 0x469b54
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x48], esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], eax
cmp dword [ecx + 0x14], 8
jb 0x469a96
mov eax, dword [ecx]
jmp 0x469a98
mov eax, ecx
xor edx, edx
push edx
push 0x5f8398
mov word [eax], dx
call fcn.00408a10
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x469ac9
mov eax, dword [ecx]
jmp 0x469acb
mov eax, ecx
xor edx, edx
push edx
push 0x5f8398
mov word [eax], dx
call fcn.00408a10
push 0
mov edx, 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.0044c4d0
add esp, 0x34
mov dword [ebp - 0x4c], 7
xor eax, eax
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x60]
mov word [ebp - 0x60], ax
push 0xe
push str.hdInstallError
call fcn.00408a10
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 3
mov ecx, dword [edi + 4]
push eax
lea eax, [ebp - 0x60]
push eax
push 2
call fcn.00450b80
mov eax, dword [ebp - 0x4c]
cmp eax, 8
jb 0x469b3f
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.00409510
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x469b54
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00409510
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x469b69
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00409510
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.0057608a
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46c600
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c83a0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x64a070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x38]
mov edi, dword [ebp + 0x10]
cmp ecx, eax
je 0x46c643
push 0xffffffffffffffff
push 0
push eax
call fcn.00408f10
xor eax, eax
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.0051d620
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
push esi
push dword [ebp + 0xc]
call fcn.00536dc0
test al, al
je 0x46c691
cmp dword [ebp - 0x48], 0
jne 0x46c783
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x48], esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], eax
cmp dword [ecx + 0x14], 8
jb 0x46c6c5
mov eax, dword [ecx]
jmp 0x46c6c7
mov eax, ecx
xor edx, edx
push edx
push 0x5f8398
mov word [eax], dx
call fcn.00408a10
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x46c6f8
mov eax, dword [ecx]
jmp 0x46c6fa
mov eax, ecx
xor edx, edx
push edx
push 0x5f8398
mov word [eax], dx
call fcn.00408a10
push 0
mov edx, 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.0044c4d0
add esp, 0x34
mov dword [ebp - 0x4c], 7
xor eax, eax
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x60]
mov word [ebp - 0x60], ax
push 0x16
push str.thirdPartyInstallError
call fcn.00408a10
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 3
mov ecx, dword [esi + 4]
push eax
lea eax, [ebp - 0x60]
push eax
push 2
call fcn.00450b80
mov eax, dword [ebp - 0x4c]
cmp eax, 8
jb 0x46c76e
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.00409510
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x46c783
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00409510
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x46c798
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00409510
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0057608a
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46e330
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8cc8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x64a070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebx + 0x54]
lea eax, [ebp - 0x28]
push eax
call fcn.00424df0
lea esi, [ebx + 0x60]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.0042eee0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x46e394
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409510
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebx + 0x248]
push 0x38
mov dword [ebp - 0x18], 0
mov dword [eax + 8], esi
call fcn.0057609b
push 0x38
mov edi, eax
push 0
push edi
mov dword [ebp - 0x10], edi
call fcn.0058fee0
mov esi, dword [ebx + 0x58]
add esp, 0x10
mov ecx, dword [ebx + 0x248]
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 0x5c]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0x2710
mov dword [edi + 0x24], 0x2712
mov dword [edi + 0x28], 0x3e99999a
mov byte [edi + 0x2c], 1
mov dword [edi + 0x30], 0xffffffff
mov dword [ebx + 0x284], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4794b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x64a070]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
push edi
push str.InstallDir
push dword [ebp + 0xc]
push eax
call fcn.00479870
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x479546
test edi, edi
je 0x479546
mov ecx, dword [edi]
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], eax
mov word [esp + 0xc], ax
test ecx, ecx
je 0x479517
push eax
lea edx, [esp + 0x10]
call fcn.00518230
mov eax, dword [esp + 0x10]
add esp, 4
cmp dword [esp + 0x20], 8
jae 0x47951b
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, 0xa
cmove esi, ecx
mov ecx, dword [esp + 0x20]
cmp ecx, 8
jb 0x479544
inc ecx
push ecx
push dword [esp + 0x10]
lea ecx, [esp + 0x14]
call fcn.00409510
mov eax, esi
mov ecx, dword [esp + 0x24]
pop edi
pop esi
xor ecx, esp
call fcn.0057608a
mov esp, ebp
pop ebp
ret
Function at 0x479e50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ca140
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x64a070]
xor eax, ebp
mov dword [ebp - 0x10], eax
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
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
push ecx
lea edx, [ebp - 0x28]
mov dword [ebp - 4], eax
lea ecx, [eax + 0x2c]
call fcn.0051d3c0
add esp, 4
mov dword [ebp - 0x2c], 7
xor eax, eax
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
mov word [ebp - 0x40], ax
push 5
push 0x5f18c0
call fcn.00408a10
push ecx
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0051de40
mov byte [ebp - 4], 0
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x479ef1
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00409510
push 4
xor eax, eax
mov dword [ebp - 0x2c], 7
push str.caps
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00408a10
push ecx
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.0051de40
mov byte [ebp - 4], 0
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x479f40
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00409510
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x479f62
push ecx
lea ecx, [ebp - 0x28]
call fcn.0051f200
add esp, 4
push 8
xor eax, eax
mov dword [ebp - 0x2c], 7
push str.hdpim.db
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00408a10
push ecx
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.0051de40
mov byte [ebp - 4], 0
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x479fb1
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00409510
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea esi, [edi + 8]
cmovae ecx, dword [ebp - 0x28]
mov edx, esi
push 0
call fcn.00518080
lea ecx, [edi + 0x20]
add esp, 4
cmp dword [ecx], 0
jne 0x479ffa
cmp dword [esi + 0x14], 0x10
jb 0x479fdb
mov esi, dword [esi]
xor eax, eax
cmp dword [ebp + 8], eax
setne al
push eax
push esi
call fcn.0047c730
test al, al
jne 0x479ffa
push dword [edi + 0x24]
call fcn.00479d50
mov esi, eax
jmp 0x479ffc
xor esi, esi
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x47a011
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409510
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057608a
mov esp, ebp
pop ebp
ret 4
Function at 0x47c730
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x64a070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov byte [ebp - 9], 0
test edi, edi
jne 0x47c77d
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x47c769
mov eax, dword [ecx]
push str.PIMSqlite::initWithDBPath_NULL_parameter
push 0x5f1952
push ecx
call dword [eax + 0x20]
add esp, 0xc
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057608a
mov esp, ebp
pop ebp
ret 8
cmp byte [edi], 0
jne 0x47c786
xor ecx, ecx
jmp 0x47c799
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47c790
sub ecx, edx
push ebx
push ecx
lea ebx, [esi + 0xc]
push edi
mov ecx, ebx
call fcn.00408bb0
cmp dword [ebx + 0x14], 0x10
jb 0x47c7ae
mov ebx, dword [ebx]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
mov ecx, 1
push 0
sete al
mov edx, esi
cmp dword [ebp + 0xc], 0
mov byte [esi + 8], al
mov eax, 6
cmove eax, ecx
mov ecx, edi
push eax
call fcn.004e9170
add esp, 8
mov dword [esi + 4], eax
test eax, eax
jne 0x47c8c2
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x47c803
mov eax, dword [ecx]
push edi
push str.Success_sqlite3_open_from_the_path:__s
push 0x5f1952
push ecx
call dword [eax + 0x20]
add esp, 0x10
mov edi, dword [esi]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x47c816
push eax
call dword [0x64bb94]
add esp, 4
mov eax, dword [edi + 0xc]
mov dword [edi + 0x1b4], 0x4e7af0
mov dword [edi + 0x1b8], edi
mov dword [edi + 0x1bc], 0
mov dword [edi + 0x1e4], 0
test eax, eax
je 0x47c84b
push eax
call dword [0x64bb9c]
add esp, 4
lea eax, [ebp - 8]
mov dword [edi + 0x1e4], 0x3e8
push eax
push 0x47c470
push str.select_count___from_sqlite_master
mov ecx, esi
mov dword [ebp - 8], 0xffffffff
call fcn.0047ef10
test al, al
je 0x47c8a6
cmp dword [ebp - 8], 0
mov ecx, esi
jne 0x47c884
call fcn.0047ea10
jmp 0x47c889
call fcn.0047ed80
test al, al
je 0x47c8a6
mov ecx, dword [esi + 0x24]
mov bl, 1
test ecx, ecx
je 0x47c8e0
mov eax, dword [ecx]
push str.PIM_Database_is_Up_To_Date
push ecx
call dword [eax + 0x14]
add esp, 8
jmp 0x47c8e0
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x47c8dd
mov eax, dword [ecx]
push str.Could_not_createOrUpdatePIMDbSchema.
push 0x5f1952
push ecx
call dword [eax + 0x20]
add esp, 0xc
jmp 0x47c8dd
mov edx, dword [esi + 0x24]
test edx, edx
je 0x47c8dd
mov ecx, dword [edx]
push edi
push str.Error_unable_to_open_Sqlite_Data_base_from_the_path:__s
push 0x5f1952
push edx
call dword [ecx + 0x20]
add esp, 0x10
mov bl, byte [ebp - 9]
mov ecx, dword [ebp - 4]
mov al, bl
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.0057608a
mov esp, ebp
pop ebp
ret 8

Function at 0x486580
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 0x4865ad
nop dword [eax]
movzx eax, byte [ebx]
lea ecx, [esi*8]
dec edi
lea ebx, [ebx + 1]
movzx edx, byte [eax + 0x5f3138]
xor edx, ecx
xor esi, edx
test edi, edi
jg 0x486590
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x486630
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 0x486661
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x6562f0]
test eax, eax
je 0x48666c
call eax
lea eax, [esi*8]
push eax
call fcn.00482810
mov ecx, dword [0x6562f4]
add esp, 4
mov esi, eax
mov dword [ebp - 0xc], esi
test ecx, ecx
je 0x48668d
call ecx
test esi, esi
je 0x486658
push dword [ebx + 0xc]
call fcn.00482b10
add esp, 4
mov dword [ebx + 0xc], esi
push esi
call dword [0x64bb70]
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.0058fee0
mov ecx, dword [ebx + 8]
add esp, 0xc
mov dword [ebx + 8], 0
test ecx, ecx
je 0x486770
mov esi, dword [ecx + 0x10]
xor edi, edi
mov ebx, dword [ecx + 0xc]
test esi, esi
jle 0x4866ff
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
dec esi
movzx edx, byte [eax + 0x5f3138]
lea eax, [edi*8]
xor edx, eax
xor edi, edx
test esi, esi
jg 0x4866e2
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 0x48674a
mov eax, dword [esi]
test eax, eax
je 0x48671d
mov edx, dword [esi + 4]
jmp 0x48671f
xor edx, edx
inc eax
mov dword [esi + 4], ecx
mov dword [esi], eax
test edx, edx
je 0x48674a
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x48673f
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x486766
mov eax, dword [ebp - 4]
mov dword [eax + 8], ecx
mov dword [edx + 4], ecx
jmp 0x486766
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [ecx], eax
mov eax, dword [edx + 8]
test eax, eax
je 0x48675c
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edx + 8], ecx
mov ecx, ebx
test ebx, ebx
jne 0x4866d6
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x486890
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 0x4868e4
push ebx
push esi
xor esi, esi
mov ebx, edx
push edi
mov edi, ecx
test ecx, ecx
jle 0x4868d4
movzx eax, byte [ebx]
lea ecx, [esi*8]
dec edi
lea ebx, [ebx + 1]
movzx edx, byte [eax + 0x5f3138]
xor edx, ecx
xor esi, edx
test edi, edi
jg 0x4868b4
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 0x4868e6
xor edx, edx
push edx
mov edx, dword [ebp - 8]
push ecx
mov ecx, eax
call fcn.00486780
add esp, 8
test eax, eax
je 0x486900
mov eax, dword [eax + 8]
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x486910
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 0x486965
mov eax, dword [ebp + 8]
xor edi, edi
mov ebx, eax
test eax, eax
jle 0x486955
mov esi, edx
movzx eax, byte [esi]
lea ecx, [edi*8]
dec ebx
lea esi, [esi + 1]
movzx edx, byte [eax + 0x5f3138]
xor edx, ecx
xor edi, edx
test ebx, ebx
jg 0x486935
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 0x48696a
xor ebx, ebx
mov dword [ebp - 4], ebx
push ebx
push dword [ebp + 8]
mov edx, edi
mov ecx, esi
call fcn.00486780
add esp, 8
test eax, eax
je 0x4869b2
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x4869a2
push ebx
mov edx, eax
mov ecx, esi
call fcn.00486830
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 0x486a50
push 0x14
call fcn.00482810
mov edi, eax
add esp, 4
test edi, edi
jne 0x4869d6
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 0x486a16
mov eax, dword [esi]
add eax, eax
cmp edx, eax
jbe 0x486a16
add edx, edx
mov ecx, esi
call fcn.00486630
test eax, eax
je 0x486a16
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.00486580
xor edx, edx
div dword [esi]
jmp 0x486a19
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x486a37
push edi
lea edx, [eax + edx*8]
mov ecx, esi
call fcn.004865c0
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 0x486a46
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 0x4b7c60
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 0x4b7c8f
cmp byte [eax], dl
je 0x4b7c87
inc edi
cmp byte [edi], dl
jne 0x4b7c82
sub edi, eax
and edi, 0x3fffffff
xor ebx, ebx
cmp dword [esi + 0x14], edx
jle 0x4b7d3b
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 0x4b7d0b
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 0x4b7ced
nop dword [eax]
movzx edx, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x5f3138]
cmp cl, byte [edx + 0x5f3138]
jne 0x4b7ced
mov cl, byte [eax + 1]
inc eax
inc esi
test cl, cl
jne 0x4b7cd0
movzx ecx, byte [esi]
movzx eax, byte [eax]
mov esi, dword [ebp - 8]
movzx ecx, byte [ecx + 0x5f3138]
movzx eax, byte [eax + 0x5f3138]
sub eax, ecx
jne 0x4b7d2e
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.00486890
mov edx, eax
add esp, 4
mov dword [ebp - 4], edx
test edx, edx
jne 0x4b7d3b
jmp 0x4b7d31
mov edx, dword [ebp - 4]
inc ebx
cmp ebx, dword [esi + 0x14]
jl 0x4b7ca0
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b7e60
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 0x4b7e8d
cmp byte [eax], dl
je 0x4b7e85
nop dword [eax]
inc edi
cmp byte [edi], dl
jne 0x4b7e80
sub edi, eax
and edi, 0x3fffffff
mov eax, dword [ecx + 0x14]
xor ebx, ebx
mov dword [ebp - 0x10], eax
test eax, eax
jle 0x4b7f39
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 0x4b7f0b
mov esi, dword [esi]
mov eax, ecx
mov cl, byte [ecx]
test cl, cl
je 0x4b7ef0
nop dword [eax]
movzx edx, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x5f3138]
cmp cl, byte [edx + 0x5f3138]
jne 0x4b7eed
mov cl, byte [eax + 1]
inc eax
inc esi
test cl, cl
jne 0x4b7ed0
mov edx, dword [ebp - 4]
movzx eax, byte [eax]
movzx ecx, byte [esi]
movzx eax, byte [eax + 0x5f3138]
movzx ecx, byte [ecx + 0x5f3138]
sub eax, ecx
jne 0x4b7f23
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
lea ecx, [eax + 0x18]
push edi
call fcn.00486890
mov edx, eax
add esp, 4
mov dword [ebp - 4], edx
test edx, edx
jne 0x4b7f30
mov esi, dword [ebp - 0x14]
inc ebx
cmp ebx, dword [ebp - 0x10]
jl 0x4b7ea4
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
Function at 0x4b8240
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x20], ebx
push edi
test esi, esi
je 0x4b83f2
test ebx, ebx
je 0x4b8268
cmp dword [ebx + 0x200], 0
jne 0x4b8277
mov eax, 0xffff
add word [esi + 0x28], ax
jne 0x4b83f2
mov edi, dword [esi + 8]
mov dword [ebp - 0x14], edi
test edi, edi
je 0x4b83a7
mov esi, dword [edi + 0x14]
mov dword [ebp - 0x10], esi
test ebx, ebx
je 0x4b829c
cmp dword [ebx + 0x200], 0
jne 0x4b8348
mov esi, dword [edi]
mov ecx, esi
mov dword [ebp - 0x24], esi
test esi, esi
je 0x4b82be
cmp byte [esi], 0
je 0x4b82b6
nop dword [eax]
inc ecx
cmp byte [ecx], 0
jne 0x4b82b0
sub ecx, esi
and ecx, 0x3fffffff
mov eax, dword [edi + 0x18]
add eax, 0x18
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
mov edx, dword [eax]
mov dword [ebp - 0x28], edx
test edx, edx
je 0x4b831e
xor eax, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], esi
test ecx, ecx
jle 0x4b8314
mov edi, ecx
mov ebx, eax
mov ecx, esi
movzx eax, byte [ecx]
lea edx, [ebx*8]
dec edi
lea ecx, [ecx + 1]
movzx esi, byte [eax + 0x5f3138]
xor esi, edx
xor ebx, esi
test edi, edi
jg 0x4b82e5
mov ecx, dword [ebp - 8]
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x24]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp - 0x28]
mov eax, dword [ebp - 0xc]
jmp 0x4b8320
xor edx, edx
push edx
mov dword [ebp - 8], edx
mov edx, esi
push ecx
mov ecx, eax
call fcn.00486780
add esp, 8
test eax, eax
je 0x4b8345
push dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edx, eax
call fcn.00486830
add esp, 4
mov esi, dword [ebp - 0x10]
test ebx, ebx
je 0x4b8355
cmp dword [ebx + 0x200], 0
jne 0x4b836a
mov eax, dword [edi + 0x28]
test eax, eax
je 0x4b836a
add dword [eax], 0xffffffff
jne 0x4b836a
push eax
call fcn.00482b10
add esp, 4
mov edx, dword [edi + 0x24]
mov ecx, ebx
call fcn.004afa40
mov edx, dword [edi + 0x10]
mov ecx, ebx
call fcn.00482bb0
test byte [edi + 0x38], 0x10
je 0x4b838e
mov edx, dword [edi + 0x20]
mov ecx, ebx
call fcn.00482bb0
mov edx, edi
mov ecx, ebx
call fcn.00482bb0
mov dword [ebp - 0x14], esi
mov edi, esi
test esi, esi
jne 0x4b8285
mov esi, dword [ebp - 0x2c]
mov edx, esi
mov ecx, ebx
call fcn.004c3d40
mov edx, esi
mov ecx, ebx
call fcn.004b81c0
mov edx, dword [esi]
mov ecx, ebx
call fcn.00482bb0
mov edx, dword [esi + 0x14]
mov ecx, ebx
call fcn.00482bb0
mov edx, dword [esi + 0xc]
mov ecx, ebx
call fcn.004cc430
mov edx, dword [esi + 0x18]
mov ecx, ebx
call fcn.004b06c0
mov edx, esi
mov ecx, ebx
call fcn.004d93b0
mov edx, esi
mov ecx, ebx
call fcn.00482bb0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret