joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b790
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b558b
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x68cc00]
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 ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, eax
mov edi, dword [ebp + 0x14]
mov dword [ebx], 0
mov dword [ebp - 0x244], eax
mov dword [esi], 0xffffffff
call fcn.00406e40
test al, al
je 0x43b7fe
test edi, edi
je 0x43b7f7
mov eax, dword [edi]
mov ecx, edi
push str.GetAttributes:_filename_is_empty
call dword [eax + 0x14]
xor al, al
jmp 0x43b8e6
push 0x118
lea eax, [ebp - 0x128]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x128]
call fcn.00403870
push dword [ebp - 0x244]
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0
call fcn.00404510
push 0x5c
push 0x2f
lea ecx, [ebp - 0x128]
call fcn.004071a0
lea ecx, [ebp - 0x128]
call fcn.00406120
test eax, eax
jle 0x43b8b2
push 0x118
lea eax, [ebp - 0x240]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x240]
call fcn.00403870
push edi
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.0043be20
add esp, 0xc
lea ecx, [ebp - 0x240]
call fcn.00406cc0
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
lea ecx, [ebp - 0x240]
mov dword [esi], eax
call fcn.00403900
jmp 0x43b8c6
lea ecx, [ebp - 0x128]
call fcn.00406cc0
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
mov dword [esi], eax
cmp dword [esi], 0xffffffff
jne 0x43b8d6
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebx], eax
cmp dword [esi], 0xffffffff
lea ecx, [ebp - 0x128]
setne bl
call fcn.00403900
mov al, bl
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.005af5a8
mov esp, ebp
pop ebp
ret
Function at 0x43c820
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b571b
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x68cc00]
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 esi, dword [ebp + 8]
lea eax, [ebp - 0x128]
mov edi, dword [ebp + 0xc]
push 0x118
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x128]
call fcn.00403870
push esi
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0
call fcn.00404510
push 0x5c
push 0x2f
lea ecx, [ebp - 0x128]
call fcn.004071a0
lea ecx, [ebp - 0x128]
call fcn.00406120
test eax, eax
jle 0x43c90a
push 0x118
lea eax, [ebp - 0x240]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x240]
call fcn.00403870
push 0
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.0043be20
add esp, 0xc
lea ecx, [ebp - 0x240]
push 0
call fcn.00406cc0
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.00403900
jmp 0x43c920
push 0
lea ecx, [ebp - 0x128]
call fcn.00406cc0
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov esi, eax
test esi, esi
jne 0x43c957
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
jne 0x43c935
mov bl, 1
jmp 0x43c95a
test edi, edi
je 0x43c955
mov eax, dword [edi]
mov ecx, edi
push 1
push str.createDirWin32
call dword [eax + 0x24]
mov ecx, edi
call fcn.00448fd0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
test esi, esi
setne bl
lea ecx, [ebp - 0x128]
call fcn.00403900
mov al, bl
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.005af5a8
mov esp, ebp
pop ebp
ret
Function at 0x43ca40
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b5776
mov eax, dword fs:[0]
push eax
mov eax, 0x1354
call fcn.005af880
mov eax, dword [0x68cc00]
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 esi, dword [ebp + 8]
lea eax, [ebp - 0x112c]
mov edi, dword [ebp + 0xc]
push 0x118
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x112c]
call fcn.00403870
push esi
lea ecx, [ebp - 0x112c]
mov dword [ebp - 4], 0
call fcn.00404510
push 0x5c
push 0x2f
lea ecx, [ebp - 0x112c]
call fcn.004071a0
lea ecx, [ebp - 0x112c]
call fcn.00406120
cmp eax, 0x104
jle 0x43cbdf
push 0x118
lea eax, [ebp - 0x1244]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x1244]
call fcn.00403870
lea ecx, [ebp - 0x1244]
mov byte [ebp - 4], 1
call fcn.00408160
lea eax, [ebp - 0x1360]
push eax
lea eax, [ebp - 0x1014]
push eax
push 0x800
lea ecx, [ebp - 0x112c]
call fcn.00406cc0
push eax
call dword [sym.imp.KERNEL32.DLL_GetFullPathNameW]
lea ecx, [ebp - 0x1244]
test eax, eax
je 0x43cb40
lea eax, [ebp - 0x1014]
push eax
call fcn.00407920
mov bl, 1
jmp 0x43cb4e
lea eax, [ebp - 0x112c]
push eax
call fcn.00404b80
xor bl, bl
push 0x118
lea eax, [ebp - 0x135c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x135c]
call fcn.00403870
mov byte [ebp - 4], 2
test bl, bl
je 0x43cb87
push 0x5d10ac
lea ecx, [ebp - 0x135c]
call fcn.004043e0
lea ecx, [ebp - 0x1244]
call fcn.004068f0
push eax
lea ecx, [ebp - 0x135c]
call fcn.004043e0
lea ecx, [ebp - 0x135c]
call fcn.00406cc0
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov esi, eax
test esi, esi
jne 0x43cbc7
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 2
mov ecx, 1
cmove esi, ecx
lea ecx, [ebp - 0x135c]
call fcn.00403900
lea ecx, [ebp - 0x1244]
call fcn.00403900
jmp 0x43cc29
lea ecx, [ebp - 0x112c]
call fcn.00406cc0
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov esi, eax
test esi, esi
jne 0x43cc2b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebx, eax
test edi, edi
je 0x43cc1e
push ebx
mov ecx, edi
call fcn.004492a0
lea eax, [ebp - 0x112c]
mov ecx, edi
push eax
push str.failedToDeleteFilepath
call fcn.00448c80
cmp ebx, 2
mov eax, 1
cmove esi, eax
test esi, esi
lea ecx, [ebp - 0x112c]
setne bl
call fcn.00403900
mov al, bl
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.005af5a8
mov esp, ebp
pop ebp
ret

Function at 0x43d580
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043d370
Function at 0x43db30
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b5950
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x68cc00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x128]
push 0x118
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x128]
call fcn.00403870
push esi
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0
call fcn.00407760
lea ecx, [ebp - 0x128]
call fcn.00406cc0
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
lea ecx, [ebp - 0x128]
mov esi, eax
call fcn.00403900
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005af5a8
mov esp, ebp
pop ebp
ret

Function at 0x43dbd0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b2020
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x68cc00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x128]
push 0x118
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x128]
call fcn.00403870
push esi
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0
call fcn.00407760
push dword [ebp + 0xc]
lea ecx, [ebp - 0x128]
call fcn.00406cc0
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
test eax, eax
lea ecx, [ebp - 0x128]
setne bl
call fcn.00403900
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005af5a8
mov esp, ebp
pop ebp
ret
Function at 0x441610
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0x10]
push esi
test ebx, ebx
je 0x4417af
mov esi, dword [ebp + 0xc]
mov dword [ebx], 0
test esi, esi
je 0x4417af
cmp dword [ebp + 8], 0
je 0x4417af
lea ecx, [esi + esi*4]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
add edx, 4
push edx
mov dword [ebx], edx
call fcn.0040de50
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4417af
mov eax, 0xaaaaaaab
xor ecx, ecx
mul esi
push edi
xor edi, edi
mov eax, edx
shr eax, 1
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], eax
je 0x4416f9
mov dword [ebp - 8], eax
nop dword [eax]
mov eax, dword [ebp - 4]
mov edi, dword [ebp + 8]
movzx edx, byte [eax + edi]
movzx esi, byte [eax + edi + 1]
movzx edi, byte [eax + edi + 2]
add eax, 3
mov dword [ebp - 4], eax
mov eax, edx
shr eax, 2
and edx, 3
shl edx, 4
movzx eax, byte [eax + 0x5d2130]
mov byte [ecx + ebx], al
mov eax, esi
shr eax, 4
and esi, 0xf
or edx, eax
shl esi, 2
movzx eax, byte [edx + 0x5d2130]
mov byte [ecx + ebx + 1], al
mov eax, edi
shr eax, 6
and edi, 0x3f
or eax, esi
movzx eax, byte [eax + 0x5d2130]
mov byte [ecx + ebx + 2], al
movzx eax, byte [edi + 0x5d2130]
mov byte [ecx + ebx + 3], al
add ecx, 4
sub dword [ebp - 8], 1
jne 0x441680
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*2]
sub esi, eax
sub esi, 1
je 0x44176a
sub esi, 1
jne 0x44179b
mov eax, dword [ebp + 8]
movzx edx, byte [edi + eax]
movzx esi, byte [edi + eax + 1]
mov eax, edx
shr eax, 2
and edx, 3
shl edx, 4
pop edi
movzx eax, byte [eax + 0x5d2130]
mov byte [ecx + ebx], al
mov eax, esi
shr eax, 4
and esi, 0xf
or edx, eax
movzx eax, byte [edx + 0x5d2130]
mov byte [ecx + ebx + 1], al
movzx eax, byte [esi*4 + 0x5d2130]
mov byte [ecx + ebx + 2], al
mov eax, dword [ebp + 0x10]
mov byte [ecx + ebx + 3], 0x3d
add ecx, 4
pop esi
mov byte [ecx + ebx], 0
mov dword [eax], ecx
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 8]
movzx edx, byte [edi + eax]
mov eax, edx
and edx, 3
shr eax, 2
shl edx, 4
movzx eax, byte [eax + 0x5d2130]
mov byte [ecx + ebx], al
movzx eax, byte [edx + 0x5d2130]
mov byte [ecx + ebx + 1], al
mov word [ecx + ebx + 2], 0x3d3d
add ecx, 4
mov eax, dword [ebp + 0x10]
pop edi
mov byte [ecx + ebx], 0
pop esi
mov dword [eax], ecx
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x443c40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x443e01
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x443e00
xor eax, eax
mov dword [ebp - 0x68], 0x250024
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], eax
mov eax, 0x23
mov dword [ebp - 0x60], 0x270026
mov dword [ebp - 0x5c], 0x290028
mov dword [ebp - 0x58], 0x10000
mov dword [ebp - 0x54], 0x30002
mov dword [ebp - 0x50], 0x50004
mov dword [ebp - 0x4c], 0x70006
mov dword [ebp - 0x48], 0x90008
mov dword [ebp - 0x40], 0x2a0000
mov dword [ebp - 0x38], 0xa0000
mov dword [ebp - 0x34], 0xc000b
mov dword [ebp - 0x30], 0xe000d
mov dword [ebp - 0x2c], 0x10000f
mov dword [ebp - 0x28], 0x120011
mov dword [ebp - 0x24], 0x140013
mov dword [ebp - 0x20], 0x160015
mov dword [ebp - 0x1c], 0x180017
mov dword [ebp - 0x18], 0x1a0019
mov dword [ebp - 0x14], 0x1c001b
mov dword [ebp - 0x10], 0x1e001d
mov dword [ebp - 0xc], 0x20001f
mov dword [ebp - 8], 0x220021
mov word [ebp - 4], ax
cmp edi, 2
jb 0x443e00
push ebx
mov ebx, dword [ebp + 0x10]
nop dword [eax]
mov cl, byte [esi]
movzx eax, cl
cmp edi, 3
jb 0x443db7
cmp eax, 0x28
jb 0x443d38
cmp eax, 0x5a
jbe 0x443d3d
mov eax, 0x28
add eax, 0xffffffd8
movzx eax, ax
movzx ebx, word [ebp + eax*2 - 0x68]
movzx eax, byte [esi + 1]
cmp eax, 0x28
jb 0x443d56
cmp eax, 0x5a
jbe 0x443d5b
mov eax, 0x28
add eax, 0xffffffd8
movzx eax, ax
movzx edx, word [ebp + eax*2 - 0x68]
movzx eax, byte [esi + 2]
cmp eax, 0x28
jb 0x443d74
cmp eax, 0x5a
jbe 0x443d79
mov eax, 0x28
add eax, 0xffffffd8
movzx ecx, ax
imul eax, ebx, 0x2b
mov ebx, dword [ebp + 0x10]
add eax, edx
imul eax, eax, 0x2b
add ax, word [ebp + ecx*2 - 0x68]
mov ecx, ebx
movzx eax, ax
push eax
call fcn.004362e0
cmp edi, 3
jbe 0x443dff
sub edi, 3
add esi, 3
cmp edi, 2
jae 0x443d20
pop ebx
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
cmp cl, 0x28
jb 0x443dc1
cmp cl, 0x5a
jbe 0x443dc6
mov eax, 0x28
add eax, 0xffffffd8
movzx eax, ax
movzx ecx, word [ebp + eax*2 - 0x68]
movzx eax, byte [esi + 1]
cmp eax, 0x28
jb 0x443ddf
cmp eax, 0x5a
jbe 0x443de4
mov eax, 0x28
add eax, 0xffffffd8
movzx edx, ax
movzx eax, cl
mov ecx, ebx
imul eax, eax, 0x2b
add al, byte [ebp + edx*2 - 0x68]
movzx eax, al
push eax
call fcn.00435440
pop ebx
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4478c0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b61c0
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x68cc00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0042c920
cmp byte [0x68ec41], 0
jne 0x447950
push 0x200
push 0
push 0x68ee00
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x14], 0x100
lea eax, [ebp - 0x14]
push eax
push 0x68ee00
call dword [sym.imp.KERNEL32.DLL_GetComputerNameW]
test eax, eax
jne 0x447949
movq xmm0, qword [str.Win32]
mov ax, word [0x5d2560]
movq qword [0x68ee00], xmm0
mov word [0x68ee08], ax
mov byte [0x68ec41], 1
push 0x118
lea eax, [ebp - 0x12c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x12c]
call fcn.00403870
push 0x68ee00
lea ecx, [ebp - 0x12c]
mov dword [ebp - 4], 0
call fcn.004044e0
lea ecx, [ebp - 0x12c]
call fcn.004068f0
push eax
mov ecx, esi
call fcn.0042ade0
lea ecx, [ebp - 0x12c]
call fcn.00403900
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005af5a8
mov esp, ebp
pop ebp
ret
Function at 0x46d1d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b8788
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x68cc00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
call fcn.004c93e0
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 0
mov dword [esi], vtable.SocketParams.0
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov word [esi + 0x1c], 0
mov byte [esi + 0x1e], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov byte [esi + 0x2c], 0
call fcn.0042a8a0
lea ecx, [esi + 0xb0]
mov byte [ebp - 4], 1
mov word [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
mov word [esi + 0xac], 1
call fcn.0042a8a0
mov dword [esi + 0x124], 0
mov eax, dword [0x67f0f0]
mov dword [esi + 0xa8], eax
mov eax, esi
mov byte [esi + 8], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x46e940
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x68cc00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], ecx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x250], esi
test eax, eax
jne 0x46e98d
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005af5a8
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0x14]
push edi
mov edi, 0x40
cmp ebx, 3
je 0x46e9a1
cmp ebx, 2
jne 0x46e9a6
mov edi, 0x80
push ebx
call fcn.0046fc30
mov ecx, dword [ebp + 0x10]
add esp, 4
mov dword [ebp - 0x254], eax
cmp ecx, edi
jle 0x46e9e0
lea eax, [ebp - 0x14c]
push eax
push ebx
push ecx
push esi
call fcn.0046ec80
mov ecx, dword [ebp - 0x254]
lea eax, [ebp - 0x14c]
add esp, 0x10
mov dword [ebp - 0x250], eax
push edi
cmp ecx, edi
lea eax, [ebp - 0x88]
push 0
mov esi, edi
push eax
cmovle esi, ecx
call sub.VCRUNTIME140.dll_memset
push edi
lea eax, [ebp - 0x10c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push esi
push dword [ebp - 0x250]
lea eax, [ebp - 0x88]
push eax
call sub.VCRUNTIME140.dll_memcpy
push esi
push dword [ebp - 0x250]
lea eax, [ebp - 0x10c]
push eax
call sub.VCRUNTIME140.dll_memcpy
movaps xmm2, xmmword [str.6666666666666666_sha3]
add esp, 0x30
movaps xmm3, xmmword [0x608430]
xor eax, eax
nop
movups xmm0, xmmword [ebp + eax - 0x88]
movaps xmm1, xmm3
pxor xmm0, xmm2
movups xmmword [ebp + eax - 0x88], xmm0
movups xmm0, xmmword [ebp + eax - 0x10c]
pxor xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 0x78]
movups xmmword [ebp + eax - 0x10c], xmm1
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 0xfc]
movups xmmword [ebp + eax - 0x78], xmm1
movaps xmm1, xmm3
pxor xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 0x68]
movups xmmword [ebp + eax - 0xfc], xmm1
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 0xec]
movups xmmword [ebp + eax - 0x68], xmm1
movaps xmm1, xmm3
pxor xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 0x58]
movups xmmword [ebp + eax - 0xec], xmm1
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 0xdc]
movups xmmword [ebp + eax - 0x58], xmm1
movaps xmm1, xmm3
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0xdc], xmm1
add eax, 0x40
cmp eax, edi
jl 0x46ea40
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x88]
push dword [ebp - 0x25c]
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x18c]
push ecx
push ebx
push eax
mov dword [eax + 0x404], edi
call fcn.0046efa0
push edi
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x24c]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [ebp - 0x254]
lea eax, [ebp - 0x18c]
push esi
push eax
lea eax, [ebp - 0x24c]
add eax, edi
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [ebp - 0x260]
lea eax, [esi + edi]
push ebx
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.0046ec80
mov ecx, dword [ebp - 4]
add esp, 0x38
xor ecx, ebp
mov al, 1
pop edi
pop ebx
pop esi
call fcn.005af5a8
mov esp, ebp
pop ebp
ret
Function at 0x484990
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ba688
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x68cc00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.004bdf40
lea ecx, [edi + 0x10]
mov dword [ebp - 4], 0
call fcn.0042a460
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 1
mov dword [edi], vtable.AsyncProgressEvent.0
mov dword [edi + 0x10], vtable.AsyncProgressEvent.1.0
call fcn.0045a620
mov dword [edi + 0x4c], 0
mov eax, edi
mov byte [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov byte [edi + 0x48], 1
mov byte [edi + 0xc], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x488580
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x68cc00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x40c], eax
push edi
mov edi, dword [ebp + 8]
test esi, esi
jne 0x4885ba
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005af5a8
mov esp, ebp
pop ebp
ret
push ebx
call fcn.00488790
or ebx, 0xffffffff
cmp dword [ebp - 0x40c], 0
jne 0x4885ed
mov edx, dword [0x68f7a8]
movzx eax, byte [edi]
lea edi, [edi + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [edx + ecx*4]
sub esi, 1
jne 0x4885d2
jmp 0x488776
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edx, dword [0x68f7a8]
add esp, 0xc
nop dword [eax]
movzx eax, byte [edi]
lea edi, [edi + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
inc dword [ebp + eax*4 - 0x404]
xor ebx, dword [edx + ecx*4]
sub esi, 1
jne 0x488610
mov edx, dword [ebp - 0x3ec]
mov ecx, 7
add edx, dword [ebp - 0x3f0]
xorps xmm2, xmm2
add edx, dword [ebp - 0x3f4]
xorps xmm3, xmm3
add edx, dword [ebp - 0x3f8]
xorps xmm1, xmm1
add edx, dword [ebp - 0x3fc]
add edx, dword [ebp - 0x400]
add edx, dword [ebp - 0x404]
nop word [eax + eax]
movups xmm0, xmmword [ebp + ecx*4 - 0x404]
paddd xmm3, xmm0
movups xmm0, xmmword [ebp + ecx*4 - 0x3f4]
add ecx, 8
paddd xmm1, xmm0
cmp ecx, 0x7f
jl 0x488670
paddd xmm1, xmm3
xor esi, esi
movaps xmm0, xmm1
xor edi, edi
psrldq xmm0, 8
paddd xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd dword [ebp - 0x408], xmm1
cmp ecx, 0x80
jge 0x48870c
mov eax, 0x80
sub eax, ecx
cmp eax, 2
jl 0x4886e6
nop dword [eax]
add esi, dword [ebp + ecx*4 - 0x404]
add edi, dword [ebp + ecx*4 - 0x400]
add ecx, 2
cmp ecx, 0x7f
jl 0x4886d0
cmp ecx, 0x80
jae 0x4886ff
movd eax, xmm1
add eax, dword [ebp + ecx*4 - 0x404]
mov dword [ebp - 0x408], eax
mov ecx, dword [ebp - 0x408]
lea eax, [edi + esi]
add ecx, eax
jmp 0x488712
mov ecx, dword [ebp - 0x408]
mov eax, 0x80
movaps xmm1, xmm2
nop word [eax + eax]
movups xmm0, xmmword [ebp + eax*4 - 0x404]
paddd xmm2, xmm0
movups xmm0, xmmword [ebp + eax*4 - 0x3f4]
add eax, 8
paddd xmm1, xmm0
cmp eax, 0x100
jl 0x488720
paddd xmm1, xmm2
shr ecx, 2
movaps xmm0, xmm1
psrldq xmm0, 8
paddd xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd eax, xmm1
add edx, eax
cmp ecx, edx
mov ecx, dword [ebp - 0x40c]
sbb eax, eax
neg eax
mov word [ecx], ax
mov ecx, dword [ebp - 4]
not ebx
mov eax, ebx
xor ecx, ebp
pop ebx
pop edi
pop esi
call fcn.005af5a8
mov esp, ebp
pop ebp
ret
Function at 0x488790
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
mov cl, byte [0x68f7a4]
mov al, byte [0x68f7a5]
push esi
push edi
test cl, cl
jne 0x48892c
test al, al
jne 0x488934
cmp dword [0x68f7a8], 0
jne 0x48895c
push 0x100
mov byte [0x68f7a5], 1
call fcn.0040df80
mov edi, eax
add esp, 4
test edi, edi
je 0x48895c
xor eax, eax
mov dword [ebp - 4], eax
push ebx
xor ecx, ecx
test al, 1
je 0x4887ec
bts ecx, 7
shr eax, 1
test al, 1
je 0x4887f6
bts ecx, 6
shr eax, 1
test al, 1
je 0x488800
bts ecx, 5
shr eax, 1
test al, 1
je 0x48880a
bts ecx, 4
shr eax, 1
test al, 1
je 0x488814
bts ecx, 3
shr eax, 1
test al, 1
je 0x48881e
bts ecx, 2
shr eax, 1
test al, 1
je 0x488828
bts ecx, 1
test al, 2
je 0x488830
bts ecx, 0
shl ecx, 0x18
mov eax, ecx
add ecx, ecx
sar eax, 0x1f
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ebx, edx
sar ebx, 0x1f
and ebx, 0x4c11db7
lea eax, [edx + edx]
xor ebx, eax
mov eax, dword [ebp - 4]
xor edx, edx
lea esi, [edi + eax*4]
lea ecx, [edx + 1]
nop dword [eax + eax]
test bl, 1
je 0x4888cf
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x4888c0
mov eax, dword [ebp - 4]
inc eax
mov dword [esi], edx
mov dword [ebp - 4], eax
cmp eax, 0xff
jbe 0x4887e2
cmp dword [0x68f7a8], 0
pop ebx
jne 0x48890f
mov dword [0x68f7a8], edi
pop edi
mov byte [0x68f7a4], 1
mov byte [0x68f7a5], 0
pop esi
mov esp, ebp
pop ebp
ret
push edi
call fcn.005af5b6
add esp, 4
mov byte [0x68f7a4], 1
mov byte [0x68f7a5], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test al, al
je 0x48895c
test cl, cl
jne 0x48895c
xor esi, esi
test al, al
je 0x48895c
nop word [eax + eax]
push 2
call fcn.00447b20
inc esi
add esp, 4
cmp esi, 0xc8
ja 0x48895c
cmp byte [0x68f7a5], 0
jne 0x488940
pop edi
pop esi
mov esp, ebp
pop ebp
ret