joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437148
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
cmp dword [ebp + 8], 0
je 0x43715e
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x43717c
push 2
call fcn.0043b478
pop ecx
mov esi, eax
test eax, eax
jne 0x437173
xor eax, eax
jmp 0x4372c6
mov dword [esi + 4], 2
jmp 0x437181
mov edx, dword [ebp + 8]
mov esi, dword [edx]
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x10]
add eax, ebx
mov dword [ebp - 4], eax
push 0xc7
push 0x4a6320
mov edx, dword [ebp + 0x10]
inc edx
push edx
call fcn.004101e0
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4371b8
mov eax, 0x41
jmp 0x437292
cmp dword [ebp + 0x10], 0
mov edx, dword [ebp - 8]
jne 0x4371cd
mov dword [esi + 4], 2
jmp 0x437262
test byte [ebx], 0x80
je 0x43723b
mov dword [esi + 4], 0x102
cmp byte [ebx], 0xff
jne 0x4371e8
cmp dword [ebp + 0x10], 1
je 0x4371e8
inc ebx
dec dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
lea ecx, [eax - 1]
add ebx, ecx
add edx, ecx
jmp 0x4371fa
mov byte [edx], 0
dec edx
dec eax
dec ebx
cmp byte [ebx], 0
jne 0x437203
test eax, eax
jne 0x4371f4
test eax, eax
jne 0x43721c
mov edx, dword [ebp - 8]
mov byte [edx], 1
mov eax, dword [ebp - 8]
mov edx, dword [ebp + 0x10]
mov byte [eax + edx], 0
inc dword [ebp + 0x10]
jmp 0x437262
mov cl, byte [ebx]
dec ebx
xor cl, 0xff
dec eax
inc ecx
mov byte [edx], cl
dec edx
test eax, eax
jle 0x437262
mov cl, byte [ebx]
dec ebx
xor cl, 0xff
dec eax
mov byte [edx], cl
dec edx
test eax, eax
jg 0x43722b
jmp 0x437262
mov dword [esi + 4], 2
cmp byte [ebx], 0
jne 0x437251
cmp dword [ebp + 0x10], 1
je 0x437251
inc ebx
dec dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
push eax
push ebx
mov edx, dword [ebp - 8]
push edx
call fcn.00405200
add esp, 0xc
mov eax, dword [esi + 8]
test eax, eax
je 0x437270
push eax
call fcn.004103a0
pop ecx
mov edx, dword [ebp - 8]
mov dword [esi + 8], edx
mov ecx, dword [ebp + 0x10]
mov dword [esi], ecx
cmp dword [ebp + 8], 0
je 0x437286
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [edx], ecx
mov eax, esi
jmp 0x4372c6
push 0x103
push 0x4a6336
push eax
push 0xc2
push 0xd
call fcn.00434548
add esp, 0x14
test esi, esi
je 0x4372c4
cmp dword [ebp + 8], 0
je 0x4372bd
mov edx, dword [ebp + 8]
cmp esi, dword [edx]
je 0x4372c4
push esi
call fcn.0043b4c8
pop ecx
xor eax, eax
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x43ea38
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor ecx, ecx
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov esi, dword [ebx]
mov eax, dword [eax]
mov edx, dword [edx + 4]
mov dword [ebp - 4], esi
mov esi, dword [ebx + 4]
mov dword [ebp - 8], esi
mov esi, dword [ebx + 8]
mov dword [ebp - 0xc], esi
mov ebx, dword [ebx + 0xc]
mov dword [ebp - 0x10], ebx
mov ebx, 0x20
jmp 0x43eaa7
add ecx, 0x9e3779b9
mov esi, edx
shl esi, 4
add esi, dword [ebp - 4]
lea edi, [ecx + edx]
xor esi, edi
mov edi, edx
shr edi, 5
add edi, dword [ebp - 8]
xor esi, edi
add eax, esi
mov esi, eax
shl esi, 4
add esi, dword [ebp - 0xc]
lea edi, [ecx + eax]
xor esi, edi
mov edi, eax
shr edi, 5
add edi, dword [ebp - 0x10]
xor esi, edi
add edx, esi
mov esi, ebx
add ebx, 0xffffffff
test esi, esi
jg 0x43ea6f
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43f200
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
xor eax, eax
push ebx
push esi
push edi
xor esi, esi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xc], 0x104
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
lea edx, [ebp - 0xc]
push eax
push 0
push 0
push 0
push edx
lea ecx, [ebp - 0x114]
push ecx
push esi
push edi
call sub.ADVAPI32.DLL_RegEnumKeyExA
mov ebx, eax
test ebx, ebx
jne 0x43f29f
mov dword [ebp - 0xc], 0xc8
push str.HIDVid_3689Pid_8762
call fcn.004053f0
pop ecx
push eax
lea eax, [ebp - 0x110]
push eax
push 0x4a8466
call fcn.00405670
add esp, 0xc
test eax, eax
jne 0x43f29f
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp + 0xc]
jne 0x43f29c
mov ecx, dword [ebp + 0x10]
mov esi, 0x4a8492
mov edi, ecx
lea edx, [ebp - 0x110]
mov eax, edi
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push edx
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00405314
add esp, 8
mov eax, 1
jmp 0x43f2aa
inc dword [ebp - 0x10]
inc esi
test ebx, ebx
je 0x43f21f
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001af71
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001af8f
push 0
push 0xaba
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
jmp 0x1001afa8
push 0x1711
push 0x1c5a
push 0
push 0x1adf
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
pop ebp
ret

Function at 0x1001b36c
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1001b3c7
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1001b3a8
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x1001b3c5
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.10014dc6
mov dword [eax], 0xe033c22
jmp 0x1001b39d
jmp 0x1001b3cd
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov esp, ebp
pop ebp
ret
Function at 0x100262b0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100262ca
push 0x6c3
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
jmp 0x100262e3
push 0x1711
push 0x1c5a
push 0
push 0x1adf
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
pop ebp
ret

Function at 0x1002af29
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
push 0x4352
push 0
push 0x3b4e
push 0x1fc
lea eax, [ebp - 0x10]
push eax
call fcn.1002abf8
add esp, 0x18
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1002af68
xor eax, eax
jmp 0x1002b0b7
push 0x47fc
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
push 0x38f2
call fcn.1002abf8
add esp, 0x18
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1002af9a
xor eax, eax
jmp 0x1002b0b7
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
call fcn.1002ac64
add esp, 0xc
cmp dword [ebp - 0xc], 0
jne 0x1002afb9
xor eax, eax
jmp 0x1002b0b7
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 8]
push eax
call fcn.1002acca
add esp, 0x18
lea eax, [ebp + 8]
push eax
push 0x2f82
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 1
call fcn.1002ad4e
add esp, 0x14
lea eax, [ebp - 0xc]
push eax
push 0x1b7f
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x622e
push 1
call fcn.1002adc5
add esp, 0x18
cmp dword [ebp - 0x14], 0
je 0x1002b034
lea eax, [ebp - 0x14]
push eax
push 1
push 0x53b5
lea eax, [ebp - 4]
push eax
push 0x1b1e
call fcn.1002ae3a
add esp, 0x14
push dword [ebp - 4]
call fcn.10029c8b
pop ecx
test eax, eax
jne 0x1002b045
xor eax, eax
jmp 0x1002b0b7
push 0x2d9c
lea eax, [ebp - 4]
push eax
push 0x1186
push 1
call fcn.1002aeca
add esp, 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1002b09f
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x1002b07c
xor eax, eax
jmp 0x1002b0b7
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002b095
xor eax, eax
jmp 0x1002b0b7
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1002b0b0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x1002b0b4
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x1003c5b6
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1003c5f5
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1003c5f3
push 0x1711
push 0x1c5a
push 0
push 0x1adf
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
jmp 0x1003c617
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1004061b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10040689
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x2c]
mov edx, dword [edx]
mov dword [ecx + eax], edx
jmp 0x100406a6
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x100406a6
push 0
push 0xaba
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov esp, ebp
pop ebp
ret
Function at 0x1004f940
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1008738c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x20], ax
xor ecx, ecx
mov word [ebp - 0x1e], cx
cmp dword [ebp + 8], 0xffffffff
jne 0x1004f964
jmp 0x1004f9d3
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x1004f978
jmp 0x1004f9d3
movsx ecx, word [ebp - 0x1c]
movsx edx, word [ebp - 0x1a]
imul ecx, edx
mov dword [ebp - 0x24], ecx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push 0x20
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
test eax, eax
jne 0x1004f9a4
jmp 0x1004f9d3
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
movzx ecx, word [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
test eax, eax
jne 0x1004f9c5
jmp 0x1004f9d3
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10067465
mov esp, ebp
pop ebp
ret

Function at 0x10053920
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 5]
and ecx, 0xf
movzx edx, byte [0x10673c74]
or ecx, edx
mov byte [ebp - 1], cl
movzx ax, byte [ebp - 1]
movzx ecx, ax
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 4]
push ecx
push 0x11ef69a8
call fcn.10052010
add esp, 8
mov esp, ebp
pop ebp
ret 4
Function at 0x1007c1c6
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1008738c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1006b13a
mov dword [ebp - 0x14], eax
cmp dword [0x11ef7af4], esi
jne 0x1007c2b9
push 0x800
push esi
push 0x10007d2c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1007c246
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1007c399
push esi
push esi
push 0x10007d2c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1007c399
push 0x10007d44
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1007c399
push eax
call ebx
push 0x10007d50
push edi
mov dword [0x11ef7af4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007d60
push edi
mov dword [0x11ef7af8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007d74
push edi
mov dword [0x11ef7afc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x11ef7b04], eax
test eax, eax
je 0x1007c2b6
push 0x10007d90
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x11ef7b00], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007c2de
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1007c2d1
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1007c2f3
push 4
pop eax
jmp 0x1007c39b
cmp dword [ebp - 0x14], esi
je 0x1007c2f3
push dword [0x11ef7af4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1007c2d8
mov eax, dword [0x11ef7b00]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1007c351
cmp dword [0x11ef7b04], edi
je 0x1007c351
push eax
call ebx
push dword [0x11ef7b04]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1007c351
test eax, eax
je 0x1007c351
call ecx
test eax, eax
je 0x1007c346
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1007c346
test byte [ebp - 8], 1
jne 0x1007c351
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1007c381
mov eax, dword [0x11ef7af8]
cmp eax, edi
je 0x1007c37e
push eax
call ebx
test eax, eax
je 0x1007c37e
call eax
mov esi, eax
test esi, esi
je 0x1007c37e
mov eax, dword [0x11ef7afc]
cmp eax, edi
je 0x1007c37e
push eax
call ebx
test eax, eax
je 0x1007c37e
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x11ef7af4]
call ebx
test eax, eax
je 0x1007c399
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1007c39b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10067465
mov esp, ebp
pop ebp
ret
Function at 0x40cd80
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov ecx, 0x43b1b0
call fcn.0043029f
mov eax, dword [edi + 0xe4]
lea edx, [ebp + 8]
mov ebx, dword [edi + 0xec]
mov esi, 4
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop dword [eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x432880]
sub esi, 1
jne 0x40cdb0
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x3e74], ebx
jne 0x40cde5
push esi
push dword [ebp + 8]
push 4
push ebx
call fcn.0040b1a0
add esp, 0x10
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
mov ecx, 0x43b1b0
push edi
call fcn.0043029f
mov eax, dword [ebp + 8]
mov edi, 0x10
movss xmm1, dword [esi + 0x100]
movss xmm2, dword [esi + 0x104]
mov ecx, dword [esi + 0xe4]
movss xmm0, dword [eax]
subss xmm0, xmm1
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [ebp - 8], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [esi + 0xec]
subss xmm0, xmm2
lea esi, [ebp - 0x10]
mov edx, dword [eax + ecx*4 - 4]
movss dword [ebp - 4], xmm0
not edx
nop dword [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x432880]
sub edi, 1
jne 0x40cee0
pop edi
not edx
pop esi
mov eax, edx
mov esp, ebp
pop ebp
ret 4

Function at 0x40da10
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ecx, 0x43b1b0
call fcn.0043029f
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
not ebx
mov esi, dword [ebp + 8]
mov eax, ebx
test edi, edi
je 0x40da7d
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x40da60
cmp edi, 2
jb 0x40da60
cmp byte [esi], cl
jne 0x40da60
cmp byte [esi + 1], cl
jne 0x40da60
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x432880]
jmp 0x40da31
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x432880]
test edi, edi
jne 0x40da31
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x40daac
cmp cl, 0x23
jne 0x40da93
cmp byte [esi], cl
jne 0x40da93
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 + 0x432880]
test cl, cl
jne 0x40da84
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x40f4b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov ecx, 0x43b1b0
call fcn.0043029f
mov edi, dword [ebp + 8]
cmp dword [edi + 0x5a8c], 0
lea esi, [edi + 0x5a90]
je 0x40f535
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x40f4f0
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, esi
call fcn.0041bbf0
push dword [ebp + 0x10]
mov ecx, esi
mov dword [esi], 0
push dword [ebp + 0xc]
call fcn.0041b690
mov edx, dword [esi]
mov ecx, 0x43a0b8
push dword [edi + 0x5a8c]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5a98]
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
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
call fcn.0041b690
pop edi
pop esi
pop ebp
ret
Function at 0x4166b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov ecx, 0x43b1b0
call fcn.0043029f
mov eax, dword [0x43a0bc]
mov esi, dword [ebp + 8]
mov dword [eax + 0x5a24], 0
test esi, esi
je 0x416713
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push edi
push eax
call fcn.00416720
push 0x433d38
push esi
mov edi, eax
call fcn.0040d730
mov esi, eax
add esp, 0xc
test esi, esi
je 0x416712
push esi
push dword [ebp + 8]
push 1
push edi
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 edi
pop esi
pop ebp
ret

Function at 0x41a470
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov ecx, 0x43b1b0
push edi
call fcn.0043029f
mov edi, dword [0x43a0bc]
cmp byte [edi + 0x5a21], 0
lea eax, [edi + 0x20]
jne 0x41a5ab
mov ecx, dword [eax]
push ebx
test ecx, ecx
je 0x41a5a3
push esi
push 0x433d34
push ecx
call fcn.0040d730
mov esi, eax
add esp, 8
test esi, esi
je 0x41a59f
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call ebx
add esp, 4
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x41a595
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x41a595
push esi
call ebx
mov ebx, eax
add esp, 4
mov dword [ebp - 4], ebx
cmp ebx, 0xffffffff
je 0x41a595
push 0
push dword [ebp - 8]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x41a595
mov eax, dword [0x43a0bc]
test eax, eax
je 0x41a523
inc dword [eax + 0xb4]
push dword [0x43a0c0]
push ebx
call dword [0x43a008]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x41a595
push esi
push dword [ebp - 4]
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp - 4]
je 0x41a579
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov eax, dword [0x43a0bc]
test eax, eax
je 0x41a567
dec dword [eax + 0xb4]
push dword [0x43a0c0]
push ebx
call dword [0x43a00c]
add esp, 8
jmp 0x41a59f
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [ebp - 4]
add esp, 4
test eax, eax
je 0x41a558
push eax
push ebx
call fcn.0040f040
add esp, 8
jmp 0x41a558
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
lea eax, [edi + 0x20]
pop esi
mov byte [edi + 0x5a21], 1
pop ebx
movss xmm0, dword [edi + 0x5a24]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x41a5fc
subss xmm0, dword [edi + 0x18]
comiss xmm1, xmm0
movss dword [edi + 0x5a24], xmm0
jb 0x41a5fc
mov eax, dword [eax]
test eax, eax
je 0x41a5eb
push eax
call fcn.004166b0
add esp, 4
mov dword [edi + 0x5a24], 0
pop edi
mov esp, ebp
pop ebp
ret
mov byte [edi + 0x9c], 1
mov dword [edi + 0x5a24], 0
pop edi
mov esp, ebp
pop ebp
ret