joyce8/EMBER2024-capa huggingface dataset:
Function at 0x483c40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov eax, edx
mov dword [esp + 0x10], ecx
mov edx, dword [ebp + 8]
push esi
push edi
test dl, 7
je 0x483c66
mov eax, 0xffffffce
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x483d29
test edx, edx
je 0x483dbd
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
lea edx, [ecx + 2]
sub ecx, eax
lea esi, [eax + 2]
mov dword [esp + 0x10], edx
mov eax, dword [ebp + 8]
add ecx, 0xfffffffe
dec eax
mov dword [esp + 0x1c], ecx
shr eax, 3
inc eax
mov dword [esp + 0x14], eax
nop
movzx eax, byte [esi - 2]
lea edi, [ecx + esi]
xor al, byte [ebx]
mov byte [edi], al
movzx eax, byte [esi - 1]
xor al, byte [ebx + 1]
mov byte [edx - 1], al
movzx eax, byte [ebx + 2]
xor al, byte [esi]
mov byte [edx], al
movzx eax, byte [esi + 1]
xor al, byte [ebx + 3]
mov ecx, dword [esp + 0x18]
mov byte [edx + 1], al
movzx eax, byte [esi + 2]
xor al, byte [ebx + 4]
mov byte [edx + 2], al
movzx eax, byte [esi + 3]
xor al, byte [ebx + 5]
mov byte [edx + 3], al
movzx eax, byte [esi + 4]
xor al, byte [ebx + 6]
mov byte [edx + 4], al
movzx eax, byte [esi + 5]
xor al, byte [ebx + 7]
mov byte [edx + 5], al
mov edx, edi
push edi
call fcn.004832b0
mov eax, dword [edi]
lea esi, [esi + 8]
mov edx, dword [esp + 0x14]
add esp, 4
mov ecx, dword [esp + 0x1c]
add edx, 8
dec dword [esp + 0x14]
mov dword [ebx], eax
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov dword [esp + 0x10], edx
jne 0x483ca0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edx, edx
je 0x483dbd
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
sub eax, ecx
lea esi, [ecx + 2]
mov dword [esp + 0x14], esi
lea ecx, [eax - 2]
lea eax, [edx - 1]
mov dword [esp + 0x1c], ecx
shr eax, 3
inc eax
mov dword [esp + 0x10], eax
mov edi, dword [ecx + esi]
lea edx, [ecx + esi]
mov ecx, dword [esp + 0x18]
add esi, 0xfffffffe
mov ebx, dword [edx + 4]
push esi
call fcn.004832b0
mov ecx, dword [ebp + 0xc]
add esp, 4
movzx eax, byte [ecx]
xor byte [esi], al
mov esi, dword [esp + 0x14]
movzx eax, byte [ecx + 1]
xor byte [esi - 1], al
movzx eax, byte [ecx + 2]
xor byte [esi], al
movzx eax, byte [ecx + 3]
xor byte [esi + 1], al
movzx eax, byte [ecx + 4]
xor byte [esi + 2], al
movzx eax, byte [ecx + 5]
xor byte [esi + 3], al
movzx eax, byte [ecx + 6]
xor byte [esi + 4], al
movzx eax, byte [ecx + 7]
xor byte [esi + 5], al
add esi, 8
dec dword [esp + 0x10]
mov dword [ecx], edi
mov dword [ecx + 4], ebx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], esi
jne 0x483d52
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4858c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov eax, edx
mov dword [esp + 0x10], ecx
mov edx, dword [ebp + 8]
push esi
push edi
test dl, 7
je 0x4858e6
mov eax, 0xffffffce
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x4859a9
test edx, edx
je 0x485a3d
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
lea edx, [ecx + 2]
sub ecx, eax
lea esi, [eax + 2]
mov dword [esp + 0x10], edx
mov eax, dword [ebp + 8]
add ecx, 0xfffffffe
dec eax
mov dword [esp + 0x1c], ecx
shr eax, 3
inc eax
mov dword [esp + 0x14], eax
nop
movzx eax, byte [esi - 2]
lea edi, [ecx + esi]
xor al, byte [ebx]
mov byte [edi], al
movzx eax, byte [esi - 1]
xor al, byte [ebx + 1]
mov byte [edx - 1], al
movzx eax, byte [ebx + 2]
xor al, byte [esi]
mov byte [edx], al
movzx eax, byte [esi + 1]
xor al, byte [ebx + 3]
mov ecx, dword [esp + 0x18]
mov byte [edx + 1], al
movzx eax, byte [esi + 2]
xor al, byte [ebx + 4]
mov byte [edx + 2], al
movzx eax, byte [esi + 3]
xor al, byte [ebx + 5]
mov byte [edx + 3], al
movzx eax, byte [esi + 4]
xor al, byte [ebx + 6]
mov byte [edx + 4], al
movzx eax, byte [esi + 5]
xor al, byte [ebx + 7]
mov byte [edx + 5], al
mov edx, edi
push edi
call fcn.00483de0
mov eax, dword [edi]
lea esi, [esi + 8]
mov edx, dword [esp + 0x14]
add esp, 4
mov ecx, dword [esp + 0x1c]
add edx, 8
dec dword [esp + 0x14]
mov dword [ebx], eax
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov dword [esp + 0x10], edx
jne 0x485920
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edx, edx
je 0x485a3d
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
sub eax, ecx
lea esi, [ecx + 2]
mov dword [esp + 0x14], esi
lea ecx, [eax - 2]
lea eax, [edx - 1]
mov dword [esp + 0x1c], ecx
shr eax, 3
inc eax
mov dword [esp + 0x10], eax
mov edi, dword [ecx + esi]
lea edx, [ecx + esi]
mov ecx, dword [esp + 0x18]
add esi, 0xfffffffe
mov ebx, dword [edx + 4]
push esi
call fcn.00483de0
mov ecx, dword [ebp + 0xc]
add esp, 4
movzx eax, byte [ecx]
xor byte [esi], al
mov esi, dword [esp + 0x14]
movzx eax, byte [ecx + 1]
xor byte [esi - 1], al
movzx eax, byte [ecx + 2]
xor byte [esi], al
movzx eax, byte [ecx + 3]
xor byte [esi + 1], al
movzx eax, byte [ecx + 4]
xor byte [esi + 2], al
movzx eax, byte [ecx + 5]
xor byte [esi + 3], al
movzx eax, byte [ecx + 6]
xor byte [esi + 4], al
movzx eax, byte [ecx + 7]
xor byte [esi + 5], al
add esi, 8
dec dword [esp + 0x10]
mov dword [ecx], edi
mov dword [ecx + 4], ebx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], esi
jne 0x4859d2
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x488370
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], edx
push ebx
mov ebx, ecx
mov dword [ebp - 0xc], ebx
push esi
push edi
mov esi, dword [ebx]
lea eax, [ebx + 8]
mov edi, dword [ebx + 4]
mov dword [ebp - 4], eax
test edx, edx
je 0x4883d7
mov edx, dword [ebp + 0xc]
sub dword [ebp + 8], edx
mov ebx, dword [ebp - 4]
lea edx, [edx + 1]
inc esi
and esi, 0xff
movzx ecx, byte [eax + esi]
add edi, ecx
and edi, 0xff
movzx eax, byte [eax + edi]
mov byte [ebx + esi], al
mov byte [ebx + edi], cl
add cl, al
movzx eax, cl
mov ecx, ebx
mov al, byte [eax + ecx]
mov ecx, dword [ebp + 8]
xor al, byte [ecx + edx - 1]
dec dword [ebp - 8]
mov byte [edx - 1], al
mov eax, ebx
jne 0x488396
mov ebx, dword [ebp - 0xc]
mov dword [ebx + 4], edi
xor eax, eax
pop edi
mov dword [ebx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x489fe0
Capabilities:
Encrypt data using camellia

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
xor ecx, dword [edx + 4]
mov eax, ecx
xor ebx, dword [edx]
shr eax, 0x10
and eax, 0xff
push esi
movzx esi, byte [eax + 0x4c5e40]
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax + 0x4c5c90]
shl eax, 8
or esi, eax
mov eax, ecx
shr eax, 8
and eax, 0xff
shl esi, 8
movzx eax, byte [eax + 0x4c57d8]
or esi, eax
movzx eax, cl
shl esi, 8
movzx eax, byte [eax + 0x4c59f8]
or esi, eax
mov eax, ebx
shr eax, 0x10
mov edx, esi
and eax, 0xff
rol edx, 8
movzx ecx, byte [eax + 0x4c5c90]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x4c59f8]
shl eax, 8
or ecx, eax
mov eax, ebx
shr eax, 8
and eax, 0xff
shl ecx, 8
movzx eax, byte [eax + 0x4c5e40]
or ecx, eax
movzx eax, bl
shl ecx, 8
movzx eax, byte [eax + 0x4c57d8]
or ecx, eax
xor edx, ecx
mov ecx, dword [ebp + 8]
mov eax, edx
rol eax, 0x10
xor esi, eax
mov eax, esi
ror eax, 8
xor edx, eax
mov eax, edx
ror eax, 8
xor eax, dword [ecx]
xor eax, esi
xor dword [ecx + 4], edx
pop esi
mov dword [ecx], eax
pop ebx
pop ebp
ret
Function at 0x48b840
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], 0x10
mov ecx, dword [ebp + 8]
mov eax, edx
mov dword [ebp - 0x10], eax
mov ebx, edi
mov ecx, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 4], ecx
xor eax, dword [ebx]
lea ebx, [ebx + 4]
mov ecx, eax
mov dword [ebp - 0xc], eax
movzx esi, al
shr ecx, 8
movzx edx, cl
shr ecx, 8
mov eax, ecx
movzx ecx, cl
shr eax, 8
and eax, 0xff
mov eax, dword [edi + eax*4 + 0x48]
add eax, dword [edi + ecx*4 + 0x448]
xor eax, dword [edi + edx*4 + 0x848]
add eax, dword [edi + esi*4 + 0xc48]
xor eax, dword [ebp - 4]
dec dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov dword [ebp - 4], edx
jne 0x48b863
mov ecx, dword [edi + 0x44]
xor ecx, edx
mov edx, dword [ebp - 0x10]
mov dword [edx], ecx
mov ecx, dword [edi + 0x40]
xor ecx, eax
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret

Function at 0x48b8d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], 0x10
mov ecx, dword [ebp + 8]
mov eax, edx
mov dword [ebp - 0x10], eax
lea ebx, [edi + 0x44]
mov ecx, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 4], ecx
xor eax, dword [ebx]
lea ebx, [ebx - 4]
mov ecx, eax
mov dword [ebp - 0xc], eax
movzx esi, al
shr ecx, 8
movzx edx, cl
shr ecx, 8
mov eax, ecx
movzx ecx, cl
shr eax, 8
and eax, 0xff
mov eax, dword [edi + eax*4 + 0x48]
add eax, dword [edi + ecx*4 + 0x448]
xor eax, dword [edi + edx*4 + 0x848]
add eax, dword [edi + esi*4 + 0xc48]
xor eax, dword [ebp - 4]
dec dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov dword [ebp - 4], edx
jne 0x48b8f4
mov ecx, dword [edi]
xor ecx, edx
mov edx, dword [ebp - 0x10]
mov dword [edx], ecx
mov ecx, dword [edi + 4]
xor ecx, eax
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret
Function at 0x48b960
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], ebx
lea eax, [ecx - 0x20]
cmp eax, 0x1a0
ja 0x48ba85
test cl, 7
jne 0x48ba85
push esi
shr ecx, 3
mov esi, 0x4c6190
push edi
mov dword [ebp + 8], ecx
lea edi, [ebx + 0x48]
mov ecx, 0x400
mov dword [ebp - 4], ebx
rep movsd dword es:[edi], dword [esi]
mov eax, 0x4c6140
mov dword [ebp - 8], 0x12
xor esi, esi
mov edi, edx
sub eax, ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + edi]
inc esi
cmp esi, ebx
sbb ecx, ecx
shl eax, 8
and ecx, esi
movzx edx, byte [ecx + edi]
inc ecx
or edx, eax
cmp ecx, ebx
sbb eax, eax
shl edx, 8
and eax, ecx
movzx esi, byte [eax + edi]
inc eax
or esi, edx
cmp eax, ebx
sbb ecx, ecx
shl esi, 8
and ecx, eax
mov eax, dword [ebp - 0x10]
movzx edx, byte [ecx + edi]
inc ecx
or edx, esi
cmp ecx, ebx
sbb esi, esi
and esi, ecx
mov ecx, dword [ebp - 4]
mov eax, dword [eax + ecx]
xor eax, edx
mov dword [ecx], eax
add ecx, 4
dec dword [ebp - 8]
mov dword [ebp - 4], ecx
jne 0x48b9b8
mov ebx, dword [ebp - 0x14]
xor esi, esi
mov dword [ebp + 8], 0
mov dword [ebp - 4], 0
mov edi, edi
lea eax, [ebp - 4]
mov ecx, ebx
push eax
lea edx, [ebp + 8]
call fcn.0048b840
mov eax, dword [ebp + 8]
add esp, 4
mov dword [ebx + esi*4], eax
mov eax, dword [ebp - 4]
mov dword [ebx + esi*4 + 4], eax
add esi, 2
cmp esi, 0x12
jb 0x48ba20
lea esi, [ebx + 0x4c]
mov dword [ebp - 8], 4
mov edi, 0x80
lea eax, [ebp - 4]
mov ecx, ebx
push eax
lea edx, [ebp + 8]
call fcn.0048b840
mov eax, dword [ebp + 8]
add esp, 4
mov dword [esi - 4], eax
mov eax, dword [ebp - 4]
mov dword [esi], eax
add esi, 8
dec edi
jne 0x48ba55
dec dword [ebp - 8]
jne 0x48ba50
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xffffffea
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48bfd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], ecx
mov eax, edx
mov ecx, dword [ebp + 8]
push edi
mov edi, dword [ecx]
test eax, eax
je 0x48c0eb
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x18]
sub ecx, ebx
push esi
mov dword [ebp + 0x14], ecx
lea esp, [esp]
dec eax
mov dword [ebp - 0x10], eax
test edi, edi
jne 0x48c0bf
mov edx, dword [ebp + 0xc]
lea esi, [edx + 7]
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 5]
mov dword [ebp - 4], ecx
movzx ecx, byte [edx + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 6]
shl ecx, 8
lea edx, [ebp - 4]
or ecx, eax
movzx eax, byte [esi]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 8]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
push eax
call fcn.0048b840
mov edx, dword [ebp + 0x10]
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, ecx
shr eax, 0x18
mov byte [edx], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 1], al
mov eax, ecx
shr eax, 8
mov byte [edx + 2], al
mov byte [edx + 3], cl
mov ecx, dword [ebp - 8]
mov eax, ecx
shr eax, 0x18
mov byte [edx + 4], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 5], al
mov eax, ecx
mov byte [edx + 7], cl
mov ecx, 1
shr eax, 8
sub ecx, dword [ebp + 0xc]
mov byte [edx + 6], al
lea esp, [esp]
inc byte [esi]
jne 0x48c0bc
dec esi
lea eax, [ecx + esi]
test eax, eax
jg 0x48c0b0
mov ecx, dword [ebp + 0x14]
mov al, byte [edi + edx]
inc edi
movzx ecx, byte [ecx + ebx]
and edi, 7
xor al, cl
mov ecx, dword [ebp + 0x14]
mov byte [ebx], al
inc ebx
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x48c000
mov eax, dword [ebp + 8]
pop esi
pop ebx
mov dword [eax], edi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov dword [ecx], edi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x48d0f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a92d2
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4dd840]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], 0
je 0x48d14b
mov dword [edi], 0x4aa5ac
mov dword [edi + 0x10], 0x4aa5b4
mov dword [edi + 0x78], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, dword [edi]
lea esi, [edi + 0x18]
push 0
push esi
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.0048e890
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 4]
mov dword [edi + eax + 0x10], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edi + 0xc], eax
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov dword [ebp - 4], 5
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x78]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call fcn.0048d270
lea eax, [esi + 4]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov byte [esi + 0x4c], 0
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov byte [esi + 0x45], 0
mov dword [esi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov dword [esi + 0x50], 0
mov eax, dword [0x4df1a0]
mov dword [esi + 0x48], eax
mov eax, edi
mov dword [esi + 0x40], 0
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 0x48dcb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a93c8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4dd840]
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
cmp dword [edi + 0x40], 0
je 0x48ddd4
cmp byte [edi + 0x45], 0
je 0x48ddd4
mov eax, dword [edi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x48dd04
xor al, al
jmp 0x48ddd6
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 8
cmp ecx, 0x10
jae 0x48dd27
lea eax, [ebp - 0x28]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
mov ebx, dword [ebp - 0x28]
jae 0x48dd68
lea ebx, [ebp - 0x28]
mov esi, ebx
mov ecx, dword [edi + 0x40]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
add eax, ebx
mov edx, dword [ecx]
push eax
push esi
lea eax, [edi + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x48dd6d
dec eax
je 0x48dd71
sub eax, 2
je 0x48ddbd
xor bl, bl
jmp 0x48ddbf
mov esi, dword [ebp - 0x28]
jmp 0x48dd40
mov byte [edi + 0x45], 0
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x48dd7d
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
sub esi, eax
je 0x48dda3
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x48dd90
lea eax, [ebp - 0x28]
push dword [edi + 0x50]
push esi
push 1
push eax
call fcn.00494b03
add esp, 0x10
cmp esi, eax
jne 0x48dd64
cmp byte [edi + 0x45], 0
je 0x48ddbd
test esi, esi
jne 0x48dd32
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.0048e380
jmp 0x48dd32
mov bl, 1
cmp dword [ebp - 0x14], 0x10
jb 0x48ddd0
push dword [ebp - 0x28]
call fcn.00492b21
add esp, 4
mov al, bl
jmp 0x48ddd6
mov al, 1
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.00493329
mov esp, ebp
pop ebp
ret
Function at 0x48e9e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a94d8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4dd840]
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
mov ebx, dword [ebp + 8]
cmp ebx, 0xffffffff
jne 0x48ea1c
xor eax, eax
jmp 0x48eba4
mov eax, dword [edi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x48ea47
mov edx, dword [edi + 0x30]
mov esi, dword [edx]
lea eax, [esi + ecx]
cmp ecx, eax
jae 0x48ea47
lea eax, [esi - 1]
mov dword [edx], eax
mov ecx, dword [edi + 0x20]
mov edx, dword [ecx]
lea eax, [edx + 1]
mov dword [ecx], eax
mov byte [edx], bl
jmp 0x48eba2
cmp dword [edi + 0x50], 0
jne 0x48ea55
or eax, 0xffffffff
jmp 0x48eba4
mov esi, dword [edi + 0xc]
lea eax, [edi + 0x44]
cmp dword [esi], eax
jne 0x48ea73
mov edx, dword [edi + 0x3c]
mov ecx, dword [edi + 0x38]
sub edx, ecx
mov dword [esi], ecx
mov eax, dword [edi + 0x1c]
mov dword [eax], ecx
mov eax, dword [edi + 0x2c]
mov dword [eax], edx
cmp dword [edi + 0x40], 0
jne 0x48ea98
push dword [edi + 0x50]
movsx eax, bl
push eax
call fcn.00494739
add esp, 8
cmp eax, 0xffffffff
jne 0x48eba2
or ebx, eax
jmp 0x48eba2
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 8
cmp ecx, 0x10
jae 0x48eabe
lea eax, [ebp - 0x28]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
lea esp, [esp]
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x48eadc
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
jae 0x48eaeb
lea esi, [ebp - 0x28]
mov ecx, dword [edi + 0x40]
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x30]
mov edx, dword [ecx]
push eax
push esi
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2b]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [edi + 0x48]
push eax
call dword [edx + 0x1c]
mov ebx, dword [ebp + 8]
test eax, eax
js 0x48eb8e
cmp eax, 1
jg 0x48eb77
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x48eb27
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x34]
sub esi, eax
je 0x48eb4d
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x48eb3a
lea eax, [ebp - 0x28]
push dword [edi + 0x50]
push esi
push 1
push eax
call fcn.00494b03
add esp, 0x10
cmp esi, eax
jne 0x48eb8e
lea eax, [ebp - 0x2c]
mov byte [edi + 0x45], 1
cmp dword [ebp - 0x38], eax
jne 0x48eb91
test esi, esi
jne 0x48ead0
cmp dword [ebp - 0x18], 0x20
jae 0x48eb8e
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.0048e380
jmp 0x48ead0
cmp eax, 3
jne 0x48eb8e
push dword [edi + 0x50]
push dword [ebp - 0x2c]
call fcn.0048ce90
add esp, 8
test al, al
jne 0x48eb91
or ebx, 0xffffffff
cmp dword [ebp - 0x14], 0x10
jb 0x48eba2
push dword [ebp - 0x28]
call fcn.00492b21
add esp, 4
mov eax, ebx
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.00493329
mov esp, ebp
pop ebp
ret 4
Function at 0x48f620
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x48f62c
pop ebp
ret
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.0048f640
Function at 0x4a65a8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4dd840]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00499363
mov dword [ebp - 0x14], eax
cmp dword [0x5bcf9c], esi
jne 0x4a669b
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4a6628
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4a677b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4a677b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4a677b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x5bcf9c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x5bcfa0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x5bcfa4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5bcfac], eax
test eax, eax
je 0x4a6698
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5bcfa8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4a66c0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4a66b3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4a66d5
push 4
pop eax
jmp 0x4a677d
cmp dword [ebp - 0x14], esi
je 0x4a66d5
push dword [0x5bcf9c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4a66ba
mov eax, dword [0x5bcfa8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4a6733
cmp dword [0x5bcfac], edi
je 0x4a6733
push eax
call ebx
push dword [0x5bcfac]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4a6733
test eax, eax
je 0x4a6733
call ecx
test eax, eax
je 0x4a6728
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4a6728
test byte [ebp - 8], 1
jne 0x4a6733
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4a6763
mov eax, dword [0x5bcfa0]
cmp eax, edi
je 0x4a6760
push eax
call ebx
test eax, eax
je 0x4a6760
call eax
mov esi, eax
test esi, esi
je 0x4a6760
mov eax, dword [0x5bcfa4]
cmp eax, edi
je 0x4a6760
push eax
call ebx
test eax, eax
je 0x4a6760
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x5bcf9c]
call ebx
test eax, eax
je 0x4a677b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4a677d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00493329
mov esp, ebp
pop ebp
ret