joyce8/EMBER2024-capa huggingface dataset:
Function at 0x70dea150
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x70e6dd68]
push esi
xor esi, esi
cmp eax, esi
jne 0x70dea19b
push 0x48
call fcn.70d4fb28
cmp eax, esi
je 0x70dea176
mov ecx, eax
call fcn.70de9ffe
jmp 0x70dea178
xor eax, eax
cmp eax, esi
mov dword [0x70e6dd68], eax
je 0x70dea18e
cmp dword [eax], esi
je 0x70dea19b
push 1
mov ecx, eax
call fcn.70daabbb
mov dword [0x70e6dd68], esi
xor eax, eax
jmp 0x70dea243
push ebx
push edi
mov edi, dword [ebp + 8]
movzx ebx, di
mov ecx, ebx
sar ecx, 0x10
mov eax, dword [eax + ecx*4 + 4]
movzx edx, bh
mov eax, dword [eax + edx*4]
mov ecx, ebx
and ecx, 0xff
movzx eax, byte [eax + ecx]
sub eax, esi
je 0x70dea1f7
dec eax
je 0x70dea1cc
sub eax, 0xfe
jmp 0x70dea23f
mov esi, 0x3ff
and di, si
cmp di, 0x78
ja 0x70dea23f
and ebx, esi
mov ebx, dword [ebx*4 + 0x70d8e398]
lea eax, [ebx + ebx*4]
mov ax, word [eax*4 + 0x70d8ad38]
neg ax
sbb eax, eax
and eax, ebx
jmp 0x70dea241
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x70dea22b
cmp dword [0x70e6d5a8], esi
je 0x70dea248
push 0x14
lea eax, [ebp - 0x28]
push eax
push 0x13
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, 1
jbe 0x70dea22b
cmp word [ebp - 0x26], 0x31
jne 0x70dea317
mov ecx, dword [0x70e6dd68]
lea eax, [ebp + 0xb]
push eax
push ebx
or byte [ebp + 0xb], 0xff
call fcn.70dea097
xor eax, eax
pop edi
pop ebx
pop esi
leave
ret 4
mov eax, 0xc01
cmp ebx, eax
ja 0x70dea2c8
je 0x70dea317
cmp ebx, 0x447
ja 0x70dea294
cmp ebx, 0x446
jae 0x70dea317
mov eax, ebx
sub eax, 0x401
je 0x70dea317
sub eax, 0x1d
je 0x70dea317
dec eax
dec eax
je 0x70dea317
sub eax, 9
je 0x70dea317
jmp 0x70dea22b
cmp ebx, 0x44a
jb 0x70dea22b
cmp ebx, 0x44b
jbe 0x70dea317
cmp ebx, 0x44d
jbe 0x70dea22b
cmp ebx, 0x44f
jbe 0x70dea317
cmp ebx, 0x457
je 0x70dea317
cmp ebx, 0x801
jmp 0x70dea28c
mov eax, 0x3001
cmp ebx, eax
ja 0x70dea2f3
je 0x70dea317
cmp ebx, 0x2001
je 0x70dea317
cmp ebx, 0x2401
je 0x70dea317
cmp ebx, 0x2801
je 0x70dea317
cmp ebx, 0x2c01
jmp 0x70dea28c
cmp ebx, 0x3401
je 0x70dea317
cmp ebx, 0x3801
je 0x70dea317
cmp ebx, 0x3c01
je 0x70dea317
cmp ebx, 0x4001
jne 0x70dea22b
mov ecx, dword [0x70e6dd68]
mov esi, 0x3ff
lea eax, [ebp + 0xb]
and di, si
cmp di, 0x78
push eax
push ebx
ja 0x70dea236
mov byte [ebp + 0xb], 1
call fcn.70dea097
jmp 0x70dea1da

Function at 0x70df08cb
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push edi
xor edi, edi
cmp dword [0x70e6c074], edi
lea eax, [ebp - 0xc]
push eax
push edi
push edi
lea eax, [ebp - 4]
push edi
mov dword [ebp - 4], 0x104
push eax
je 0x70df0902
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x70df0937
lea eax, [ebp - 0x110]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, edi
jne 0x70df0937
push 0x104
push dword [ebp + 0x10]
lea eax, [ebp - 0x110]
push eax
call fcn.70da6951
neg eax
sbb eax, eax
and eax, 0xfffffff3
add eax, 0xd
pop edi
leave
ret 0xc
Function at 0x70df099e
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
cmp dword [0x70e6c074], 0
push dword [ebp + 0xc]
je 0x70df09be
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x70df09e9
lea ecx, [ebp - 0x10c]
call fcn.70d1da0c
cmp dword [ebp - 0x10c], 0x55464131
jne 0x70df09e6
push dword [ebp - 0x108]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x70df09e9
push 0xd
pop eax
leave
ret 8

Function at 0x70df09ed
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
cmp dword [0x70e6c074], 0
je 0x70df0a21
push dword [ebp + 0x10]
call fcn.70d3729d
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 0x70df0a84
push dword [ebp + 0xc]
lea ecx, [ebp - 0x218]
call fcn.70d1da0c
push dword [ebp + 0x10]
lea ecx, [ebp - 0x10c]
call fcn.70d1da0c
mov eax, 0x55464131
cmp dword [ebp - 0x218], eax
jne 0x70df0a81
cmp dword [ebp - 0x10c], eax
jne 0x70df0a81
mov eax, dword [ebp - 0x108]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x70df0a5b
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 0x70df0a84
push 0xd
pop eax
leave
ret 0xc

Function at 0x70df0a88
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
cmp dword [0x70e6c074], 0
je 0x70df0ab2
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 0x70df0aea
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10c]
call fcn.70d1da0c
cmp dword [ebp - 0x10c], 0x55464131
jne 0x70df0ae7
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 0x70df0aea
push 0xd
pop eax
leave
ret 0xc

Function at 0x70df0aee
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
cmp dword [0x70e6c074], 0
je 0x70df0b18
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 0x70df0b50
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10c]
call fcn.70d1da0c
cmp dword [ebp - 0x10c], 0x55464131
jne 0x70df0b4d
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 0x70df0b50
push 0xd
pop eax
leave
ret 0x10
Function at 0x70df0b54
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
cmp dword [0x70e6c074], 0
mov dword [ebp - 4], 4
je 0x70df0b88
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 0x70df0bbe
push dword [ebp + 0xc]
lea ecx, [ebp - 0x110]
call fcn.70d1da0c
cmp dword [ebp - 0x110], 0x55464131
jne 0x70df0bce
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 0x70df0bd1
cmp dword [ebp + 0xc], 4
jne 0x70df0bce
cmp dword [ebp - 4], 4
je 0x70df0bd1
push 0xd
pop eax
leave
ret 0xc

Function at 0x70df0bd5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
cmp dword [0x70e6c074], 0
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp + 0x14], edi
je 0x70df0c09
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 0x70df0c3f
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10c]
call fcn.70d1da0c
cmp dword [ebp - 0x10c], 0x55464131
jne 0x70df0c4e
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 0x70df0c51
cmp dword [ebp + 0xc], 3
jne 0x70df0c4e
cmp dword [ebp + 0x14], edi
je 0x70df0c51
push 0xd
pop eax
pop edi
leave
ret 0x10

Function at 0x70df163e
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
push edi
mov ebp, 0x70e6dca8
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x70e75044]
cmp eax, 1
jne 0x70df165d
xor edi, edi
jmp 0x70df1736
push 2
pop ecx
cmp eax, ecx
mov edi, 0x80004005
je 0x70df1736
push ebx
push 0x70df17c8
mov dword [0x70e75044], ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor ebx, ebx
cmp eax, ebx
mov dword [0x70e75048], eax
je 0x70df1735
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x70df17b4
push eax
call esi
push 0x70df17a0
push dword [0x70e75048]
mov dword [0x70e7504c], eax
call esi
push 0x70df1784
push dword [0x70e75048]
mov dword [0x70e75050], eax
call esi
push 0x70df1770
push dword [0x70e75048]
mov dword [0x70e75058], eax
call esi
push 0x70df175c
push dword [0x70e75048]
mov dword [0x70e75060], eax
call esi
push 0x70df1744
push dword [0x70e75048]
mov dword [0x70e75054], eax
call esi
cmp dword [0x70e7504c], ebx
mov dword [0x70e7505c], eax
pop esi
je 0x70df1735
cmp dword [0x70e75050], ebx
je 0x70df1735
cmp dword [0x70e75054], ebx
je 0x70df1735
cmp dword [0x70e75058], ebx
je 0x70df1735
cmp eax, ebx
je 0x70df1735
cmp dword [0x70e75060], ebx
je 0x70df1735
mov dword [0x70e75044], 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 0x70df1ac3
Capabilities:
Clear file content

Disassembly:
push esi
push 0x18
call fcn.70d4fb28
test eax, eax
je 0x70df1ada
mov ecx, eax
call fcn.70df1a60
mov esi, eax
jmp 0x70df1adc
xor esi, esi
test esi, esi
jne 0x70df1ae7
mov eax, 0x8007000e
jmp 0x70df1b55
push ebx
push dword [esp + 0xc]
call fcn.70d1d7bb
test eax, eax
mov dword [esi + 0x10], eax
jne 0x70df1aff
mov ebx, 0x8007000e
jmp 0x70df1b41
push 0x80
push 4
push 1
push 0x40000000
push dword [esp + 0x1c]
mov dword [esi + 0x14], 1
call fcn.70d1d6a6
cmp eax, 0xffffffff
mov dword [esi + 0xc], eax
je 0x70df1b2c
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
cmp dword [esi + 0xc], 0xffffffff
jne 0x70df1b3b
call fcn.70d1db1a
mov ebx, eax
jmp 0x70df1b3d
xor ebx, ebx
test ebx, ebx
jge 0x70df1b4c
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x38]
jmp 0x70df1b52
mov eax, dword [esp + 0x10]
mov dword [eax], esi
mov eax, ebx
pop ebx
pop esi
ret 8
Function at 0x70e06044
Capabilities:
Terminate process

Disassembly:
push 0x70e06084
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x70e06069
push 0x70e06074
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x70e06069
push dword [esp + 4]
call eax
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x70e061f7
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 + 0x70e6f660]
je 0x70e06217
inc eax
cmp eax, 0x12
jb 0x70e06208
shl eax, 3
cmp edx, dword [eax + 0x70e6f660]
mov dword [ebp + 8], eax
jne 0x70e063b5
mov ecx, dword [0x70e75064]
cmp ecx, 1
je 0x70e0638a
test ecx, ecx
jne 0x70e06249
cmp dword [0x70e75068], 1
je 0x70e0638a
cmp edx, 0xfc
je 0x70e063b5
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 0x70e06284
push 5
pop ecx
mov esi, 0x70e0640c
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 0x70e06293
sub eax, edx
inc eax
cmp eax, 0x3c
jbe 0x70e062cb
lea eax, [ebp - 0x10c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x70e062ab
sub eax, edx
push 3
lea ebx, [ebp + eax - 0x147]
push 0x70e06408
push ebx
call fcn.70d68656
add esp, 0xc
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x70e062d0
sub eax, edx
mov ecx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x70e6f664]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x70e062e7
sub eax, esi
lea eax, [eax + ecx + 0x1c]
add eax, 3
and eax, 0xfffffffc
call fcn.70d34fb4
mov edx, esp
push 6
pop ecx
mov esi, 0x70e063ec
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 0x70e06313
mov edi, edx
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x70e0631f
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 0x70e06338
mov eax, dword [ebp + 8]
mov esi, 0x70e063e8
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [eax + 0x70e6f664]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x70e06353
mov edi, edx
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x70e0635f
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0x12010
mov ecx, eax
and ecx, 3
push 0x70e063c0
push edx
rep movsb byte es:[edi], byte [esi]
call fcn.70e070e2
add esp, 0xc
jmp 0x70e063b5
mov ecx, dword [eax + 0x70e6f664]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x70e06395
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 0x70e070e2
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x70e75094], ebx
push esi
push edi
jne 0x70e07162
push 0x70d34b3c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x70e0719d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x70e07234
push edi
call esi
test eax, eax
mov dword [0x70e75094], eax
je 0x70e0719d
push 0x70e07224
push edi
call esi
push 0x70e07210
push edi
mov dword [0x70e75098], eax
call esi
cmp dword [0x70e6c1b8], 2
mov dword [0x70e7509c], eax
jne 0x70e07162
push 0x70e071f4
push edi
call esi
test eax, eax
mov dword [0x70e750a4], eax
je 0x70e07162
push 0x70e071dc
push edi
call esi
mov dword [0x70e750a0], eax
mov eax, dword [0x70e750a0]
test eax, eax
je 0x70e071a7
call eax
test eax, eax
je 0x70e0718e
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x70e750a4]
test eax, eax
je 0x70e0718e
test byte [ebp - 8], 1
jne 0x70e071a7
cmp dword [0x70e6c1c4], 4
jb 0x70e071a1
or byte [ebp + 0x12], 0x20
jmp 0x70e071c6
xor eax, eax
jmp 0x70e071d6
or byte [ebp + 0x12], 4
jmp 0x70e071c6
mov eax, dword [0x70e75098]
test eax, eax
je 0x70e071c6
call eax
mov ebx, eax
test ebx, ebx
je 0x70e071c6
mov eax, dword [0x70e7509c]
test eax, eax
je 0x70e071c6
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x70e75094]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x70e0839c
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.70d34fb4
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x70e08431
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 0x70e08431
cmp eax, 1
je 0x70e08449
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 0x70e08431
add ebx, dword [ebp - 0x18]
test dword [ebp - 0x14], edi
je 0x70e08406
test byte [ebp - 0xf], 1
mov ebx, dword [ebp - 0x24]
je 0x70e0842d
xor eax, eax
inc eax
jmp 0x70e08465
cmp esi, ebx
jae 0x70e08435
xor eax, eax
jmp 0x70e08465
push 4
push edi
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x70e6c1b8]
jmp 0x70e0844b
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 0x70e35f70
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 0x70e35fca
push edx
mov ecx, esi
call fcn.70e35e65
mov ecx, esi
call fcn.70e32dd1
movzx dx, bl
jmp 0x70e3606c
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 0x70e36004
movzx ecx, ax
mov ecx, dword [esi + ecx*4 + 0x20]
mov dword [ebp - 0xc], ecx
and ecx, 0xfffff
cmp ebx, ecx
je 0x70e36047
mov eax, dword [ebp - 0xc]
shr eax, 0x14
test ax, ax
jne 0x70e35fea
push edx
mov ecx, esi
call fcn.70e35e65
xor eax, eax
mov ax, word [esi + 2]
cmp ax, 0xfff
jae 0x70e3604b
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 0x70e36067
inc cl
mov byte [esi + 1], cl
jmp 0x70e36067
mov edx, eax
jmp 0x70e3606c
cmp byte [esi + 0xd], 0
jne 0x70e36067
mov cl, byte [esi]
xor eax, eax
inc eax
shl eax, cl
mov ecx, esi
push eax
call fcn.70e35e65
mov ecx, esi
call fcn.70e32dd1
movzx dx, byte [ebp - 2]
mov ecx, dword [ebp + 0xc]
sub dword [ebp + 0x10], ecx
cmp dword [ebp + 0x10], ecx
jl 0x70e36082
shl dword [ebp + 8], cl
mov al, byte [ebp - 3]
jmp 0x70e35f99
pop edi
mov word [esi + 0xe], dx
pop esi
mov al, 1
pop ebx
leave
ret 0xc

Function at 0x70e3d5fb
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 0x70e3d620
mov dl, byte [esi + 0x1c]
mov byte [ebx], dl
cmp dword [ebp + 0x10], ecx
jne 0x70e3d648
push 0xc
push esi
mov dx, 0x10
call fcn.70e3d27f
push 0xc
push esi
mov dx, 0x10
call fcn.70e3d27f
cmp dword [esi + 0xc], 0
je 0x70e3d6a1
inc dword [esi + 0x18]
jmp 0x70e3d6a1
cmp dword [esi + 0x14], eax
jne 0x70e3d65c
push 0xc
push esi
mov dx, 0x10
mov dword [esi + 0x14], ecx
call fcn.70e3d27f
mov edx, dword [esi + 4]
mov ecx, dword [ebp + 0x10]
mov eax, edi
call fcn.70e3d13c
test eax, eax
jle 0x70e3d687
mov ebx, eax
push dword [ebp - 4]
movzx eax, word [edi]
push esi
call fcn.70e3d2da
xor dword [ebp - 4], 1
inc edi
inc edi
dec ebx
jne 0x70e3d66f
mov ebx, dword [ebp + 0xc]
push 0xc
push esi
mov dx, 0x10
call fcn.70e3d27f
cmp dword [esi + 0xc], 0
je 0x70e3d6a1
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 0x70e3d6ad
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.70e3d13c
mov ecx, dword [ebp + 0xc]
and dword [esi + 0xc], 0
test eax, eax
mov dword [esi + 0x18], ecx
jle 0x70e3d6ee
mov dword [ebp + 8], eax
movzx eax, word [edi]
push ebx
push esi
call fcn.70e3d2da
inc edi
inc edi
xor ebx, 1
dec dword [ebp + 8]
jne 0x70e3d6da
cmp dword [esi + 0xc], 0
je 0x70e3d6f7
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 0x70e4b5bb
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test edx, edx
mov eax, ecx
jne 0x70e4b5c6
xor eax, eax
ret 4
push esi
mov esi, dword [esp + 8]
cmp esi, 8
not eax
jb 0x70e4b6b7
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 + 0x70e4b6e0]
xor eax, ebx
xor ecx, ecx
mov cl, byte [edx + 1]
inc edx
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x70e4b6e0]
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 + 0x70e4b6e0]
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 + 0x70e4b6e0]
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 + 0x70e4b6e0]
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 + 0x70e4b6e0]
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 + 0x70e4b6e0]
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 + 0x70e4b6e0]
shr eax, 8
xor eax, ecx
inc edx
dec edi
jne 0x70e4b5dd
pop edi
pop ebx
test esi, esi
je 0x70e4b6d7
xor ecx, ecx
mov cl, byte [edx]
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x70e4b6e0]
shr eax, 8
xor eax, ecx
inc edx
dec esi
jne 0x70e4b6bb
not eax
pop esi
ret 4
Function at 0x70e4fc08
Capabilities:
Check for software breakpoints

Disassembly:
cmp dword [esi + 0x14], 0xcc
je 0x70e4fc2b
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 0x70e4fc51
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 0x70e4fc38
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 0x70e4fcf1
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x70e4fd23
push esi
call fcn.70e55424
mov eax, dword [esi + 0x40]
test eax, eax
je 0x70e4fd1c
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 0x70e4fda2
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x70e4fd8d
lea ebx, [ebx]
mov eax, dword [esi + 8]
test eax, eax
je 0x70e4fd47
push esi
call dword [eax]
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
test eax, eax
je 0x70e4fd87
cmp eax, 2
je 0x70e4fd8d
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x70e4fd3d
cmp eax, 3
je 0x70e4fd6a
cmp eax, 1
jne 0x70e4fd3d
mov eax, dword [ecx + 4]
inc eax
mov edx, eax
mov dword [ecx + 4], eax
mov eax, dword [ecx + 8]
cmp edx, eax
jl 0x70e4fd3d
mov edx, dword [esi + 0x144]
add edx, eax
mov dword [ecx + 8], edx
jmp 0x70e4fd3d
xor eax, eax
pop esi
ret 4
mov eax, dword [esi + 0x94]
mov dword [esi + 0x9c], eax
call fcn.70e4fc08
pop esi
ret 4
cmp ecx, 0xcc
je 0x70e4fdb9
mov eax, dword [esi]
mov dword [eax + 0x14], 0x14
push esi
mov dword [eax + 0x18], ecx
call dword [eax]
call fcn.70e4fc08
pop esi
ret 4