joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46c2f0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.00472770
mov ebp, dword [esp + 0x220]
mov eax, dword [esp + 0x21c]
push ebp
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, eax
cmp edi, 0x20
ja 0x46c3e9
lea ecx, [esp + 0x10]
push ecx
push str..htm
push bind
mov ecx, esi
call fcn.0046c400
test eax, eax
jne 0x46c3e9
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push bind
mov ecx, esi
call fcn.0046c400
test eax, eax
jne 0x46c3e9
lea edx, [esp + 0x10]
push 0x6a68f4
push edx
call fcn.004891a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x46c3ba
lea eax, [esp + 0x10]
push 0x6a68f0
push eax
call fcn.004891a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x46c3ba
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x46c3bd
mov byte [esi], 0
push 0x6a60b8
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8

Function at 0x46c400
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x46c462
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x4726b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4bae28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x118]
test eax, eax
jne 0x472760
mov eax, dword [0x6a76d4]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.004ab2bd
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.004ab30c
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.004ab269
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x472747
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x472747
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x118], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.004aaed9
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x475860
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4bb2b0
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x475a07
mov ecx, dword [0x6a76d4]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x47595c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.00474580
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.004aafc6
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.004aaed9
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x6a60b8
call fcn.004aaf47
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.00474940
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.004aafc6
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.004aaed9
lea ecx, [esp + 0xc]
call fcn.004ab3a1
mov ecx, dword [esp + 0xc]
push 0x6a6af4
push ecx
call fcn.00488154
add esp, 8
test eax, eax
je 0x475984
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x4758bd
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.004aaed9
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.004aaed9
jmp 0x475a0b
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.00475600
test eax, eax
push 0
je 0x4759ef
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.00473ca0
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4759d5
cmp eax, 0x64
jg 0x4759c3
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x475960
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x475960
cmp eax, 0x64
jge 0x47595c
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x475960
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.00473ca0
mov esi, eax
jmp 0x475960
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x475a15
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x47fde0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4bb568
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.004801d0
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x6ec894
call fcn.00489ed8
mov ecx, dword [0x689e40]
mov al, byte [esi]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.0047d540
mov esi, 0x689e98
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x47fe87
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x47fe7e
cmp al, 0xff
je 0x47fe7e
dec al
mov byte [ecx], al
jmp 0x47fe87
push ecx
call fcn.004aac43
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.004a6840
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], esi
je 0x47fecd
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x47fec4
cmp al, 0xff
je 0x47fec4
dec al
mov byte [ecx], al
jmp 0x47fecd
push ecx
call fcn.004aac43
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.00489f5f
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x483bd0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x483c36
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x483c36
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x483c17
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x483fc0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x483ff8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x484c30
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x484c79
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x4850f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bb890
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00484ca0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00484d20
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00484d20
lea ecx, [esi + 0xc]
call fcn.004aae64
lea ecx, [esi + 0x10]
call fcn.004aae64
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004862b0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004862b0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004862b0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004aaed9
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004aaed9
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4a0eb0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4bca80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.00495ea4
mov eax, dword [0x68ce90]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.00495dd6
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.004a1960
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x4a0f57
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4a0f4e
cmp al, 0xff
je 0x4a0f4e
dec al
mov byte [ecx], al
jmp 0x4a0f57
push ecx
call fcn.004aac43
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x4a0f88
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4a0f7f
cmp al, 0xff
je 0x4a0f7f
dec al
mov byte [ecx], al
jmp 0x4a0f88
push ecx
call fcn.004aac43
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x4ad2ba
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4ad2f2
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004ab334
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004ab30c
jmp 0x4ad2fe
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4ae9ac
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4ae9ee
call fcn.004b4a3c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4ae9ee
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4ae9e5
xor eax, eax
jmp 0x4ae9f6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004ae9fc
pop edi
pop esi
pop ebx
ret 4

Function at 0x4b4f6c
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4b4f9a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b4fb8
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004b4ed2
jmp 0x4b4fb8
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b4fb8
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004b4ed2
test edi, edi
mov eax, edi
jne 0x4b4fa2
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10010340
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], 0
push ebx
push esi
push edi
mov edi, dword [0x10309a50]
mov esi, dword [edi + 0x19b0]
mov dword [ebp - 8], esi
test cl, 0x10
jne 0x10010471
mov ebx, dword [esi + 0x118]
lea eax, [edi + 0x19ec]
mov dword [ebp - 0xc], eax
test ebx, ebx
je 0x10010388
cmp dword [eax], ebx
jne 0x10010468
jmp 0x1001038b
mov dword [ebp - 0xc], eax
cmp byte [edi + 0xf0], 0
je 0x10010468
test ebx, ebx
jne 0x10010421
test cl, 8
je 0x10010468
test byte [esi + 0x11c], 1
jne 0x100103c6
cmp dword [eax], ebx
je 0x10010468
cmp dword [edi + 0x1a18], esi
jne 0x10010468
mov ecx, dword [ebp - 8]
add esi, 0x120
push esi
call fcn.10013c40
mov ebx, eax
mov eax, dword [ebp - 8]
push ebx
push esi
mov dword [eax + 0x118], ebx
call fcn.10015b70
mov esi, dword [ebp - 8]
mov cl, al
add esp, 8
mov byte [ebp - 1], cl
test cl, cl
je 0x10010412
cmp byte [edi + 0x3d8], 0
je 0x10010412
push esi
push ebx
call fcn.1001cc70
push esi
call fcn.10013100
mov cl, byte [ebp - 1]
add esp, 0xc
mov eax, dword [ebp - 0xc]
cmp dword [eax], ebx
jne 0x10010468
mov byte [edi + 0x19f9], cl
jmp 0x10010428
mov byte [edi + 0x19f9], 0
cmp dword [eax], ebx
jne 0x10010468
mov ecx, dword [esi + 0xcc]
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [0x10309a50]
cmp byte [eax + 0xf0], 0
je 0x10010468
movss xmm1, dword [eax + 0x30]
movss xmm0, dword [eax + 0x444]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test al, al
jne 0x100104af
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
or ebx, 0xffffffff
mov dword [ebp - 8], esi
mov edx, 0x10146581
mov al, 0x23
or esi, 0xffffffff
cmp al, 0x23
jne 0x10010491
cmp byte [edx], al
jne 0x10010491
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 + 0x10145fe8]
test al, al
jne 0x10010483
mov esi, dword [ebp - 8]
not ebx
cmp byte [edi + 0x1d3c], 0
jne 0x100104e8
call fcn.10011310
mov eax, dword [ebp - 0xc]
mov dword [edi + 0x1d54], ebx
mov ebx, dword [ebp + 8]
mov dword [edi + 0x1d58], eax
mov byte [edi + 0x1d3c], 1
mov dword [edi + 0x1d40], ebx
mov dword [edi + 0x1d48], 0
jmp 0x100104eb
mov ebx, dword [ebp + 8]
mov eax, dword [edi + 0x1960]
mov dword [edi + 0x1d44], eax
mov byte [edi + 0x1d3d], 1
test bl, 1
jne 0x10010534
call fcn.10010870
cmp dword [edi + 0x1da4], 0
je 0x10010534
test dword [edi + 0x1d98], 0x1000
je 0x10010534
mov eax, dword [edi + 0x19b0]
mov byte [eax + 0x8f], 1
mov dword [eax + 0xa8], 1
test bl, 0x12
jne 0x10010540
and dword [esi + 0x11c], 0xfffffffe
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10013b70
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx + 0xcc]
mov eax, dword [ecx + 0xd4]
push esi
push edi
lea esi, [ebp + 8]
mov edi, 4
mov eax, dword [eax + edx*4 - 4]
not eax
nop
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10145fe8]
sub edi, 1
jne 0x10013b90
mov ecx, dword [0x10309a50]
not eax
pop edi
pop esi
cmp dword [ecx + 0x19ec], eax
jne 0x10013bc2
mov dword [ecx + 0x19f0], eax
cmp dword [ecx + 0x1a20], eax
jne 0x10013bd1
mov byte [ecx + 0x1a24], 1
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x103090f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
movss xmm0, dword [edx]
mov edi, 0x10
subss xmm0, dword [esi + 0xc]
mov ecx, dword [esi + 0xcc]
cvttss2si eax, xmm0
movss xmm0, dword [edx + 4]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 8]
subss xmm0, dword [esi + 0xc]
mov dword [ebp - 0x10], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 0xc]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 0xc], eax
cvttss2si eax, xmm0
mov dword [ebp - 8], eax
mov eax, dword [esi + 0xd4]
lea esi, [ebp - 0x14]
mov edx, dword [eax + ecx*4 - 4]
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10145fe8]
sub edi, 1
jne 0x10013cb4
mov eax, dword [0x10309a50]
not edx
pop edi
pop esi
cmp dword [eax + 0x19ec], edx
jne 0x10013ce5
mov dword [eax + 0x19f0], edx
cmp dword [eax + 0x1a20], edx
jne 0x10013cf4
mov byte [eax + 0x1a24], 1
mov ecx, dword [ebp - 4]
mov eax, edx
xor ecx, ebp
call fcn.100e1332
mov esp, ebp
pop ebp
ret 4

Function at 0x100144e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
not ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, ebx
test edi, edi
je 0x10014543
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10014526
cmp edi, 2
jb 0x10014526
cmp byte [esi], cl
jne 0x10014526
cmp byte [esi + 1], cl
jne 0x10014526
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10145fe8]
jmp 0x100144f7
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10145fe8]
test edi, edi
jne 0x100144f7
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10014578
nop word [eax + eax]
cmp cl, 0x23
jne 0x1001455f
cmp byte [esi], cl
jne 0x1001455f
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 + 0x10145fe8]
test cl, cl
jne 0x10014550
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x10015310
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
or eax, 0xffffffff
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], str.Window
mov esi, 0x101464cd
mov cl, 0x57
or edi, 0xffffffff
cmp cl, 0x23
jne 0x10015342
cmp byte [esi], cl
jne 0x10015342
cmp byte [esi + 1], cl
cmove eax, edi
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x10145fe8]
test cl, cl
jne 0x10015333
mov esi, dword [ebp + 8]
not eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x1001ee30
mov dword [ebp - 0xc], 0x1001ed80
mov edi, dword [esi + 0x2d48]
mov ecx, dword [esi + 0x2d4c]
mov dword [ebp - 8], 0x1001ee60
cmp edi, ecx
jne 0x10015429
inc edi
test ecx, ecx
je 0x1001539c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x100153a1
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x10015429
mov eax, dword [0x10309a50]
test eax, eax
je 0x100153b9
inc dword [eax + 0x374]
push ebx
push dword [0x10309a70]
lea eax, [edi + edi*2]
shl eax, 3
push eax
call dword [0x10173200]
mov ebx, eax
add esp, 8
mov eax, dword [esi + 0x2d50]
test eax, eax
je 0x1001541c
mov ecx, dword [esi + 0x2d48]
lea ecx, [ecx + ecx*2]
shl ecx, 3
push ecx
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 0x2d50]
add esp, 0xc
test ecx, ecx
je 0x1001540c
mov eax, dword [0x10309a50]
test eax, eax
je 0x1001540c
dec dword [eax + 0x374]
push dword [0x10309a70]
push ecx
call dword [0x10173204]
add esp, 8
mov dword [esi + 0x2d50], ebx
mov dword [esi + 0x2d4c], edi
pop ebx
mov eax, dword [esi + 0x2d48]
movups xmm0, xmmword [ebp - 0x18]
pop edi
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x2d50]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [ebp - 8]
movq qword [eax + ecx*8 + 0x10], xmm0
inc dword [esi + 0x2d48]
mov byte [esi], 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10016210
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [0x10309a50]
cmp byte [esi + 0x2d60], 0
je 0x100162ab
cmp dword [esi + 0x2d68], 0
push edi
lea edi, [esi + 0x2d6c]
je 0x1001629c
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x10016256
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.1001f770
lea eax, [ebp + 0xc]
mov dword [edi], 0
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.1001f2d0
mov edx, dword [edi]
mov ecx, 0x10309a54
push dword [esi + 0x2d68]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esi + 0x2d74]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebp
ret
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.1001f2d0
pop edi
pop esi
pop ebp
ret
Function at 0x1001a540
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x10309a50]
lea edx, [ebp + 8]
push ebx
push esi
push edi
mov eax, dword [eax + 0x19b0]
mov esi, 4
mov ebx, dword [eax + 0xd4]
lea edi, [eax + 0xcc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
mov eax, dword [edi]
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 + 0x10145fe8]
sub esi, 1
jne 0x1001a577
mov eax, dword [ebp - 4]
not ebx
mov esi, dword [edi]
mov ecx, dword [eax + 0xd0]
cmp esi, ecx
jne 0x1001a5c7
inc esi
test ecx, ecx
je 0x1001a5b2
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1001a5b7
mov eax, 8
cmp eax, esi
mov ecx, edi
cmovg esi, eax
push esi
call fcn.1001f870
mov eax, dword [ebp - 4]
mov ecx, dword [edi]
mov eax, dword [eax + 0xd4]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001c860
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
mov eax, dword [0x10309a50]
mov dword [eax + 0x2d38], 0
je 0x1001c955
push esi
mov esi, dword [0x10309a50]
push edi
lea edi, [esi + 0x2d3c]
mov dword [esi + 0x2d38], 0
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1001c8b4
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.1001f770
mov dword [edi], 0
cmp dword [edi + 4], 0
jne 0x1001c8c9
push 8
mov ecx, edi
call fcn.1001f770
mov eax, dword [edi]
mov ecx, dword [edi + 8]
push ebx
mov dword [ebp - 4], 0
mov byte [ecx + eax], 0
inc dword [edi]
cmp dword [esi + 0x2d48], 0
jle 0x1001c90c
xor ebx, ebx
mov eax, dword [esi + 0x2d50]
add eax, ebx
push edi
push eax
push esi
mov eax, dword [eax + 0x10]
call eax
mov eax, dword [ebp - 4]
add esp, 0xc
inc eax
add ebx, 0x18
mov dword [ebp - 4], eax
cmp eax, dword [esi + 0x2d48]
jl 0x1001c8e7
mov edi, dword [edi]
mov ebx, 0x10309a54
push 0x101465b8
push dword [ebp + 8]
lea eax, [edi - 1]
neg edi
sbb edi, edi
and edi, eax
mov eax, dword [esi + 0x2d44]
test eax, eax
cmovne ebx, eax
call fcn.10014330
mov esi, eax
add esp, 8
test esi, esi
je 0x1001c952
push esi
push edi
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret