joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40874f
Capabilities:
Check os version
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x436504]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
push str.perm_all
push esi
call fcn.004190c0
test eax, eax
pop ecx
pop ecx
jne 0x4087ee
push str.Permanent_install_for_all_users_n
call fcn.004083fe
pop ecx
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa0], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4087b3
cmp dword [ebp - 0x9c], 5
jbe 0x4087b3
push str.PROGRAMDATA
call fcn.0041a649
pop ecx
jmp 0x408816
push str.ALLUSERSPROFILE
call fcn.0041a649
mov edi, eax
mov dword [esp], 0x1388
call fcn.00416f20
pop ecx
mov esi, eax
push edi
push esi
mov byte [esi], 0
call fcn.00417150
push str.Application_Data
call fcn.0040837c
add esp, 0xc
push esi
call fcn.0040835d
pop ecx
jmp 0x408818
push str.perm_user
push esi
call fcn.004190c0
test eax, eax
pop ecx
pop ecx
jne 0x408806
push str.Permanent_install_for_current_user_n
jmp 0x40880b
push str.Temporary_install_n
call fcn.004083fe
pop ecx
call fcn.00408197
mov esi, eax
test esi, esi
jne 0x40882e
push str.ERROR:_Unable_to_get_shared_dir_
call fcn.004083fe
pop ecx
push 1
call fcn.00417eed
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00416e34
leave
ret
Function at 0x40a690
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x40a6b0
push 0xd0
push str.._srchashes_sha2_sha256.c
push 0x42c498
call fcn.0040c810
add esp, 0xc
mov dword [esi + 0x2a0], 0
mov dword [esi + 0x278], 0
mov dword [esi + 0x27c], 0
mov dword [esi + 0x280], 0x6a09e667
mov dword [esi + 0x284], 0xbb67ae85
mov dword [esi + 0x288], 0x3c6ef372
mov dword [esi + 0x28c], 0xa54ff53a
mov dword [esi + 0x290], 0x510e527f
mov dword [esi + 0x294], 0x9b05688c
mov dword [esi + 0x298], 0x1f83d9ab
mov dword [esi + 0x29c], 0x5be0cd19
xor eax, eax
pop esi
ret

Function at 0x40ac30
Capabilities:
Hash data using sha224

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x40ac4d
push 0x2a
push str.c:users_simplehelpworkspace_runner_nativelibtomlibtomcrypt_srchashes_sha2_sha224.c
push 0x42c498
call fcn.0040c810
add esp, 0xc
mov dword [esi + 0x2a0], 0
mov dword [esi + 0x278], 0
mov dword [esi + 0x27c], 0
mov dword [esi + 0x280], 0xc1059ed8
mov dword [esi + 0x284], 0x367cd507
mov dword [esi + 0x288], 0x3070dd17
mov dword [esi + 0x28c], 0xf70e5939
mov dword [esi + 0x290], 0xffc00b31
mov dword [esi + 0x294], 0x68581511
mov dword [esi + 0x298], 0x64f98fa7
mov dword [esi + 0x29c], 0xbefa4fa4
xor eax, eax
pop esi
ret
Function at 0x416e34
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x436504]
jne 0x416e3e
repz ret
jmp fcn.0041c42b

Function at 0x41b782
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x41b7af
call fcn.0041735c
mov dword [eax], esi
call fcn.00417349
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0041e28f
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x41b78b
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41b7de
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041736f
pop ecx
call fcn.00417349
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x41b805
test al, 1
je 0x41b805
test byte [esp + 0xc], 2
je 0x41b805
call fcn.0041735c
mov dword [eax], 5
call fcn.00417349
mov dword [eax], 0xd
jmp 0x41b7d5
xor eax, eax
pop esi
ret
Function at 0x424fa5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0041e316
xor ebx, ebx
cmp dword [0x4399e8], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x42507a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x424fe5
xor eax, eax
jmp 0x42513e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x424fde
push eax
call fcn.0041e2b3
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4399e8], eax
call esi
push eax
call fcn.0041e2b3
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4399ec], eax
call esi
push eax
call fcn.0041e2b3
mov dword [0x4399f0], eax
lea eax, [ebp - 8]
push eax
call fcn.00417cde
test eax, eax
pop ecx
pop ecx
je 0x425048
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041e193
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x42507a
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0041e2b3
cmp eax, ebx
pop ecx
mov dword [0x4399f8], eax
je 0x42507a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041e2b3
pop ecx
mov dword [0x4399f4], eax
mov eax, dword [0x4399f4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4250f3
cmp dword [0x4399f8], esi
je 0x4250f3
push eax
call fcn.0041e31f
pop ecx
call eax
cmp eax, ebx
je 0x4250c0
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4399f8]
call fcn.0041e31f
pop ecx
call eax
test eax, eax
je 0x4250c0
test byte [ebp - 0x18], 1
jne 0x4250f3
lea eax, [ebp - 0xc]
push eax
call fcn.00417d51
test eax, eax
pop ecx
je 0x4250db
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041e193
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4250ea
or dword [ebp + 0x10], 0x200000
jmp 0x425124
or dword [ebp + 0x10], 0x40000
jmp 0x425124
mov eax, dword [0x4399ec]
cmp eax, esi
je 0x425124
push eax
call fcn.0041e31f
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x425124
mov eax, dword [0x4399f0]
cmp eax, esi
je 0x425124
push dword [ebp - 4]
push eax
call fcn.0041e31f
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4399e8]
call fcn.0041e31f
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401fe0
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
Function at 0x4069c5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4069e9
xor eax, eax
test eax, eax
je 0x4069fc
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4069fc
xor ecx, ecx
jmp 0x4069ff
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406b22
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x45fdec], 0
push esi
jne 0x406b59
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b33
mov dword [ecx*4 + 0x45fde8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b2e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406b8a
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x45fde8]
xor eax, esi
inc ecx
dec edx
jne 0x406b6c
pop edi
not eax
pop esi
ret 0xc

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e072
mov ebx, 0x407ef8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
mov esi, 0x2cf522b4
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x42e060
nop
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x269a5f36
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne case.default.0x401011
mov eax, dword [ebp + 0x10]
cmp eax, 0xd
ja case.default.0x401011
jmp dword [eax*4 + 0x4010d0]
mov ecx, dword [ebp + 8]
pop ebp
jmp 0x401f30
mov ecx, dword [ebp + 8]
pop ebp
jmp 0x401f60
mov ecx, dword [ebp + 8]
pop ebp
jmp 0x401f90
mov ecx, dword [ebp + 8]
pop ebp
jmp fcn.00404430
mov ecx, dword [ebp + 8]
pop ebp
jmp fcn.00403df0
mov ecx, dword [ebp + 8]
pop ebp
jmp fcn.00404180
mov ecx, dword [ebp + 8]
pop ebp
jmp fcn.00404640
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov eax, dword [eax + 4]
push edx
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
call dword [0x415328]
mov ecx, dword [ebp + 8]
call fcn.00401fc0
pop ebp
ret
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 4]
push 1
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
call dword [0x415328]
mov ecx, dword [ebp + 8]
call fcn.00401fc0
pop ebp
ret
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 4]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
push eax
call fcn.00402300
pop ebp
ret
mov ecx, dword [ebp + 8]
pop ebp
jmp fcn.00405900
mov ecx, dword [ebp + 8]
pop ebp
jmp fcn.00402310
mov ecx, dword [ebp + 8]
pop ebp
jmp fcn.00402440
mov ecx, dword [ebp + 8]
pop ebp
jmp 0x4025b0
push esi
push edi
mov edi, dword [0x415794]
mov esi, ecx
mov ecx, dword [esi + 0x34]
push 0
call edi
mov ecx, dword [esi + 0x3c]
push 0
call edi
mov ecx, dword [esi + 0x40]
push 0
call dword [0x415798]
pop edi
pop esi
ret
push esi
push edi
mov edi, dword [0x415794]
mov esi, ecx
mov ecx, dword [esi + 0x30]
push 0
call edi
mov ecx, dword [esi + 0x3c]
push 0
call edi
mov ecx, dword [esi + 0x40]
push 0
call dword [0x415798]
pop edi
pop esi
ret
push esi
push edi
mov edi, dword [0x415794]
mov esi, ecx
mov ecx, dword [esi + 0x30]
push 0
call edi
mov ecx, dword [esi + 0x34]
push 0
call edi
mov ecx, dword [esi + 0x40]
push 1
call dword [0x415798]
pop edi
pop esi
ret
mov eax, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x5c]
push eax
call dword [0x41578c]
ret
Function at 0x100040e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov ecx, dword [ebp + 8]
mov eax, ecx
push esi
mov esi, dword [ebp + 0xc]
or eax, 1
bsr edx, esi
mov dword [ebp - 0x80], 0x10001
mov dword [ebp - 0x7c], 0x20001
mov dword [ebp - 0x78], 0x20002
mov dword [ebp - 0x74], 0x30003
mov dword [ebp - 0x70], 0x40003
mov dword [ebp - 0x6c], 0x40004
mov dword [ebp - 0x68], 0x50004
mov dword [ebp - 0x64], 0x50005
mov dword [ebp - 0x60], 0x60006
mov dword [ebp - 0x5c], 0x70006
mov dword [ebp - 0x58], 0x70007
mov dword [ebp - 0x54], 0x80007
mov dword [ebp - 0x50], 0x80008
mov dword [ebp - 0x4c], 0x90009
mov dword [ebp - 0x48], 0xa0009
mov dword [ebp - 0x44], 0xa000a
mov dword [ebp - 0x40], 0xb000a
mov dword [ebp - 0x3c], 0xb000b
mov dword [ebp - 0x38], 0xc000c
mov dword [ebp - 0x34], 0xd000c
mov dword [ebp - 0x30], 0xd000d
mov dword [ebp - 0x2c], 0xe000d
mov dword [ebp - 0x28], 0xe000e
mov dword [ebp - 0x24], 0xf000f
mov dword [ebp - 0x20], 0x10000f
mov dword [ebp - 0x1c], 0x100010
mov dword [ebp - 0x18], 0x110010
mov dword [ebp - 0x14], 0x110011
mov dword [ebp - 0x10], 0x120012
mov dword [ebp - 0xc], 0x130012
mov dword [ebp - 8], 0x130013
mov dword [ebp - 4], 0x140013
mov dword [ebp - 0x84], 0
je 0x100041e9
lea eax, [edx + 0x20]
jmp 0x100041ec
bsr eax, eax
xor eax, 0x3f
mov dword [ebp - 0x120], 0xa
xor eax, 0x3f
mov dword [ebp - 0x11c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x118], 0x64
movlpd qword [ebp - 0x130], xmm0
movlpd qword [ebp - 0x128], xmm0
movzx eax, word [ebp + eax*2 - 0x80]
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 0x3e8
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0x2710
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0x186a0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0xf4240
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0x989680
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0x5f5e100
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0x3b9aca00
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0x540be400
mov dword [ebp - 0xd4], 2
mov dword [ebp - 0xd0], 0x4876e800
mov dword [ebp - 0xcc], 0x17
mov dword [ebp - 0xc8], 0xd4a51000
mov dword [ebp - 0xc4], 0xe8
mov dword [ebp - 0xc0], 0x4e72a000
mov dword [ebp - 0xbc], 0x918
mov dword [ebp - 0xb8], 0x107a4000
mov dword [ebp - 0xb4], 0x5af3
mov dword [ebp - 0xb0], 0xa4c68000
mov dword [ebp - 0xac], 0x38d7e
mov dword [ebp - 0xa8], 0x6fc10000
mov dword [ebp - 0xa4], 0x2386f2
mov dword [ebp - 0xa0], 0x5d8a0000
mov dword [ebp - 0x9c], 0x1634578
mov dword [ebp - 0x98], 0xa7640000
mov dword [ebp - 0x94], 0xde0b6b3
mov dword [ebp - 0x90], 0x89e80000
mov dword [ebp - 0x8c], 0x8ac72304
cmp esi, dword [ebp + eax*8 - 0x12c]
ja 0x100043a6
jb 0x1000439a
cmp ecx, dword [ebp + eax*8 - 0x130]
jae 0x100043a6
mov ecx, 1
sub eax, ecx
pop esi
mov esp, ebp
pop ebp
ret
xor ecx, ecx
sub eax, ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10007780
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x100077b1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x100077a0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8

Function at 0x1000ac20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102da733
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
lea ecx, [esi + 0x40]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
mov byte [ebp - 4], 2
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x58], edi
mov dword [esi + 0x60], edx
mov byte [esi + 0x64], 0
mov dword [esi + 0x68], eax
test byte [edi + 8], 8
je 0x1000acfc
test dl, 0x10
jne 0x1000acfc
mov al, 1
jmp 0x1000acfe
xor al, al
mov byte [esi + 0x6c], al
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x70], eax
mov ebx, dword [ecx + 4]
mov edx, ebx
mov edi, dword [edi + 0x18]
sar edx, 3
cmp edi, edx
jae 0x1000ad22
lea eax, [edi*8]
mov dword [ecx + 4], eax
jmp 0x1000ad57
jbe 0x1000ad57
mov eax, dword [ecx + 8]
sar eax, 3
cmp edi, eax
jbe 0x1000ad37
push ecx
push edi
call fcn.1000e110
jmp 0x1000ad57
sub edi, edx
je 0x1000ad54
lea eax, [edi*8]
push eax
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ebx, [ebx + edi*8]
lea ecx, [esi + 0x40]
mov dword [ecx + 4], ebx
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x1001f860
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102db725
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov ebx, edx
cmp dword [edx + 0x14], 0x10
push edi
mov dword [ebp - 0x10], esi
jb 0x1001f890
mov ebx, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x1001f8b2
nop dword [eax]
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x1001f8a0
push edi
push edx
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.1001fd50
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1001f8e2
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [esi + 8], 0x71c71c7
jne 0x1001f8f6
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [esi + 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x20], 0
call fcn.102d8574
add esp, 4
mov ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp + 0xc]
lea ecx, [ebx + 8]
call fcn.100080f0
mov esi, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov dword [ebx + 0x20], 0
mov eax, dword [esi + 8]
inc eax
movss xmm3, dword [esi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1033d960]
mov eax, dword [esi + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x1033d960]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
seta al
test al, al
je 0x1001f9d2
divss xmm2, xmm3
movaps xmm0, xmm2
call fcn.1001d3c0
call fcn.102d9c60
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [esi + 0x1c]
cmp eax, ecx
jae 0x1001f9b6
cmp eax, 0x200
jae 0x1001f9b4
shl eax, 3
cmp eax, ecx
jae 0x1001f9b6
mov eax, ecx
push eax
mov ecx, esi
call fcn.1001fb70
push edi
lea eax, [ebx + 8]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1001fd50
mov edx, dword [eax]
jmp 0x1001f9d5
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
inc dword [esi + 8]
mov dword [ebx + 4], eax
mov dword [ebx], edx
mov dword [eax], ebx
mov dword [edx + 4], ebx
mov ecx, dword [esi + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x18]
and eax, edi
mov edi, dword [ebp - 0x14]
mov esi, dword [ecx + eax*8]
cmp esi, dword [edi]
jne 0x1001f9ff
mov dword [ecx + eax*8], ebx
jmp 0x1001fa11
cmp esi, edx
jne 0x1001fa08
mov dword [ecx + eax*8], ebx
jmp 0x1001fa15
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x1001fa15
mov dword [ecx + eax*8 + 4], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword [eax], ebx
mov byte [eax + 4], 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10020ab0
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov ebx, 0xcbf29ce4
push edi
mov edi, 0x84222325
test esi, esi
je 0x10020afa
movzx eax, byte [ecx]
inc ecx
push eax
mov dword [ebp - 4], ecx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
add esp, 4
cdq
xor edx, ebx
xor eax, edi
push 0x100
push 0x1b3
push edx
push eax
call fcn.102d9a30
mov ecx, dword [ebp - 4]
mov edi, eax
mov ebx, edx
sub esi, 1
jne 0x10020ac7
mov eax, edi
mov edx, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10022b30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
shr edi, 2
mov esi, 0xeeeeeeee
test edi, edi
je 0x10022b89
mov eax, dword [ebp + 8]
nop dword [eax]
movzx ecx, al
lea ebx, [ebx + 4]
add esi, dword [ecx*4 + 0x102f8e38]
mov ecx, esi
shl ecx, 5
add ecx, 3
lea edx, [esi + eax]
xor edx, dword [ebx - 4]
add ecx, edx
mov dword [ebx - 4], edx
add esi, ecx
mov ecx, eax
not ecx
shr eax, 0xb
shl ecx, 0x15
add ecx, 0x11111111
or eax, ecx
sub edi, 1
jne 0x10022b50
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10022b90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
shr edi, 2
mov esi, 0xeeeeeeee
test edi, edi
je 0x10022bea
mov eax, dword [ebp + 8]
nop dword [eax]
mov edx, dword [ebx]
lea ebx, [ebx + 4]
movzx ecx, al
add esi, dword [ecx*4 + 0x102f8e38]
lea ecx, [esi + eax]
xor ecx, edx
mov dword [ebx - 4], ecx
mov ecx, esi
shl ecx, 5
add ecx, 3
add ecx, edx
add esi, ecx
mov ecx, eax
not ecx
shr eax, 0xb
shl ecx, 0x15
add ecx, 0x11111111
or eax, ecx
sub edi, 1
jne 0x10022bb0
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10022bf0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov eax, 0x7fed7fed
mov edi, 0xeeeeeeee
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10022c3e
shl ebx, 8
nop dword [eax + eax]
movzx ecx, cl
lea esi, [esi + 1]
add eax, edi
movzx edx, byte [ecx + 0x102f7d38]
lea ecx, [edx + ebx]
xor eax, dword [ecx*4 + 0x102f7e38]
mov ecx, edi
shl ecx, 5
add ecx, edx
add ecx, edi
lea edi, [eax + 3]
add edi, ecx
mov cl, byte [esi - 1]
test cl, cl
jne 0x10022c10
pop edi
pop esi
pop ebx
ret
Function at 0x10039ea0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102dc9c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
push 0x102fe041
sub esp, 8
mov edi, edx
mov ebx, ecx
mov edx, 0x50
lea ecx, [ebp - 0x10]
push 0
call fcn.100553a0
mov esi, dword [ebp - 0x10]
add esp, 0x10
mov dword [ebx + 0x94], esi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi], 0
mov dword [ebp - 4], 0
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dl, byte [ebp + 0x10]
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x18], edi
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], eax
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov byte [esi + 0x40], dl
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
test dl, dl
jne 0x10039f8f
test eax, eax
jg 0x10039f8f
jl 0x10039f4b
test ecx, ecx
jae 0x10039f8f
mov ecx, 0x103c1be8
mov dword [ebp + 8], 0x103c1be8
call fcn.100536a0
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 2
cmp eax, 1
jne 0x10039f81
push 0
push 0x102fe041
push 0x102fe041
push str.m_writeMode__length___0
call fcn.1004d850
add esp, 0x10
mov ecx, 0x103c1be8
mov byte [ebp - 4], 1
call fcn.100536b0
test edi, edi
jg 0x10039fd7
mov ecx, 0x103c1be8
mov dword [ebp + 8], 0x103c1be8
call fcn.100536a0
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 3
cmp eax, 1
jne 0x10039fc9
push 0
push 0x102fe041
push 0x102fe041
push str.freq___0
call fcn.1004d850
add esp, 0x10
mov ecx, 0x103c1be8
mov byte [ebp - 4], 1
call fcn.100536b0
mov eax, dword [esi + 0x20]
dec eax
add eax, dword [esi + 0x18]
cdq
idiv dword [esi + 0x18]
cmp byte [ebp + 0x10], 0
mov dword [esi + 0x28], eax
je 0x10039ffa
shl eax, 4
cmp eax, dword [esi]
jbe 0x10039ffa
push eax
mov ecx, esi
call fcn.1005a510
mov dword [ebp - 4], 0xffffffff
cmp dword [ebx + 0x94], 0
jne 0x1003a04d
mov ecx, 0x103c1be8
mov dword [ebp + 8], 0x103c1be8
call fcn.100536a0
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 4
cmp eax, 1
jne 0x1003a043
push 0
push 0x102fe041
push 0x102fe041
push str.handle__md5VerifyData___NULL
call fcn.1004d850
add esp, 0x10
mov ecx, 0x103c1be8
call fcn.100536b0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret