joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10013920
Capabilities:
Delete file

Disassembly:
push esi
mov esi, eax
mov eax, dword [esi + 8]
push edi
xor edi, edi
cmp eax, 0xffffffff
je 0x10013941
push eax
mov edi, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0xffffffff
test edi, edi
je 0x1001397b
cmp dword [esi + 0x40], 0
jne 0x1001395b
cmp dword [esi + 0x28], 8
jb 0x10013956
mov esi, dword [esi + 0x14]
jmp 0x10013969
add esi, 0x14
jmp 0x10013969
cmp dword [esi + 0x44], 8
jb 0x10013966
mov esi, dword [esi + 0x30]
jmp 0x10013969
add esi, 0x30
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1001397b
pop edi
pop esi
jmp fcn.10006a70
pop edi
xor eax, eax
pop esi
ret

Function at 0x10013980
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push esi
mov esi, eax
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x10013999
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0xffffffff
cmp dword [esi + 0x40], 0
je 0x10013a09
push edi
mov edi, 8
cmp dword [esi + 0x28], edi
jb 0x100139af
mov eax, dword [esi + 0x14]
jmp 0x100139b2
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100139dc
cmp dword [esi + 0x28], edi
jb 0x100139c7
mov eax, dword [esi + 0x14]
jmp 0x100139ca
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x100139dc
pop edi
pop esi
jmp fcn.10006a70
cmp dword [esi + 0x28], edi
jb 0x100139e6
mov eax, dword [esi + 0x14]
jmp 0x100139e9
lea eax, [esi + 0x14]
cmp dword [esi + 0x44], edi
jb 0x100139f3
mov esi, dword [esi + 0x30]
jmp 0x100139f6
add esi, 0x30
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
pop edi
test eax, eax
jne 0x10013a09
pop esi
jmp fcn.10006a70
xor eax, eax
pop esi
ret
Function at 0x100160d0
Capabilities:
Extract resource via kernel32 functions
Get file size
Read file on windows

Disassembly:
push ecx
push ebp
push edi
push 0
push 0x8000000
push 3
push 0
push 3
push 0xc0000000
push eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x100160fb
pop edi
xor eax, eax
pop ebp
pop ecx
ret
push esi
push 0
push 2
push 0
push edi
call fcn.1005be40
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x1001611f
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
pop edi
xor eax, eax
pop ebp
pop ecx
ret
push 0x409
push 0xce
push str.SFXJPG
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
jne 0x10016147
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
pop edi
xor eax, eax
pop ebp
pop ecx
ret
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov edi, eax
test edi, edi
je 0x10016140
push ebx
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
call fcn.10047ea4
mov ebx, eax
add esp, 4
mov dword [esp + 0x10], 0
test ebx, ebx
je 0x1001619f
push 0
lea ecx, [esp + 0x14]
push ecx
push esi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x100161e9
cmp esi, dword [esp + 0x10]
jne 0x100161e9
push esi
push ebx
push 0x409
push 0xce
push str.SFXJPG
push edi
call dword [sym.imp.KERNEL32.dll_UpdateResourceW]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceW]
push ebx
test eax, eax
je 0x100161f3
call fcn.1004852e
add esp, 4
pop ebx
pop esi
pop edi
mov eax, 1
pop ebp
pop ecx
ret
push 1
push edi
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceW]
push ebx
call fcn.1004852e
add esp, 4
pop ebx
pop esi
pop edi
xor eax, eax
pop ebp
pop ecx
ret
Function at 0x10016210
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x1005d858
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10071430]
xor eax, esp
mov dword [esp + 0x20], eax
push ebp
push esi
push edi
mov eax, dword [0x10071430]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
push 0x409
push 1
mov esi, ecx
push 0x18
push esi
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov edi, eax
test edi, edi
jne 0x1001626f
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x1001639b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebp
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
call fcn.10001970
push esi
mov dword [esp + 0x40], 0
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, str._asInvoker_
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100162c0
sub eax, edx
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.10016a40
cmp eax, 0xffffffff
jne 0x100162f4
cmp dword [esp + 0x2c], 0x10
jb 0x100162ed
mov edx, dword [esp + 0x18]
push edx
call fcn.10047eaf
add esp, 4
xor eax, eax
jmp 0x1001639b
mov ecx, str._asInvoker_
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x10016300
sub ecx, esi
mov esi, ecx
mov ecx, str._requireAdministrator_
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x10016313
sub ecx, edi
push ecx
push esi
lea edi, [esp + 0x1c]
call fcn.10016850
mov eax, dword [esp + 0x10]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov esi, eax
test esi, esi
jne 0x10016352
cmp dword [esp + 0x2c], 0x10
jb 0x100162ed
mov ecx, dword [esp + 0x18]
push ecx
call fcn.10047eaf
add esp, 4
xor eax, eax
jmp 0x1001639b
cmp dword [esp + 0x2c], 0x10
mov eax, dword [esp + 0x18]
jae 0x10016361
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x28]
push edx
push eax
push 0x409
push 1
push 0x18
push esi
call dword [sym.imp.KERNEL32.dll_UpdateResourceW]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceW]
lea ecx, [esp + 0x14]
test eax, eax
jne 0x10016391
call fcn.10001e70
xor eax, eax
jmp 0x1001639b
call fcn.10001e70
mov eax, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.10047eba
add esp, 0x30
ret 4
Function at 0x10017b70
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
lea ebp, [ebx + 0x1c]
shr ebx, 2
mov eax, ebx
shr eax, 1
add eax, 3
push esi
mov dword [ecx], eax
add ecx, 0x10
xor esi, esi
mov dword [esp + 0xc], ebp
test ebx, ebx
jbe 0x10017ba1
mov eax, dword [edx]
mov dword [ecx + esi*4], eax
inc esi
add edx, 4
cmp esi, ebx
jb 0x10017b94
cmp esi, ebp
jae 0x10017c92
mov edx, esi
sub edx, ebx
lea eax, [ecx + edx*4]
mov dword [esp + 0x14], eax
push edi
xor edx, edx
mov eax, esi
div ebx
mov edi, dword [ecx + esi*4 - 4]
test edx, edx
jne 0x10017c1e
movzx eax, byte [eax + 0x10072d30]
mov edx, edi
and edx, 0xff
movzx edx, byte [edx + str.cw]
mov ebp, edi
shr ebp, 0x18
movzx ebp, byte [ebp + str.cw]
shl edx, 8
or edx, ebp
mov ebp, edi
shr ebp, 0x10
shr edi, 8
and ebp, 0xff
movzx ebp, byte [ebp + str.cw]
and edi, 0xff
movzx edi, byte [edi + str.cw]
shl edx, 8
or edx, ebp
mov ebp, dword [esp + 0x10]
shl edx, 8
xor edi, eax
or edi, edx
jmp 0x10017c76
cmp ebx, 6
jbe 0x10017c76
cmp edx, 4
jne 0x10017c76
mov edx, edi
shr edx, 0x10
and edx, 0xff
movzx eax, byte [edx + str.cw]
mov edx, edi
shr edx, 0x18
movzx edx, byte [edx + str.cw]
shl edx, 8
or eax, edx
mov edx, edi
shr edx, 8
and edx, 0xff
movzx edx, byte [edx + str.cw]
shl eax, 8
and edi, 0xff
or eax, edx
movzx edx, byte [edi + str.cw]
shl eax, 8
or eax, edx
mov edi, eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
xor edx, edi
mov dword [ecx + esi*4], edx
inc esi
add eax, 4
mov dword [esp + 0x18], eax
cmp esi, ebp
jb 0x10017bb5
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x100188c0
Capabilities:
Hash data using sha256

Disassembly:
sub esp, 0x88
mov eax, dword [0x10071430]
xor eax, esp
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x8c]
push ebx
xor ebx, ebx
push ebp
xor ecx, ecx
mov dword [esp + 0x14], eax
xor eax, eax
push esi
push edi
mov dword [esp + 0x20], 0x6a09e667
mov dword [esp + 0x24], 0xbb67ae85
mov dword [esp + 0x28], 0x3c6ef372
mov dword [esp + 0x2c], 0xa54ff53a
mov dword [esp + 0x30], 0x510e527f
mov dword [esp + 0x34], 0x9b05688c
mov dword [esp + 0x38], 0x1f83d9ab
mov dword [esp + 0x3c], 0x5be0cd19
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x8c], bl
mov dword [esp + 0x8d], eax
mov word [esp + 0x91], ax
mov byte [esp + 0x93], al
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
jmp 0x10018964
mov ecx, dword [esp + 0x40]
mov ebp, dword [esp + 0xa4]
mov edi, dword [esp + 0xa0]
mov esi, ecx
and esi, 0x3f
cmp ebp, ebx
jbe 0x100189aa
jmp 0x10018980
mov cl, byte [edi]
mov byte [esp + esi + 0x48], cl
inc esi
inc edi
add dword [esp + 0x40], 1
adc dword [esp + 0x44], ebx
dec ebp
cmp esi, 0x40
jne 0x100189a2
lea edx, [esp + 0x20]
xor esi, esi
call fcn.10019940
cmp ebp, ebx
ja 0x10018980
mov ecx, dword [esp + 0x40]
and ecx, 0x3f
mov ebp, 8
lea edi, [esp + 0x8c]
mov esi, ecx
jmp 0x100189c0
mov dl, byte [edi]
mov byte [esp + esi + 0x48], dl
inc esi
inc edi
add dword [esp + 0x40], 1
adc dword [esp + 0x44], ebx
dec ebp
cmp esi, 0x40
jne 0x100189e2
lea edx, [esp + 0x20]
xor esi, esi
call fcn.10019940
cmp ebp, ebx
ja 0x100189c0
xor eax, eax
jmp 0x100189f0
add byte [esp + eax + 0x8c], 1
jne 0x10018a00
inc eax
cmp eax, 8
jl 0x100189f0
add dword [esp + 0x10], 1
adc dword [esp + 0x14], ebx
jne 0x10018a19
cmp dword [esp + 0x10], 0x80000
jb 0x10018960
mov eax, dword [esp + 0x1c]
lea edi, [esp + 0x20]
call fcn.10019a00
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10047eba
add esp, 0x88
ret 0xc
Function at 0x10018c00
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0x7c
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x20], 0x67452301
mov dword [esp + 0x24], 0xefcdab89
mov dword [esp + 0x28], 0x98badcfe
mov dword [esp + 0x2c], 0x10325476
mov dword [esp + 0x30], 0xc3d2e1f0
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x10], eax
push 4
lea eax, [esp + 0x14]
lea esi, [esp + 0x24]
call fcn.10019550
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 0x10], eax
push 4
lea eax, [esp + 0x14]
call fcn.10019550
mov dword [esp + 0x10], 0x3e8
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x10018c91
push 8
lea eax, [esp + 0x1c]
lea esi, [esp + 0x24]
call fcn.10019550
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
push 4
lea eax, [esp + 0x18]
lea esi, [esp + 0x24]
call fcn.10019550
mov ebp, 0x64
nop
mov eax, 0x10072d80
lea edi, [esp + 0x20]
call fcn.100195c0
push 0x14
mov eax, 0x10072d80
mov esi, edi
mov dword [esp + 0x24], 0x67452301
mov dword [esp + 0x28], 0xefcdab89
mov dword [esp + 0x2c], 0x98badcfe
mov dword [esp + 0x30], 0x10325476
mov dword [esp + 0x34], 0xc3d2e1f0
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call fcn.10019550
sub ebp, 1
jne 0x10018cb0
sub dword [esp + 0x10], 1
jne 0x10018c73
mov eax, 0x10072d80
call fcn.100195c0
pop edi
pop esi
pop ebp
mov byte [0x10072d94], bl
pop ebx
add esp, 0x7c
ret
Function at 0x10018d30
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0x8c
mov eax, dword [0x10071430]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
mov ebp, dword [esp + 0x98]
push esi
push edi
push 0x10075ea0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
cmp byte [0x10072d94], bl
je 0x10018d69
call fcn.10018c00
cmp dword [esp + 0xa4], ebx
jbe 0x10018e5c
mov dword [esp + 0x14], 0xf672abd1
mov edi, edi
push 0x14
mov eax, 0x10072d80
lea esi, [esp + 0x1c]
mov dword [esp + 0x1c], 0x67452301
mov dword [esp + 0x20], 0xefcdab89
mov dword [esp + 0x24], 0x98badcfe
mov dword [esp + 0x28], 0x10325476
mov dword [esp + 0x2c], 0xc3d2e1f0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.10019550
mov eax, 0x10072d80
mov edi, esi
call fcn.100195c0
push 4
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], 0x67452301
mov dword [esp + 0x20], 0xefcdab89
mov dword [esp + 0x24], 0x98badcfe
mov dword [esp + 0x28], 0x10325476
mov dword [esp + 0x2c], 0xc3d2e1f0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.10019550
push 0x14
mov eax, 0x10072d80
call fcn.10019550
lea eax, [esp + 0x80]
call fcn.100195c0
xor eax, eax
lea esp, [esp]
mov esi, dword [esp + 0xa4]
cmp esi, ebx
jbe 0x10018e5c
mov cl, byte [esp + eax + 0x80]
mov byte [ebp], cl
inc eax
dec esi
inc ebp
mov dword [esp + 0xa4], esi
cmp eax, 0x14
jb 0x10018e30
cmp esi, ebx
ja 0x10018d80
push 0x10075ea0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10047eba
add esp, 0x8c
ret 8
Function at 0x100195c0
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 8
mov ecx, dword [edi + 0x18]
push ebx
mov ebx, dword [edi + 0x20]
push ebp
push esi
xor ebp, ebp
push ebp
mov esi, eax
mov eax, dword [edi + 0x1c]
push 0x40
push eax
push ecx
call fcn.10056550
xor ecx, ecx
push ebp
add eax, ebx
push 8
adc edx, ecx
push edx
push eax
call fcn.10056550
mov dword [esp + 0xc], eax
mov eax, ebx
and eax, 3
shr ebx, 2
mov dword [esp + 0x10], edx
cmp eax, ebp
jne 0x10019605
mov dword [edi + ebx*4 + 0x24], ebp
mov ecx, 3
sub ecx, eax
add ecx, ecx
add ecx, ecx
add ecx, ecx
mov edx, 0x80
shl edx, cl
inc ebx
or dword [edi + ebx*4 + 0x20], edx
cmp ebx, 0xe
je 0x10019644
and ebx, 0xf
jne 0x1001963a
push edi
lea eax, [edi + 0x24]
push eax
push edi
call fcn.10018e90
add dword [edi + 0x18], 1
adc dword [edi + 0x1c], ebp
mov dword [edi + ebx*4 + 0x24], ebp
inc ebx
cmp ebx, 0xe
jne 0x10019623
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push edi
lea eax, [edi + 0x24]
push eax
mov dword [edi + ebx*4 + 0x24], ecx
push edi
mov dword [edi + ebx*4 + 0x28], edx
call fcn.10018e90
add dword [edi + 0x18], 1
adc dword [edi + 0x1c], ebp
mov eax, dword [edi]
inc esi
inc esi
mov ecx, eax
shr ecx, 0x18
mov byte [esi - 2], cl
inc esi
mov edx, eax
shr edx, 0x10
mov byte [esi - 2], dl
mov ecx, eax
shr ecx, 8
mov byte [esi - 1], cl
mov byte [esi], al
mov eax, dword [edi + 4]
inc esi
inc esi
inc esi
mov edx, eax
shr edx, 0x18
mov byte [esi - 2], dl
mov ecx, eax
shr ecx, 0x10
mov byte [esi - 1], cl
inc esi
mov edx, eax
shr edx, 8
mov byte [esi - 1], dl
mov byte [esi], al
mov eax, dword [edi + 8]
inc esi
inc esi
mov ecx, eax
shr ecx, 0x18
mov byte [esi - 1], cl
inc esi
mov edx, eax
shr edx, 0x10
mov byte [esi - 1], dl
mov ecx, eax
shr ecx, 8
mov byte [esi], cl
mov byte [esi + 1], al
mov eax, dword [edi + 0xc]
inc esi
inc esi
mov edx, eax
shr edx, 0x18
mov byte [esi], dl
inc esi
mov ecx, eax
shr ecx, 0x10
mov byte [esi], cl
inc esi
mov edx, eax
shr edx, 8
mov byte [esi], dl
inc esi
mov byte [esi], al
mov eax, dword [edi + 0x10]
inc esi
mov ecx, eax
shr ecx, 0x18
mov byte [esi], cl
mov edx, eax
inc esi
shr edx, 0x10
mov byte [esi], dl
inc esi
mov ecx, eax
shr ecx, 8
mov byte [esi], cl
mov byte [esi + 1], al
pop esi
mov dword [edi + 0x18], ebp
mov dword [edi + 0x1c], ebp
mov dword [edi + 0x20], ebp
pop ebp
mov dword [edi], 0x67452301
mov dword [edi + 4], 0xefcdab89
mov dword [edi + 8], 0x98badcfe
mov dword [edi + 0xc], 0x10325476
mov dword [edi + 0x10], 0xc3d2e1f0
pop ebx
add esp, 8
ret
Function at 0x10019e60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
push esi
mov dword [eax + 0x30], edx
mov dword [eax + 0x20], edx
mov dword [eax + 0x2c], 0x20
mov dword [eax + 0x50], 1
mov dword [eax + 0x48], 4
mov dword [eax + 0x4c], edx
mov dword [eax + 0x54], edx
lea esi, [eax + 0x6c]
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [esi], ecx
inc edx
add esi, 4
cmp edx, 0x100
jb 0x10019e87
pop esi
ret

Function at 0x1001e2b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor eax, eax
or ecx, 0x100
push edi
lea ebx, [ebx]
mov ebx, ecx
shr ebx, 7
mov edi, ecx
shr edi, 8
movzx edi, word [esi + edi*2]
and ebx, 1
neg ebx
sar ebx, 4
shr edi, 4
and ebx, 0x7f
xor edi, ebx
add eax, dword [edx + edi*4]
add ecx, ecx
cmp ecx, 0x10000
jb 0x1001e2c0
pop edi
pop ebx
ret

Function at 0x1001e2f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, eax
mov edx, pe_nt_image_headers32
xor eax, eax
or ecx, edx
mov edi, edi
add esi, esi
mov ebx, edx
and ebx, esi
add ebx, edx
mov ebp, ecx
shr ebp, 8
add ebp, ebx
mov ebx, dword [esp + 0x10]
movzx ebx, word [ebx + ebp*2]
mov ebp, ecx
shr ebp, 7
and ebp, 1
neg ebp
shr ebx, 4
sar ebp, 4
and ebp, 0x7f
xor ebx, ebp
add eax, dword [edi + ebx*4]
add ecx, ecx
mov ebx, ecx
xor ebx, esi
not ebx
and edx, ebx
cmp ecx, 0x10000
jb 0x1001e300
pop esi
pop ebp
pop ebx
ret

Function at 0x1001e460
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, eax
mov edi, ecx
xor eax, eax
lea edx, [eax + 1]
test edi, edi
je 0x1001e4a2
push ebx
push ebp
mov ebx, dword [esp + 0x14]
movzx ebx, word [ebx + edx*2]
mov ecx, esi
and ecx, 1
mov ebp, ecx
neg ebp
sar ebp, 4
and ebp, 0x7f
shr ebx, 4
xor ebx, ebp
mov ebp, dword [esp + 0x18]
add eax, dword [ebp + ebx*4]
add edx, edx
shr esi, 1
or edx, ecx
sub edi, 1
jne 0x1001e471
pop ebp
pop ebx
pop edi
pop esi
ret
Function at 0x1001e5f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
movzx eax, word [ebx]
mov ecx, eax
shr ecx, 4
mov edx, dword [esi + ecx*4]
movzx ecx, word [ebx + 2]
mov dword [esp], edx
mov edx, ecx
xor eax, 0x7f0
xor ecx, 0x7f0
shr edx, 4
mov edx, dword [esi + edx*4]
shr eax, 4
mov eax, dword [esi + eax*4]
shr ecx, 4
mov ecx, dword [esi + ecx*4]
add edx, eax
add ecx, eax
push ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
xor edx, edx
push edi
cmp edx, dword [esp + 0x1c]
jae 0x1001e763
mov eax, edx
or eax, 8
xor edi, edi
cmp eax, 1
je 0x1001e67a
lea ebx, [ebx]
mov ebp, dword [esp + 0x18]
mov ecx, eax
shr ecx, 1
and eax, 1
lea ebp, [ecx + ebp*8]
movzx ebp, word [ebx + ebp*2 + 4]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edi, dword [esi + ebp*4]
mov eax, ecx
cmp eax, 1
jne 0x1001e650
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x20]
add edi, eax
mov dword [ecx + edx*4], edi
inc edx
cmp edx, 8
jb 0x1001e634
cmp edx, 0x10
jae 0x1001e6fd
lea eax, [edx - 8]
mov dword [esp + 8], eax
lea esp, [esp]
cmp edx, dword [esp + 0x1c]
jae 0x1001e763
or eax, 8
xor edi, edi
cmp eax, 1
je 0x1001e6e1
mov ebp, dword [esp + 0x18]
mov ecx, eax
shr ecx, 1
and eax, 1
lea ebp, [ecx + ebp*8]
movzx ebp, word [ebx + ebp*2 + 0x104]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edi, dword [esi + ebp*4]
mov eax, ecx
cmp eax, 1
jne 0x1001e6b4
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
add edi, eax
mov eax, dword [esp + 8]
mov dword [ecx + edx*4], edi
inc edx
inc eax
mov dword [esp + 8], eax
cmp edx, 0x10
jb 0x1001e6a0
cmp edx, dword [esp + 0x1c]
jae 0x1001e763
lea eax, [edx - 0x10]
mov dword [esp + 8], eax
lea ebx, [ebx]
or eax, 0x100
xor edi, edi
cmp eax, 1
je 0x1001e746
lea esp, [esp]
mov ecx, eax
and eax, 1
shr ecx, 1
movzx ebp, word [ebx + ecx*2 + 0x204]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edi, dword [esi + ebp*4]
mov eax, ecx
cmp eax, 1
jne 0x1001e720
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add edi, eax
mov eax, dword [esp + 8]
mov dword [ecx + edx*4], edi
inc edx
inc eax
mov dword [esp + 8], eax
cmp edx, dword [esp + 0x1c]
jb 0x1001e710
pop edi
pop ebp
add esp, 0xc
ret
Function at 0x10020250
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
xor esi, esi
lea eax, [edi + 0x3254c]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
jmp 0x10020270
xor edx, edx
lea ecx, [edx + 1]
mov dword [esp + 0xc], 4
lea ecx, [ecx]
movzx ebx, word [edi + ecx*2 + 0x32bf0]
mov eax, esi
and eax, 1
mov ebp, eax
neg ebp
sar ebp, 4
shr ebx, 4
and ebp, 0x7f
xor ebx, ebp
add edx, dword [edi + ebx*4 + 0x30e9c]
add ecx, ecx
shr esi, 1
or ecx, eax
sub dword [esp + 0xc], 1
jne 0x10020280
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
inc esi
mov dword [eax], edx
add eax, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
cmp esi, 0x10
jb 0x10020270
pop esi
pop ebp
mov dword [edi + 0x3258c], 0
pop ebx
add esp, 0xc
ret

Function at 0x100202e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x210
push ebx
push ebp
push edi
mov edi, 4
lea ebp, [esi + 0x30e9c]
movzx ebx, byte [esi + edi + 0x3069c]
mov ecx, ebx
mov edx, ebx
and edx, 1
shr ecx, 1
or edx, 2
dec ecx
shl edx, cl
mov eax, edi
push ebp
sub eax, edx
sub edx, ebx
lea edx, [esi + edx*2 + 0x32b0a]
push edx
call fcn.1001e460
mov dword [esp + edi*4 + 0x24], eax
inc edi
add esp, 8
cmp edi, 0x80
jb 0x100202f4
lea ebp, [esp + 0x1c]
sub ebp, esi
lea eax, [esi + 0x3290c]
lea ecx, [esi + 0x31d54]
sub ebp, 0x31d4c
lea edi, [esi + 0x3194c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], 4
jmp 0x10020367
mov ecx, dword [esp + 0xc]
xor ebx, ebx
cmp dword [esi + 0x32590], ebx
jbe 0x100203bf
mov eax, ebx
or eax, 0x40
xor edx, edx
cmp eax, 1
je 0x100203b3
lea ecx, [ecx]
mov ebp, dword [esp + 0x10]
mov ecx, eax
and eax, 1
shr ecx, 1
movzx ebp, word [ebp + ecx*2]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edx, dword [esi + ebp*4 + 0x30e9c]
mov eax, ecx
cmp eax, 1
jne 0x10020380
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov dword [edi + ebx*4], edx
inc ebx
cmp ebx, dword [esi + 0x32590]
jb 0x10020371
mov eax, 0xe
cmp dword [esi + 0x32590], eax
jbe 0x100203e6
lea esp, [esp]
mov edx, eax
shr edx, 1
sub edx, 5
shl edx, 4
add dword [edi + eax*4], edx
inc eax
cmp eax, dword [esi + 0x32590]
jb 0x100203d0
mov eax, dword [edi]
mov dword [ecx - 8], eax
mov edx, dword [edi + 4]
mov dword [ecx - 4], edx
mov eax, dword [edi + 8]
mov dword [ecx], eax
mov edx, dword [edi + 0xc]
mov dword [ecx + 4], edx
mov eax, 4
add ecx, 8
jmp 0x10020410
movzx edx, byte [esi + eax + 0x3069c]
mov edx, dword [edi + edx*4]
add edx, dword [ecx + ebp]
inc eax
mov dword [ecx], edx
add ecx, 4
cmp eax, 0x80
jb 0x10020410
sub dword [esp + 0x10], 0xffffff80
add dword [esp + 0xc], 0x200
sub ebp, 0x200
add edi, 0x100
sub dword [esp + 0x18], 1
mov dword [esp + 0x14], ebp
jne 0x10020363
pop edi
pop ebp
mov dword [esi + 0x3bcf0], 0
pop ebx
add esp, 0x210
ret