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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
xor edx, dword [eax + 0x204]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
xor edx, dword [eax + 0x208]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ecx + 8]
mov edx, dword [edx + 0xc]
xor ebx, dword [eax + 0x20c]
xor edx, dword [eax + 0x210]
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov ecx, edx
mov esi, edx
shr esi, 0x15
shl ecx, 0xb
or ecx, esi
mov esi, dword [ebp - 0x18]
and esi, 3
add ecx, ebx
xor ecx, dword [eax + esi*4 + 0x204]
mov edi, ecx
mov esi, ecx
shr edi, 8
and esi, 0xff
and edi, 0xff
movzx esi, byte [eax + esi + 0x104]
movzx edi, byte [eax + edi + 0x104]
shl edi, 8
or esi, edi
mov edi, ecx
shr edi, 0x10
shr ecx, 0x18
and edi, 0xff
and ecx, 0xff
movzx edi, byte [eax + edi + 0x104]
movzx ecx, byte [eax + ecx + 0x104]
shl edi, 0x10
shl ecx, 0x18
or esi, edi
or esi, ecx
mov ecx, ebx
xor esi, dword [ebp - 8]
mov dword [ebp - 0x10], esi
mov esi, ebx
shr esi, 0xf
shl ecx, 0x11
or ecx, esi
mov esi, dword [ebp - 0x18]
and esi, 3
xor ecx, edx
add ecx, dword [eax + esi*4 + 0x204]
mov edi, ecx
mov esi, ecx
shr edi, 8
and esi, 0xff
and edi, 0xff
movzx esi, byte [eax + esi + 0x104]
movzx edi, byte [eax + edi + 0x104]
shl edi, 8
or esi, edi
mov edi, ecx
shr edi, 0x10
shr ecx, 0x18
and edi, 0xff
and ecx, 0xff
movzx edi, byte [eax + edi + 0x104]
movzx ecx, byte [eax + ecx + 0x104]
shl edi, 0x10
shl ecx, 0x18
or esi, edi
or esi, ecx
xor esi, dword [ebp - 0xc]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], edx
mov ecx, esi
mov edx, ecx
mov ebx, dword [ebp - 0x10]
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x20
jl 0x411258
mov ecx, dword [ebp - 0x14]
xor ebx, dword [eax + 0x204]
mov dword [ecx], ebx
xor edx, dword [eax + 0x208]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
xor edx, dword [eax + 0x20c]
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
xor edx, dword [eax + 0x210]
mov dword [ecx + 0xc], edx
mov edx, dword [ebp - 4]
call fcn.00411550
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4113a4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov ebx, eax
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx]
xor ecx, dword [ebx + 0x204]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 4]
xor edx, dword [ebx + 0x208]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov esi, dword [ecx + 8]
mov edi, dword [eax + 0xc]
xor esi, dword [ebx + 0x20c]
xor edi, dword [ebx + 0x210]
push 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 4]
push eax
call fcn.00498c8c
add esp, 0xc
mov dword [ebp - 0x18], 0x1f
mov eax, edi
mov edx, edi
mov ecx, dword [ebp - 0x18]
shr edx, 0x15
and ecx, 3
shl eax, 0xb
or eax, edx
add eax, esi
xor eax, dword [ebx + ecx*4 + 0x204]
xor ecx, ecx
mov edx, eax
and edx, 0xff
mov cl, byte [ebx + edx + 0x104]
mov edx, eax
shr edx, 8
and edx, 0xff
movzx edx, byte [ebx + edx + 0x104]
shl edx, 8
or ecx, edx
mov edx, eax
shr edx, 0x10
shr eax, 0x18
and edx, 0xff
and eax, 0xff
movzx edx, byte [ebx + edx + 0x104]
movzx eax, byte [ebx + eax + 0x104]
shl edx, 0x10
shl eax, 0x18
or ecx, edx
or ecx, eax
mov eax, esi
xor ecx, dword [ebp - 8]
mov edx, esi
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x18]
shr edx, 0xf
and ecx, 3
shl eax, 0x11
or eax, edx
xor eax, edi
add eax, dword [ebx + ecx*4 + 0x204]
xor ecx, ecx
mov edx, eax
and edx, 0xff
mov cl, byte [ebx + edx + 0x104]
mov edx, eax
shr edx, 8
and edx, 0xff
movzx edx, byte [ebx + edx + 0x104]
shl edx, 8
or ecx, edx
mov edx, eax
shr edx, 0x10
shr eax, 0x18
and edx, 0xff
and eax, 0xff
movzx edx, byte [ebx + edx + 0x104]
movzx eax, byte [ebx + eax + 0x104]
shl edx, 0x10
shl eax, 0x18
or ecx, edx
or ecx, eax
xor ecx, dword [ebp - 0xc]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], edi
mov eax, ecx
mov edi, eax
mov esi, dword [ebp - 0x10]
dec dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0
jge 0x411405
mov eax, dword [ebp - 0x14]
xor esi, dword [ebx + 0x204]
mov dword [eax], esi
xor edi, dword [ebx + 0x208]
mov edx, dword [ebp - 0x14]
mov dword [edx + 4], edi
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
xor ecx, dword [ebx + 0x20c]
mov dword [eax + 8], ecx
mov eax, ebx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
xor edx, dword [ebx + 0x210]
mov dword [ecx + 0xc], edx
lea edx, [ebp - 0x28]
call fcn.00411550
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x411550
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov ebx, 0x4b5aec
xor ecx, ecx
movzx esi, byte [edx + ecx]
mov esi, dword [ebx + esi*4]
xor dword [eax + 0x204], esi
movzx esi, byte [edx + ecx + 1]
mov esi, dword [ebx + esi*4]
xor dword [eax + 0x208], esi
movzx esi, byte [edx + ecx + 2]
mov esi, dword [ebx + esi*4]
xor dword [eax + 0x20c], esi
movzx esi, byte [edx + ecx + 3]
mov esi, dword [ebx + esi*4]
xor dword [eax + 0x210], esi
add ecx, 4
cmp ecx, 0x10
jl 0x411559
pop esi
pop ebx
ret
Function at 0x417350
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
add esp, 0xffffff70
xor eax, eax
mov dword [esp + 4], ecx
mov dword [esp], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
xor edx, edx
mov dword [esp + 8], edx
mov esi, dword [esp + 8]
jmp 0x4173cd
xor eax, eax
mov edx, dword [esp]
add edx, esi
add edx, eax
mov cl, byte [edx + 1]
mov byte [esp + eax + 0x19], cl
mov bl, byte [edx]
sub bl, cl
mov byte [esp + eax + 0x18], bl
mov dl, byte [edx + 2]
sub dl, cl
mov byte [esp + eax + 0x1a], dl
add eax, 3
cmp eax, 0x78
jl 0x41737b
mov ebx, 3
mov cl, byte [esp + ebx + 0x18]
sub cl, byte [esp + ebx + 0x15]
movsx ecx, cl
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 8]
add dword [esp + edx*4 + 0xc], eax
inc ebx
cmp ebx, 0x78
jl 0x4173a7
add esi, 0x780
mov eax, dword [esp + 4]
add eax, 0xffffff88
cmp esi, eax
jl 0x417379
inc dword [esp + 8]
cmp dword [esp + 8], 2
jle 0x417373
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
cmp edx, eax
jb 0x4173f9
cmp eax, dword [esp + 0x14]
ja 0x4173f9
xor eax, eax
jmp 0x417405
mov eax, 1
cmp edx, dword [esp + 0x14]
jbe 0x417405
inc eax
add esp, 0x90
pop esi
pop ebx
ret

Function at 0x417a10
Capabilities:
Create thread

Disassembly:
push ebx
push ecx
push esp
push 0
push edx
push eax
push 0x10000
push 0
call sub.KERNEL32.DLL_CreateThread
mov ebx, eax
test ebx, ebx
jne 0x417a51
mov edx, str.CreateThread_failed
mov eax, 0x4b3b9c
call fcn.0042dae4
mov eax, 0x4b3b9c
call fcn.0042dd14
mov eax, 0x4b3b9c
mov edx, 2
call fcn.0042dc70
mov eax, ebx
pop edx
pop ebx
ret
Function at 0x4291b8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbec
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 5
push dword [ebp - 8]
push dword [0x4b41d0]
call sub.KERNEL32.DLL_FindResourceA
mov ebx, eax
push ebx
push dword [0x4b41d0]
call sub.KERNEL32.DLL_LoadResource
mov edi, eax
push ebx
push dword [0x4b41d0]
call sub.KERNEL32.DLL_SizeofResource
mov ebx, eax
push ebx
call fcn.00497c40
pop ecx
mov esi, eax
test esi, esi
jne 0x429216
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax], edx
xor eax, eax
jmp 0x429322
push ebx
push edi
push esi
call fcn.00498c8c
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
mov eax, dword [esi]
add esp, 0xc
shr eax, 0x10
lea ecx, [ebp - 0x10]
cmp eax, 0xffff
lea eax, [ebp - 0x14]
sete bl
push eax
and ebx, 1
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0042940c
test al, al
je 0x429284
mov ecx, esi
test bl, bl
je 0x42925e
mov eax, ecx
add eax, 8
mov ecx, eax
movsx eax, word [ecx + 0xe]
imul dword [ebp - 0x10]
mov edi, 0x64
cdq
idiv edi
mov word [ecx + 0xe], ax
movsx eax, word [ecx + 0x10]
imul dword [ebp - 0x14]
mov edi, 0x64
cdq
idiv edi
mov word [ecx + 0x10], ax
mov edi, esi
mov eax, 0xd
test bl, bl
jne 0x429292
add eax, 0xfffffffc
add eax, eax
add edi, eax
cmp word [edi], 0xffff
jne 0x4292a4
mov edx, 2
jmp 0x4292ae
mov eax, edi
call fcn.00410af4
mov edx, eax
inc edx
add edx, edx
add edi, edx
cmp word [edi], 0xffff
jne 0x4292c0
mov ecx, 2
jmp 0x4292ca
mov eax, edi
call fcn.00410af4
mov ecx, eax
inc ecx
add ecx, ecx
lea edx, [ebp - 0x214]
add edi, ecx
mov ecx, 0x1000000
mov eax, edi
call fcn.00410820
push 1
push dword [ebp - 8]
lea ecx, [ebp - 0x414]
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00428d6c
lea eax, [ebp - 0x414]
push eax
call fcn.00498fe0
pop ecx
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
cmp dword [ebp - 0x10], 0x64
jne 0x429320
cmp dword [ebp - 0x14], 0x64
jne 0x429320
push esi
call fcn.00497c50
pop ecx
xor esi, esi
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42db60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffa00
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov edi, eax
push esi
mov eax, 0x1f6
call fcn.004129c8
push eax
test ebx, ebx
je 0x42db87
cmp byte [ebx], 0
jne 0x42db89
xor ebx, ebx
push ebx
call fcn.0047dfcc
add esp, 0xc
call sub.KERNEL32.DLL_GetLastError
cmp eax, 3
jne 0x42dc0a
push esi
call fcn.00498eac
pop ecx
mov ebx, eax
mov eax, esi
call fcn.0040ca40
test al, al
jne 0x42dbd3
lea edx, [ebp - 0x400]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea ecx, [ebp - 0x400]
push ecx
call fcn.00498eac
pop ecx
add eax, ebx
inc eax
mov ebx, eax
cmp ebx, 0x104
jle 0x42dc0a
push 0x104
mov eax, 0x564
call fcn.004129c8
push eax
lea edx, [ebp - 0x600]
push edx
call fcn.0049bdcc
add esp, 0xc
lea eax, [ebp - 0x600]
mov edx, 1
call fcn.004878f8
mov eax, edi
call fcn.0042dd14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42de48
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], 0
mov ebx, dword [ebp + 8]
jg 0x42de68
xor eax, eax
jmp 0x42df29
mov edx, dword [ebp - 0xc]
test edx, edx
jns 0x42de72
add edx, 0xf
sar edx, 4
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
add eax, 4
mov ecx, dword [eax]
xor ecx, dword [edx]
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax + 4]
xor ecx, dword [edx + 4]
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + 8]
xor ecx, dword [edx + 8]
mov dword [ebp - 0x1c], ecx
mov ecx, ebx
mov eax, dword [eax + 0xc]
xor eax, dword [edx + 0xc]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
call fcn.0042e2ac
add dword [ebp - 8], 0x10
mov edx, dword [ebp - 0x14]
dec edx
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jle 0x42df05
mov eax, ebx
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
xor ecx, dword [edx]
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax + 4]
xor ecx, dword [edx + 4]
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + 8]
xor ecx, dword [edx + 8]
mov dword [ebp - 0x1c], ecx
mov eax, dword [eax + 0xc]
xor eax, dword [edx + 0xc]
mov dword [ebp - 0x18], eax
add ebx, 0x10
lea edx, [ebp - 0x24]
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.0042e2ac
add dword [ebp - 8], 0x10
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0
jg 0x42dec1
mov eax, dword [ebp - 4]
add eax, 4
mov edx, ebx
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x14]
shl eax, 4
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42df30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
test ebx, ebx
je 0x42df47
test esi, esi
jg 0x42df4e
xor eax, eax
jmp 0x42dff6
push 0x10
mov edx, dword [ebp - 4]
add edx, 4
push edx
lea ecx, [ebp - 0x28]
push ecx
call fcn.00498c8c
add esp, 0xc
test esi, esi
jns 0x42df6a
add esi, 0xf
sar esi, 4
mov dword [ebp - 8], esi
mov esi, dword [ebp - 8]
test esi, esi
jle 0x42dfdb
lea ecx, [ebp - 0x18]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0042e828
mov eax, dword [ebp - 0x28]
xor dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x24]
xor dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0x20]
xor dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x1c]
xor dword [ebp - 0xc], eax
mov eax, ebx
mov edx, dword [eax]
mov dword [ebp - 0x28], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x24], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x20], edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [eax], edx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0xc], ecx
add ebx, 0x10
add dword [ebp + 8], 0x10
dec esi
test esi, esi
jg 0x42df77
push 0x10
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
add eax, 4
push eax
call fcn.00498c8c
add esp, 0xc
mov eax, dword [ebp - 8]
shl eax, 4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffd4
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], 4
push 0x20
push edx
lea edx, [esp + 0x14]
push edx
call fcn.00498c8c
add esp, 0xc
xor esi, esi
xor ecx, ecx
xor edx, edx
jmp 0x42e069
xor eax, eax
mov edi, esi
mov ebp, dword [esp]
shl edi, 4
lea ebx, [esp + edx*4 + 0xc]
lea edi, [ebp + edi]
mov bl, byte [ebx + eax]
lea edi, [edi + ecx*4]
mov byte [edi + eax + 0x14], bl
inc eax
cmp eax, 4
jl 0x42e034
inc edx
inc ecx
cmp edx, dword [esp + 8]
jge 0x42e061
cmp ecx, 4
jl 0x42e032
cmp ecx, 4
jne 0x42e069
inc esi
xor ecx, ecx
cmp edx, dword [esp + 8]
jge 0x42e074
cmp esi, 0xa
jle 0x42e056
cmp esi, 0xa
jg 0x42e207
mov eax, dword [esp + 8]
xor edx, edx
mov dl, byte [esp + eax*4 + 9]
mov al, byte [edx + 0x4b86b4]
xor byte [esp + 0xc], al
mov edx, dword [esp + 8]
xor eax, eax
mov al, byte [esp + edx*4 + 0xa]
mov dl, byte [eax + 0x4b86b4]
xor byte [esp + 0xd], dl
mov eax, dword [esp + 8]
xor edx, edx
mov dl, byte [esp + eax*4 + 0xb]
mov al, byte [edx + 0x4b86b4]
xor byte [esp + 0xe], al
mov edx, dword [esp + 8]
xor eax, eax
mov al, byte [esp + edx*4 + 8]
mov dl, byte [eax + 0x4b86b4]
xor byte [esp + 0xf], dl
mov eax, dword [esp + 4]
mov dl, byte [eax + 0x4b88b4]
xor byte [esp + 0xc], dl
inc dword [esp + 4]
cmp dword [esp + 8], 8
je 0x42e117
mov edx, 1
cmp edx, dword [esp + 8]
jge 0x42e1b5
xor eax, eax
lea ebx, [esp + edx*4 + 8]
lea edi, [esp + edx*4 + 0xc]
mov bl, byte [ebx + eax]
xor byte [edi + eax], bl
inc eax
cmp eax, 4
jl 0x42e0f7
inc edx
cmp edx, dword [esp + 8]
jl 0x42e0f5
jmp 0x42e1b5
mov edx, 1
jmp 0x42e135
xor eax, eax
lea ebx, [esp + edx*4 + 8]
lea edi, [esp + edx*4 + 0xc]
mov bl, byte [ebx + eax]
xor byte [edi + eax], bl
inc eax
cmp eax, 4
jl 0x42e120
inc edx
mov eax, dword [esp + 8]
sar eax, 1
jns 0x42e140
adc eax, 0
cmp edx, eax
jl 0x42e11e
mov eax, dword [esp + 8]
sar eax, 1
jns 0x42e14f
adc eax, 0
xor edx, edx
mov dl, byte [esp + eax*4 + 8]
mov dl, byte [edx + 0x4b86b4]
xor byte [esp + eax*4 + 0xc], dl
xor edx, edx
mov dl, byte [esp + eax*4 + 9]
mov dl, byte [edx + 0x4b86b4]
xor byte [esp + eax*4 + 0xd], dl
xor edx, edx
mov dl, byte [esp + eax*4 + 0xa]
mov dl, byte [edx + 0x4b86b4]
xor byte [esp + eax*4 + 0xe], dl
xor edx, edx
mov dl, byte [esp + eax*4 + 0xb]
mov dl, byte [edx + 0x4b86b4]
xor byte [esp + eax*4 + 0xf], dl
mov edx, eax
inc edx
cmp edx, dword [esp + 8]
jge 0x42e1b5
xor eax, eax
lea ebx, [esp + edx*4 + 8]
lea edi, [esp + edx*4 + 0xc]
mov bl, byte [ebx + eax]
xor byte [edi + eax], bl
inc eax
cmp eax, 4
jl 0x42e19a
inc edx
cmp edx, dword [esp + 8]
jl 0x42e198
xor edx, edx
jmp 0x42e1f3
xor eax, eax
mov ebx, esi
shl ebx, 4
mov edi, dword [esp]
lea ebx, [edi + ebx]
lea ebx, [ebx + ecx*4]
lea edi, [ebx + eax + 0x14]
lea ebx, [esp + edx*4 + 0xc]
mov bl, byte [ebx + eax]
mov byte [edi], bl
inc eax
cmp eax, 4
jl 0x42e1bd
inc edx
inc ecx
cmp edx, dword [esp + 8]
jge 0x42e1eb
cmp ecx, 4
jl 0x42e1bb
cmp ecx, 4
jne 0x42e1f3
inc esi
xor ecx, ecx
cmp edx, dword [esp + 8]
jge 0x42e1fe
cmp esi, 0xa
jle 0x42e1e0
cmp esi, 0xa
jle 0x42e07d
add esp, 0x2c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x42e210
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, eax
mov esi, 1
xor eax, eax
xor ecx, ecx
mov edx, esi
mov ebx, ecx
shl edx, 4
shl ebx, 2
add edx, edi
add edx, ebx
xor ebx, ebx
add edx, 0x14
movzx ebp, byte [edx + 1]
mov bl, byte [edx]
lea ebp, [ebp*4 + 0x4bacd2]
lea ebx, [ebx*4 + 0x4ba8d2]
mov bl, byte [ebx + eax]
xor bl, byte [ebp + eax]
movzx ebp, byte [edx + 2]
movzx edx, byte [edx + 3]
lea ebp, [ebp*4 + 0x4bb0d2]
lea edx, [edx*4 + 0x4bb4d2]
xor bl, byte [ebp + eax]
xor bl, byte [edx + eax]
lea edx, [esp + ecx*4]
mov byte [edx + eax], bl
inc ecx
cmp ecx, 4
jl 0x42e222
inc eax
cmp eax, 4
jl 0x42e220
mov ecx, esi
push 0x10
shl ecx, 4
lea eax, [esp + 4]
add ecx, edi
push eax
add ecx, 0x14
push ecx
call fcn.00498c8c
add esp, 0xc
inc esi
cmp esi, 0xa
jl 0x42e21e
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x430cd4
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], 0x67452301
xor edx, edx
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], edx
mov dword [eax + 0x14], edx
ret
Function at 0x43ed05
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe8
mov eax, dword [0x4c0540]
push ebx
push esi
cmp dword [eax + 0x30], 0
je 0x43eebe
push 1
push 0
mov edx, 0x4bf940
mov eax, 0x4c7c4c
xor ecx, ecx
call fcn.004567bc
dec eax
jne 0x43eebe
xor edx, edx
xor eax, eax
mov dword [ebp - 4], edx
xor edx, edx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
cmp dword [0x4bd250], 3
jne 0x43ed67
push 1
lea ecx, [ebp - 0xc]
lea edx, [ebp - 8]
mov eax, 0x4c7c4c
call fcn.004582f4
jmp 0x43ed79
push 1
lea ecx, [ebp - 0xc]
lea edx, [ebp - 4]
mov eax, 0x4c7c4c
call fcn.004581f4
cmp dword [ebp - 0xc], 0
je 0x43eebe
push 0x400
push 0
lea edx, [ebp - 0x418]
xor ecx, ecx
mov eax, dword [0x4c0540]
call fcn.00410050
lea eax, [ebp - 0x418]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x43eddd
lea edx, [ebp - 0x418]
lea eax, [ebp - 0x18]
call fcn.00453f24
xor edx, edx
mov dl, byte [ebp - 0x18]
cmp edx, 0x43
je 0x43edcf
xor ecx, ecx
mov cl, byte [ebp - 0x18]
cmp ecx, 0x4e
jne 0x43eddd
push dword [ebp - 4]
call fcn.004974c8
pop ecx
jmp 0x43eebe
push 0x4a8c17
lea eax, [ebp - 0x418]
push eax
call fcn.0049adac
add esp, 8
mov ebx, eax
test ebx, ebx
jne 0x43ee24
lea eax, [ebp - 0x418]
push eax
mov eax, 0x1f6
call fcn.004129c8
push eax
push 0x4bf940
call fcn.0047dfcc
add esp, 0xc
push dword [ebp - 4]
call fcn.004974c8
pop ecx
jmp 0x43eebe
cmp dword [0x4bd250], 3
jne 0x43ee7d
push ebx
push 0xff
call fcn.0049cb10
add esp, 8
push ebx
push 0xfe
call fcn.0049cb10
add esp, 8
xor esi, esi
cmp esi, dword [ebp - 0xc]
jge 0x43eea5
push ebx
mov eax, dword [ebp - 8]
movzx edx, word [eax + esi*2]
push edx
call fcn.0049cb10
add esp, 8
push ebx
mov ecx, dword [ebp - 8]
movzx eax, word [ecx + esi*2]
sar eax, 8
push eax
call fcn.0049cb10
add esp, 8
inc esi
cmp esi, dword [ebp - 0xc]
jl 0x43ee50
jmp 0x43eea5
cmp dword [0x4bd250], 2
jne 0x43ee94
push dword [ebp - 0xc]
push dword [ebp - 4]
push dword [ebp - 4]
call sub.USER32.DLL_CharToOemBuffA
push ebx
push dword [ebp - 0xc]
push 1
push dword [ebp - 4]
call fcn.0049b1c4
add esp, 0x10
push ebx
call fcn.0049a8b4
pop ecx
push dword [ebp - 4]
call fcn.004974c8
pop ecx
push dword [ebp - 8]
call fcn.004974c8
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43f144
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffb38
cmp byte [0x4b41ac], 0
jne 0x43f234
push 0x400
lea eax, [ebp - 0x400]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push str.rar.ini
lea eax, [ebp - 0x400]
call fcn.0040be48
push eax
call fcn.00498e7c
add esp, 8
lea edx, [ebp - 0x400]
lea ecx, [ebp - 0x464]
push edx
push 0x64
push ecx
push 0x4a89d2
push str.regname
push str.registration
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea eax, [ebp - 0x400]
lea edx, [ebp - 0x4c8]
push eax
push 0x64
push edx
push 0x4a89d2
push str.regcode
push str.registration
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea ecx, [ebp - 0x400]
push ecx
push 0
push str.informed
push str.registration
call sub.KERNEL32.DLL_GetPrivateProfileIntA
cmp byte [ebp - 0x464], 0
je 0x43f234
cmp byte [ebp - 0x4c8], 0
je 0x43f234
test eax, eax
jne 0x43f234
lea eax, [ebp - 0x400]
push eax
push 0x4a8d62
push str.informed
push str.registration
call sub.KERNEL32.DLL_WritePrivateProfileStringA
push 0
push 0x4843c0
push dword [0x4c6eec]
push 0x4a8d64
push dword [0x4b41d0]
call sub.USER32.DLL_DialogBoxParamA
mov esp, ebp
pop ebp
ret

Function at 0x43f639
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff3d8
push ebx
mov ebx, str.MAIN_MENU
lea edx, [ebx + 0x41f]
lea eax, [ebx + 0x62]
xor ecx, ecx
call fcn.00461bc4
test eax, eax
jne 0x43f768
push 0x401
lea eax, [ebp - 0x804]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
lea edx, [ebx + 0x42d]
lea eax, [ebp - 0x804]
push edx
call fcn.0040be48
push eax
call fcn.00498e7c
add esp, 8
lea eax, [ebp - 0x400]
call fcn.00464dd0
lea edx, [ebp - 0x400]
push edx
lea ecx, [ebp - 0xc08]
push ecx
call fcn.00498e7c
add esp, 8
lea eax, [ebp - 0xc08]
call fcn.0040c35c
lea edx, [ebx + 0x42d]
push edx
lea ecx, [ebp - 0xc08]
push ecx
call fcn.00498da0
add esp, 8
lea eax, [ebp - 0xc08]
xor edx, edx
call fcn.0040a838
test al, al
jne 0x43f755
lea ecx, [ebp - 0x804]
push ecx
call fcn.00498eac
pop ecx
mov byte [ebp + eax - 0x803], 0
lea eax, [ebp - 0xc08]
push eax
call fcn.00498eac
pop ecx
mov byte [ebp + eax - 0xc07], 0
push 0x1e
push 0
lea edx, [ebp - 0xc28]
push edx
call fcn.00498cfc
mov dword [ebp - 0xc24], 2
lea ecx, [ebp - 0x804]
lea eax, [ebp - 0xc08]
mov dword [ebp - 0xc20], ecx
mov dword [ebp - 0xc1c], eax
mov word [ebp - 0xc18], 0x14
add esp, 0xc
lea edx, [ebp - 0xc28]
push edx
call sub.SHELL32.DLL_SHFileOperationA
lea edx, [ebx + 0x41f]
lea eax, [ebx + 0x62]
mov ecx, 1
call fcn.004618f0
pop ebx
mov esp, ebp
pop ebp
ret