joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b5b5
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 + 0x433c58]
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 0x41b5f8
cmp word [esi], dx
jne 0x41b5f8
or byte [edi + eax + 0x28], 4
jmp 0x41b5fd
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 0x41b750
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 0x41b730
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41b63f
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41b675
cmp eax, edx
jae 0x41b681
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 0x41b617
jmp 0x41b750
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 0x41b72c
cmp dword [ebp - 0x14], 0
je 0x41b72c
mov eax, dword [ebx*4 + 0x433c58]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41b704
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41b6cd
mov word [esi], cx
jmp 0x41b700
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x433c58]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x433c58]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x433c58]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41b750
pop ebx
cmp word [ebp - 4], bx
jne 0x41b715
cmp esi, dword [ebp + 0xc]
jne 0x41b715
mov word [esi], bx
jmp 0x41b74d
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041bfe9
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41b750
push 0xd
jmp 0x41b749
mov ecx, dword [ebx*4 + 0x433c58]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41b747
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41b750
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 0x41e533
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x41e5d0
push ebx
push esi
call fcn.0041e4fc
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0041d181
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41e57d
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41e5cf
push edi
push eax
call fcn.004168e3
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41e59d
call fcn.004168a9
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41e5ce
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041d181
add esp, 0x20
test eax, eax
jne 0x41e5bc
push edi
call fcn.004168a9
jmp 0x41e5c4
push ebx
call fcn.004168a9
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x4257d0
Capabilities:
Parse pe header

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

Function at 0x1000125c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0
call sub.KERNEL32.DLL_GetEnvironmentStringsA
mov ebx, eax
mov dword [ebp - 0x10], ebx
jmp 0x10001299
cmp byte [ebx], 0x3d
je 0x10001285
inc dword [ebp - 0xc]
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
lea ebx, [ebx + edi]
cmp byte [ebx], 0
jne 0x10001278
mov edi, dword [ebp - 0xc]
inc edi
lea edi, [edi*4]
mov dword [ebp - 0x14], edi
push dword [ebp - 0x14]
call sub.CRTDLL.DLL_malloc
pop ecx
mov dword [ebp - 8], eax
mov dword [0x10003010], eax
cmp dword [ebp - 8], 0
jne 0x100012cc
xor eax, eax
jmp 0x10001342
mov ebx, dword [ebp - 0x10]
jmp 0x10001325
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
mov dword [ebp - 4], edi
cmp byte [ebx], 0x3d
je 0x1000131f
push dword [ebp - 4]
call sub.CRTDLL.DLL_malloc
pop ecx
mov esi, dword [ebp - 8]
mov dword [esi], eax
or eax, eax
jne 0x10001308
jmp 0x10001342
push ebx
mov edi, dword [ebp - 8]
push dword [edi]
call sub.CRTDLL.DLL_strcpy
add esp, 8
add dword [ebp - 8], 4
mov edx, dword [ebp - 4]
lea ebx, [ebx + edx]
cmp byte [ebx], 0
jne 0x100012d1
mov edx, dword [ebp - 8]
mov dword [edx], 0
mov eax, 1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x8ca910
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x760015
lea edi, [esi - 0x35f015]
mov dword [edi + 0x45bae0], 0x23447004
push edi
or ebp, 0xffffffff
jmp 0x8ca93a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x8ca941
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8ca930
mov eax, 1
add ebx, ebx
jne 0x8ca953
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x8ca964
jne 0x8ca983
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8ca983
dec eax
add ebx, ebx
jne 0x8ca970
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x8ca948
add ebx, ebx
jne 0x8ca97f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x8ca9d5
xor ecx, ecx
sub eax, 3
jb 0x8ca99b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x8caa0a
sar eax, 1
mov ebp, eax
jmp 0x8ca9a6
add ebx, ebx
jne 0x8ca9a6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8ca974
inc ecx
add ebx, ebx
jne 0x8ca9b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8ca974
add ebx, ebx
jne 0x8ca9c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x8ca9b6
jne 0x8ca9d2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x8ca9b6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x8ca9f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x8ca9e6
jmp 0x8ca936
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x8ca9f4
add edi, ecx
jmp 0x8ca936
pop esi
mov edi, esi
mov ecx, 0x12d69
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x8caa12
cmp byte [edi], 0x9b
jne 0x8caa12
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x8caa17
lea edi, [esi + 0x4c6000]
mov eax, dword [edi]
or eax, eax
je 0x8caa86
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4f1698]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4f1788]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x8caa44
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4f178c]
or eax, eax
je 0x8caa80
mov dword [ebx], eax
add ebx, 4
jmp 0x8caa61
call dword [esi + 0x4f179c]
mov ebp, dword [esi + 0x4f1790]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x4caae1]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x8caad2
sub esp, 0xffffff80
jmp 0x401284
Function at 0x4076c4
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x42600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
xor edi, edi
mov dword [ebp - 0x210], ecx
lea eax, [ebp - 0x20c]
mov esi, edx
push edi
push eax
call fcn.004095f0
add esp, 0xc
lea ecx, [ebp - 0x20c]
call fcn.004072b0
lea eax, [ebp - 0x20c]
push eax
push edi
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ebx, eax
test ebx, ebx
jne 0x407756
push ecx
push str.ReadSharedMemory__:
push ecx
mov edi, 0x82
mov ecx, esi
mov edx, edi
call fcn.00403b0e
lea ecx, [esi + 0x208]
mov edx, edi
push ecx
push str.Could_not_open_file_mapping_object.
push ecx
call fcn.00403b0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x410], eax
xor eax, eax
jmp 0x407820
push 0x1e78
push edi
push edi
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x4077aa
push ecx
push str.ReadSharedMemory__:
push ecx
mov edi, 0x82
mov ecx, esi
mov edx, edi
call fcn.00403b0e
lea ecx, [esi + 0x208]
mov edx, edi
push ecx
push str.Could_not_map_view_of_file.
push ecx
call fcn.00403b0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov dword [esi + 0x410], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40774f
mov eax, dword [ebp - 0x210]
test eax, eax
jne 0x4077c6
call fcn.0040d306
mov dword [eax], 0x16
call fcn.0040d23a
jmp 0x4077d5
push 0x1034
push edi
push eax
call fcn.00408e00
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
push str.ReadSharedMemory__:
push ecx
mov edx, 0x82
mov ecx, esi
call fcn.00403b0e
lea eax, [ebp - 0x20c]
push eax
push str.succeeded._mapping_obj_name:__s
lea eax, [esi + 0x208]
push 0x104
push eax
call fcn.00406b11
and dword [esi + 0x410], 0
xor eax, eax
add esp, 0x10
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407989
leave
ret

Function at 0x430002
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x10017bf
Capabilities:
Resolve dns

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x48
cmp dword [0x10050e0], 0
mov eax, dword [0x10040c0]
mov dword [ebp - 4], eax
jbe 0x100186c
cmp dword [0x10040b8], 0xffffffff
jne 0x10017ec
and dword [0x10040b8], 0
push esi
push edi
push 2
push 0
push 0
push 0x41
lea eax, [ebp - 0x48]
push eax
push dword [0x1005348]
push 0x10052a0
call dword [sym.imp.WS2_32.dll_getnameinfo]
mov ecx, dword [0x10050e0]
mov esi, dword [0x10050e4]
mov edi, ecx
sub edi, esi
mov eax, edi
imul eax, eax, 0x64
xor edx, edx
div ecx
push eax
push edi
push esi
push ecx
lea eax, [ebp - 0x48]
push eax
push 0x274f
push 1
call fcn.01001210
mov ecx, dword [0x10050e4]
add esp, 0x1c
test ecx, ecx
pop edi
pop esi
jbe 0x100186c
mov eax, dword [0x10050ec]
xor edx, edx
div ecx
push eax
push dword [0x10050e8]
push dword [0x10040b8]
push 0x2753
push 1
call fcn.01001210
add esp, 0x14
mov ecx, dword [ebp - 4]
call fcn.010027ae
leave
ret

Function at 0x10018bc
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
lea eax, [ebp - 4]
push eax
push 1
xor esi, esi
push esi
push 0x1001128
push 0x80000002
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100190b
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0x100111c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, dword [ebp - 8]
cmp ebx, esi
jne 0x1001914
mov bl, 0x80
cmp dword [ebp - 4], esi
je 0x1001922
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x100192d
Capabilities:
Resolve dns

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebp + 0xc]
mov dword [ebp - 0x20], 1
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x1001968
xor eax, eax
jmp 0x1001987
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov edi, dword [ebp + 0x10]
push esi
mov esi, dword [eax + 0x18]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
xor eax, eax
rep movsb byte es:[edi], byte [esi]
inc eax
pop esi
pop edi
leave
ret 0xc
Function at 0x2e02d91a
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x2e0c18a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
xor esi, esi
push 0x40e
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push esi
push eax
mov dword [ebp - 0x620], esi
call fcn.2e06e640
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.2e06e640
mov edi, dword [ebp + 8]
add esp, 0x18
cmp edi, esi
je 0x2e02da8b
call fcn.2e02d082
test eax, eax
je 0x2e02d9a5
cmp dword [ebp + 0xc], esi
je 0x2e02d9a5
call fcn.2e03e006
test eax, eax
je 0x2e02da96
push 0x2e003720
call fcn.2e03fc59
jmp 0x2e02da96
mov eax, dword [edi]
push esi
lea ecx, [ebp - 0x620]
push ecx
push esi
push 0x2001f
and eax, 0x10000000
push esi
neg eax
push esi
sbb eax, eax
push esi
neg eax
add eax, 0x80000001
push 0x2e003264
push eax
call dword [0x2e00105c]
test eax, eax
je 0x2e02d9ec
call fcn.2e03e006
test eax, eax
je 0x2e02da96
push 0x2e003700
jmp 0x2e02d99b
cmp dword [ebp + 0xc], esi
jne 0x2e02da07
push 0x2e003208
push dword [ebp - 0x620]
call dword [0x2e001058]
jmp 0x2e02da96
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [fcn.2e0011b8]
cmp eax, esi
je 0x2e02da96
dec eax
cmp word [ebp + eax*2 - 0x20c], 0x5c
jne 0x2e02da1a
push 0x74
xor ecx, ecx
mov word [ebp + eax*2 - 0x20c], cx
push 0x2e0036e4
lea eax, [ebp - 0x20c]
push eax
push 0x2e0036cc
lea eax, [ebp - 0x61c]
push 0x208
push eax
call fcn.2e06ea2b
add esp, 0x18
lea eax, [ebp - 0x61c]
push eax
call fcn.2e025e0d
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x61c]
push eax
push 1
push esi
push 0x2e003208
push dword [ebp - 0x620]
call dword [0x2e001054]
test eax, eax
je 0x2e02da96
push esi
push 0x30303030
call fcn.2e0448b0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.2e06e7f2
leave
ret 8

Function at 0x2e0450cd
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x2e08caf8
call fcn.2e06eb1c
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
movzx edx, word [eax]
mov ecx, 0x5a4d
cmp dx, cx
jne 0x2e04510b
mov ecx, dword [eax + 0x3c]
add ecx, eax
mov esi, 0xe0
cmp word [ecx + 0x14], si
jne 0x2e04510b
add esi, 0x2b
cmp word [ecx + 0x18], si
jne 0x2e04510b
mov eax, dword [ecx + 0x50]
jmp 0x2e04512c
mov ecx, 0x4550
cmp dx, cx
jne 0x2e045138
mov ecx, 0xe0
cmp word [eax + 0x14], cx
jne 0x2e045138
add ecx, 0x2b
cmp word [eax + 0x18], cx
jne 0x2e045138
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x1c], eax
jmp 0x2e04513c
and dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
call fcn.2e06eb61
ret
Function at 0x2e062db9
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x2e08cc18
call fcn.2e06eb1c
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
movzx edx, word [eax]
mov ecx, 0x5a4d
cmp dx, cx
jne 0x2e062df7
mov ecx, dword [eax + 0x3c]
add ecx, eax
mov esi, 0xe0
cmp word [ecx + 0x14], si
jne 0x2e062df7
add esi, 0x2b
cmp word [ecx + 0x18], si
jne 0x2e062df7
mov eax, dword [ecx + 0x50]
jmp 0x2e062e18
mov ecx, 0x4550
cmp dx, cx
jne 0x2e062e24
mov ecx, 0xe0
cmp word [eax + 0x14], cx
jne 0x2e062e24
add ecx, 0x2b
cmp word [eax + 0x18], cx
jne 0x2e062e24
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x1c], eax
jmp 0x2e062e28
and dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
call fcn.2e06eb61
ret 4

Function at 0x2e082cfc
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 2
test eax, eax
jle 0x2e082d3b
push esi
movzx esi, byte [ecx]
xor ebx, ebx
dec eax
inc ecx
mov bh, byte [ecx]
or esi, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or esi, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or esi, ebx
inc ecx
xor edx, esi
test eax, eax
jg 0x2e082d16
pop esi
and edi, 3
xor eax, eax
dec edi
je 0x2e082d57
dec edi
je 0x2e082d50
dec edi
jne 0x2e082d5c
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor ebx, ebx
mov bh, byte [ecx]
or eax, ebx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
pop edi
xor eax, edx
pop ebx
pop ebp
ret 0xc
Function at 0x2e084163
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0x18]
push esi
push edi
xor edi, edi
cmp byte [ebp + 0x24], 0
mov dword [ebx + 0x10], eax
mov eax, dword [ebp + 0xc]
mov word [ebx + 0xc], di
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x28], edi
mov esi, 0x8000
jne 0x2e0841b3
push esi
push eax
add eax, esi
push eax
call fcn.2e06e4ea
add esp, 0xc
mov word [ebx + 0x2c], di
mov dword [ebx + 0x30], edi
call fcn.2e083bbd
mov eax, dword [ebx + 0x14]
and dword [ebx + 0x20], edi
push 2
mov word [ebx + 0x3c], si
mov dword [ebx + 0x34], esi
add eax, esi
pop ecx
movzx edi, byte [eax]
mov edx, dword [ebx + 0x20]
shl edx, 5
xor edx, edi
and edx, 0x7fff
inc eax
dec ecx
mov dword [ebx + 0x20], edx
jne 0x2e0841d1
cmp byte [ebp + 0x24], cl
je 0x2e0841f7
mov edi, ebx
call fcn.2e083a1a
jmp 0x2e084208
xor eax, eax
mov ecx, esi
mov edx, dword [ebx + 0x18]
and word [eax + edx], 0
inc eax
inc eax
dec ecx
jne 0x2e0841fb
push 8
pop edi
push 0x43
pop edx
mov eax, ebx
call fcn.2e082e60
push 0x4b
pop edx
call fcn.2e082e60
call fcn.2e083ee9
mov ecx, dword [ebp + 0x28]
inc eax
inc eax
cmp byte [ebp + 0x24], 0
movzx eax, ax
mov dword [ecx], eax
je 0x2e084246
mov eax, dword [ebx + 0x14]
push esi
lea ecx, [eax + 0x8000]
push ecx
push eax
call fcn.2e06e4ea
add esp, 0xc
mov eax, dword [ebx + 0x28]
neg eax
pop edi
sbb eax, eax
pop esi
and eax, 3
pop ebx
pop ebp
ret 0x24
Function at 0x2e0865fc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc9c
mov eax, dword [0x2e0c18a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc88], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 0xc8c], eax
mov eax, dword [esi + 0x870]
add eax, 0x20
mov ecx, eax
shl ecx, 3
cmp ecx, 0x320
mov dword [ebp - 0xc9c], ecx
jb 0x2e086649
xor eax, eax
jmp 0x2e086825
push edi
mov edi, eax
shl edi, 4
push edi
lea eax, [ebp - 0xc84]
push 0
push eax
call fcn.2e06e840
push edi
lea eax, [ebp - 0x644]
push 0
push eax
call fcn.2e06e840
mov ecx, dword [ebp + 0x18]
add esp, 0x18
test ecx, ecx
jbe 0x2e0867a9
mov eax, dword [ebp + 0x14]
mov edi, dword [esi + 0x30]
shl eax, 2
mov dword [ebp - 0xc90], eax
mov eax, dword [ebp + 0x10]
shl eax, 2
push ebx
mov ebx, dword [esi + 0x34]
mov dword [ebp - 0xc94], eax
mov dword [ebp - 0xc98], ecx
jmp 0x2e0866a8
mov eax, dword [ebp - 0xc94]
mov ecx, dword [ebp - 0xc88]
and ecx, 7
xor edx, edx
inc edx
shl edx, cl
mov ecx, dword [ebp - 0xc88]
shr ecx, 3
mov cl, byte [ecx + ebx]
test cl, dl
jne 0x2e0866d2
mov eax, dword [ebp - 0xc88]
movzx eax, byte [edi + eax]
jmp 0x2e086716
mov ecx, dword [ebp - 0xc88]
cmp byte [edi + ecx], 7
mov ecx, dword [esi + 0x2c]
push dword [eax + ecx]
push esi
jae 0x2e086700
call fcn.2e084966
mov ecx, dword [ebp - 0xc88]
movzx ecx, byte [edi + ecx]
movzx eax, al
lea eax, [ecx + eax*8 + 0x100]
jmp 0x2e08670f
call fcn.2e084966
movzx eax, al
lea eax, [eax*8 + 0x107]
add dword [ebp - 0xc94], 4
inc dword [ebp - 0xc88]
lea eax, [ebp + eax*2 - 0xc84]
inc word [eax]
mov eax, dword [ebp - 0xc8c]
xor edx, edx
mov ecx, eax
and ecx, 7
inc edx
shl edx, cl
mov ecx, eax
shr ecx, 3
mov cl, byte [ecx + ebx]
test cl, dl
jne 0x2e086748
movzx eax, byte [edi + eax]
jmp 0x2e08678c
cmp byte [edi + eax], 7
mov ecx, dword [ebp - 0xc90]
mov eax, dword [esi + 0x2c]
push dword [eax + ecx]
push esi
jae 0x2e086776
call fcn.2e084966
mov ecx, dword [ebp - 0xc8c]
movzx ecx, byte [edi + ecx]
movzx eax, al
lea eax, [ecx + eax*8 + 0x100]
jmp 0x2e086785
call fcn.2e084966
movzx eax, al
lea eax, [eax*8 + 0x107]
add dword [ebp - 0xc90], 4
inc dword [ebp - 0xc8c]
lea eax, [ebp + eax*2 - 0x644]
inc word [eax]
dec dword [ebp - 0xc98]
jne 0x2e0866a2
pop ebx
xor esi, esi
xor edi, edi
cmp dword [ebp - 0xc9c], esi
jbe 0x2e086822
movzx eax, word [ebp + esi*2 - 0xc84]
cmp ax, 0x100
movzx eax, ax
jae 0x2e0867cf
movzx eax, byte [eax + 0x2e024a40]
jmp 0x2e0867dc
shr eax, 8
movzx eax, byte [eax + 0x2e024a40]
add eax, 8
movzx ecx, word [ebp + esi*2 - 0x644]
cmp cx, 0x100
movzx ecx, cx
jae 0x2e0867f7
movzx ecx, byte [ecx + 0x2e024a40]
jmp 0x2e086804
shr ecx, 8
movzx ecx, byte [ecx + 0x2e024a40]
add ecx, 8
mov eax, dword [eax*4 + 0x2e0249f8]
sub eax, dword [ecx*4 + 0x2e0249f8]
cdq
xor eax, edx
sub eax, edx
add edi, eax
inc esi
cmp esi, dword [ebp - 0xc9c]
jb 0x2e0867b5
mov eax, edi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.2e06e9f2
leave
ret 0x14