joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a232a
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x669ffa
call fcn.0063fac0
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0063de52
mov eax, dword [edi + 4]
and dword [ebp - 4], 0
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
lea eax, [edi + 0x1c]
push eax
lea ecx, [esi + 0x1c]
call fcn.0063de52
mov eax, dword [edi + 0x20]
lea ecx, [esi + 0x40]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
lea eax, [edi + 0x40]
push eax
mov byte [ebp - 4], 1
call fcn.0063de52
mov eax, dword [edi + 0x44]
add edi, 0x74
mov dword [esi + 0x44], eax
mov eax, dword [edi - 0x2c]
mov dword [esi + 0x48], eax
mov eax, dword [edi - 0x28]
mov dword [esi + 0x4c], eax
mov eax, dword [edi - 0x24]
mov dword [esi + 0x50], eax
mov eax, dword [edi - 0x20]
mov dword [esi + 0x54], eax
mov eax, dword [edi - 0x1c]
mov dword [esi + 0x58], eax
mov eax, dword [edi - 0x18]
mov dword [esi + 0x5c], eax
mov eax, dword [edi - 0x14]
mov dword [esi + 0x60], eax
mov eax, dword [edi - 0x10]
mov dword [esi + 0x64], eax
mov eax, dword [edi - 0xc]
mov dword [esi + 0x68], eax
mov eax, dword [edi - 8]
mov dword [esi + 0x6c], eax
mov eax, dword [edi - 4]
push edi
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 2
mov dword [esi + 0x70], eax
call fcn.0063de52
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x5b6332
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
test byte [0x71c308], 1
jne 0x5b635d
or byte [0x71c308], 1
mov ecx, 0x71c2f8
call fcn.005b63ee
push 0x5b63e4
call fcn.0063fb0b
pop ecx
cmp dword [0x71c304], 0
push esi
mov esi, 0x71c2f8
jne 0x5b63b1
lea eax, [ebp - 0x14]
push 9
push eax
push esi
mov word [ebp - 0x14], 0x20
mov word [ebp - 0x12], 0xa
mov word [ebp - 0x10], 0xd
mov word [ebp - 0xe], 9
mov word [ebp - 0xc], 0x2c
mov word [ebp - 0xa], 0x22
mov word [ebp - 8], 0x27
mov word [ebp - 6], 0x2e
mov word [ebp - 4], 0x2c
call fcn.005b63b6
add esp, 0xc
mov eax, esi
pop esi
leave
ret
Function at 0x5b6413
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
test byte [0x71c2f0], 1
jne 0x5b643e
or byte [0x71c2f0], 1
mov ecx, 0x71c2e0
call fcn.005b63ee
push 0x5b64ef
call fcn.0063fb0b
pop ecx
cmp dword [0x71c2ec], 0
push esi
mov esi, 0x71c2e0
jne 0x5b64ea
lea eax, [ebp - 0x30]
push 0x17
push eax
push esi
mov word [ebp - 0x30], 0x40
mov word [ebp - 0x2e], 0x21
mov word [ebp - 0x2c], 0x23
mov word [ebp - 0x2a], 0x25
mov word [ebp - 0x28], 0x3b
mov word [ebp - 0x26], 0x28
mov word [ebp - 0x24], 0x29
mov word [ebp - 0x22], 0x5b
mov word [ebp - 0x20], 0x5d
mov word [ebp - 0x1e], 0x2d
mov word [ebp - 0x1c], 0x5f
mov word [ebp - 0x1a], 0x2b
mov word [ebp - 0x18], 0x3d
mov word [ebp - 0x16], 0x7c
mov word [ebp - 0x14], 0x5c
mov word [ebp - 0x12], 0x2f
mov word [ebp - 0x10], 0x3e
mov word [ebp - 0xe], 0x3c
mov word [ebp - 0xc], 0x5e
mov word [ebp - 0xa], 0x26
mov word [ebp - 8], 0x2a
mov word [ebp - 6], 0x24
mov word [ebp - 4], 0x7e
call fcn.005b63b6
add esp, 0xc
mov eax, esi
pop esi
leave
ret

Function at 0x5bf2fe
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x66c695
call fcn.0063fac0
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], eax
mov al, byte [ebp + 0xb]
mov dword [esi + 4], ebx
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x10], esi
mov byte [esi + 0x14], al
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov byte [esi + 0x24], 1
lea ecx, [esi + 0x34]
mov dword [ebp - 4], ebx
mov byte [esi + 0x30], bl
call fcn.0063de5e
mov al, byte [ebp + 0xb]
lea edi, [esi + 0x38]
push ebx
mov ecx, edi
mov byte [ebp - 4], 1
mov byte [edi], al
call dword [0x6797a0]
mov dword [edi + 0x10], ebx
mov ecx, esi
mov byte [ebp - 4], 2
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi], 0x697020
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.005bfe3e
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x5d8226
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push 4
push dword [ebp + 0xc]
call dword [0x678450]
test eax, eax
jne 0x5d8246
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edi, dword [eax - 8]
test edi, edi
jne 0x5d824a
xor al, al
jmp 0x5d8282
push ebx
push esi
xor ebx, ebx
xor esi, esi
test edi, edi
jle 0x5d8279
mov ecx, dword [ebp + 8]
push 1
lea eax, [ebp - 4]
push esi
push eax
call fcn.0063e1ac
mov eax, dword [eax]
lea ecx, [ebp - 4]
movzx eax, word [eax]
xor eax, esi
xor ebx, eax
call fcn.0063de4c
inc esi
cmp esi, edi
jl 0x5d8254
mov eax, dword [ebp + 0xc]
pop esi
mov dword [eax], ebx
mov al, 1
pop ebx
pop edi
leave
ret
Function at 0x5e2d44
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x6703d0
call fcn.0063fac0
sub esp, 0x2c
push ebx
push esi
push edi
push 0x13
mov word [ebp - 0x38], 0x20
mov word [ebp - 0x36], 0x2c
mov word [ebp - 0x34], 0x2e
mov word [ebp - 0x32], 0xa
mov word [ebp - 0x30], 0xd
mov word [ebp - 0x2e], 9
mov word [ebp - 0x2c], 0x21
mov word [ebp - 0x2a], 0x3f
mov word [ebp - 0x28], 0x2a
mov word [ebp - 0x26], 0x28
mov word [ebp - 0x24], 0x29
mov word [ebp - 0x22], 0x2b
mov word [ebp - 0x20], 0x3d
mov word [ebp - 0x1e], 0x7c
mov word [ebp - 0x1c], 0x5c
mov word [ebp - 0x1a], 0x2f
mov word [ebp - 0x18], 0x5b
mov word [ebp - 0x16], 0x5d
mov word [ebp - 0x14], 0x2d
or edi, 0xffffffff
lea esi, [ebp - 0x38]
pop ebx
mov ax, word [esi]
push 1
push eax
lea ecx, [ebp - 0x10]
call fcn.0063e1a6
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
and dword [ebp - 4], 0
push dword [ebp - 0x10]
call fcn.0063e08c
cmp eax, dword [ebp + 0xc]
jle 0x5e2dff
cmp edi, 0xffffffff
je 0x5e2dfd
cmp eax, edi
jge 0x5e2dff
mov edi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0063de4c
inc esi
inc esi
dec ebx
jne 0x5e2dcf
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x600ae7
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x673372
call fcn.0063fac0
push ecx
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
lea ecx, [esi + 8]
mov dword [ebp - 0x14], esi
mov dword [esi + 4], edi
call fcn.0063de5e
lea ecx, [esi + 0xc]
mov dword [ebp - 4], edi
call fcn.0063de5e
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 1
call fcn.0063de5e
or dword [esi + 0x18], 0xffffffff
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi], 0x69b348
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x6108ca
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x6108d8
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x10], 8
push esi
push edi
not eax
mov ecx, 0xff
jb 0x6109b9
mov edi, dword [ebp + 0x10]
push ebx
shr edi, 3
movzx ebx, byte [edx]
mov esi, eax
sub dword [ebp + 0x10], 8
and esi, ecx
xor esi, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [esi*4 + 0x69d32c]
xor eax, ebx
inc edx
mov esi, eax
movzx ebx, byte [edx]
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x69d32c]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x69d32c]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x69d32c]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x69d32c]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x69d32c]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x69d32c]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x69d32c]
xor eax, esi
inc edx
dec edi
jne 0x6108f5
pop ebx
cmp dword [ebp + 0x10], 0
je 0x6109da
movzx edi, byte [edx]
mov esi, eax
and esi, ecx
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x69d32c]
xor eax, esi
inc edx
dec dword [ebp + 0x10]
jne 0x6109bf
pop edi
pop esi
not eax
pop ebp
ret

Function at 0x6109e0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
push esi
push edi
mov edx, 0xff
mov esi, dword [ecx]
movzx edi, byte [esp + 0x10]
mov eax, esi
and eax, edx
xor eax, edi
shr esi, 8
mov eax, dword [eax*4 + 0x69d32c]
xor eax, esi
mov esi, dword [ecx + 8]
mov dword [ecx], eax
and eax, edx
add eax, dword [ecx + 4]
mov edi, esi
and edi, edx
imul eax, eax, 0x8088405
inc eax
mov dword [ecx + 4], eax
shr eax, 0x18
xor eax, edi
pop edi
shr esi, 8
mov eax, dword [eax*4 + 0x69d32c]
xor eax, esi
pop esi
mov dword [ecx + 8], eax
ret
Function at 0x614f1d
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x674745
call fcn.0063fac0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0063de5e
and dword [ebp - 4], 0
lea ecx, [esi + 4]
call fcn.0063de5e
lea ecx, [esi + 8]
mov byte [ebp - 4], 1
call fcn.0063de5e
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 2
call fcn.0063de5e
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 3
call fcn.0063de5e
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 4
call fcn.0063de5e
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 5
call fcn.0063de5e
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 6
call fcn.0063de5e
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 7
call fcn.0063de5e
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 8
call fcn.0063de5e
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 9
call fcn.0063de5e
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 0xa
call fcn.0063de5e
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 0xb
call fcn.0063de5e
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 0xc
call fcn.0063de5e
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 0xd
call fcn.0063de5e
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 0xe
call fcn.0063de5e
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 0xf
call fcn.0063de5e
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x615037
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x674811
call fcn.0063fac0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x40]
mov dword [ebp - 4], 0xf
call fcn.0063de4c
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 0xe
call fcn.0063de4c
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 0xd
call fcn.0063de4c
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 0xc
call fcn.0063de4c
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 0xb
call fcn.0063de4c
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 0xa
call fcn.0063de4c
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 9
call fcn.0063de4c
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 8
call fcn.0063de4c
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 7
call fcn.0063de4c
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 6
call fcn.0063de4c
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 5
call fcn.0063de4c
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 4
call fcn.0063de4c
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 3
call fcn.0063de4c
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 2
call fcn.0063de4c
lea ecx, [esi + 8]
mov byte [ebp - 4], 1
call fcn.0063de4c
and byte [ebp - 4], 0
lea ecx, [esi + 4]
call fcn.0063de4c
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0063de4c
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x61598a
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push dword [ebp + 8]
call fcn.00615979
mov edi, eax
pop ecx
test edi, edi
je 0x6159c3
and byte [ebp - 1], 0
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 1]
push eax
push edi
mov ecx, esi
call fcn.0058b6b6
mov esi, dword [esi + 4]
push edi
push esi
push dword [ebp + 8]
call fcn.00615916
add esp, 0xc
pop esi
pop edi
leave
ret
Function at 0x621d5d
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x676059
call fcn.0063fac0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0063de5e
and dword [ebp - 4], 0
lea ecx, [esi + 4]
call fcn.0063de5e
lea ecx, [esi + 8]
mov byte [ebp - 4], 1
call fcn.0063de5e
push dword [ebp + 0xc]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 2
call fcn.00621dd2
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 3
mov dword [esi + 0x30], eax
call fcn.0063de64
mov eax, dword [ebp + 0x14]
and dword [esi + 0x3c], 0
and dword [esi + 0x28], 0
mov ecx, dword [ebp - 0xc]
and dword [esi + 0x2c], 0
mov dword [esi + 0x38], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x622033
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x67618f
call fcn.0063fac0
sub esp, 0x30
and dword [ebp - 0x3c], 0
push ebx
push esi
lea ecx, [ebp - 0x10]
call fcn.0063de5e
push 1
pop ebx
mov dword [ebp - 4], ebx
call fcn.0061ecbf
neg eax
sbb eax, eax
neg eax
add eax, 0x8352
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0047bfce
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0063de70
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.0063de4c
push ebx
lea eax, [ebp - 0x10]
push 0x14
push eax
call fcn.005e266f
push 0x81d4
lea eax, [ebp - 0x24]
push 0x68
push eax
call fcn.0057031d
add esp, 0x18
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0063de6a
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.0063de4c
lea ecx, [ebp - 0x1c]
call fcn.0063de5e
mov byte [ebp - 4], 4
call fcn.0061eff6
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00404855
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.0063de70
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.0063de4c
lea eax, [ebp - 0x20]
push 0x802e
push eax
call fcn.0047bfce
pop ecx
pop ecx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.0063de5e
mov byte [ebp - 4], 7
call fcn.0062108b
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00404855
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.0063de70
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.0063de4c
lea ecx, [ebp - 0x14]
call fcn.0063de5e
mov esi, 0x6f2c6c
lea eax, [ebp - 0x10]
push esi
push eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 9
push eax
call fcn.0063de7c
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
push ecx
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0063de76
push 0x6f2c9c
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xb
push eax
call fcn.0063de7c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xc
push ecx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0063de76
push esi
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xd
push eax
call fcn.0063de7c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xe
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0063de76
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xf
call fcn.0063de70
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xe
call fcn.0063de4c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call fcn.0063de4c
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
call fcn.0063de4c
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xb
call fcn.0063de4c
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xa
call fcn.0063de4c
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 9
call fcn.0063de4c
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.0063de52
mov dword [ebp - 0x3c], ebx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.0063de4c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.0063de4c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.0063de4c
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.0063de4c
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0063de4c
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x62ac16
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
push 1
xor edi, edi
pop eax
cmp ebx, eax
jl 0x62ac2b
cmp ebx, 8
jle 0x62ac2d
xor eax, eax
mov esi, dword [esp + 0x10]
push str.bad_pack_level
push eax
push esi
call fcn.006297a1
lea ecx, [esi + 0x6af70]
lea eax, [esi + 0x6af78]
add esp, 0xc
cmp dword [ecx], edi
mov dword [eax], edi
jne 0x62ac5e
mov dword [eax], 1
mov dword [ecx], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af70]
push edi
push eax
mov dword [esi + 0x6af6c], edi
call fcn.0063fb24
mov eax, ebx
add esp, 0xc
shl eax, 3
cmp ebx, 2
movzx ecx, word [eax + 0x69f04a]
mov dword [esi + 0x6af98], ecx
movzx ecx, word [eax + 0x69f048]
mov dword [esi + 0x6af9c], ecx
movzx ecx, word [eax + 0x69f04c]
mov dword [esi + 0x6afa0], ecx
movzx eax, word [eax + 0x69f04e]
mov dword [esi + 0x6af94], eax
jg 0x62acc0
mov eax, dword [esp + 0x18]
or byte [eax], 4
jmp 0x62accc
cmp ebx, 8
jl 0x62accc
mov eax, dword [esp + 0x18]
or byte [eax], 2
lea ebx, [esi + 0x1af70]
push 0x10000
push ebx
push esi
mov dword [esi + 0x6af84], edi
mov dword [esi + 0x6af74], edi
call dword [esi + 0xc]
add esp, 0xc
cmp eax, edi
mov dword [esi + 0x6af90], eax
je 0x62ad3c
cmp eax, 0xffffffff
je 0x62ad3c
cmp eax, 0x106
mov dword [esi + 0x6af8c], edi
jae 0x62ad0e
push esi
call fcn.0062af13
pop ecx
mov dword [esi + 0x6af7c], edi
movzx eax, byte [ebx + edi]
mov ecx, dword [esi + 0x6af7c]
and eax, 0x7fff
and ecx, 0x3ff
shl ecx, 5
xor eax, ecx
inc edi
cmp edi, 2
mov dword [esi + 0x6af7c], eax
jb 0x62ad14
jmp 0x62ad4c
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], edi
pop edi
pop esi
pop ebx
ret
Function at 0x62b03e
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
push edi
xor ebp, ebp
xor edi, edi
mov eax, dword [esi + 0x6af90]
mov dword [esi + 0x6af80], 2
test eax, eax
je 0x62b258
push ebx
mov ebx, 0x7fff
cmp eax, 3
jb 0x62b0b6
mov ecx, dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af7c]
and edx, 0x3ff
movzx eax, byte [ecx + esi + 0x1af72]
and eax, ebx
shl edx, 5
xor eax, edx
and ecx, ebx
mov dword [esi + 0x6af7c], eax
mov ebp, dword [esi + eax*4 + 0x4af70]
mov dword [esi + ecx*4 + 0x2af70], ebp
mov eax, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
test ebp, ebp
je 0x62b0f2
mov eax, dword [esi + 0x6af84]
sub eax, ebp
cmp eax, 0x7efa
ja 0x62b0f2
mov ecx, dword [esi + 0x6af90]
lea eax, [esi + 0x6afa0]
cmp dword [eax], ecx
jbe 0x62b0db
mov dword [eax], ecx
push ebp
push esi
call fcn.0062ad50
mov edi, eax
mov eax, dword [esi + 0x6af90]
pop ecx
cmp edi, eax
pop ecx
jbe 0x62b0f2
mov edi, eax
cmp edi, 3
jb 0x62b1cf
lea eax, [edi - 3]
push eax
mov eax, dword [esi + 0x6af84]
sub eax, dword [esi + 0x6af88]
push eax
push esi
call fcn.0062a588
sub dword [esi + 0x6af90], edi
add esp, 0xc
cmp edi, dword [esi + 0x6af98]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x6af90]
ja 0x62b188
cmp eax, 3
jb 0x62b188
dec edi
inc dword [esi + 0x6af84]
mov ecx, dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af7c]
movzx eax, byte [esi + ecx + 0x1af72]
and edx, 0x3ff
and eax, ebx
shl edx, 5
xor eax, edx
and ecx, ebx
mov dword [esi + 0x6af7c], eax
dec edi
mov ebp, dword [esi + eax*4 + 0x4af70]
mov dword [esi + ecx*4 + 0x2af70], ebp
mov eax, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
jne 0x62b133
jmp 0x62b1f3
add dword [esi + 0x6af84], edi
mov eax, dword [esi + 0x6af84]
lea edx, [esi + 0x6af7c]
push str.Call_UPDATE_HASH___MIN_MATCH_3_more_times
lea ecx, [eax + esi]
push 1
push esi
xor edi, edi
movzx eax, byte [ecx + 0x1af70]
mov dword [edx], eax
and eax, 0x3ff
movzx ecx, byte [ecx + 0x1af71]
and ecx, ebx
shl eax, 5
xor ecx, eax
mov dword [edx], ecx
call fcn.006297a1
add esp, 0xc
jmp 0x62b1f9
mov eax, dword [esi + 0x6af84]
movzx eax, byte [eax + esi + 0x1af70]
push eax
push 0
push esi
call fcn.0062a588
add esp, 0xc
dec dword [esi + 0x6af90]
mov dword [esp + 0x14], eax
inc dword [esi + 0x6af84]
cmp dword [esp + 0x14], 0
je 0x62b236
mov eax, dword [esi + 0x6af74]
test eax, eax
jl 0x62b213
lea ecx, [eax + esi + 0x1af70]
jmp 0x62b215
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 0
sub edx, eax
push edx
push ecx
push esi
call fcn.0062a378
mov eax, dword [esi + 0x6af84]
add esp, 0x10
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x62b249
push esi
call fcn.0062af13
pop ecx
mov eax, dword [esi + 0x6af90]
test eax, eax
jne 0x62b067
pop ebx
mov eax, dword [esi + 0x6af74]
test eax, eax
jl 0x62b26b
lea ecx, [eax + esi + 0x1af70]
jmp 0x62b26d
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 1
sub edx, eax
push edx
push ecx
push esi
call fcn.0062a378
add esp, 0x10
pop edi
pop esi
pop ebp
ret
Function at 0x62bdb0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x62bdbe
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x10], 8
push esi
push edi
not eax
mov ecx, 0xff
jb 0x62be9f
mov edi, dword [ebp + 0x10]
push ebx
shr edi, 3
movzx ebx, byte [edx]
mov esi, eax
sub dword [ebp + 0x10], 8
and esi, ecx
xor esi, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [esi*4 + 0x69f098]
xor eax, ebx
inc edx
mov esi, eax
movzx ebx, byte [edx]
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x69f098]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x69f098]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x69f098]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x69f098]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x69f098]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x69f098]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x69f098]
xor eax, esi
inc edx
dec edi
jne 0x62bddb
pop ebx
cmp dword [ebp + 0x10], 0
je 0x62bec0
movzx edi, byte [edx]
mov esi, eax
and esi, ecx
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x69f098]
xor eax, esi
inc edx
dec dword [ebp + 0x10]
jne 0x62bea5
pop edi
pop esi
not eax
pop ebp
ret

Function at 0x62bec6
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
push esi
push edi
mov edx, 0xff
mov esi, dword [ecx]
movzx edi, byte [esp + 0x10]
mov eax, esi
and eax, edx
xor eax, edi
shr esi, 8
mov eax, dword [eax*4 + 0x69f098]
xor eax, esi
mov esi, dword [ecx + 8]
mov dword [ecx], eax
and eax, edx
add eax, dword [ecx + 4]
mov edi, esi
and edi, edx
imul eax, eax, 0x8088405
inc eax
mov dword [ecx + 4], eax
shr eax, 0x18
xor eax, edi
pop edi
shr esi, 8
mov eax, dword [eax*4 + 0x69f098]
xor eax, esi
pop esi
mov dword [ecx + 8], eax
ret