joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b456f
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004a2412
xor ebx, ebx
cmp dword [0x4f9be0], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4b4645
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4b4725
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4d7ad4
push edi
call esi
cmp eax, ebx
je 0x4b4725
push eax
call fcn.004a23a4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4f9be0], eax
call esi
push eax
call fcn.004a23a4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4f9be4], eax
call esi
push eax
call fcn.004a23a4
mov dword [0x4f9be8], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004a877f
test eax, eax
pop ecx
pop ecx
je 0x4b4613
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0049fdb4
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4b4645
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004a23a4
cmp eax, ebx
pop ecx
mov dword [0x4f9bf0], eax
je 0x4b4645
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004a23a4
pop ecx
mov dword [0x4f9bec], eax
mov eax, dword [0x4f9bec]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4b46ca
cmp dword [0x4f9bf0], ecx
je 0x4b46ca
push eax
call fcn.004a241b
push dword [0x4f9bf0]
mov esi, eax
call fcn.004a241b
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4b46ca
cmp edi, ebx
je 0x4b46ca
call esi
cmp eax, ebx
je 0x4b4697
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4b4697
test byte [ebp - 0x18], 1
jne 0x4b46ca
lea eax, [ebp - 0x10]
push eax
call fcn.004a882e
test eax, eax
pop ecx
je 0x4b46b2
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0049fdb4
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4b46c1
or dword [ebp + 0x10], 0x200000
jmp 0x4b4705
or dword [ebp + 0x10], 0x40000
jmp 0x4b4705
mov eax, dword [0x4f9be4]
cmp eax, dword [ebp - 8]
je 0x4b4705
push eax
call fcn.004a241b
cmp eax, ebx
pop ecx
je 0x4b4705
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4b4705
mov eax, dword [0x4f9be8]
cmp eax, dword [ebp - 8]
je 0x4b4705
push eax
call fcn.004a241b
cmp eax, ebx
pop ecx
je 0x4b4705
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4f9be0]
call fcn.004a241b
cmp eax, ebx
pop ecx
je 0x4b4725
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4b4727
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401750
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.004024d0
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.004024d0
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x4017b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x40606c]
test esi, esi
jle 0x4018d0
mov eax, dword [0x406070]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp ebx, edx
jb 0x4017e4
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x401867
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x4017d0
mov dword [esp], ebx
call fcn.004021b0
mov edi, eax
test eax, eax
je 0x4018f7
mov eax, dword [0x406070]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.004022f0
mov edx, dword [0x406070]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x4018d7
mov eax, dword [esp + 0x28]
lea edx, [eax - 4]
and edx, 0xfffffffb
je 0x401860
lea edx, [eax - 0x40]
and edx, 0xffffffbf
jne 0x401870
add dword [0x40606c], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 4
mov eax, 0x40
mov ecx, dword [esp + 0x20]
cmove eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x406070]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x401860
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.00401750
lea esi, cs:[esi]
nop
xor esi, esi
jmp 0x4017ee
mov eax, dword [0x406070]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.00401750
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.00401750
lea esi, cs:[esi]
nop
Function at 0x401e20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x406088
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x406080]
sub esp, 4
test ebx, ebx
je 0x401e75
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
mov esi, eax
sub esp, 4
call edi
test esi, esi
je 0x401e6e
test eax, eax
jne 0x401e6e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401e50
mov dword [esp], 0x406088
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4021b0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x4021d5
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x4021e0
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x4021d5
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test si, si
je 0x402228
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x40221e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x40222a
add ecx, 1
add eax, 0x28
cmp esi, ecx
jne 0x402210
xor eax, eax
pop ebx
pop esi
ret
Function at 0x4028a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x30
call fcn.00401590
mov eax, dword [sym.imp.KERNEL32.dll_FreeConsole]
call eax
cmp dword [ebp + 8], 3
jne 0x4028e9
mov eax, dword [ebp + 0xc]
add eax, 8
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_atoi
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
add eax, 4
mov eax, dword [eax]
mov edx, dword [esp + 0x28]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004025a0
jmp 0x402924
mov dword [esp + 0x1a], 0x2e323931
mov dword [esp + 0x1e], 0x2e383631
mov dword [esp + 0x22], 0x30312e35
mov word [esp + 0x26], 0x37
mov dword [esp + 0x2c], 0x270f
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
lea eax, [esp + 0x1a]
mov dword [esp], eax
call fcn.004025a0
mov eax, 0
leave
ret
Function at 0x401cd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x401d28
cmp byte [esi + ebx - 1], 0xa
je 0x401cfc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x4030f8], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret

Function at 0x402280
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
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
inc eax
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
nop
nop
nop
nop
nop
Function at 0x1000fde0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push 0
push 0
push 0
push 0x1000ffd0
push 0
push 0
mov esi, ecx
mov dword [0x100834ec], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x10011940
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0x40
push 0x3000
push dword [ebp + 8]
push 0
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
pop ebp
ret 4

Function at 0x10011ad0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10058b90
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x10083028]
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, ecx
mov dword [ebp - 0x260], esi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x254], 0x22c
lea eax, [ebp - 0x254]
mov dword [ebp - 0x25c], ebx
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x10011c77
lea eax, [ebp - 0x254]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x10011c77
nop dword [eax + eax]
mov esi, dword [esi + 0x44]
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x230]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea edx, [eax + 2]
mov dword [ebp - 4], 0xffffffff
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10011b80
sub eax, edx
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.100119c0
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011ba4
mov eax, dword [ebp - 0x18]
lea edi, [ebp - 0x28]
sub ecx, edx
mov edx, dword [ebp - 0x28]
sar ecx, 1
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x258], edx
setae bh
cmovae edi, edx
cmp eax, ecx
jne 0x10011c06
test eax, eax
je 0x10011c65
movzx ecx, word [edi]
movzx edx, word [esi]
cmp cx, dx
jb 0x10011c00
sub edi, esi
cmp cx, dx
ja 0x10011c00
cmp eax, 1
je 0x10011c5f
movzx ecx, word [edi + esi + 2]
add esi, 2
dec eax
movzx edx, word [esi]
cmp cx, dx
jae 0x10011be8
mov edx, dword [ebp - 0x258]
xor bl, bl
test bh, bh
je 0x10011c3a
mov ecx, dword [ebp - 0x14]
mov eax, edx
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x10011c30
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011c69
push ecx
push edx
call fcn.10056f0f
add esp, 8
test bl, bl
jne 0x10011c6f
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x25c]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x10011c77
mov esi, dword [ebp - 0x260]
jmp 0x10011b50
mov edx, dword [ebp - 0x258]
mov bl, 1
jmp 0x10011c08
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ebp - 0x24c]
jmp 0x10011c79
xor eax, eax
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.10056f1d
mov esp, ebp
pop ebp
ret
Function at 0x10011d50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10058bd5
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x10083028]
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 - 0x64]
push eax
push 2
push 0
push dword [ecx + 0x48]
mov dword [ebp - 0x64], 0
push Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10011e32
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x10011dab
mov eax, dword [esi]
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push 0
push eax
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x10011e24
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
jb 0x10011dce
mov esi, dword [esi]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x30]
mov eax, dword [ebp + 0xc]
sub esp, 8
mov dword [ebp - 0x20], eax
mov eax, esp
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x30], 0xc0000000
mov dword [ebp - 0x2c], 0x20000008
push 0x26
mov dword [eax], 2
mov dword [eax + 4], ecx
lea eax, [ebp - 0x60]
push str._Settings__Failed_to_set__for_key_
push eax
call fcn.1000fad0
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 0
push eax
call fcn.10010cf0
add esp, 0x18
lea ecx, [ebp - 0x60]
call fcn.1000ac20
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10011eb4
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
jb 0x10011e3d
mov esi, dword [esi]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x1c]
sub esp, 8
mov dword [ebp - 0x18], esi
mov eax, esp
mov dword [ebp - 0x1c], 0xc0000000
push 0x20
mov dword [eax], 1
mov dword [eax + 4], ecx
lea eax, [ebp - 0x48]
push str._Settings__Failed_to_open_key_
push eax
call fcn.1000fad0
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 1
push eax
call fcn.10010cf0
mov edx, dword [ebp - 0x34]
add esp, 0x18
cmp edx, 0x10
jb 0x10011eb4
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10011eaa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10011eaa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10056f0f
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10056f1d
mov esp, ebp
pop ebp
ret 8
Function at 0x10012bf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10058d00
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10083028]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0x7c
call fcn.10056edf
add esp, 4
mov dword [ebp - 0x14], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
test eax, eax
je 0x10012c41
push esi
mov ecx, eax
call fcn.1000a8b0
jmp 0x10012c43
xor eax, eax
push 0x10
push 0x30
mov dword [ebp - 4], 0xffffffff
mov dword [edi], eax
mov dword [edi + 4], 0
call fcn.10057203
add esp, 8
mov dword [ebp + 8], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x10012c77
push esi
mov ecx, eax
call fcn.10011ed0
jmp 0x10012c79
xor eax, eax
mov dword [edi + 8], eax
xorps xmm0, xmm0
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov byte [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
movq qword [edi + 0x24], xmm0
push 0xf0
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
call fcn.10056edf
mov dword [edi + 0x2c], eax
add eax, 0xf0
push 0xf0
mov dword [edi + 0x34], eax
mov esi, dword [edi + 0x2c]
push 0
push esi
call sub.VCRUNTIME140.dll_memset
lea eax, [esi + 0xf0]
mov dword [edi + 0x30], eax
push 0x1420
lea eax, [edi + 0x38]
mov dword [ebp - 4], 2
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x1c
mov dword [edi + 0x1458], 0
mov ecx, edi
mov dword [edi + 0x145c], 0
mov dword [edi + 0x1460], 0
mov dword [edi + 0x1464], 0
mov dword [edi + 0x1468], 0
mov dword [edi + 0x146c], 0
mov dword [edi + 0x1470], 0
mov dword [edi + 0x1474], 0
mov dword [edi + 0x1478], 0
call fcn.10013250
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1001e6c0
Capabilities:
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
or eax, 0xffffffff
push ebx
push esi
push edi
mov bl, byte [ecx]
lea esi, [ecx + 1]
mov edi, dword [0x10083558]
test bl, bl
je 0x1001e709
push ebp
or ebp, 0xffffffff
nop dword [eax]
cmp bl, 0x23
jne 0x1001e6ef
cmp byte [esi], bl
jne 0x1001e6ef
cmp byte [esi + 1], bl
cmove eax, ebp
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x10078f40]
test bl, bl
jne 0x1001e6e0
pop ebp
mov ecx, dword [edi + 0x5de8]
not eax
mov edx, dword [edi + 0x5df0]
pop edi
pop esi
lea ecx, [ecx + ecx*8]
lea ecx, [edx + ecx*4]
pop ebx
cmp edx, ecx
je 0x1001e730
cmp dword [edx + 4], eax
je 0x1001e733
add edx, 0x24
cmp edx, ecx
jne 0x1001e724
xor eax, eax
ret
mov eax, edx
ret

Function at 0x1001e740
Capabilities:
Hash data with crc32

Disassembly:
mov eax, dword [esp + 4]
push ebx
or ebx, 0xffffffff
push esi
mov cl, byte [eax]
lea edx, [eax + 1]
mov al, cl
test al, al
je 0x1001e77e
or esi, 0xffffffff
cmp al, 0x23
jne 0x1001e765
cmp byte [edx], al
jne 0x1001e765
cmp byte [edx + 1], al
cmove ebx, esi
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x10078f40]
test al, al
jne 0x1001e757
mov esi, dword [0x10083558]
not ebx
add esi, 0x3f78
push ebx
push esi
call fcn.10023020
mov edx, dword [esi]
add esp, 8
mov ecx, dword [esi + 8]
lea ecx, [ecx + edx*8]
cmp eax, ecx
je 0x1001e7ac
cmp dword [eax], ebx
jne 0x1001e7ac
mov eax, dword [eax + 4]
pop esi
pop ebx
ret
pop esi
xor eax, eax
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
lea edx, [esp + 0x10]
mov esi, 4
mov eax, dword [edi + 0xec]
mov ebx, dword [edi + 0xf4]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10078f40]
sub esi, 1
jne 0x1001f130
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x3fcc], ebx
jne 0x1001f166
push esi
push dword [esp + 0x14]
push 4
push ebx
call fcn.1001ca60
add esp, 0x10
pop edi
pop esi
mov eax, ebx
pop ebx
ret 4

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

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov edx, ecx
push esi
push edi
lea esi, [esp + 8]
mov edi, 0x10
movss xmm1, dword [edx + 0x108]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0x10c]
subss xmm0, xmm1
mov ecx, dword [edx + 0xec]
movss dword [esp + 8], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [esp + 0xc], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [esp + 0x10], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [edx + 0xf4]
subss xmm0, xmm2
mov edx, dword [eax + ecx*4 - 4]
movss dword [esp + 0x14], xmm0
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10078f40]
sub edi, 1
jne 0x1001f241
not edx
pop edi
mov eax, edx
pop esi
add esp, 0x10
ret 4
Function at 0x10020b30
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0xc]
not ebx
push edi
mov edi, dword [esp + 0x14]
mov eax, ebx
test edi, edi
je 0x10020b7d
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10020b61
cmp edi, 2
jb 0x10020b61
cmp byte [esi], cl
jne 0x10020b61
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10078f40]
test edi, edi
jne 0x10020b47
pop edi
pop esi
not eax
pop ebx
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10020bac
cmp cl, 0x23
jne 0x10020b93
cmp byte [esi], cl
jne 0x10020b93
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x10078f40]
test cl, cl
jne 0x10020b84
pop edi
pop esi
not eax
pop ebx
ret

Function at 0x10020df0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10
xor ecx, ecx
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
push edi
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x10020e11
cmp eax, ebp
jae 0x10020f76
mov bl, byte [eax]
test bl, bl
je 0x10020f76
movzx ecx, bl
mov edx, ebp
shr ecx, 3
movsx edi, byte [ecx + 0x10079b68]
xor ecx, ecx
test edi, edi
mov dword [esp + 0x14], edi
sete cl
add ecx, edi
mov dword [esp + 0x18], ecx
test ebp, ebp
jne 0x10020e42
lea edx, [ecx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, bl
mov byte [esp + 0x13], cl
cmp esi, edx
jae 0x10020e57
mov bh, byte [esi]
jmp 0x10020e59
xor bh, bh
lea esi, [eax + 2]
mov byte [esp + 0x12], bh
cmp esi, edx
jae 0x10020e68
mov ch, byte [esi]
jmp 0x10020e6a
xor ch, ch
lea esi, [eax + 3]
mov byte [esp + 0x11], ch
cmp esi, edx
jae 0x10020e79
mov bl, byte [esi]
jmp 0x10020e7b
xor bl, bl
mov edi, dword [edi*4 + 0x10079b88]
movzx edx, ch
movzx ecx, cl
and edi, ecx
movzx esi, bh
shl edi, 6
mov ecx, esi
and ecx, 0x3f
mov byte [esp + 0x28], bl
or edi, ecx
movzx ebx, bl
shl edi, 6
mov ecx, edx
and ecx, 0x3f
and edx, 0xc0
or edi, ecx
and esi, 0xc0
mov ecx, ebx
shl edi, 6
and ecx, 0x3f
shr ebx, 2
or edi, ecx
or ebx, edx
mov ecx, dword [esp + 0x14]
shr ebx, 2
or ebx, esi
mov esi, dword [esp + 0x14]
shr ebx, 2
mov ecx, dword [ecx*4 + 0x10079bb0]
shr edi, cl
cmp edi, dword [esi*4 + 0x10079b9c]
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
or ebx, ecx
mov ecx, edi
and ecx, 0xfffff800
cmp ecx, 0xd800
mov ecx, 0x80
cmove edx, ecx
mov ecx, 0xffff
or ebx, edx
cmp ecx, edi
sbb ecx, ecx
and ecx, 0x100
or ebx, ecx
mov ecx, dword [esi*4 + 0x10079bc4]
xor ebx, 0x2a
sar ebx, cl
test ebx, ebx
je 0x10020f66
xor edx, edx
cmp byte [esp + 0x28], dl
setne dl
xor ecx, ecx
cmp byte [esp + 0x11], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [esp + 0x12], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [esp + 0x13], cl
setne cl
add edx, ecx
cmp dword [esp + 0x18], edx
cmovl edx, dword [esp + 0x18]
mov ecx, edx
add eax, ecx
mov ecx, dword [esp + 0x1c]
inc ecx
jmp 0x10020e01
mov ecx, dword [esp + 0x18]
add eax, ecx
mov ecx, dword [esp + 0x1c]
inc ecx
jmp 0x10020e01
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x10
ret