joyce8/EMBER2024-capa huggingface dataset:
Function at 0x522a70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa7000]
push edi
jmp 0x522a8a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x522a91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x522a80
mov eax, 1
add ebx, ebx
jne 0x522aa3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x522ab4
jne 0x522ad3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x522ad3
dec eax
add ebx, ebx
jne 0x522ac0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x522a98
add ebx, ebx
jne 0x522acf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x522b25
xor ecx, ecx
sub eax, 3
jb 0x522aeb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x522b5a
sar eax, 1
mov ebp, eax
jmp 0x522af6
add ebx, ebx
jne 0x522af6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x522ac4
inc ecx
add ebx, ebx
jne 0x522b04
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x522ac4
add ebx, ebx
jne 0x522b11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x522b06
jne 0x522b22
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x522b06
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x522b44
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x522b36
jmp 0x522a86
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x522b44
add edi, ecx
jmp 0x522a86
pop esi
mov edi, esi
mov ecx, 0x3952
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x522b62
cmp byte [edi], 0x25
jne 0x522b62
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x522b67
lea edi, [esi + 0x11f000]
mov eax, dword [edi]
or eax, eax
je 0x522bdf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12b3b4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12b4d8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x522b94
mov ecx, edi
jns 0x522bc3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12b4e0]
or eax, eax
je 0x522bd9
mov dword [ebx], eax
add ebx, 4
jmp 0x522bb1
call dword [esi + 0x12b4dc]
mov ebp, dword [esi + 0x12b4e4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x522c13
sub esp, 0xffffff80
jmp 0x484ca5
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x4030b4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], edi
push 0xfffffffffffffff6
call dword [sym.imp.kernel32.dll_GetStdHandle]
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x4030fe
push 0
lea ecx, [ebp - 4]
push ecx
push 1
mov ecx, dword [ebp - 0x10]
push ecx
push ebx
call dword [sym.imp.kernel32.dll_ReadFile]
mov edi, dword [ebp - 0x10]
inc dword [ebp - 0x10]
dec dword [ebp - 0xc]
cmp byte [edi], 0xd
je 0x4030fb
cmp dword [ebp - 0xc], 0
jne 0x4030d4
mov byte [edi], 0
push 0
lea ecx, [ebp - 4]
push ecx
push 1
lea ecx, [ebp - 0x14]
push ecx
push ebx
call dword [sym.imp.kernel32.dll_ReadFile]
cmp byte [ebp - 0x14], 0xa
jne 0x4030fe
popal
add esp, 0x14
pop ebp
ret
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6a
sub eax, 0x403d10
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x401700
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40173f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40173f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40173f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40173f
cmp dword [ecx + 0x74], 0xe
jbe 0x40173f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4062aa
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x414040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4062f5
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004064c5
test al, al
jne 0x4062ef
sub edx, 2
cmp edx, edi
jne 0x4062d5
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x406317
lea eax, [edi + 2]
cmp edx, eax
je 0x406317
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004061f6
add esp, 0x10
jmp 0x40640f
push esi
lea ecx, [ebp - 0x255]
call fcn.004064c5
sub edx, edi
xor ecx, ecx
sar edx, 1
inc edx
test al, al
lea eax, [ebp - 0x254]
cmovne ecx, edx
xor ebx, ebx
push ebx
push ebx
push ebx
push eax
push ebx
push edi
mov dword [ebp - 0x260], ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x406358
push dword [ebp - 0x25c]
jmp 0x406307
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x406395
cmp word [ebp - 0x226], 0
je 0x4063b6
cmp word [ebp - 0x226], ax
jne 0x406395
cmp word [ebp - 0x224], 0
je 0x4063b6
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004061f6
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x406402
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x40636f
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4063ea
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x40640f
push 0x406026
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004094d0
add esp, 0x10
jmp 0x4063df
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401b8e
leave
ret
Function at 0x4072ad
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x46bc7c], 0
jne 0x4072eb
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4072c1
mov dword [ecx*4 + 0x46bc78], eax
inc ecx
cmp ecx, 0x100
jl 0x4072bc
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x407318
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46bc78]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072f9
not eax
pop ebp
ret 0xc

Function at 0x43f15a
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [pe_dos_header]
mov eax, dword ds:[eax + 0x34]
mov ebp, dword ds:[eax + 0xb8]
jmp 0x43f168
push eax
push ecx
push esi
push ebp
mov eax, dword fs:[0x30]
test eax, eax
js 0x43f14a
mov eax, dword ds:[eax + 0xc]
mov esi, dword ds:[eax + 0x1c]
lodsd eax, dword [esi]
mov ebp, dword ds:[eax + 8]
mov dword [ebx + 0x60], ebp
mov eax, ebp
cmp word [eax], 0x5a4d
jne 0x43f145
add eax, 0x3c
mov ecx, dword [eax]
add ecx, dword [ebx + 0x60]
cmp word [ecx], 0x4550
jne 0x43f145
add ecx, 0x78
mov esi, dword [ecx]
add esi, dword [ebx + 0x60]
add esi, 0x18
lodsd eax, dword [esi]
mov dword [ebx + 0x64], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x68], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x6c], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x70], eax
pop ebp
pop esi
pop ecx
pop eax
ret
Function at 0x464700
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x449015
lea edi, [esi - 0x48015]
push edi
or ebp, 0xffffffff
jmp 0x464722
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x464729
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x464718
mov eax, 1
add ebx, ebx
jne 0x46473b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x46474c
jne 0x46476b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46476b
dec eax
add ebx, ebx
jne 0x464758
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x464730
add ebx, ebx
jne 0x464767
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4647bd
xor ecx, ecx
sub eax, 3
jb 0x464783
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4647f2
sar eax, 1
mov ebp, eax
jmp 0x46478e
add ebx, ebx
jne 0x46478e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46475c
inc ecx
add ebx, ebx
jne 0x46479c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46475c
add ebx, ebx
jne 0x4647a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x46479e
jne 0x4647ba
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x46479e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4647dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4647ce
jmp 0x46471e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4647dc
add edi, ecx
jmp 0x46471e
pop esi
mov edi, esi
mov ecx, 0x1634
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4647fa
cmp byte [edi], 0x21
jne 0x4647fa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4647ff
lea edi, [esi + 0x62000]
mov eax, dword [edi]
or eax, eax
je 0x46486e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x75e68]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x75ea4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46482c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x75eac]
or eax, eax
je 0x464868
mov dword [ebx], eax
add ebx, 4
jmp 0x464849
call dword [esi + 0x75ea8]
mov ebp, dword [esi + 0x75eb0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4648a2
sub esp, 0xffffff80
jmp 0x4022ad
Function at 0x10004770
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
inc eax
nop
cmp eax, 0xfcd800b0
mov eax, ebx
cmp eax, 0x7e
nop
mov eax, ecx
inc eax
mov eax, ebx
cmp eax, 0xffffffe5
mov eax, ecx
mov eax, ebx
cmp eax, 0xa4026231
cmp eax, 0xc3e501a7
cmp eax, 0x14
mov eax, ebx
nop
nop
push 3
push 2
push 1
call fcn.1000c200
add esp, 0xc
mov eax, ecx
mov eax, ecx
nop
cmp eax, 0x34591426
mov eax, ebx
mov eax, 0x9093dd44
mov eax, ebx
cmp eax, 0x528576a3
inc eax
mov eax, 0x4a98a5b7
mov eax, 0xe1dd99c6
mov eax, 0x58bcbbd3
mov eax, ecx
push 3
push 2
push 1
call fcn.1000c200
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
inc eax
mov eax, 0x7d94341d
cmp eax, 0x924b200a
nop
mov eax, ebx
mov eax, 0x3bcc6e82
cmp eax, 0xffffffaa
cmp eax, 0xffffff98
nop
cmp eax, 0x4a
mov eax, ebx
cmp eax, 0xf774c033
nop
cmp eax, 0x1e
mov eax, ecx
push 3
push 2
push 1
call fcn.1000c200
add esp, 0xc
push 0x1002beb4
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, ecx
inc eax
cmp eax, 0x46e236db
nop
inc eax
nop
cmp eax, 0x3f
cmp eax, 0x1c
inc eax
mov eax, ebx
cmp eax, 0xffffffaf
cmp eax, 0xb30babb2
inc eax
mov eax, 0xb73986f4
cmp eax, 0x6b
mov eax, 0x52f50de2
push 3
push 2
push 1
call fcn.1000c200
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x1003e22c], eax
inc eax
cmp eax, 0xedf4bae5
cmp eax, 0x961a4d78
nop
mov eax, ecx
cmp eax, 0x73
cmp eax, 0x6d6d2486
cmp eax, 0x6ab479c8
cmp eax, 0x27264e44
cmp eax, 0x54
mov eax, ecx
mov eax, 0xf36488bf
push 3
push 2
push 1
call fcn.1000c200
add esp, 0xc
cmp dword [0x1003e22c], 0
jne 0x1000491f
push 0x41030
push str.DllWrap
push str.miss
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
inc eax
cmp eax, 0x6b9e78b3
mov eax, 0xf0e8c512
nop
cmp eax, 0xffffff93
cmp eax, 0x36a9845d
mov eax, ecx
cmp eax, 0x99128a2f
mov eax, ebx
mov eax, 0xc38185d6
mov eax, ebx
nop
cmp eax, 0xffffffc5
inc eax
inc eax
push 3
push 2
push 1
call fcn.1000c200
add esp, 0xc
cmp dword [0x1003e22c], 0
je 0x10004931
mov dword [ebp - 4], 1
jmp 0x10004938
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10012630
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 + 0x10171d60]
sub edi, 1
jne 0x10012650
mov ecx, dword [0x10325a60]
not eax
pop edi
pop esi
cmp dword [ecx + 0x19ec], eax
jne 0x10012682
mov dword [ecx + 0x19f0], eax
cmp dword [ecx + 0x1a20], eax
jne 0x10012691
mov byte [ecx + 0x1a24], 1
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x103250c0]
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 + 0x10171d60]
sub edi, 1
jne 0x10012774
mov eax, dword [0x10325a60]
not edx
pop edi
pop esi
cmp dword [eax + 0x19ec], edx
jne 0x100127a5
mov dword [eax + 0x19f0], edx
cmp dword [eax + 0x1a20], edx
jne 0x100127b4
mov byte [eax + 0x1a24], 1
mov ecx, dword [ebp - 4]
mov eax, edx
xor ecx, ebp
call fcn.1010f972
mov esp, ebp
pop ebp
ret 4

Function at 0x10012f50
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 0x10012fb3
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10012f96
cmp edi, 2
jb 0x10012f96
cmp byte [esi], cl
jne 0x10012f96
cmp byte [esi + 1], cl
jne 0x10012f96
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10171d60]
jmp 0x10012f67
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10171d60]
test edi, edi
jne 0x10012f67
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10012fe8
nop word [eax + eax]
cmp cl, 0x23
jne 0x10012fcf
cmp byte [esi], cl
jne 0x10012fcf
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 + 0x10171d60]
test cl, cl
jne 0x10012fc0
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x10013da0
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, 0x10172369
mov cl, 0x57
or edi, 0xffffffff
cmp cl, 0x23
jne 0x10013dd2
cmp byte [esi], cl
jne 0x10013dd2
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 + 0x10171d60]
test cl, cl
jne 0x10013dc3
mov esi, dword [ebp + 8]
not eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x1001d7e0
mov dword [ebp - 0xc], 0x1001d730
mov edi, dword [esi + 0x2d48]
mov ecx, dword [esi + 0x2d4c]
mov dword [ebp - 8], 0x1001d810
cmp edi, ecx
jne 0x10013eb9
inc edi
test ecx, ecx
je 0x10013e2c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10013e31
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x10013eb9
mov eax, dword [0x10325a60]
test eax, eax
je 0x10013e49
inc dword [eax + 0x374]
push ebx
push dword [0x10325a80]
lea eax, [edi + edi*2]
shl eax, 3
push eax
call dword [0x1019e200]
mov ebx, eax
add esp, 8
mov eax, dword [esi + 0x2d50]
test eax, eax
je 0x10013eac
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 0x10013e9c
mov eax, dword [0x10325a60]
test eax, eax
je 0x10013e9c
dec dword [eax + 0x374]
push dword [0x10325a80]
push ecx
call dword [0x1019e204]
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 0x10014c90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [0x10325a60]
cmp byte [esi + 0x2d60], 0
je 0x10014d2b
cmp dword [esi + 0x2d68], 0
push edi
lea edi, [esi + 0x2d6c]
je 0x10014d1c
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x10014cd6
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.1001e0e0
lea eax, [ebp + 0xc]
mov dword [edi], 0
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.1001dc40
mov edx, dword [edi]
mov ecx, 0x10325a64
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.1001dc40
pop edi
pop esi
pop ebp
ret
Function at 0x10018f80
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x10325a60]
lea edx, [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0x19b0]
mov esi, 4
mov eax, dword [ebp + 8]
add edi, 0xcc
mov dword [ebp + 8], eax
mov eax, dword [edi]
mov ebx, dword [edi + 8]
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 + 0x10171d60]
sub esi, 1
jne 0x10018fb0
mov ecx, dword [edi + 4]
not ebx
mov esi, dword [edi]
cmp esi, ecx
jne 0x10018ff7
inc esi
test ecx, ecx
je 0x10018fe5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10018fea
mov eax, 8
cmp eax, esi
mov ecx, edi
cmovg esi, eax
push esi
call fcn.1001e1e0
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1001b2c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
mov eax, dword [0x10325a60]
mov dword [eax + 0x2d38], 0
je 0x1001b3b5
push esi
mov esi, dword [0x10325a60]
push edi
lea edi, [esi + 0x2d3c]
mov dword [esi + 0x2d38], 0
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1001b314
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.1001e0e0
mov dword [edi], 0
cmp dword [edi + 4], 0
jne 0x1001b329
push 8
mov ecx, edi
call fcn.1001e0e0
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 0x1001b36c
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 0x1001b347
mov edi, dword [edi]
mov ebx, 0x10325a64
push 0x10172450
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.10012df0
mov esi, eax
add esp, 8
test esi, esi
je 0x1001b3b2
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