joyce8/EMBER2024-capa huggingface dataset:
Function at 0x70df091e
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
cmp dword [0x70e6c670], 0
push dword [ebp + 0xc]
je 0x70df093e
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x70df0969
lea ecx, [ebp - 0x10c]
call fcn.70d1f3ac
cmp dword [ebp - 0x10c], 0x55464131
jne 0x70df0966
push dword [ebp - 0x108]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x70df0969
push 0xd
pop eax
leave
ret 8

Function at 0x70df096d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
cmp dword [0x70e6c670], 0
je 0x70df09a1
push dword [ebp + 0x10]
call fcn.70d371c6
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0x10]
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x70df0a04
push dword [ebp + 0xc]
lea ecx, [ebp - 0x218]
call fcn.70d1f3ac
push dword [ebp + 0x10]
lea ecx, [ebp - 0x10c]
call fcn.70d1f3ac
mov eax, 0x55464131
cmp dword [ebp - 0x218], eax
jne 0x70df0a01
cmp dword [ebp - 0x10c], eax
jne 0x70df0a01
mov eax, dword [ebp - 0x108]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x70df09db
sub eax, edx
inc eax
push eax
push dword [ebp - 0x108]
push 1
push 0
push dword [ebp - 0x214]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x70df0a04
push 0xd
pop eax
leave
ret 0xc

Function at 0x70df0a08
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
cmp dword [0x70e6c670], 0
je 0x70df0a32
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x70df0a6a
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10c]
call fcn.70d1f3ac
cmp dword [ebp - 0x10c], 0x55464131
jne 0x70df0a67
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push dword [ebp - 0x108]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x70df0a6a
push 0xd
pop eax
leave
ret 0xc

Function at 0x70df0a6e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
cmp dword [0x70e6c670], 0
je 0x70df0a98
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 3
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x70df0ad0
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10c]
call fcn.70d1f3ac
cmp dword [ebp - 0x10c], 0x55464131
jne 0x70df0acd
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 3
push 0
push dword [ebp - 0x108]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x70df0ad0
push 0xd
pop eax
leave
ret 0x10
Function at 0x70df0ad4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
cmp dword [0x70e6c670], 0
mov dword [ebp - 4], 4
je 0x70df0b08
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jmp 0x70df0b3e
push dword [ebp + 0xc]
lea ecx, [ebp - 0x110]
call fcn.70d1f3ac
cmp dword [ebp - 0x110], 0x55464131
jne 0x70df0b4e
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp - 0x10c]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x70df0b51
cmp dword [ebp + 0xc], 4
jne 0x70df0b4e
cmp dword [ebp - 4], 4
je 0x70df0b51
push 0xd
pop eax
leave
ret 0xc

Function at 0x70df0b55
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
cmp dword [0x70e6c670], 0
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp + 0x14], edi
je 0x70df0b89
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jmp 0x70df0bbf
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10c]
call fcn.70d1f3ac
cmp dword [ebp - 0x10c], 0x55464131
jne 0x70df0bce
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp - 0x108]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x70df0bd1
cmp dword [ebp + 0xc], 3
jne 0x70df0bce
cmp dword [ebp + 0x14], edi
je 0x70df0bd1
push 0xd
pop eax
pop edi
leave
ret 0x10

Function at 0x70df15be
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
push edi
mov ebp, 0x70e6dca4
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x70e7503c]
cmp eax, 1
jne 0x70df15dd
xor edi, edi
jmp 0x70df16b6
push 2
pop ecx
cmp eax, ecx
mov edi, 0x80004005
je 0x70df16b6
push ebx
push 0x70df1748
mov dword [0x70e7503c], ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor ebx, ebx
cmp eax, ebx
mov dword [0x70e75040], eax
je 0x70df16b5
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x70df1734
push eax
call esi
push 0x70df1720
push dword [0x70e75040]
mov dword [0x70e75044], eax
call esi
push 0x70df1704
push dword [0x70e75040]
mov dword [0x70e75048], eax
call esi
push 0x70df16f0
push dword [0x70e75040]
mov dword [0x70e75050], eax
call esi
push 0x70df16dc
push dword [0x70e75040]
mov dword [0x70e75058], eax
call esi
push 0x70df16c4
push dword [0x70e75040]
mov dword [0x70e7504c], eax
call esi
cmp dword [0x70e75044], ebx
mov dword [0x70e75054], eax
pop esi
je 0x70df16b5
cmp dword [0x70e75048], ebx
je 0x70df16b5
cmp dword [0x70e7504c], ebx
je 0x70df16b5
cmp dword [0x70e75050], ebx
je 0x70df16b5
cmp eax, ebx
je 0x70df16b5
cmp dword [0x70e75058], ebx
je 0x70df16b5
mov dword [0x70e7503c], 1
xor edi, edi
pop ebx
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop ebp
ret
Function at 0x70df1a43
Capabilities:
Clear file content

Disassembly:
push esi
push 0x18
call fcn.70d51bec
test eax, eax
je 0x70df1a5a
mov ecx, eax
call fcn.70df19e0
mov esi, eax
jmp 0x70df1a5c
xor esi, esi
test esi, esi
jne 0x70df1a67
mov eax, 0x8007000e
jmp 0x70df1ad5
push ebx
push dword [esp + 0xc]
call fcn.70d1f15b
test eax, eax
mov dword [esi + 0x10], eax
jne 0x70df1a7f
mov ebx, 0x8007000e
jmp 0x70df1ac1
push 0x80
push 4
push 1
push 0x40000000
push dword [esp + 0x1c]
mov dword [esi + 0x14], 1
call fcn.70d1ef96
cmp eax, 0xffffffff
mov dword [esi + 0xc], eax
je 0x70df1aac
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
cmp dword [esi + 0xc], 0xffffffff
jne 0x70df1abb
call fcn.70d1f4ba
mov ebx, eax
jmp 0x70df1abd
xor ebx, ebx
test ebx, ebx
jge 0x70df1acc
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x38]
jmp 0x70df1ad2
mov eax, dword [esp + 0x10]
mov dword [eax], esi
mov eax, ebx
pop ebx
pop esi
ret 8
Function at 0x70e05fc4
Capabilities:
Terminate process

Disassembly:
push 0x70e06004
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x70e05fe9
push 0x70e05ff4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x70e05fe9
push dword [esp + 4]
call eax
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x70e06177
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
xor eax, eax
cmp edx, dword [eax*8 + 0x70e6f658]
je 0x70e06197
inc eax
cmp eax, 0x12
jb 0x70e06188
shl eax, 3
cmp edx, dword [eax + 0x70e6f658]
mov dword [ebp + 8], eax
jne 0x70e06335
mov ecx, dword [0x70e7505c]
cmp ecx, 1
je 0x70e0630a
test ecx, ecx
jne 0x70e061c9
cmp dword [0x70e75060], 1
je 0x70e0630a
cmp edx, 0xfc
je 0x70e06335
and byte [ebp - 8], 0
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x70e06204
push 5
pop ecx
mov esi, 0x70e0638c
lea edi, [ebp - 0x10c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x10c]
lea ebx, [ebp - 0x10c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x70e06213
sub eax, edx
inc eax
cmp eax, 0x3c
jbe 0x70e0624b
lea eax, [ebp - 0x10c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x70e0622b
sub eax, edx
push 3
lea ebx, [ebp + eax - 0x147]
push 0x70e06388
push ebx
call fcn.70d685d6
add esp, 0xc
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x70e06250
sub eax, edx
mov ecx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x70e6f65c]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x70e06267
sub eax, esi
lea eax, [eax + ecx + 0x1c]
add eax, 3
and eax, 0xfffffffc
call fcn.70d34f8c
mov edx, esp
push 6
pop ecx
mov esi, 0x70e0636c
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov eax, ebx
movsw word es:[edi], word [esi]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x70e06293
mov edi, edx
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x70e0629f
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x70e062b8
mov eax, dword [ebp + 8]
mov esi, 0x70e06368
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [eax + 0x70e6f65c]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x70e062d3
mov edi, edx
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x70e062df
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0x12010
mov ecx, eax
and ecx, 3
push 0x70e06340
push edx
rep movsb byte es:[edi], byte [esi]
call fcn.70e07062
add esp, 0xc
jmp 0x70e06335
mov ecx, dword [eax + 0x70e6f65c]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x70e06315
push 0
lea edx, [ebp - 4]
push edx
sub eax, esi
push eax
push ecx
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x118]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x70e07062
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x70e7508c], ebx
push esi
push edi
jne 0x70e070e2
push 0x70d34b14
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x70e0711d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x70e071b4
push edi
call esi
test eax, eax
mov dword [0x70e7508c], eax
je 0x70e0711d
push 0x70e071a4
push edi
call esi
push 0x70e07190
push edi
mov dword [0x70e75090], eax
call esi
cmp dword [0x70e6c1b8], 2
mov dword [0x70e75094], eax
jne 0x70e070e2
push 0x70e07174
push edi
call esi
test eax, eax
mov dword [0x70e7509c], eax
je 0x70e070e2
push 0x70e0715c
push edi
call esi
mov dword [0x70e75098], eax
mov eax, dword [0x70e75098]
test eax, eax
je 0x70e07127
call eax
test eax, eax
je 0x70e0710e
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x70e7509c]
test eax, eax
je 0x70e0710e
test byte [ebp - 8], 1
jne 0x70e07127
cmp dword [0x70e6c1c4], 4
jb 0x70e07121
or byte [ebp + 0x12], 0x20
jmp 0x70e07146
xor eax, eax
jmp 0x70e07156
or byte [ebp + 0x12], 4
jmp 0x70e07146
mov eax, dword [0x70e75090]
test eax, eax
je 0x70e07146
call eax
mov ebx, eax
test ebx, ebx
je 0x70e07146
mov eax, dword [0x70e75094]
test eax, eax
je 0x70e07146
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x70e7508c]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x70e0831c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 4
pop eax
call fcn.70d34f8c
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x70e083b1
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
lea esi, [eax - 1]
not esi
and esi, ebx
sub esi, eax
mov dword [ebp - 4], eax
mov eax, dword [0x70e6c1b8]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xffff1000
add ecx, 0x11000
add ecx, edi
cmp esi, ecx
jb 0x70e083b1
cmp eax, 1
je 0x70e083c9
mov ebx, edi
mov edi, 0x1000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x70e083b1
add ebx, dword [ebp - 0x18]
test dword [ebp - 0x14], edi
je 0x70e08386
test byte [ebp - 0xf], 1
mov ebx, dword [ebp - 0x24]
je 0x70e083ad
xor eax, eax
inc eax
jmp 0x70e083e5
cmp esi, ebx
jae 0x70e083b5
xor eax, eax
jmp 0x70e083e5
push 4
push edi
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x70e6c1b8]
jmp 0x70e083cb
mov ebx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 8]
push ecx
inc eax
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x54]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x70e35ef8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov al, byte [esi + 0xc]
mov cl, byte [esi]
mov dx, word [esi + 0xe]
push edi
mov byte [ebp - 1], al
push 0x20
pop eax
sub eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov al, 1
shl al, cl
dec al
mov byte [ebp - 3], al
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp + 8]
shr ebx, cl
mov cl, byte [esi]
and bl, al
xor eax, eax
inc eax
shl eax, cl
mov byte [ebp - 2], bl
cmp dx, ax
jne 0x70e35f52
push edx
mov ecx, esi
call fcn.70e35ded
mov ecx, esi
call fcn.70e32d59
movzx dx, bl
jmp 0x70e35ff4
mov cl, byte [ebp - 1]
movzx eax, bl
mov ebx, eax
movzx edi, dx
shl eax, cl
shl ebx, 0xc
add ebx, edi
xor eax, edi
lea edi, [esi + eax*2 + 0x4020]
mov ax, word [edi]
jmp 0x70e35f8c
movzx ecx, ax
mov ecx, dword [esi + ecx*4 + 0x20]
mov dword [ebp - 0xc], ecx
and ecx, 0xfffff
cmp ebx, ecx
je 0x70e35fcf
mov eax, dword [ebp - 0xc]
shr eax, 0x14
test ax, ax
jne 0x70e35f72
push edx
mov ecx, esi
call fcn.70e35ded
xor eax, eax
mov ax, word [esi + 2]
cmp ax, 0xfff
jae 0x70e35fd3
movzx ecx, word [edi]
inc eax
movzx edx, ax
shl ecx, 0x14
add ecx, ebx
mov dword [esi + edx*4 + 0x20], ecx
mov word [edi], ax
mov cl, byte [esi + 1]
mov word [esi + 2], ax
xor eax, eax
inc eax
shl eax, cl
cmp edx, eax
jl 0x70e35fef
inc cl
mov byte [esi + 1], cl
jmp 0x70e35fef
mov edx, eax
jmp 0x70e35ff4
cmp byte [esi + 0xd], 0
jne 0x70e35fef
mov cl, byte [esi]
xor eax, eax
inc eax
shl eax, cl
mov ecx, esi
push eax
call fcn.70e35ded
mov ecx, esi
call fcn.70e32d59
movzx dx, byte [ebp - 2]
mov ecx, dword [ebp + 0xc]
sub dword [ebp + 0x10], ecx
cmp dword [ebp + 0x10], ecx
jl 0x70e3600a
shl dword [ebp + 8], cl
mov al, byte [ebp - 3]
jmp 0x70e35f21
pop edi
mov word [esi + 0xe], dx
pop esi
mov al, 1
pop ebx
leave
ret 0xc

Function at 0x70e3d583
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
xor eax, eax
inc eax
xor ecx, ecx
cmp dword [esi + 0xc], ecx
push edi
mov edi, dword [esi + 0x20]
mov dword [ebp - 4], eax
mov dword [esi + 0x18], ebx
je 0x70e3d5a8
mov dl, byte [esi + 0x1c]
mov byte [ebx], dl
cmp dword [ebp + 0x10], ecx
jne 0x70e3d5d0
push 0xc
push esi
mov dx, 0x10
call fcn.70e3d207
push 0xc
push esi
mov dx, 0x10
call fcn.70e3d207
cmp dword [esi + 0xc], 0
je 0x70e3d629
inc dword [esi + 0x18]
jmp 0x70e3d629
cmp dword [esi + 0x14], eax
jne 0x70e3d5e4
push 0xc
push esi
mov dx, 0x10
mov dword [esi + 0x14], ecx
call fcn.70e3d207
mov edx, dword [esi + 4]
mov ecx, dword [ebp + 0x10]
mov eax, edi
call fcn.70e3d0c4
test eax, eax
jle 0x70e3d60f
mov ebx, eax
push dword [ebp - 4]
movzx eax, word [edi]
push esi
call fcn.70e3d262
xor dword [ebp - 4], 1
inc edi
inc edi
dec ebx
jne 0x70e3d5f7
mov ebx, dword [ebp + 0xc]
push 0xc
push esi
mov dx, 0x10
call fcn.70e3d207
cmp dword [esi + 0xc], 0
je 0x70e3d629
mov eax, dword [esi + 0x18]
mov al, byte [eax]
mov byte [esi + 0x1c], al
mov eax, dword [esi + 0x18]
pop edi
pop esi
sub eax, ebx
pop ebx
leave
ret 0xc
Function at 0x70e3d635
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
mov edx, dword [esi + 4]
push edi
mov edi, dword [esi + 0x20]
xor ebx, ebx
mov eax, edi
inc ebx
call fcn.70e3d0c4
mov ecx, dword [ebp + 0xc]
and dword [esi + 0xc], 0
test eax, eax
mov dword [esi + 0x18], ecx
jle 0x70e3d676
mov dword [ebp + 8], eax
movzx eax, word [edi]
push ebx
push esi
call fcn.70e3d262
inc edi
inc edi
xor ebx, 1
dec dword [ebp + 8]
jne 0x70e3d662
cmp dword [esi + 0xc], 0
je 0x70e3d67f
inc dword [esi + 0x18]
mov eax, dword [esi + 0x18]
sub eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x70e4a290
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
mov eax, dword [ebx + 0x24]
push ebp
push esi
mov dword [esp + 0xc], eax
push edi
lea ecx, [ecx]
mov ecx, dword [ebx + 0x64]
mov edx, dword [ebx + 0x34]
mov esi, dword [ebx + 0x6c]
sub edx, ecx
sub edx, esi
jne 0x70e4a2bd
test ecx, ecx
jne 0x70e4a2c9
test esi, esi
jne 0x70e4a2c9
mov edx, eax
jmp 0x70e4a346
cmp edx, 0xffffffff
jne 0x70e4a2c9
mov edx, 0xfffffffe
jmp 0x70e4a346
mov esi, dword [ebx + 0x24]
lea esi, [eax + esi - 0x106]
cmp ecx, esi
jb 0x70e4a346
mov edi, dword [ebx + 0x30]
mov ecx, eax
mov ebp, ecx
shr ecx, 2
lea esi, [edi + eax]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebx + 0x68]
mov esi, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x54]
sub edi, eax
sub esi, eax
sub ecx, eax
mov dword [ebx + 0x68], edi
mov edi, dword [ebx + 0x44]
mov dword [ebx + 0x54], ecx
mov ecx, dword [ebx + 0x3c]
mov dword [ebx + 0x64], esi
lea esi, [ecx + edi*2]
movzx ecx, word [esi - 2]
sub esi, 2
cmp ecx, eax
jb 0x70e4a31d
sub ecx, eax
jmp 0x70e4a31f
xor ecx, ecx
dec edi
mov word [esi], cx
jne 0x70e4a30e
mov ecx, dword [ebx + 0x38]
mov edi, eax
lea esi, [ecx + eax*2]
movzx ecx, word [esi - 2]
sub esi, 2
cmp ecx, eax
jb 0x70e4a33c
sub ecx, eax
jmp 0x70e4a33e
xor ecx, ecx
dec edi
mov word [esi], cx
jne 0x70e4a32d
add edx, eax
mov ebp, dword [ebx]
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x70e4a408
mov esi, dword [ebx + 0x64]
mov edi, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
add edi, esi
add edi, ecx
mov ecx, dword [ebp + 4]
mov esi, ecx
cmp esi, edx
mov dword [esp + 0xc], esi
jbe 0x70e4a373
mov dword [esp + 0xc], edx
mov esi, edx
test esi, esi
jne 0x70e4a37b
xor ecx, ecx
jmp 0x70e4a3c4
mov edx, dword [ebp + 0x1c]
sub ecx, esi
mov dword [ebp + 4], ecx
mov ecx, dword [edx + 0x18]
test ecx, ecx
jne 0x70e4a39d
mov edx, dword [ebp]
mov ecx, dword [ebp + 0x30]
push esi
call fcn.70e4ba68
mov dword [ebp + 0x30], eax
mov eax, dword [esp + 0x10]
mov ecx, esi
mov esi, dword [ebp]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0xc]
mov esi, dword [ebp]
mov edx, dword [ebp + 8]
add esi, ecx
add edx, ecx
mov dword [ebp], esi
mov dword [ebp + 8], edx
mov edx, dword [ebx + 0x6c]
add edx, ecx
mov edi, edx
cmp edi, 3
mov dword [ebx + 0x6c], edx
jb 0x70e4a3f3
mov ecx, dword [ebx + 0x64]
mov edx, dword [ebx + 0x30]
lea esi, [ecx + edx]
movzx edx, byte [esi]
mov ecx, dword [ebx + 0x50]
mov dword [ebx + 0x40], edx
shl edx, cl
movzx ecx, byte [esi + 1]
xor edx, ecx
and edx, dword [ebx + 0x4c]
mov dword [ebx + 0x40], edx
cmp edi, 0x106
jae 0x70e4a408
mov edx, dword [ebx]
mov ecx, dword [edx + 4]
test ecx, ecx
jne 0x70e4a29f
pop edi
pop esi
pop ebp
add esp, 8
ret
Function at 0x70e4b543
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test edx, edx
mov eax, ecx
jne 0x70e4b54e
xor eax, eax
ret 4
push esi
mov esi, dword [esp + 8]
cmp esi, 8
not eax
jb 0x70e4b63f
push ebx
push edi
mov edi, esi
shr edi, 3
xor ecx, ecx
mov cl, byte [edx]
mov ebx, eax
shr ebx, 8
sub esi, 8
xor ecx, eax
and ecx, 0xff
mov eax, dword [ecx*4 + 0x70e4b668]
xor eax, ebx
xor ecx, ecx
mov cl, byte [edx + 1]
inc edx
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x70e4b668]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [edx + 1]
inc edx
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x70e4b668]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [edx + 1]
inc edx
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x70e4b668]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [edx + 1]
inc edx
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x70e4b668]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [edx + 1]
inc edx
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x70e4b668]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [edx + 1]
inc edx
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x70e4b668]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [edx + 1]
inc edx
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x70e4b668]
shr eax, 8
xor eax, ecx
inc edx
dec edi
jne 0x70e4b565
pop edi
pop ebx
test esi, esi
je 0x70e4b65f
xor ecx, ecx
mov cl, byte [edx]
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x70e4b668]
shr eax, 8
xor eax, ecx
inc edx
dec esi
jne 0x70e4b643
not eax
pop esi
ret 4
Function at 0x70e4fb90
Capabilities:
Check for software breakpoints

Disassembly:
cmp dword [esi + 0x14], 0xcc
je 0x70e4fbb3
mov eax, dword [esi + 0x1a8]
push esi
call dword [eax]
mov dword [esi + 0x8c], 0
mov dword [esi + 0x14], 0xcc
mov ecx, dword [esi + 0x1a8]
mov eax, dword [ecx + 8]
test eax, eax
je 0x70e4fbd9
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x30
call dword [eax]
mov edx, dword [esi + 0x1a8]
mov eax, dword [edx + 8]
test eax, eax
jne 0x70e4fbc0
mov edx, dword [esi + 0x44]
xor eax, eax
test edx, edx
setne al
add eax, 0xcd
mov dword [esi + 0x14], eax
mov eax, 1
ret

Function at 0x70e4fc79
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x70e4fcab
push esi
call fcn.70e553b4
mov eax, dword [esi + 0x40]
test eax, eax
je 0x70e4fca4
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
ret 4
mov dword [esi + 0x14], 0xcb
mov ecx, dword [esi + 0x14]
cmp ecx, 0xcb
jne 0x70e4fd2a
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x70e4fd15
lea ebx, [ebx]
mov eax, dword [esi + 8]
test eax, eax
je 0x70e4fccf
push esi
call dword [eax]
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
test eax, eax
je 0x70e4fd0f
cmp eax, 2
je 0x70e4fd15
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x70e4fcc5
cmp eax, 3
je 0x70e4fcf2
cmp eax, 1
jne 0x70e4fcc5
mov eax, dword [ecx + 4]
inc eax
mov edx, eax
mov dword [ecx + 4], eax
mov eax, dword [ecx + 8]
cmp edx, eax
jl 0x70e4fcc5
mov edx, dword [esi + 0x144]
add edx, eax
mov dword [ecx + 8], edx
jmp 0x70e4fcc5
xor eax, eax
pop esi
ret 4
mov eax, dword [esi + 0x94]
mov dword [esi + 0x9c], eax
call fcn.70e4fb90
pop esi
ret 4
cmp ecx, 0xcc
je 0x70e4fd41
mov eax, dword [esi]
mov dword [eax + 0x14], 0x14
push esi
mov dword [eax + 0x18], ecx
call dword [eax]
call fcn.70e4fb90
pop esi
ret 4