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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ca720
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.0051dd30
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.0051e7b0
mov byte [ebp - 4], 0
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x47a181
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.0051e7b0
mov byte [ebp - 4], 0
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x47a1d0
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 0x47a1f2
push ecx
lea ecx, [ebp - 0x28]
call fcn.0051fb70
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.0051e7b0
mov byte [ebp - 4], 0
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x47a241
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.00518330
lea ecx, [edi + 0x20]
add esp, 4
cmp dword [ecx], 0
jne 0x47a28a
cmp dword [esi + 0x14], 0x10
jb 0x47a26b
mov esi, dword [esi]
xor eax, eax
cmp dword [ebp + 8], eax
setne al
push eax
push esi
call fcn.0047c9c0
test al, al
jne 0x47a28a
push dword [edi + 0x24]
call fcn.00479fe0
mov esi, eax
jmp 0x47a28c
xor esi, esi
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x47a2a1
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.005765b2
mov esp, ebp
pop ebp
ret 4
Function at 0x47c9c0
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 0x47ca0d
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x47c9f9
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.005765b2
mov esp, ebp
pop ebp
ret 8
cmp byte [edi], 0
jne 0x47ca16
xor ecx, ecx
jmp 0x47ca29
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47ca20
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 0x47ca3e
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.004e9410
add esp, 8
mov dword [esi + 4], eax
test eax, eax
jne 0x47cb52
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x47ca93
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 0x47caa6
push eax
call dword [0x64bb94]
add esp, 4
mov eax, dword [edi + 0xc]
mov dword [edi + 0x1b4], 0x4e7d70
mov dword [edi + 0x1b8], edi
mov dword [edi + 0x1bc], 0
mov dword [edi + 0x1e4], 0
test eax, eax
je 0x47cadb
push eax
call dword [0x64bb9c]
add esp, 4
lea eax, [ebp - 8]
mov dword [edi + 0x1e4], 0x3e8
push eax
push 0x47c700
push str.select_count___from_sqlite_master
mov ecx, esi
mov dword [ebp - 8], 0xffffffff
call fcn.0047f1a0
test al, al
je 0x47cb36
cmp dword [ebp - 8], 0
mov ecx, esi
jne 0x47cb14
call fcn.0047eca0
jmp 0x47cb19
call fcn.0047f010
test al, al
je 0x47cb36
mov ecx, dword [esi + 0x24]
mov bl, 1
test ecx, ecx
je 0x47cb70
mov eax, dword [ecx]
push str.PIM_Database_is_Up_To_Date
push ecx
call dword [eax + 0x14]
add esp, 8
jmp 0x47cb70
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x47cb6d
mov eax, dword [ecx]
push str.Could_not_createOrUpdatePIMDbSchema.
push 0x5f1952
push ecx
call dword [eax + 0x20]
add esp, 0xc
jmp 0x47cb6d
mov edx, dword [esi + 0x24]
test edx, edx
je 0x47cb6d
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.005765b2
mov esp, ebp
pop ebp
ret 8

Function at 0x486810
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 0x48683d
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 0x486820
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x4868c0
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 0x4868f1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x6562f0]
test eax, eax
je 0x4868fc
call eax
lea eax, [esi*8]
push eax
call fcn.00482aa0
mov ecx, dword [0x6562f4]
add esp, 4
mov esi, eax
mov dword [ebp - 0xc], esi
test ecx, ecx
je 0x48691d
call ecx
test esi, esi
je 0x4868e8
push dword [ebx + 0xc]
call fcn.00482da0
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.005903b0
mov ecx, dword [ebx + 8]
add esp, 0xc
mov dword [ebx + 8], 0
test ecx, ecx
je 0x486a00
mov esi, dword [ecx + 0x10]
xor edi, edi
mov ebx, dword [ecx + 0xc]
test esi, esi
jle 0x48698f
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 0x486972
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 0x4869da
mov eax, dword [esi]
test eax, eax
je 0x4869ad
mov edx, dword [esi + 4]
jmp 0x4869af
xor edx, edx
inc eax
mov dword [esi + 4], ecx
mov dword [esi], eax
test edx, edx
je 0x4869da
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x4869cf
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x4869f6
mov eax, dword [ebp - 4]
mov dword [eax + 8], ecx
mov dword [edx + 4], ecx
jmp 0x4869f6
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [ecx], eax
mov eax, dword [edx + 8]
test eax, eax
je 0x4869ec
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edx + 8], ecx
mov ecx, ebx
test ebx, ebx
jne 0x486966
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x486b20
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 0x486b74
push ebx
push esi
xor esi, esi
mov ebx, edx
push edi
mov edi, ecx
test ecx, ecx
jle 0x486b64
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 0x486b44
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 0x486b76
xor edx, edx
push edx
mov edx, dword [ebp - 8]
push ecx
mov ecx, eax
call fcn.00486a10
add esp, 8
test eax, eax
je 0x486b90
mov eax, dword [eax + 8]
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x486ba0
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 0x486bf5
mov eax, dword [ebp + 8]
xor edi, edi
mov ebx, eax
test eax, eax
jle 0x486be5
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 0x486bc5
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 0x486bfa
xor ebx, ebx
mov dword [ebp - 4], ebx
push ebx
push dword [ebp + 8]
mov edx, edi
mov ecx, esi
call fcn.00486a10
add esp, 8
test eax, eax
je 0x486c42
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x486c32
push ebx
mov edx, eax
mov ecx, esi
call fcn.00486ac0
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 0x486ce0
push 0x14
call fcn.00482aa0
mov edi, eax
add esp, 4
test edi, edi
jne 0x486c66
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 0x486ca6
mov eax, dword [esi]
add eax, eax
cmp edx, eax
jbe 0x486ca6
add edx, edx
mov ecx, esi
call fcn.004868c0
test eax, eax
je 0x486ca6
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.00486810
xor edx, edx
div dword [esi]
jmp 0x486ca9
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x486cc7
push edi
lea edx, [eax + edx*8]
mov ecx, esi
call fcn.00486850
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 0x486cd6
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 0x4b7f00
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 0x4b7f2f
cmp byte [eax], dl
je 0x4b7f27
inc edi
cmp byte [edi], dl
jne 0x4b7f22
sub edi, eax
and edi, 0x3fffffff
xor ebx, ebx
cmp dword [esi + 0x14], edx
jle 0x4b7fdb
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 0x4b7fab
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 0x4b7f8d
nop dword [eax]
movzx edx, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x5f3138]
cmp cl, byte [edx + 0x5f3138]
jne 0x4b7f8d
mov cl, byte [eax + 1]
inc eax
inc esi
test cl, cl
jne 0x4b7f70
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 0x4b7fce
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.00486b20
mov edx, eax
add esp, 4
mov dword [ebp - 4], edx
test edx, edx
jne 0x4b7fdb
jmp 0x4b7fd1
mov edx, dword [ebp - 4]
inc ebx
cmp ebx, dword [esi + 0x14]
jl 0x4b7f40
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b8100
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 0x4b812d
cmp byte [eax], dl
je 0x4b8125
nop dword [eax]
inc edi
cmp byte [edi], dl
jne 0x4b8120
sub edi, eax
and edi, 0x3fffffff
mov eax, dword [ecx + 0x14]
xor ebx, ebx
mov dword [ebp - 0x10], eax
test eax, eax
jle 0x4b81d9
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 0x4b81ab
mov esi, dword [esi]
mov eax, ecx
mov cl, byte [ecx]
test cl, cl
je 0x4b8190
nop dword [eax]
movzx edx, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x5f3138]
cmp cl, byte [edx + 0x5f3138]
jne 0x4b818d
mov cl, byte [eax + 1]
inc eax
inc esi
test cl, cl
jne 0x4b8170
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 0x4b81c3
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
lea ecx, [eax + 0x18]
push edi
call fcn.00486b20
mov edx, eax
add esp, 4
mov dword [ebp - 4], edx
test edx, edx
jne 0x4b81d0
mov esi, dword [ebp - 0x14]
inc ebx
cmp ebx, dword [ebp - 0x10]
jl 0x4b8144
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 0x4b84e0
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 0x4b8692
test ebx, ebx
je 0x4b8508
cmp dword [ebx + 0x200], 0
jne 0x4b8517
mov eax, 0xffff
add word [esi + 0x28], ax
jne 0x4b8692
mov edi, dword [esi + 8]
mov dword [ebp - 0x14], edi
test edi, edi
je 0x4b8647
mov esi, dword [edi + 0x14]
mov dword [ebp - 0x10], esi
test ebx, ebx
je 0x4b853c
cmp dword [ebx + 0x200], 0
jne 0x4b85e8
mov esi, dword [edi]
mov ecx, esi
mov dword [ebp - 0x24], esi
test esi, esi
je 0x4b855e
cmp byte [esi], 0
je 0x4b8556
nop dword [eax]
inc ecx
cmp byte [ecx], 0
jne 0x4b8550
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 0x4b85be
xor eax, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], esi
test ecx, ecx
jle 0x4b85b4
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 0x4b8585
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 0x4b85c0
xor edx, edx
push edx
mov dword [ebp - 8], edx
mov edx, esi
push ecx
mov ecx, eax
call fcn.00486a10
add esp, 8
test eax, eax
je 0x4b85e5
push dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edx, eax
call fcn.00486ac0
add esp, 4
mov esi, dword [ebp - 0x10]
test ebx, ebx
je 0x4b85f5
cmp dword [ebx + 0x200], 0
jne 0x4b860a
mov eax, dword [edi + 0x28]
test eax, eax
je 0x4b860a
add dword [eax], 0xffffffff
jne 0x4b860a
push eax
call fcn.00482da0
add esp, 4
mov edx, dword [edi + 0x24]
mov ecx, ebx
call fcn.004afce0
mov edx, dword [edi + 0x10]
mov ecx, ebx
call fcn.00482e40
test byte [edi + 0x38], 0x10
je 0x4b862e
mov edx, dword [edi + 0x20]
mov ecx, ebx
call fcn.00482e40
mov edx, edi
mov ecx, ebx
call fcn.00482e40
mov dword [ebp - 0x14], esi
mov edi, esi
test esi, esi
jne 0x4b8525
mov esi, dword [ebp - 0x2c]
mov edx, esi
mov ecx, ebx
call fcn.004c3fc0
mov edx, esi
mov ecx, ebx
call fcn.004b8460
mov edx, dword [esi]
mov ecx, ebx
call fcn.00482e40
mov edx, dword [esi + 0x14]
mov ecx, ebx
call fcn.00482e40
mov edx, dword [esi + 0xc]
mov ecx, ebx
call fcn.004cc6b0
mov edx, dword [esi + 0x18]
mov ecx, ebx
call fcn.004b0960
mov edx, esi
mov ecx, ebx
call fcn.004d9630
mov edx, esi
mov ecx, ebx
call fcn.00482e40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ebae0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cb47e
mov eax, dword fs:[0]
push eax
push ecx
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 edi, ecx
mov eax, dword [edi]
call dword [eax + 0x24]
mov esi, eax
mov dword [ebp - 0x10], esi
push dword [ebp + 0x14]
mov dword [ebp - 4], 0
mov ecx, edi
push dword [ebp + 0x10]
mov eax, dword [edi]
push esi
call dword [eax + 0x28]
push dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 8]
call dword [eax + 0xc]
mov eax, dword [edi]
mov ecx, edi
push esi
mov eax, dword [eax + 0x30]
call eax
mov bl, al
mov dword [ebp - 4], 1
mov ecx, esi
mov edx, dword [esi]
push 1
call dword [edx]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4ecd40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5beed6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x64a070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x30]
xor al, al
mov ecx, dword [esi + 0x2c]
mov edi, edx
rep stosb byte es:[edi], al
push edx
call fcn.00599281
add esp, 4
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4ecd8f
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x4ecda0
push 0x44
push esi
call fcn.00576ea2
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4ed720
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5beed6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x64a070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x50]
xor al, al
mov ecx, dword [esi + 0x4c]
mov edi, edx
rep stosb byte es:[edi], al
push edx
call fcn.00599281
mov edx, dword [esi + 0x30]
xor al, al
mov ecx, dword [esi + 0x2c]
mov edi, edx
rep stosb byte es:[edi], al
push edx
call fcn.00599281
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4ed781
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x4ed792
push 0x60
push esi
call fcn.00576ea2
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4eea50
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
xor ebp, ebp
push edi
mov edi, esi
mov dword [esp + 0x18], edx
shr edi, 2
mov ebx, ecx
test edi, edi
je 0x4eeb04
cmp edi, 8
jb 0x4eeae3
lea eax, [edx - 4]
lea eax, [eax + edi*4]
lea ecx, [ebx - 4]
lea ecx, [ecx + edi*4]
cmp ebx, eax
ja 0x4eea89
cmp ecx, edx
jae 0x4eeae3
mov eax, edi
mov ecx, edi
and eax, 7
mov esi, edx
sub ecx, eax
sub esi, ebx
mov dword [esp + 0x10], esi
lea eax, [ebx + 0x10]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
mov ecx, edx
mov edx, dword [esp + 0x10]
nop dword [eax + eax]
movups xmm0, xmmword [ecx]
add ebp, 8
lea ecx, [ecx + 0x20]
lea eax, [eax + 0x20]
movups xmm1, xmmword [eax - 0x30]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [edx + eax - 0x20]
movups xmm0, xmmword [eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp ebp, dword [esp + 0x14]
jb 0x4eeab0
mov edx, dword [esp + 0x18]
cmp ebp, edi
jae 0x4eeb04
mov esi, edx
lea ecx, [ebx + ebp*4]
sub edi, ebp
sub esi, ebx
add ebp, edi
mov eax, dword [ecx + esi]
lea ecx, [ecx + 4]
xor dword [ecx - 4], eax
sub edi, 1
jne 0x4eeaf2
mov esi, dword [esp + 0x20]
shl ebp, 2
sub esi, ebp
je 0x4eeb84
add ebx, ebp
add edx, ebp
xor ecx, ecx
test esi, esi
je 0x4eeb84
cmp esi, 0x20
jb 0x4eeb6b
lea eax, [edx - 1]
lea edi, [ebx - 1]
add eax, esi
add edi, esi
cmp ebx, eax
ja 0x4eeb2c
cmp edi, edx
jae 0x4eeb6b
mov eax, esi
mov edi, esi
and eax, 0x1f
mov ebp, edx
sub edi, eax
mov eax, ebx
sub ebp, ebx
nop dword [eax + eax]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [eax + ebp - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm1, xmmword [edx + ecx + 0x10]
add ecx, 0x20
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp ecx, edi
jb 0x4eeb40
cmp ecx, esi
jae 0x4eeb84
sub edx, ebx
lea eax, [ecx + ebx]
sub esi, ecx
mov cl, byte [eax + edx]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub esi, 1
jne 0x4eeb76
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x4eedc0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
mov eax, edx
push edi
mov edi, esi
mov dword [esp + 0x10], eax
shr edi, 2
xor ebx, ebx
xor edx, edx
mov dword [esp + 0x1c], edi
mov ebp, ecx
test edi, edi
je 0x4eee99
cmp edi, 8
jb 0x4eee76
mov ebx, dword [esp + 0x10]
mov eax, edi
and eax, 7
mov ecx, edi
sub ecx, eax
mov esi, ebp
sub esi, ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], esi
lea eax, [ebx + 0x10]
mov esi, dword [esp + 0x24]
xorps xmm3, xmm3
mov ebx, dword [esp + 0x14]
movaps xmm2, xmm3
mov edi, dword [esp + 0x18]
mov ecx, ebp
movups xmm0, xmmword [ecx]
add edx, 8
lea ecx, [ecx + 0x20]
lea eax, [eax + 0x20]
movups xmm1, xmmword [eax - 0x30]
pxor xmm1, xmm0
por xmm3, xmm1
movups xmm1, xmmword [edi + eax - 0x20]
movups xmm0, xmmword [eax - 0x20]
pxor xmm1, xmm0
por xmm2, xmm1
cmp edx, ebx
jb 0x4eee21
mov edi, dword [esp + 0x1c]
por xmm2, xmm3
mov eax, dword [esp + 0x10]
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movaps xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movd ebx, xmm2
cmp edx, edi
jae 0x4eee99
mov esi, ebp
lea ecx, [eax + edx*4]
sub edi, edx
sub esi, eax
add edx, edi
mov eax, dword [ecx + esi]
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
or ebx, eax
sub edi, 1
jne 0x4eee85
mov esi, dword [esp + 0x24]
shl edx, 2
sub esi, edx
jne 0x4eeeaf
pop edi
xor eax, eax
test ebx, ebx
pop esi
pop ebp
sete al
pop ebx
add esp, 0x10
ret
mov ecx, dword [esp + 0x10]
add ebp, edx
add ecx, edx
mov eax, ebx
shr eax, 0x10
mov edx, ebx
shr edx, 0x18
xor edi, edi
or dl, al
mov dword [esp + 0x10], ecx
mov eax, ebx
shr eax, 8
or dl, al
or dl, bl
mov dword [esp + 0x1c], edx
test esi, esi
je 0x4eef95
cmp esi, 0x20
jb 0x4eef79
mov eax, esi
mov ebx, esi
and eax, 0x1f
mov edx, ebp
sub ebx, eax
xorps xmm3, xmm3
sub edx, ecx
mov eax, ecx
mov dword [esp + 0x18], edx
movaps xmm2, xmm3
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
nop dword [eax + eax]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [eax + ecx - 0x20]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x10]
por xmm3, xmm1
movups xmm1, xmmword [edi + ebp + 0x10]
add edi, 0x20
pxor xmm1, xmm0
por xmm2, xmm1
cmp edi, ebx
jb 0x4eef10
por xmm2, xmm3
mov ecx, dword [esp + 0x10]
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movaps xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movaps xmm0, xmm2
psrldq xmm0, 2
por xmm2, xmm0
movaps xmm0, xmm2
psrldq xmm0, 1
por xmm2, xmm0
movd eax, xmm2
or dl, al
cmp edi, esi
jae 0x4eef95
sub ebp, dword [esp + 0x10]
add ecx, edi
sub esi, edi
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
or dl, al
sub esi, 1
jne 0x4eef85
pop edi
xor eax, eax
test dl, dl
pop esi
pop ebp
sete al
pop ebx
add esp, 0x10
ret