joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004fa80
Capabilities:
Get system information on windows

Disassembly:
lea eax, [esp - 0x24]
sub esp, 0x24
test eax, eax
je 0x1004fab8
push str.GetNativeSystemInfo
push 0x100a0e5c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1004faae
lea ecx, [esp]
push ecx
call eax
jmp 0x1004fab8
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ax, word [esp]
cmp ax, 9
je 0x1004face
cmp ax, 6
je 0x1004face
xor eax, eax
add esp, 0x24
ret
mov eax, 1
add esp, 0x24
ret

Function at 0x1004fae0
Capabilities:
Check os version
Get system information on windows

Disassembly:
sub esp, 0x148
mov eax, dword [0x100b0380]
xor eax, esp
mov dword [esp + 0x144], eax
push 0
push 1
push 0x100e4bbc
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x1004fc0a
push ebp
push esi
push edi
call fcn.1004fa80
mov ebp, eax
lea eax, [esp + 0xc]
push eax
xor esi, esi
push 0x64
push esi
xor edi, edi
mov dword [esp + 0x18], esi
call sub.NETAPI32.dll_NetWkstaGetInfo
test eax, eax
jne 0x1004fb3e
mov eax, dword [esp + 0xc]
mov edi, dword [eax + 0xc]
mov esi, dword [eax + 0x10]
push eax
call sub.NETAPI32.dll_NetApiBufferFree
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x38], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp edi, 5
jne 0x1004fb6c
cmp esi, 1
jne 0x1004fb93
mov dword [0x100db91c], esi
cmp byte [esp + 0x14e], 1
jne 0x1004fbfc
mov eax, 6
cmp edi, eax
jne 0x1004fbee
test esi, esi
jne 0x1004fbb6
mov dword [0x100db91c], 2
jmp 0x1004fbfc
cmp esi, 2
jne 0x1004fb6c
cmp byte [esp + 0x14e], 1
jne 0x1004fbfc
cmp word [esp + 0x10], 9
jne 0x1004fbfc
mov dword [0x100db91c], 0x41
jmp 0x1004fbfc
cmp esi, 1
jne 0x1004fbc7
mov dword [0x100db91c], 3
jmp 0x1004fbfc
cmp esi, 2
jne 0x1004fbd8
mov dword [0x100db91c], 4
jmp 0x1004fbfc
cmp esi, 3
jne 0x1004fbe9
mov dword [0x100db91c], 5
jmp 0x1004fbfc
cmp esi, 4
jmp 0x1004fbf5
cmp edi, 0xa
jne 0x1004fbfc
test esi, esi
jne 0x1004fbfc
mov dword [0x100db91c], eax
pop edi
pop esi
test ebp, ebp
pop ebp
je 0x1004fc0a
or dword [0x100db91c], 0x40
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.10079a05
add esp, 0x148
ret
Function at 0x1004fe20
Capabilities:
Get common file path
Get disk information

Disassembly:
sub esp, 0x61c
mov eax, dword [0x100b0380]
xor eax, esp
mov dword [esp + 0x618], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x212]
push ecx
mov word [esp + 0x214], ax
call fcn.1007dcf0
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x16]
push eax
mov word [esp + 0x18], dx
call fcn.1007dcf0
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x432]
push edx
mov word [esp + 0x434], cx
call fcn.1007dcf0
add esp, 0x24
push 0x104
lea eax, [esp + 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1004ff7b
push 0x104
xor ecx, ecx
lea edx, [esp + 4]
push edx
push ecx
push ecx
push ecx
push 0x104
lea eax, [esp + 0x428]
mov word [esp + 0x226], cx
push eax
lea ecx, [esp + 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x1004ff7b
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push str.ntfs
lea edx, [esp + 8]
push edx
call esi
test eax, eax
jne 0x1004ff2c
push 0x5f5b9f1
push eax
push 0x2bc
mov eax, dword [0x100d9234]
mov ecx, dword [str.v_ds_dr_dd_d]
push eax
push ecx
xor ecx, ecx
call fcn.1002d3f0
add esp, 0x14
pop esi
mov ecx, dword [esp + 0x618]
xor ecx, esp
call fcn.10079a05
add esp, 0x61c
ret
push str.fat32
lea edx, [esp + 8]
push edx
call esi
test eax, eax
jne 0x1004ff49
push 0x5f5b9f1
push eax
push 0x2bd
jmp 0x1004feff
push 0x100a2874
lea edx, [esp + 8]
push edx
call esi
push 0x5f5b9f1
push 0
test eax, eax
jne 0x1004ff67
push 0x2be
jmp 0x1004feff
mov edx, dword [0x100d9234]
mov eax, dword [str.v_ds_dr_dd_d]
push 0x2bf
push edx
push eax
jmp 0x1004ff0c
mov ecx, dword [0x100d9234]
mov edx, dword [str.v_ds_dr_dd_d]
push 0x5f5b9f1
push 0
push 0x2c0
push ecx
push edx
xor ecx, ecx
call fcn.1002d3f0
mov ecx, dword [esp + 0x62c]
add esp, 0x14
xor ecx, esp
call fcn.10079a05
add esp, 0x61c
ret

Function at 0x10050010
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x1004
call fcn.1007e4b0
push esi
xor esi, esi
push 0xffc
lea eax, [esp + 0x10]
push esi
push eax
mov dword [esp + 0x14], esi
call fcn.1007dcf0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 0x400
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x100500b7
mov edx, dword [esp + 4]
cmp edx, 4
jb 0x100500b7
shr edx, 2
or ecx, 0xffffffff
xor eax, eax
cmp edx, esi
jbe 0x100500b7
lea esp, [esp]
mov esi, dword [esp + eax*4 + 8]
cmp esi, edi
jae 0x10050085
cmp ecx, 0xffffffff
je 0x10050083
cmp dword [esp + ecx*4 + 8], esi
jae 0x10050085
mov ecx, eax
inc eax
cmp eax, edx
jb 0x10050070
cmp ecx, 0xffffffff
je 0x100500b7
mov eax, dword [esp + 0x100c]
lea esi, [esp + ecx*4 + 8]
mov ecx, dword [esi]
push 0x104
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x100500b7
mov eax, dword [esi]
pop esi
add esp, 0x1004
ret
xor eax, eax
pop esi
add esp, 0x1004
ret
Function at 0x10050250
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x100b0380]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xe]
push ecx
xor esi, esi
mov word [esp + 0x10], ax
call fcn.1007dcf0
add esp, 0xc
lea edx, [esp + 4]
push edx
push esi
push esi
push 0x23
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x100502b0
push str.360safeScanCacheMIndex.dat
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 4]
call fcn.10050410
mov esi, eax
mov ecx, dword [esp + 0x218]
mov edx, dword [esp + 0x214]
mov eax, dword [0x100d9234]
push ecx
push esi
push edx
push eax
push str.v_ds_dr_dd_d
xor ecx, ecx
call fcn.1002d3f0
mov ecx, dword [esp + 0x220]
add esp, 0x14
mov eax, esi
pop esi
xor ecx, esp
call fcn.10079a05
add esp, 0x20c
ret
Function at 0x10050760
Capabilities:
Encode data using base64

Disassembly:
sub esp, 8
push ebp
xor ebp, ebp
push esi
mov esi, eax
test ecx, ecx
jg 0x10050775
pop esi
xor eax, eax
pop ebp
add esp, 8
ret
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
mov eax, ecx
sub eax, edx
je 0x10050793
mov ebp, 3
sub ebp, eax
push ebx
push edi
lea edi, [ecx + ebp]
mov eax, 0x55555556
imul edi
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, ebp
lea ebx, [eax + ecx + 1]
push ebx
mov dword [esp + 0x18], ebx
call fcn.10079b72
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x100507c9
pop edi
pop ebx
pop esi
pop ebp
add esp, 8
ret
xor edx, edx
test edi, edi
jle 0x100508c2
lea ecx, [eax + 2]
movzx eax, byte [esi]
shr al, 2
movsx eax, al
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx - 2], al
lea eax, [edi - 3]
cmp edx, eax
jne 0x10050857
test ebp, ebp
je 0x10050857
cmp ebp, 1
jne 0x10050834
movzx eax, byte [esi]
mov bl, byte [esi + 1]
and al, 3
shl al, 4
movsx eax, al
shr bl, 4
movsx ebx, bl
movzx eax, byte [eax + ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx - 1], al
movzx eax, byte [esi + 1]
and al, 0xf
add al, al
add al, al
movsx eax, al
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
mov byte [ecx + 1], 0x3d
jmp 0x100508a9
cmp ebp, 2
jne 0x100508a9
movzx eax, byte [esi]
and al, 3
shl al, 4
movsx eax, al
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx - 1], al
mov byte [ecx], 0x3d
mov byte [ecx + 1], 0x3d
jmp 0x100508a9
movzx eax, byte [esi]
movzx ebx, byte [esi + 1]
and al, 3
shl al, 4
movsx eax, al
shr bl, 4
movsx ebx, bl
movzx eax, byte [eax + ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx - 1], al
movzx eax, byte [esi + 1]
movzx ebx, byte [esi + 2]
and al, 0xf
add al, al
add al, al
movsx eax, al
shr bl, 6
movsx ebx, bl
movzx eax, byte [eax + ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
movsx eax, byte [esi + 2]
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], al
add edx, 3
add ecx, 4
add esi, 3
cmp edx, edi
jl 0x100507d6
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
pop edi
mov byte [eax + ebx - 1], 0
pop ebx
pop esi
pop ebp
add esp, 8
ret
Function at 0x100508d0
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
sub esp, 8
push ebp
push esi
mov esi, eax
xor ebp, ebp
mov ecx, esi
push edi
xor eax, eax
mov dword [esp + 0xc], ebp
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x100508e5
sub ecx, edi
mov edi, ecx
jne 0x100508fb
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 8
ret
mov ecx, edi
and ecx, reloc.WS2_32.dll_closesocket
jns 0x1005090a
dec ecx
or ecx, 0xfffffffc
inc ecx
jne 0x100508f2
xor ecx, ecx
cmp edi, ebp
push ebx
jle 0x10050931
mov bl, 0xff
mov dl, byte [ecx + esi]
cmp dl, 0x3d
je 0x1005092c
movsx edx, dl
cmp byte [edx + 0x100d78b8], bl
je 0x10050a45
inc ecx
cmp ecx, edi
jl 0x10050915
mov al, byte [edi + esi - 1]
cmp al, 0x3d
jne 0x1005094f
mov dword [esp + 0x10], 1
cmp byte [edi + esi - 2], al
jne 0x1005094f
mov dword [esp + 0x10], 2
lea eax, [edi - 4]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov ebx, edi
sub ebx, eax
sub ebx, dword [esp + 0x10]
push ebx
call fcn.10079b72
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebp
jne 0x1005097e
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 8
ret
mov ecx, eax
test edi, edi
jle 0x10050a40
jmp 0x10050990
movsx eax, byte [esi + 1]
mov dl, byte [eax + 0x100d78b8]
movsx eax, byte [esi]
mov al, byte [eax + 0x100d78b8]
add al, al
add al, al
shr dl, 4
add dl, al
lea eax, [edi - 4]
mov byte [ecx], dl
cmp ebp, eax
jne 0x100509f0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100509f0
cmp eax, 1
jne 0x100509e5
movsx edx, byte [esi + 2]
mov al, byte [edx + 0x100d78b8]
movsx edx, byte [esi + 1]
mov dl, byte [edx + 0x100d78b8]
shr al, 2
shl dl, 4
add al, dl
mov byte [ecx + 1], al
mov eax, dword [esp + 0x10]
mov edx, 3
sub edx, eax
add ecx, edx
jmp 0x10050a2e
movsx eax, byte [esi + 2]
mov dl, byte [eax + 0x100d78b8]
movsx eax, byte [esi + 1]
movzx eax, byte [eax + 0x100d78b8]
shl al, 4
shr dl, 2
add dl, al
mov byte [ecx + 1], dl
movsx edx, byte [esi + 2]
movzx eax, byte [edx + 0x100d78b8]
movsx edx, byte [esi + 3]
shl al, 6
add al, byte [edx + 0x100d78b8]
add ecx, 3
mov byte [ecx - 1], al
add ebp, 4
add esi, 4
cmp ebp, edi
jl 0x10050990
mov eax, dword [esp + 0x14]
mov byte [ebx + eax - 1], 0
pop ebx
pop edi
pop esi
pop ebp
add esp, 8
ret
Function at 0x10052e80
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x100939f9
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x100b0380]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, dword [esp + 0x38]
push edi
call fcn.10052a60
mov dword [esp + 0x30], 2
xor ebx, ebx
mov dword [edi], vtable.CFixAlert.0
lea esi, [edi + 0x20]
lea eax, [esp + 0x18]
push eax
push ebx
mov dword [esi], vtable.CMemDC.0
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x2c], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x10052f18
push ebx
call dword [sym.imp.USER32.dll_GetDC]
cmp eax, ebx
je 0x10052f18
mov edx, dword [esp + 0x18]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x34]
mov dword [esi + 4], ebx
mov dword [ecx + 0xc], edx
call fcn.10053460
mov byte [esp + 0x30], 3
mov dword [edi + 0x50], ebx
mov byte [esp + 0x30], 4
lea eax, [edi + 0x54]
mov dword [esp + 0x10], eax
mov dword [eax], ebx
mov byte [esp + 0x30], 6
lea eax, [edi + 0x58]
mov dword [esp + 0x10], eax
mov dword [eax], ebx
mov byte [esp + 0x30], 7
lea ecx, [eax + 4]
mov dword [esp + 0x14], ecx
mov dword [ecx], ebx
mov byte [esp + 0x30], 9
mov dword [eax + 8], ebx
mov byte [esp + 0x30], 0xa
lea eax, [edi + 0x78]
mov dword [esp + 0x14], eax
mov dword [eax], ebx
mov byte [esp + 0x30], 0xb
lea ecx, [eax + 4]
mov dword [esp + 0x10], ecx
mov dword [ecx], ebx
mov byte [esp + 0x30], 0xd
mov dword [eax + 8], ebx
mov byte [esp + 0x30], 0xe
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov dword [edi + 0x98], eax
mov dword [edi + 0x9c], ecx
mov dword [esp + 0x30], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 0xc
Function at 0x10053920
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x10094dcb
mov eax, dword fs:[0]
push eax
sub esp, 0x74c
mov eax, dword [0x100b0380]
xor eax, esp
mov dword [esp + 0x744], eax
push ebp
push esi
push edi
mov eax, dword [0x100b0380]
xor eax, esp
push eax
lea eax, [esp + 0x75c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x76c]
mov esi, ecx
test ebp, ebp
je 0x10053b6c
test esi, esi
je 0x10053b6c
push 0x208
lea eax, [esp + 0x20]
push 0
mov edi, vtable.CQHSimpleFile.0
push eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], 0xffffffff
call fcn.1007dcf0
add esp, 0xc
mov dword [esp + 0x764], 0
push esi
lea eax, [esp + 0x18]
call fcn.10053c10
test eax, eax
jne 0x100539db
or esi, 0xffffffff
mov dword [esp + 0x764], esi
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], edi
cmp eax, esi
je 0x10053b6c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x18], esi
jmp 0x10053b6c
lea eax, [esp + 0x14]
mov dword [ebp], 0
call fcn.10053c90
mov esi, eax
cmp esi, 0x11e
jl 0x10053b58
mov eax, dword [esp + 0x18]
or edi, 0xffffffff
cmp eax, edi
je 0x10053a18
push 2
push 0
push 0xfffffee2
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, edi
jne 0x10053a24
mov dword [esp + 0x764], edi
jmp 0x10053b63
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x10053a18
push 0
lea ecx, [esp + 0x14]
push ecx
push 0x11e
lea edx, [esp + 0x240]
push edx
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10053a18
cmp dword [esp + 0x10], 0x11e
jne 0x10053a18
mov edx, 0x16
mov eax, str._r_n_360signdata__r_nsign
lea ecx, [esp + 0x234]
mov edi, edi
mov edi, dword [ecx]
cmp edi, dword [eax]
jne 0x10053b58
sub edx, 4
add eax, 4
add ecx, 4
cmp edx, 4
jae 0x10053a70
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10053b58
mov al, byte [eax + 1]
cmp al, byte [ecx + 1]
jne 0x10053b58
push 0x400
lea ecx, [esp + 0x358]
push 0
push ecx
call fcn.1007dcf0
add esp, 0xc
lea ecx, [esp + 0x24a]
lea edi, [esp + 0x354]
call fcn.100537c0
lea edx, [esp + 0x224]
push edx
add esi, 0xffffff00
push esi
lea ecx, [esp + 0x1c]
call fcn.10053ce0
test eax, eax
je 0x10053b58
mov eax, dword [esp + 0x354]
cmp eax, 1
jne 0x10053b1c
lea eax, [esp + 0x358]
lea ecx, [esp + 0x224]
push eax
push ecx
mov ecx, 0x1009c550
call fcn.10053860
mov esi, eax
add esp, 8
test esi, esi
je 0x10053b39
mov dword [ebp], 3
jmp 0x10053b40
test eax, eax
jne 0x10053b37
lea edx, [esp + 0x358]
push edx
lea eax, [esp + 0x228]
push eax
mov ecx, 0x1009c448
jmp 0x10053b05
xor esi, esi
mov dword [ebp], 1
mov dword [esp + 0x764], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.10053be0
mov eax, esi
jmp 0x10053b6e
mov dword [esp + 0x764], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.10053be0
xor eax, eax
mov ecx, dword [esp + 0x75c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x744]
xor ecx, esp
call fcn.10079a05
add esp, 0x758
ret
Function at 0x10053c90
Capabilities:
Get file size

Disassembly:
push ecx
mov eax, dword [eax + 4]
push esi
cmp eax, 0xffffffff
jne 0x10053ca2
or eax, eax
or edx, 0xffffffff
pop esi
pop ecx
ret
lea ecx, [esp + 4]
push ecx
push eax
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [esp + 4]
push 1
push 0
push 0
push edx
mov esi, eax
call fcn.10088e00
xor ecx, ecx
add eax, esi
adc edx, ecx
pop esi
pop ecx
ret

Function at 0x10053ce0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, 0x8074
call fcn.1007e4b0
mov eax, dword [0x100b0380]
xor eax, esp
mov dword [esp + 0x806c], eax
mov eax, dword [esp + 0x807c]
push ebx
mov ebx, dword [esp + 0x807c]
push ebp
push esi
xor ebp, ebp
push edi
mov edi, ecx
mov dword [esp + 0x14], eax
mov dword [eax], ebp
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jne 0x10053d23
xor eax, eax
jmp 0x10053e8f
lea ecx, [esp + 0x10]
push ecx
push eax
mov dword [esp + 0x18], ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [esp + 0x10]
push 1
push ebp
push ebp
push edx
mov esi, eax
call fcn.10088e00
xor ecx, ecx
add eax, esi
adc edx, ecx
mov dword [esp + 0x1c], edx
cmp ebx, 0xffffffff
je 0x10053d58
cmp eax, ebx
jb 0x10053d58
mov eax, ebx
push 0x8000
mov esi, eax
lea edx, [esp + 0x7c]
and eax, 0x7fff
push ebp
push edx
shr esi, 0xf
mov dword [esp + 0x24], eax
call fcn.1007dcf0
mov eax, dword [edi + 4]
add esp, 0xc
cmp eax, 0xffffffff
je 0x10053d8b
push ebp
push ebp
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0x58
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.1007dcf0
add esp, 0xc
xor ebx, ebx
cmp esi, ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x20], 0x67452301
mov dword [esp + 0x24], 0xefcdab89
mov dword [esp + 0x28], 0x98badcfe
mov dword [esp + 0x2c], 0x10325476
jle 0x10053e27
lea esp, [esp]
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
je 0x10053d1c
push ebp
lea ecx, [esp + 0x14]
push ecx
push 0x8000
lea edx, [esp + 0x84]
push edx
push eax
mov dword [esp + 0x24], ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10053d1c
mov eax, 0x8000
cmp dword [esp + 0x10], eax
jne 0x10053d1c
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x24]
call fcn.10053fe0
inc ebx
add esp, 4
cmp ebx, esi
jl 0x10053dd0
mov esi, dword [esp + 0x18]
cmp esi, ebp
jle 0x10053e7d
mov edi, dword [edi + 4]
cmp edi, 0xffffffff
jne 0x10053e3b
or eax, edi
jmp 0x10053e62
push ebp
lea edx, [esp + 0x14]
push edx
push esi
lea eax, [esp + 0x84]
push eax
push edi
mov dword [esp + 0x24], ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10053e5e
or eax, 0xffffffff
jmp 0x10053e62
mov eax, dword [esp + 0x10]
cmp eax, esi
jne 0x10053d1c
lea ecx, [esp + 0x78]
push ecx
mov eax, esi
lea ecx, [esp + 0x24]
call fcn.10053fe0
add esp, 4
mov ecx, dword [esp + 0x14]
lea esi, [esp + 0x20]
call fcn.10054080
mov eax, 1
mov ecx, dword [esp + 0x807c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10079a05
add esp, 0x8074
ret 8
Function at 0x100554b0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [eax]
push esi
mov esi, dword [esp + 8]
test edx, edx
je 0x100554f2
test ecx, ecx
je 0x100554c3
test esi, esi
jne 0x100554cb
mov dword [edi], 0
test esi, esi
jbe 0x100554f8
mov eax, dword [edi]
push ebx
push ebp
movzx ebp, byte [ecx]
mov ebx, eax
and ebx, 0xff
xor ebx, ebp
shr eax, 8
xor eax, dword [edx + ebx*4]
inc ecx
sub esi, 1
jne 0x100554d1
pop ebp
pop ebx
mov dword [edi], eax
pop esi
ret 4
mov dword [edi], 0
pop esi
ret 4

Function at 0x10055500
Capabilities:
Hash data using crc32b

Disassembly:
push ecx
push 0x400
call fcn.10079f1f
add esp, 4
push ebx
push ebp
mov dword [esi], eax
xor eax, eax
push edi
xor ecx, ecx
test al, 1
je 0x10055520
mov ecx, 0x80
mov edx, eax
shr edx, 1
test dl, 1
je 0x1005552c
or ecx, 0x40
shr edx, 1
test dl, 1
je 0x10055536
or ecx, 0x20
shr edx, 1
test dl, 1
je 0x10055540
or ecx, 0x10
shr edx, 1
test dl, 1
je 0x1005554a
or ecx, 8
shr edx, 1
test dl, 1
je 0x10055554
or ecx, 4
shr edx, 1
test dl, 1
je 0x1005555e
or ecx, 2
test dl, 2
je 0x10055566
or ecx, 1
mov edx, dword [esi]
shl ecx, 0x18
mov dword [edx + eax*4], ecx
mov ecx, dword [esi]
mov edx, dword [ecx + eax*4]
lea ecx, [ecx + eax*4]
mov edi, edx
and edi, 0x80000000
neg edi
sbb edi, edi
and edi, 0x4c11db7
add edx, edx
xor edi, edx
mov dword [ecx], edi
mov ecx, dword [esi]
mov edx, dword [ecx + eax*4]
lea ecx, [ecx + eax*4]
mov edi, edx
and edi, 0x80000000
neg edi
sbb edi, edi
and edi, 0x4c11db7
add edx, edx
xor edi, edx
mov dword [ecx], edi
mov ecx, dword [esi]
mov edx, dword [ecx + eax*4]
lea ecx, [ecx + eax*4]
mov edi, edx
and edi, 0x80000000
neg edi
sbb edi, edi
and edi, 0x4c11db7
add edx, edx
xor edi, edx
mov dword [ecx], edi
mov ecx, dword [esi]
mov edx, dword [ecx + eax*4]
lea ecx, [ecx + eax*4]
mov edi, edx
and edi, 0x80000000
neg edi
sbb edi, edi
and edi, 0x4c11db7
add edx, edx
xor edi, edx
mov dword [ecx], edi
mov ecx, dword [esi]
mov edx, dword [ecx + eax*4]
lea ecx, [ecx + eax*4]
mov edi, edx
and edi, 0x80000000
neg edi
sbb edi, edi
and edi, 0x4c11db7
add edx, edx
xor edi, edx
mov dword [ecx], edi
mov ecx, dword [esi]
mov edx, dword [ecx + eax*4]
lea ecx, [ecx + eax*4]
mov edi, edx
and edi, 0x80000000
neg edi
sbb edi, edi
and edi, 0x4c11db7
add edx, edx
xor edi, edx
mov dword [ecx], edi
mov ecx, dword [esi]
mov edx, dword [ecx + eax*4]
lea ecx, [ecx + eax*4]
mov edi, edx
and edi, 0x80000000
neg edi
sbb edi, edi
and edi, 0x4c11db7
add edx, edx
xor edi, edx
mov dword [ecx], edi
mov ecx, dword [esi]
mov edx, dword [ecx + eax*4]
lea ecx, [ecx + eax*4]
mov edi, edx
and edi, 0x80000000
neg edi
sbb edi, edi
and edi, 0x4c11db7
add edx, edx
xor edi, edx
mov dword [ecx], edi
mov ecx, dword [esi]
mov ebx, dword [ecx + eax*4]
lea edx, [ecx + eax*4]
mov dword [esp + 0xc], 0
mov edi, 0x1f
test bl, 1
je 0x10055695
mov ebp, 1
mov ecx, edi
shl ebp, cl
or dword [esp + 0xc], ebp
dec edi
shr ebx, 1
cmp edi, 0xffffffff
jg 0x10055683
mov ecx, dword [esp + 0xc]
inc eax
cmp eax, 0x100
mov dword [edx], ecx
jl 0x10055515
pop edi
pop ebp
mov eax, esi
pop ebx
pop ecx
ret