joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467a50
Capabilities:
Encrypt data using twofish

Disassembly:
push esi
mov esi, edx
mov edx, ecx
mov eax, edx
shl eax, 8
or eax, edx
shl eax, 8
or eax, edx
shl eax, 8
or edx, eax
mov eax, dword [esp + 8]
sub eax, 2
je 0x467b0d
sub eax, 1
je 0x467ac7
sub eax, 1
mov eax, edx
jne 0x467b9a
shr eax, 0x18
movzx ecx, byte [eax + 0x7672b8]
mov eax, edx
shr eax, 0x10
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x7671b8]
xor ecx, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x7671b8]
xor ecx, eax
movzx eax, dl
shl ecx, 8
movzx edx, byte [eax + 0x7672b8]
xor edx, ecx
xor edx, dword [esi + 0x18]
mov eax, edx
shr eax, 0x18
movzx ecx, byte [eax + 0x7671b8]
mov eax, edx
shr eax, 0x10
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x7671b8]
xor ecx, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x7672b8]
xor ecx, eax
movzx eax, dl
shl ecx, 8
movzx edx, byte [eax + 0x7672b8]
xor edx, ecx
xor edx, dword [esi + 0x10]
push ebx
mov eax, edx
shr eax, 0x18
movzx ebx, byte [eax + 0x7672b8]
mov eax, edx
shr eax, 0x10
movzx eax, al
shl ebx, 8
movzx eax, byte [eax + 0x7671b8]
xor ebx, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl ebx, 8
movzx eax, byte [eax + 0x7672b8]
xor ebx, eax
movzx eax, dl
shl ebx, 8
movzx eax, byte [eax + 0x7671b8]
xor ebx, eax
xor ebx, dword [esi + 8]
mov eax, ebx
mov ecx, ebx
shr eax, 0x18
shr ecx, 8
movzx ecx, cl
movzx edx, byte [eax + 0x7672b8]
mov eax, ebx
shr eax, 0x10
movzx ecx, byte [ecx + 0x7671b8]
movzx eax, al
shl edx, 8
movzx eax, byte [eax + 0x7672b8]
xor eax, edx
shl eax, 8
xor eax, ecx
movzx ecx, bl
shl eax, 8
pop ebx
movzx ecx, byte [ecx + 0x7671b8]
xor eax, ecx
xor eax, dword [esi]
pop esi
ret
Function at 0x4688b0
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xc
mov edx, dword [eax + 4]
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [ecx + 0x2c]
push esi
mov esi, dword [eax]
push edi
xor edi, edi
bswap esi
bswap edx
test ebp, ebp
je 0x468935
mov eax, dword [ecx + 0x28]
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
mov ecx, edx
mov eax, edx
shr ecx, 5
sub edi, 0x61c88647
shl eax, 4
add ecx, ebx
add eax, dword [esp + 0x10]
xor ecx, eax
lea eax, [edi + edx]
xor ecx, eax
add esi, ecx
mov ecx, esi
mov eax, esi
shr ecx, 5
add ecx, dword [esp + 0x14]
shl eax, 4
add eax, dword [esp + 0x18]
xor ecx, eax
lea eax, [edi + esi]
xor ecx, eax
add edx, ecx
cmp edi, ebp
jne 0x4688f3
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
bswap esi
test ecx, ecx
je 0x46895f
mov eax, dword [ecx]
xor eax, esi
mov dword [ebx], eax
lea eax, [ebx + 4]
add ecx, 4
je 0x468964
mov ecx, dword [ecx]
pop edi
pop esi
bswap edx
xor edx, ecx
pop ebp
mov dword [eax], edx
pop ebx
add esp, 0xc
ret 0xc
mov dword [ebx], esi
lea eax, [ebx + 4]
pop edi
pop esi
xor ecx, ecx
bswap edx
xor edx, ecx
pop ebp
mov dword [eax], edx
pop ebx
add esp, 0xc
ret 0xc

Function at 0x468980
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, dword [eax]
mov edx, dword [eax + 4]
push edi
xor edi, edi
bswap esi
bswap edx
cmp dword [ecx + 0x2c], edi
je 0x4689ed
push ebx
mov ebx, dword [ecx + 0x28]
mov ebp, ecx
mov ecx, edx
mov eax, edx
shl eax, 4
shr ecx, 5
xor ecx, eax
mov eax, edi
and eax, 3
add ecx, edx
mov eax, dword [ebx + eax*4]
add eax, edi
sub edi, 0x61c88647
xor ecx, eax
add esi, ecx
mov ecx, esi
mov eax, esi
shl eax, 4
shr ecx, 5
xor ecx, eax
mov eax, edi
shr eax, 0xb
add ecx, esi
and eax, 3
mov eax, dword [ebx + eax*4]
add eax, edi
xor ecx, eax
add edx, ecx
cmp edi, dword [ebp + 0x2c]
jne 0x4689a2
mov ebp, dword [esp + 0x20]
pop ebx
mov ecx, dword [esp + 0x18]
bswap esi
test ecx, ecx
je 0x468a15
mov eax, dword [ecx]
xor eax, esi
mov dword [ebp], eax
lea eax, [ebp + 4]
add ecx, 4
je 0x468a1b
mov ecx, dword [ecx]
pop edi
bswap edx
xor edx, ecx
pop esi
mov dword [eax], edx
pop ebp
pop ecx
ret 0xc
mov dword [ebp], esi
lea eax, [ebp + 4]
pop edi
xor ecx, ecx
bswap edx
xor edx, ecx
pop esi
mov dword [eax], edx
pop ebp
pop ecx
ret 0xc
Function at 0x4692b0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70aeeb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x7b7fc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea eax, [edi + 8]
mov dword [edi], vtable.CryptoPP::RandomPool.0
mov byte [eax + 0x21], 0
mov byte [eax + 0x21], 1
mov dword [eax + 0x28], 0x20
mov dword [eax + 0x2c], eax
lea eax, [edi + 0x38]
mov dword [ebp - 4], 0
mov byte [eax + 0x11], 0
mov byte [eax + 0x11], 1
mov dword [eax + 0x18], 0x10
mov dword [eax + 0x1c], eax
push 0x120
mov byte [ebp - 4], 1
call fcn.0065d3d0
mov esi, eax
lea edx, [esi + 0x18]
mov dword [ebp - 0x10], esi
mov byte [edx + 0xf9], 0
mov eax, edx
mov byte [edx + 0xf9], 1
neg eax
mov dword [edx + 0x100], 0x3c
and eax, 0xf
add eax, edx
mov dword [edx + 0x104], eax
mov dword [esi], vtable.CryptoPP::BlockCipherFinal_0__class_CryptoPP::Rijndael::Enc_.1.0
mov dword [esi + 4], vtable.CryptoPP::BlockCipherFinal_0__class_CryptoPP::Rijndael::Enc_.0
mov dword [edi + 0x58], esi
push dword [edi + 0x30]
mov byte [edi + 0x5c], 0
push 0
push dword [edi + 0x34]
call fcn.00678c60
push dword [edi + 0x50]
push 0
push dword [edi + 0x54]
call fcn.00678c60
add esp, 0x1c
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 0x484090
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x18]
push ebp
mov ebp, dword [eax + 8]
mov edx, dword [eax]
push esi
mov esi, dword [ebx]
add esi, dword [eax + 4]
push edi
mov edi, dword [ebx + 4]
add ebx, 8
add edi, dword [eax + 0xc]
mov dword [esp + 0x10], ebp
mov ebp, dword [ecx + 0xc]
mov dword [esp + 0x18], edx
test ebp, ebp
je 0x484107
nop
lea ecx, [esi*2 + 1]
imul ecx, esi
lea edx, [edi*2 + 1]
imul edx, edi
rol ecx, 5
mov eax, ecx
rol edx, 5
xor eax, dword [esp + 0x18]
mov dword [esp + 0x18], esi
mov esi, edx
xor esi, dword [esp + 0x10]
rol esi, cl
mov ecx, edx
add esi, dword [ebx + 4]
mov dword [esp + 0x10], edi
mov edi, eax
rol edi, cl
add edi, dword [ebx]
add ebx, 8
sub ebp, 1
jne 0x4840c0
mov edx, dword [esp + 0x18]
mov ecx, dword [ebx]
mov ebp, dword [ebx + 4]
add ecx, edx
add ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x48415c
mov eax, dword [edx]
xor eax, ecx
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
add ecx, 4
mov eax, ecx
add edx, 4
je 0x484167
mov eax, dword [edx]
xor eax, esi
mov dword [ecx], eax
add ecx, 4
mov eax, ecx
add edx, 4
je 0x48416e
mov eax, dword [edx]
xor eax, ebp
mov dword [ecx], eax
lea eax, [edx + 4]
add ecx, 4
test eax, eax
je 0x484173
mov eax, dword [eax]
xor eax, edi
pop edi
pop esi
pop ebp
mov dword [ecx], eax
pop ebx
pop ecx
ret 0xc
mov eax, dword [esp + 0x20]
mov dword [eax], ecx
lea ecx, [eax + 4]
mov eax, ecx
mov dword [ecx], esi
lea ecx, [eax + 4]
mov eax, ecx
mov dword [ecx], ebp
lea ecx, [eax + 4]
xor eax, eax
xor eax, edi
pop edi
pop esi
pop ebp
mov dword [ecx], eax
pop ebx
pop ecx
ret 0xc
Function at 0x4861e0
Capabilities:
Encrypt data using des

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 0x78
mov dword [esp + 0x14], ecx
call fcn.00453220
mov esi, dword [esp + 0x20]
add esp, 4
mov ebp, eax
xor edx, edx
nop dword [eax + eax]
movzx ecx, byte [edx + str.91__]
dec ecx
mov eax, ecx
and ecx, 7
sar eax, 3
movzx eax, byte [eax + esi]
test byte [ecx*4 + 0x768c10], al
movzx ecx, byte [edx + 0x768c31]
setne al
dec ecx
mov byte [edx + ebp], al
mov eax, ecx
sar eax, 3
and ecx, 7
movzx eax, byte [eax + esi]
test byte [ecx*4 + 0x768c10], al
movzx ecx, byte [edx + 0x768c32]
setne al
dec ecx
mov byte [edx + ebp + 1], al
mov eax, ecx
sar eax, 3
and ecx, 7
movzx eax, byte [eax + esi]
test byte [ecx*4 + 0x768c10], al
movzx ecx, byte [edx + 0x768c33]
setne al
dec ecx
mov byte [edx + ebp + 2], al
mov eax, ecx
sar eax, 3
and ecx, 7
movzx eax, byte [eax + esi]
test byte [ecx*4 + 0x768c10], al
setne al
mov byte [edx + ebp + 3], al
add edx, 4
cmp edx, 0x38
jl 0x486200
xor ebx, ebx
nop word [eax + eax]
movzx esi, byte [ebx + 0x768c68]
xorps xmm0, xmm0
movq qword [ebp + 0x70], xmm0
xor edx, edx
lea edi, [esi - 0x1c]
cmp edx, 0x1c
mov ecx, esi
sbb eax, eax
and eax, 0xffffffe4
add eax, 0x38
cmp esi, eax
cmovge ecx, edi
inc esi
inc edi
mov al, byte [ecx + ebp]
mov byte [edx + ebp + 0x38], al
inc edx
cmp edx, 0x38
jl 0x4862b4
xor ecx, ecx
nop word [eax + eax]
movzx eax, byte [ecx + 0x768be0]
cmp byte [eax + ebp + 0x37], 0
je 0x486311
mov eax, 0xaaaaaaab
mul ecx
mov eax, ecx
shr edx, 2
lea esi, [edx + ebp]
lea edx, [edx + edx*2]
add edx, edx
sub eax, edx
mov eax, dword [eax*4 + 0x768c10]
sar eax, 2
or byte [esi + 0x70], al
inc ecx
cmp ecx, 0x30
jl 0x4862e0
movzx ecx, byte [ebp + 0x70]
movzx eax, byte [ebp + 0x72]
mov edx, dword [esp + 0x10]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + 0x74]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + 0x76]
shl ecx, 8
or ecx, eax
mov eax, dword [edx + 0x8c]
mov dword [eax + ebx*8], ecx
movzx ecx, byte [ebp + 0x71]
movzx eax, byte [ebp + 0x73]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + 0x75]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + 0x77]
shl ecx, 8
or ecx, eax
mov eax, dword [edx + 0x8c]
mov dword [eax + ebx*8 + 4], ecx
inc ebx
cmp ebx, 0x10
jl 0x4862a0
cmp dword [esp + 0x18], 1
jne 0x4863c5
xor ebx, ebx
mov edi, 0x7c
mov eax, dword [edx + 0x8c]
mov ecx, dword [eax + ebx]
lea edx, [eax + ebx]
lea esi, [eax + edi]
mov eax, dword [esi - 4]
mov dword [edx], eax
mov dword [esi - 4], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x8c]
mov ecx, dword [eax + ebx + 4]
lea edx, [eax + ebx]
lea esi, [eax + edi]
sub edi, 8
mov eax, dword [esi]
lea ebx, [ebx + 8]
mov dword [edx + 4], eax
mov edx, dword [esp + 0x10]
mov dword [esi], ecx
cmp edi, 0x3c
jg 0x486384
xor al, al
mov edi, ebp
mov ecx, 0x78
rep stosb byte es:[edi], al
push ebp
call fcn.0068c018
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x487830
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0xc]
mov edx, dword [eax + 4]
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, dword [ebx]
add esi, dword [eax]
mov eax, dword [ebx + 4]
push edi
add eax, edx
xor edi, edi
test ecx, ecx
je 0x487873
mov ebp, ecx
xor esi, eax
mov ecx, eax
rol esi, cl
add esi, dword [ebx + edi*8 + 8]
xor eax, esi
mov ecx, esi
rol eax, cl
add eax, dword [ebx + edi*8 + 0xc]
inc edi
cmp edi, ebp
jb 0x487856
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
lea edx, [ebp + 4]
test edi, edi
je 0x487899
mov ecx, dword [edi]
xor ecx, esi
mov dword [ebp], ecx
lea ecx, [edi + 4]
test ecx, ecx
je 0x48789c
mov ecx, dword [ecx]
pop edi
pop esi
xor ecx, eax
pop ebp
mov dword [edx], ecx
pop ebx
ret 0xc
mov dword [ebp], esi
pop edi
pop esi
xor ecx, ecx
xor ecx, eax
pop ebp
mov dword [edx], ecx
pop ebx
ret 0xc
Function at 0x487e10
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
mov esi, dword [ecx + 0x11c]
push edi
mov edi, dword [ecx + 0x118]
shl edi, 2
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], 4
test ebx, ebx
je 0x487e93
test esi, esi
jne 0x487e49
call fcn.0068bca3
mov dword [eax], 0x16
jmp 0x487e8e
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x487e62
cmp edi, ebx
jb 0x487e62
push ebx
push ebp
push esi
call fcn.00678240
add esp, 0xc
jmp 0x487e93
push edi
push 0
push esi
call fcn.00678c60
add esp, 0xc
test ebp, ebp
jne 0x487e7f
call fcn.0068bca3
mov dword [eax], 0x16
jmp 0x487e8e
cmp edi, ebx
jae 0x487e93
call fcn.0068bca3
mov dword [eax], 0x22
call fcn.00681d70
sub edi, ebx
lea eax, [esi + ebx]
push edi
push 0
push eax
call fcn.00678c60
lea edx, [esp + 0x28]
lea ecx, [esp + 0x1c]
call fcn.0045d8d0
push eax
mov edx, esi
mov ecx, esi
call fcn.0045fe10
mov eax, dword [esi]
add esp, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
nop dword [eax]
mov ebp, dword [esi + 4]
mov edi, ebp
mov edx, dword [esi + 0x38]
mov eax, ebp
ror eax, 7
mov ecx, edx
ror edi, 0x12
xor edi, eax
ror ecx, 0x13
mov eax, ebp
shr eax, 3
xor edi, eax
mov eax, edx
ror eax, 0x11
xor ecx, eax
shr edx, 0xa
xor ecx, edx
add edi, ecx
mov ecx, dword [esp + 0x1c]
add edi, dword [esi + 0x24]
add edi, dword [esp + 0x18]
mov dword [esi + 0x40], edi
mov eax, dword [ecx + 0x768eb8]
add ecx, 4
add eax, dword [esp + 0x18]
mov dword [esi], eax
add esi, 4
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ebp
cmp ecx, 0xc0
jb 0x487ed0
mov ecx, 0xc0
mov edx, 0x768eb8
mov edi, 0x768ec0
mov ebx, 0x768ec4
mov eax, dword [edx + ecx]
lea esi, [esi + 0x10]
add dword [esi - 0x10], eax
mov eax, dword [ecx + 0x768ebc]
add dword [esi - 0xc], eax
mov eax, dword [edi + ecx]
add dword [esi - 8], eax
mov eax, dword [ebx + ecx]
add ecx, 0x10
add dword [esi - 4], eax
cmp ecx, 0x100
jb 0x487f40
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x48eb70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x7b7fc0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x2c], ecx
lea eax, [ebp - 0x34]
push eax
push 3
mov ecx, dword [ebp - 0x2c]
call fcn.0057c6e0
movzx ecx, al
test ecx, ecx
jne 0x48eba0
mov al, 1
jmp 0x48ecd9
movzx esi, word [ebp - 0x33]
mov ecx, dword [ebp - 0x2c]
call fcn.0057c5e0
cmp esi, eax
jle 0x48ebb7
mov al, 1
jmp 0x48ecd9
lea edx, [ebp - 0x50]
push edx
push 7
mov ecx, dword [ebp - 0x2c]
call fcn.0057ca40
movzx eax, al
test eax, eax
jne 0x48ebd3
xor al, al
jmp 0x48ecd9
movzx ecx, word [ebp - 0x4f]
sub ecx, 7
mov word [ebp - 0x24], cx
mov edx, dword [ebp - 0x4d]
mov dword [ebp - 0x40], edx
movzx eax, word [ebp - 0x24]
push eax
call fcn.0065d695
add esp, 4
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
push edx
movzx eax, word [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.0057ca40
movzx ecx, al
test ecx, ecx
jne 0x48ec2b
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0065d69e
add esp, 4
xor al, al
jmp 0x48ecd9
mov ecx, 0x7cb5d0
call fcn.00441d60
push eax
call fcn.005680b0
add esp, 4
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.0048d6b0
add esp, 4
push eax
lea ecx, [ebp - 0x1c]
call fcn.00447530
push 0x7244d4
lea ecx, [ebp - 0x1c]
call fcn.00441d60
push eax
call fcn.006822aa
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x48ec95
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
push eax
call fcn.0065d69e
add esp, 4
mov byte [ebp - 0x1d], 0
lea ecx, [ebp - 0x1c]
call fcn.004419f0
mov al, byte [ebp - 0x1d]
jmp 0x48ecd9
mov ecx, dword [ebp - 0x30]
push ecx
push 1
movzx edx, word [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.006824e0
add esp, 0x10
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00682164
add esp, 4
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
push eax
call fcn.0065d69e
add esp, 4
mov byte [ebp - 0x1e], 1
lea ecx, [ebp - 0x1c]
call fcn.004419f0
mov al, byte [ebp - 0x1e]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065d40e
mov esp, ebp
pop ebp
ret
Function at 0x48f590
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], ecx
lea eax, [ebp - 0xc]
push eax
push 1
call dword [sym.imp.DevIL.dll_ilGenImages]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.DevIL.dll_ilBindImage]
push 0x600
call dword [sym.imp.DevIL.dll_ilEnable]
push 0x602
call dword [sym.imp.DevIL.dll_ilOriginFunc]
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.DevIL.dll_ilLoad]
movzx eax, al
test eax, eax
jne 0x48f5e8
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 2
xor al, al
jmp 0x48f6fa
push 0xde4
call dword [sym.imp.DevIL.dll_ilGetInteger]
cmp eax, 0x40
je 0x48f608
mov edx, dword [ebp + 0xc]
mov dword [edx], 3
xor al, al
jmp 0x48f6fa
push 0xde5
call dword [sym.imp.DevIL.dll_ilGetInteger]
cmp eax, 0x80
je 0x48f62a
mov eax, dword [ebp + 0xc]
mov dword [eax], 4
xor al, al
jmp 0x48f6fa
lea ecx, [ebp - 0xc]
push ecx
push 1
call dword [sym.imp.DevIL.dll_ilDeleteImages]
call dword [sym.imp.DevIL.dll_ilShutDown]
push 0x72450c
mov edx, dword [ebp + 8]
push edx
call fcn.006822aa
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x48f65f
mov eax, dword [ebp + 0xc]
mov dword [eax], 2
push 2
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.00682b3b
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
call fcn.006831d9
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x380], eax
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.00682b3b
add esp, 0xc
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x380]
push ecx
call fcn.0065d695
add esp, 4
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x388], eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x380]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x388]
push edx
call fcn.00682729
add esp, 0x10
mov eax, dword [ebp - 4]
push eax
call fcn.00682164
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
call fcn.00569050
add esp, 4
mov edx, dword [ebp - 8]
mov dword [edx + 0x384], eax
mov al, 1
mov esp, ebp
pop ebp
ret 8

Function at 0x4a1140
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jbe 0x4a115e
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp + 8]
push edx
call fcn.0049d2e0
add esp, 8
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp + 8]
mov dword [ebp + ecx - 0x14], edx
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp + eax - 0x14], ecx
lea edx, [ebp - 0x14]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0xc]
jae 0x4a11bb
imul edx, dword [ebp - 8], 0x1000193
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
movzx ecx, byte [eax]
xor ecx, dword [ebp - 8]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x4a1192
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4a6a10
Capabilities:
Allocate or change rwx memory
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x7b7fc0]
xor eax, ebp
mov dword [ebp - 4], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xa8], esp
push str.2f36272d2e6d252e2f
call fcn.00447530
lea eax, [ebp - 0x1c]
push eax
call fcn.004a7b30
add esp, 0x1c
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x84], ecx
mov ecx, dword [ebp - 0x84]
call fcn.00441d60
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x7ce760], eax
lea ecx, [ebp - 0x1c]
call fcn.004419f0
cmp dword [0x7ce760], 0
jne 0x4a6a84
push 0
call fcn.00687048
jmp 0x4a6c5d
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xac], esp
push str.2a27312f272f72706d252e2f
call fcn.00447530
lea edx, [ebp - 0x34]
push edx
call fcn.004a7b30
add esp, 0x1c
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
call fcn.00441d60
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x7ce75c], eax
lea ecx, [ebp - 0x34]
call fcn.004419f0
cmp dword [0x7ce75c], 0
jne 0x4a6aeb
push 0
call fcn.00687048
jmp 0x4a6c5d
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xb0], esp
push str.0d2d22250e2a233022333b02
call fcn.00447530
lea ecx, [ebp - 0x4c]
push ecx
call fcn.004a7b30
add esp, 0x1c
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x94], edx
mov ecx, dword [ebp - 0x94]
call fcn.00441d60
push eax
mov eax, dword [0x7ce75c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x7ce74c], eax
lea ecx, [ebp - 0x4c]
call fcn.004419f0
cmp dword [0x7ce74c], 0
jne 0x4a6b58
push 0
call fcn.00687048
jmp 0x4a6c5d
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xb4], esp
push str.0d2d22250e2a233022333b14
call fcn.00447530
lea ecx, [ebp - 0x64]
push ecx
call fcn.004a7b30
add esp, 0x1c
mov dword [ebp - 0x98], eax
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], edx
mov ecx, dword [ebp - 0x9c]
call fcn.00441d60
push eax
mov eax, dword [0x7ce75c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x7ce750], eax
lea ecx, [ebp - 0x64]
call fcn.004419f0
cmp dword [0x7ce750], 0
jne 0x4a6bc5
push 0
call fcn.00687048
jmp 0x4a6c5d
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xb8], esp
push str.0d26310d2d2225062f2d
call fcn.00447530
lea ecx, [ebp - 0x7c]
push ecx
call fcn.004a7b30
add esp, 0x1c
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], edx
mov ecx, dword [ebp - 0xa4]
call fcn.00441d60
push eax
mov eax, dword [0x7ce760]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x7ce754], eax
lea ecx, [ebp - 0x7c]
call fcn.004419f0
cmp dword [0x7ce754], 0
jne 0x4a6c2f
push 0
call fcn.00687048
jmp 0x4a6c5d
push 0x40
push 0x1000
push 0xa
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x7ce758], eax
push 5
push 0x4a7550
mov edx, dword [0x7ce758]
mov ecx, dword [0x7ce754]
call fcn.004a72d0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065d40e
mov esp, ebp
pop ebp
ret
Function at 0x4a6c70
Capabilities:
Allocate or change rwx memory
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x7b7fc0]
xor eax, ebp
mov dword [ebp - 4], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
push str.2f36272d2e6d252e2f
call fcn.00447530
lea eax, [ebp - 0x24]
push eax
call fcn.004a7b30
add esp, 0x1c
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x4c]
call fcn.00441d60
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x24]
call fcn.004419f0
mov dword [ebp - 0x5c], 0x4a7950
mov byte [ebp - 0xc], 0xe9
mov byte [ebp - 0xb], 0
mov byte [ebp - 0xa], 0
mov byte [ebp - 9], 0
mov byte [ebp - 8], 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x64], esp
push str.052024142b11242f2c3527013327222a2b2d
call fcn.00447530
lea edx, [ebp - 0x3c]
push edx
call fcn.004a7b30
add esp, 0x1c
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
call fcn.00441d60
push eax
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
call fcn.004419f0
cmp dword [ebp - 0x40], 0
jne 0x4a6d32
push 0
call fcn.00687048
jmp 0x4a6d76
mov edx, dword [ebp - 0x5c]
sub edx, dword [ebp - 0x40]
sub edx, 5
mov dword [ebp - 0xb], edx
lea eax, [ebp - 0x44]
push eax
push 0x40
push 5
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 5
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x40]
push eax
call fcn.00678240
add esp, 0xc
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x44]
push edx
push 5
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065d40e
mov esp, ebp
pop ebp
ret

Function at 0x4a6d90
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
je 0x4a6dca
push str.__FASDJNIWR25FRW2389523__5_wef235Tw_SEF346_
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.004a9c10
add esp, 8
test eax, eax
jne 0x4a6dca
push 0
push str.Metin2
push str.AutoPatcher:_Ruleaza_autopatcherul__pentru_a_putea_intra_in_joc.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.00687048
pop ebp
ret