joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46d535
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x4ce1f8]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x46d578
cmp word [esi], dx
jne 0x46d578
or byte [edi + eax + 0x28], 4
jmp 0x46d57d
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x46d6d0
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x46d6b0
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x46d5bf
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x46d5f5
cmp eax, edx
jae 0x46d601
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x46d597
jmp 0x46d6d0
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46d6ac
cmp dword [ebp - 0x14], 0
je 0x46d6ac
mov eax, dword [ebx*4 + 0x4ce1f8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x46d684
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x46d64d
mov word [esi], cx
jmp 0x46d680
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4ce1f8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x4ce1f8]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4ce1f8]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x46d6d0
pop ebx
cmp word [ebp - 4], bx
jne 0x46d695
cmp esi, dword [ebp + 0xc]
jne 0x46d695
mov word [esi], bx
jmp 0x46d6cd
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00472d6f
add esp, 0x10
cmp word [ebp - 4], bx
je 0x46d6d0
push 0xd
jmp 0x46d6c9
mov ecx, dword [ebx*4 + 0x4ce1f8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x46d6c7
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x46d6d0
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x493540
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
mov dword [ebp - 0x80], 0x420041
xor edx, edx
mov dword [ebp - 0x7c], 0x440043
mov dword [ebp - 0x78], 0x460045
mov dword [ebp - 0x74], 0x480047
mov dword [ebp - 0x70], 0x4a0049
mov dword [ebp - 0x6c], 0x4c004b
mov dword [ebp - 0x68], 0x4e004d
mov dword [ebp - 0x64], 0x50004f
mov dword [ebp - 0x60], 0x520051
mov dword [ebp - 0x5c], 0x540053
mov dword [ebp - 0x58], 0x560055
mov dword [ebp - 0x54], 0x580057
mov dword [ebp - 0x50], 0x5a0059
mov dword [ebp - 0x4c], 0x620061
mov dword [ebp - 0x48], 0x640063
mov dword [ebp - 0x44], 0x660065
mov dword [ebp - 0x40], 0x680067
mov dword [ebp - 0x3c], 0x6a0069
mov dword [ebp - 0x38], 0x6c006b
mov dword [ebp - 0x34], 0x6e006d
mov dword [ebp - 0x30], 0x70006f
mov dword [ebp - 0x2c], 0x720071
mov dword [ebp - 0x28], 0x740073
mov dword [ebp - 0x24], 0x760075
mov dword [ebp - 0x20], 0x780077
mov dword [ebp - 0x1c], 0x7a0079
mov dword [ebp - 0x18], 0x310030
mov dword [ebp - 0x14], 0x330032
mov dword [ebp - 0x10], 0x350034
mov dword [ebp - 0xc], 0x370036
mov dword [ebp - 8], 0x390038
mov dword [ebp - 4], 0x2f002b
test esi, esi
jle 0x493662
nop dword [eax]
movzx ecx, word [edi + edx*2]
xor eax, eax
cmp word [ebp + eax*2 - 0x80], cx
je 0x49365d
inc eax
cmp eax, 0x40
jb 0x493646
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
inc edx
cmp edx, esi
jl 0x493640
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4939f0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4ca180]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x208
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0045d090
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x493ad4
push ebx
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x493a8b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x493a9d
mov eax, dword [ebp - 0x210]
xor ecx, ecx
add ecx, ebx
mov dword [esi], ecx
adc eax, 0
mov dword [esi + 4], eax
push dword [esi]
mov dword [ebp - 0x218], 0
call fcn.0045ba83
mov ecx, dword [ebp - 0x214]
add esp, 4
push 0
mov dword [ecx], eax
lea ecx, [ebp - 0x218]
push ecx
push dword [esi]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0045b84f
mov esp, ebp
pop ebp
ret 8
Function at 0x5dbe90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
pushal
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x5dbf7f
mov ecx, eax
mov ebx, dword [ecx + 0x3c]
add ecx, ebx
mov ecx, dword [ecx + 0x7c]
test ecx, ecx
je 0x5dbf7f
mov dword [ebp - 4], ecx
mov ebx, eax
mov ecx, dword [ebx + 0x3c]
add ebx, ecx
mov ebx, dword [ebx + 0x78]
add ebx, eax
mov dword [ebp - 8], ebx
mov eax, dword [ebp + 0xc]
test eax, 0xffff0000
je 0x5dbf2b
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x5dbf7f
dec ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x20]
add eax, dword [ebp - 0xc]
push ecx
shl ecx, 2
add eax, ecx
mov eax, dword [eax]
add eax, dword [ebp - 0xc]
push edi
push dword [ebp + 0xc]
push eax
call dword [edi + 0x1249fec1]
pop edi
pop ecx
test eax, eax
jne 0x5dbee4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
add eax, dword [ebp - 0xc]
shl ecx, 1
add eax, ecx
movzx ecx, word [eax]
jmp 0x5dbf31
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebx + 0x10]
mov ebx, dword [ebp - 8]
mov eax, dword [ebx + 0x14]
cmp ecx, eax
jge 0x5dbf7f
mov eax, dword [ebp - 0xc]
mov edx, dword [ebx + 0x1c]
add edx, eax
shl ecx, 2
add edx, ecx
cmp dword [edx], 0
je 0x5dbf7f
mov ebx, dword [edx]
add eax, ebx
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 8]
jle 0x5dbf7f
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jge 0x5dbf7f
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.005dbdd9
mov dword [ebp - 0x10], eax
popal
mov eax, dword [ebp - 0x10]
leave
ret 8

Function at 0x5e2b85
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x5e2ba0
add esi, 0x1000
lea eax, [ebp - 0x2bc]
push edx
push 0x1c
push eax
push esi
call dword [edx + 0x124a7dc5]
pop edx
test eax, eax
je 0x5e2c72
cmp dword [ebp - 0x2ac], 0x1000
jne 0x5e2c61
test dword [ebp - 0x2a8], 1
jne 0x5e2c61
and dword [ebp - 0x2a8], 0x100
jne 0x5e2c61
push esi
push edx
push 4
push esi
call dword [edx + 0x122d2ecb]
pop edx
pop esi
test eax, eax
je 0x5e2c04
jmp 0x5e2c61
cmp word [esi], 0x5a4d
jne 0x5e2c61
mov eax, esi
push ebx
mov ebx, dword [esi + 0x3c]
add eax, ebx
pop ebx
cmp dword [eax], 0x4550
jne 0x5e2c61
lea eax, [ebp - 0x28c]
push edx
push 0x28a
push eax
push esi
call dword [edx + 0x122d2cf7]
pop edx
test eax, eax
je 0x5e2c61
lea eax, [ebp - 0x28c]
push eax
call fcn.005e2ae1
test eax, eax
jne 0x5e2c5a
jmp 0x5e2c61
mov eax, esi
jmp 0x5e2c72
mov esi, dword [ebp - 0x2b0]
add esi, dword [ebp - 0x2bc]
jmp 0x5e2ba0
pop esi
leave
ret 4
Function at 0x42211b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42215a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42215a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42215a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42215a
cmp dword [ecx + 0x74], 0xe
jbe 0x42215a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4347a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4347cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4347cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
nop
jmp int.00401219
Function at 0x618b0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor edi, edi
cmp dword [esp + 0x24], 0
je 0x619b1
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x619b1
push ebx
call fcn.000699d0
add esp, 4
test eax, eax
je 0x6190a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x61911
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x618f0
jmp 0x61913
mov esi, 0x1505
jmp 0x61913
mov esi, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov eax, ebx
sub eax, 1
mov dword [esp + 0xc], eax
jb 0x619b1
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x61944
inc ebp
dec ebx
je 0x619af
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x619af
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x61940
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.000699d0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x61940
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.000699f0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x61940
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x619af
cmp dword [eax + 4], 2
mov edi, 0
jne 0x619b1
mov edi, dword [eax + 8]
jmp 0x619b1
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x619e0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
fldz
fstp qword [esp + 0x10]
cmp dword [esp + 0x2c], 0
je 0x61a4b
mov esi, dword [esp + 0x30]
test esi, esi
je 0x61a4b
push esi
call fcn.000699d0
add esp, 4
test eax, eax
je 0x61a2a
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x61a31
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0x61a10
jmp 0x61a33
mov ebp, 0x1505
jmp 0x61a33
mov ebp, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov edi, dword [ecx + 0x20]
lea ebx, [edi - 1]
mov eax, edi
sub eax, 1
mov dword [esp + 0xc], eax
jae 0x61a57
fld qword [esp + 0x10]
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
and ebx, ebp
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x61a74
inc ebx
dec edi
je 0x61a4b
mov eax, ebx
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x61a4b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebp
jne 0x61a70
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.000699d0
mov ecx, dword [esp + 0x30]
add esp, 4
cmp eax, dword [esp]
jne 0x61a70
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x38]
call fcn.000699f0
mov ecx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
jne 0x61a70
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x61a4b
cmp dword [eax + 4], 3
jne 0x61a4b
fld qword [eax + 8]
fstp qword [esp + 0x10]
jmp 0x61a4b
Function at 0x61b10
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor edi, edi
cmp dword [esp + 0x24], 0
je 0x61c11
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x61c11
push ebx
call fcn.000699d0
add esp, 4
test eax, eax
je 0x61b6a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x61b71
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x61b50
jmp 0x61b73
mov esi, 0x1505
jmp 0x61b73
mov esi, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov eax, ebx
sub eax, 1
mov dword [esp + 0xc], eax
jb 0x61c11
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x61ba4
inc ebp
dec ebx
je 0x61c0f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x61c0f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x61ba0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.000699d0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x61ba0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.000699f0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x61ba0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x61c0f
cmp dword [eax + 4], 5
mov edi, 0
jne 0x61c11
mov edi, dword [eax + 8]
jmp 0x61c11
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x61f40
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor eax, eax
cmp dword [esp + 0x24], 0
je 0x61fad
mov esi, dword [esp + 0x28]
test esi, esi
je 0x61fad
push esi
call fcn.000699d0
add esp, 4
test eax, eax
je 0x61f8a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x61f91
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x61f70
jmp 0x61f93
mov ebx, 0x1505
jmp 0x61f93
mov ebx, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + 0x20]
lea ebp, [edi - 1]
mov eax, edi
sub eax, 1
mov dword [esp + 0xc], eax
jae 0x61fb5
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
and ebp, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x61fc4
inc ebp
dec edi
je 0x61fab
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x61fab
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0x61fc0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.000699d0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x61fc0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.000699f0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x61fc0
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0x61fad
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0x61fad
Function at 0x69f00
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov eax, dword [0xaabfc]
cmp eax, 0x270
jne 0x69f5f
mov eax, 0xfffff640
mov edx, dword [0xaac00]
nop
nop
nop
nop
nop
nop
nop
nop
and edx, 0x80000000
mov esi, dword [eax + 0xab5c4]
mov ecx, esi
and ecx, 0x7ffffffe
or ecx, edx
mov edx, esi
and esi, 1
neg esi
and esi, 0x9908b0df
xor esi, dword [eax + 0xabbf4]
shr ecx, 1
xor esi, ecx
mov dword [eax + 0xabf80], esi
add eax, 4
jne 0x69f20
mov eax, 0x270
jmp 0x69f75
cmp eax, 0x4e0
jb 0x69f75
mov ecx, 0xaabfc
call fcn.0006a140
mov eax, dword [0xaabfc]
lea ecx, [eax + 1]
mov dword [0xaabfc], ecx
mov eax, dword [eax*4 + 0xaac00]
mov ecx, eax
shr ecx, 0xb
and ecx, dword [0xabf80]
xor ecx, eax
mov eax, ecx
shl eax, 7
and eax, 0x9d2c5680
xor eax, ecx
mov ecx, eax
shl ecx, 0xf
and ecx, 0xefc40000
xor ecx, eax
shr ecx, 0x12
and eax, 0x7fff
xor eax, ecx
pop esi
ret

Function at 0x6a140
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push edi
push esi
mov esi, dword [ecx + 0x9c4]
mov eax, 0x3fe
nop
nop
and esi, 0x80000000
mov edi, dword [ecx + eax*4 - 0x630]
mov edx, edi
and edx, 0x7ffffffe
or edx, esi
shr edx, 1
mov esi, edi
and edi, 1
neg edi
and edi, 0x9908b0df
xor edi, dword [ecx + eax*4]
xor edi, edx
mov dword [ecx + eax*4 - 0xff4], edi
inc eax
cmp eax, 0x4e1
jne 0x6a150
mov eax, 0x353
mov edx, 0x80000000
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea esi, [eax - 0x270]
mov ebx, dword [ecx + eax*4 + 4]
and ebx, edx
and esi, 1
mov edi, eax
or edi, 1
add edi, esi
mov esi, dword [ecx + edi*4 + 4]
mov edi, esi
and edi, 0x7ffffffe
or edi, ebx
shr edi, 1
and esi, 1
neg esi
and esi, 0x9908b0df
xor esi, dword [ecx + eax*4 - 0xd48]
xor esi, edi
mov dword [ecx + eax*4 - 0x9bc], esi
inc eax
cmp eax, 0x4df
jne 0x6a1a0
mov esi, 0x80000000
and esi, dword [ecx + 0x1380]
mov edx, dword [ecx + 4]
mov eax, edx
and eax, 0x7ffffffe
or eax, esi
shr eax, 1
and edx, 1
neg edx
xor eax, dword [ecx + 0x634]
and edx, 0x9908b0df
xor eax, edx
mov dword [ecx + 0x9c0], eax
mov dword [ecx], 0
pop esi
pop edi
pop ebx
ret
Function at 0x6be80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
movzx ebx, byte [edx]
test bl, bl
je 0x6c0f1
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
dec edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
test esi, esi
je 0x6bebc
cmp edx, esi
jae 0x6c0f1
test edi, edi
je 0x6c0f1
movzx ebp, bl
test bl, bl
js 0x6bef0
inc edx
lea ecx, [eax + 2]
mov word [eax], bp
mov esi, ecx
sub esi, eax
sar esi, 1
sub edi, esi
mov eax, ecx
mov esi, dword [esp + 0x24]
mov bh, byte [edx]
mov bl, bh
test bh, bh
jne 0x6beb0
jmp 0x6c0f1
mov ecx, ebp
and ecx, 0xffffffe0
cmp ecx, 0xc0
jne 0x6bf28
cmp bl, 0xc2
jb 0x6bee0
mov bh, byte [edx + 1]
movzx esi, bh
mov ecx, esi
and ecx, 0xffffffc0
cmp ecx, 0x80
jne 0x6bf8a
and ebp, 0x1f
shl ebp, 6
add edx, 2
and esi, 0x3f
or esi, ebp
jmp 0x6bfd8
mov ecx, ebp
and ecx, 0xfffffff0
cmp ecx, 0xe0
jne 0x6bf52
movzx ecx, byte [edx + 1]
cmp bl, 0xed
je 0x6bf94
cmp ebp, 0xe0
jne 0x6bf9d
mov ebx, ecx
add bl, 0x40
cmp bl, 0xe0
jb 0x6bedc
jmp 0x6bf9d
mov ecx, ebp
and ecx, 0xfffffff8
cmp ecx, 0xf0
jne 0x6c0d0
cmp bl, 0xf4
ja 0x6bee0
movzx ecx, byte [edx + 1]
je 0x6bfef
cmp ebp, 0xf0
jne 0x6bff8
mov bh, cl
add bh, 0x40
cmp bh, 0xd0
jb 0x6bedc
jmp 0x6bff8
inc edx
mov esi, dword [esp + 0x24]
jmp 0x6bee2
cmp cl, 0x9f
ja 0x6bedc
mov esi, ecx
and esi, 0xffffffc0
cmp esi, 0x80
jne 0x6c0d7
mov bh, byte [edx + 2]
movzx esi, bh
mov dword [esp], esi
and esi, 0xffffffc0
cmp esi, 0x80
jne 0x6bfe3
shl ebp, 0xc
and ecx, 0x3f
shl ecx, 6
or ecx, ebp
add edx, 3
mov esi, dword [esp]
and esi, 0x3f
or esi, ecx
lea ecx, [eax + 2]
mov word [eax], si
jmp 0x6bed2
add edx, 2
mov esi, dword [esp + 0x24]
jmp 0x6bee2
cmp cl, 0x8f
ja 0x6bedc
mov esi, ecx
and esi, 0xffffffc0
cmp esi, 0x80
jne 0x6c0d7
movzx ebp, byte [edx + 2]
mov esi, ebp
not esi
or esi, 0xc0
add esi, ebp
cmp esi, 0x7f
jne 0x6c0dd
mov bh, byte [edx + 3]
movzx esi, bh
mov dword [esp], esi
and esi, 0xffffffc0
cmp esi, 0x80
jne 0x6c0e5
and bl, 7
movzx esi, bl
shl esi, 0x12
shl ecx, 0xc
and ebp, 0x3f
shl ebp, 6
add ecx, esi
lea esi, [ecx + ebp]
add esi, 0xfff80000
add edx, 4
and esi, 0xfffff800
cmp esi, 0xd800
je 0x6bedc
lea esi, [ecx + ebp]
mov ebx, dword [esp]
and ebx, 0x3f
add ebx, esi
add ebx, 0xfff80000
cmp ebx, 0x10000
jb 0x6bedc
cmp edi, 2
jb 0x6c0d0
add ecx, ebp
add ecx, 0x9f4b2545
add ecx, 0x60abdabb
shr ecx, 0xa
mov esi, ecx
xor esi, 0x2400
or ecx, 0x3ff
and ecx, esi
or ecx, 0xd800
mov word [eax], cx
and ebx, 0x3ff
or ebx, 0xdc00
lea ecx, [eax + 4]
mov word [eax + 2], bx
jmp 0x6bed2
mov ecx, eax
jmp 0x6bed2
inc edx
jmp 0x6bedc
add edx, 2
jmp 0x6bedc
add edx, 3
mov esi, dword [esp + 0x24]
jmp 0x6bee2
mov word [eax], 0
sub eax, dword [esp + 0x18]
sar eax, 1
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x752d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x428
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov esi, 0xfffffffe
nop
nop
nop
nop
nop
nop
cmp word [eax + esi + 2], 0
lea esi, [esi + 2]
jne 0x752f0
sar esi, 1
lea ecx, [esp + 0x7c]
push ecx
push 0
push 0
push esi
push eax
push 0
call dword [fcn.000ad2fc]
mov dword [esp + 0xe8], 0x195a5b61
mov dword [esp + 0xec], 0
mov ecx, 0x8f
mov edi, 0x70
movzx edx, byte [esp + ecx + 0x59]
mov ebx, ecx
xor ebx, edi
and ebx, edx
xor ebx, edi
mov dl, 0x34
sub dl, bl
mov byte [esp + ecx + 0x59], dl
inc ecx
dec edi
cmp ecx, 0x97
jne 0x75330
xor ecx, ecx
cmp eax, dword [esp + 0xe8]
setne cl
jmp dword [ecx*4 + 0xa6b6c]
Function at 0x837d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x21f0
call fcn.00069690
push eax
sub esp, 0x10
mov ebx, esp
sub esp, 0x28
mov dword [ebp - 0x5c], esp
mov dword [ebp - 0x1dfc], 0x116c1f70
mov dword [ebp - 0x1df8], 0x156b1357
mov dword [ebp - 0x1df4], 0x963176f
mov dword [ebp - 0x1df0], 0xd780b7c
mov dword [ebp - 0x1dec], 0x1620f67
mov dword [ebp - 0x1de8], 0x5770377
mov dword [ebp - 0x1de4], 0x39740743
mov word [ebp - 0x1de0], 0x3b38
mov dword [ebp - 0x1dde], 0
mov word [ebp - 0x1dda], 0
mov eax, 0xe8279d85
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [ebp + eax + 0x17d8447f]
xor ecx, eax
mov esi, ecx
xor esi, 0x88c61399
mov edx, ecx
or edx, 0x60218c66
and edx, esi
mov edi, ecx
and edi, 2
mov esi, edx
or edx, 2
imul edx, edi
xor edi, 2
and esi, 0xfd
imul esi, edi
xor ecx, 0x66
add ecx, esi
add ecx, edx
inc cl
mov byte [ebp + eax + 0x17d8447f], cl
inc eax
cmp eax, 0xe8279da9
jne 0x83860
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x1dfc]
push 0
push 0
push 0x20019
push eax
mov dword [ebp - 0x10], ecx
push ecx
call fcn.000a0450
add esp, 0x14
shr eax, 0x1f
xor ecx, ecx
jmp dword [eax*4 + 0xa7924]
Function at 0x37c190
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx]
test eax, eax
je 0x37c26b
push ebp
push ebx
push edi
push esi
sub esp, 8
mov dword [esp], 0x4c4d4a4b
mov word [esp + 4], 0
mov byte [esp + 6], 0
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + edx]
lea edi, [edx + 0x27e6f8f2]
mov ebp, 0xd
sub ebp, edx
mov ebx, ebp
or ebx, esi
and ebp, 0xd
and edi, 2
or edi, ebp
xor edi, 2
lea ebp, [edx*2 + 0x4fcdf1e4]
neg ebp
add ebp, edx
add ebp, 0xf1
or ebp, edi
and ebp, esi
not ebx
or ebx, ebp
add bl, 0x46
mov byte [esp + edx], bl
mov esi, edx
and esi, 1
xor edx, 1
lea edx, [edx + esi*2]
cmp edx, 7
jb 0x37c1c0
mov edx, dword [0xad300]
test edx, edx
je 0x37c25e
mov esi, dword [esp]
xor edi, edi
mov ebx, dword [0xad304]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x1b6183f2
je 0x37c240
inc edi
cmp edx, edi
jne 0x37c230
jmp 0x37c25e
mov edx, dword [ebx + edi*8 + 4]
cmp edx, esi
je 0x37c25e
push eax
push 4
push edx
push dword [0xad308]
mov esi, ecx
call fcn.0037e570
mov ecx, esi
add esp, 0x10
mov dword [ecx], 0
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret