joyce8/EMBER2024-capa huggingface dataset:
Function at 0x300126aa
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x218
push dword [ebp + 0xc]
call fcn.300102f3
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x3001270e
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
call fcn.300102f3
push eax
push 0x30003950
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.3001028f
add esp, 0x14
push 0x43
pop ecx
mov esi, eax
push 0x30044ba4
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.3001f2c0
leave
ret 8

Function at 0x30012712
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x218
push edi
call fcn.300102f3
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
test eax, eax
jne 0x300127a4
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
cmp ebx, 5
jne 0x30012762
push 0x80
push dword [ebp + 8]
call fcn.300126aa
mov ecx, dword [ebp + 8]
call fcn.300102f3
push eax
call edi
test eax, eax
jne 0x300127a2
call esi
mov ebx, eax
test ebx, ebx
je 0x300127a2
mov ecx, dword [ebp + 8]
call fcn.300102f3
push eax
push fcn.30003988
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.3001028f
add esp, 0x10
push 0x43
pop ecx
mov esi, eax
push 0x30044ba4
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.3001f2c0
pop esi
pop ebx
pop edi
leave
ret 4

Function at 0x30012835
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
xor eax, eax
cmp byte [ebp + 0x10], al
push ebx
mov ebx, dword [ebp + 0xc]
sete al
push esi
mov ecx, ebx
push eax
mov dword [ebp + 0x10], eax
call fcn.300102f3
mov ecx, dword [ebp + 8]
push eax
call fcn.300102f3
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push eax
call esi
test eax, eax
jne 0x300128e6
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 5
jne 0x3001289f
push 0x80
push ebx
call fcn.300126aa
push dword [ebp + 0x10]
mov ecx, ebx
call fcn.300102f3
mov ecx, dword [ebp + 8]
push eax
call fcn.300102f3
push eax
call esi
test eax, eax
jne 0x300128e5
mov ecx, ebx
call fcn.300102f3
mov ecx, dword [ebp + 8]
push eax
call fcn.300102f3
push eax
push 0x300039a4
call edi
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.3001028f
add esp, 0x14
push 0x43
pop ecx
mov esi, eax
push 0x30044ba4
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.3001f2c0
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x3001311e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x218
push 0x104
call fcn.3001085c
mov ecx, dword [ebp + 8]
call fcn.300102f3
mov ecx, dword [ebp + 8]
push eax
call fcn.3001032a
push eax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x30013189
push 0x30003ab4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.3001028f
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x30044ba4
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.3001f2c0
leave
ret 4

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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
call fcn.300102f3
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x30013587
xor al, al
jmp 0x3001358c
shr al, 4
and al, 1
pop ebp
ret 4

Function at 0x30013590
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x218
push esi
push 0
call fcn.300102f3
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov esi, eax
test esi, esi
je 0x300135fc
cmp esi, 0x50
je 0x300135fc
cmp esi, 0xb7
je 0x300135fc
mov ecx, dword [ebp + 8]
call fcn.300102f3
push eax
push 0x30003ad0
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.3001028f
add esp, 0x10
push 0x43
pop ecx
mov esi, eax
push 0x30044ba4
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.3001f2c0
pop esi
leave
ret 4

Function at 0x30013601
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x218
call fcn.300102f3
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x30013656
push 0x30003b00
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.3001028f
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x30044ba4
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.3001f2c0
leave
ret 4
Function at 0x3001365a
Capabilities:
Enumerate files on windows

Disassembly:
push 0x4ec
mov eax, 0x3003ec89
call fcn.3001ee0e
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x268], esi
mov dword [ebp - 0x264], eax
call fcn.3001356c
test al, al
jne 0x300136bc
push 0x30003b3c
lea eax, [ebp - 0x4f8]
push 0x22
push eax
call fcn.3000c862
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x30044ba4
lea eax, [ebp - 0x3ec]
lea edi, [ebp - 0x3ec]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.3001f2c0
mov ecx, esi
call fcn.3000d0d0
lea ecx, [ebp - 0x2b8]
call fcn.30010485
and dword [ebp - 4], 0
push edi
lea ecx, [ebp - 0x2b8]
call fcn.300112a1
mov esi, 0x30002cbc
push esi
lea ecx, [ebp - 0x290]
call fcn.300112b3
push 1
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.30011919
mov bl, al
neg bl
sbb bl, bl
lea ecx, [ebp - 0x290]
inc bl
mov byte [ebp - 4], 0
call fcn.300104cf
test bl, bl
je 0x30013743
push esi
lea ecx, [ebp - 0x290]
call fcn.300112b3
push eax
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 2
call fcn.30010fc9
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0
call fcn.300104cf
push dword [ebp - 0x264]
lea ecx, [ebp - 0x2b8]
call fcn.30010fc9
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x2b8]
call fcn.300102f3
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x264], eax
jne 0x300137a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x300138e3
cmp eax, 2
je 0x300138e3
push fcn.30003b24
push eax
lea eax, [ebp - 0x4f8]
push eax
call fcn.3001028f
jmp 0x3001369b
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push 0x30003804
lea eax, [ebp - 0x234]
push eax
call ebx
test eax, eax
je 0x300138bc
push 0x30003b1c
lea eax, [ebp - 0x234]
push eax
call ebx
test eax, eax
je 0x300138bc
mov ecx, edi
call fcn.300102f3
push eax
lea ecx, [ebp - 0x2e0]
call fcn.300112b3
push esi
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 3
call fcn.300112b3
push 1
push eax
lea ecx, [ebp - 0x2e0]
mov byte [ebp - 4], 4
call fcn.30011919
mov bl, al
neg bl
sbb bl, bl
lea ecx, [ebp - 0x290]
inc bl
mov byte [ebp - 4], 3
call fcn.300104cf
test bl, bl
je 0x30013854
push esi
lea ecx, [ebp - 0x290]
call fcn.300112b3
push eax
lea ecx, [ebp - 0x2e0]
mov byte [ebp - 4], 5
call fcn.30010fc9
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 3
call fcn.300104cf
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x290]
call fcn.300112b3
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x2e0]
mov byte [ebp - 4], 6
call fcn.30010fc9
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 3
call fcn.300104cf
lea eax, [ebp - 0x2e0]
push eax
call fcn.3001356c
test al, al
je 0x300138ad
mov ecx, dword [ebp - 0x268]
lea eax, [ebp - 0x2e0]
push eax
call fcn.3000d83c
lea ecx, [ebp - 0x2e0]
mov byte [ebp - 4], 0
call fcn.300104cf
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x300137a7
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_FindClose]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2b8]
call fcn.300104cf
call fcn.3001ee91
ret 0xc
Function at 0x30014f07
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x490
mov eax, 0x3003f0f0
call fcn.3001eda5
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x30], ebx
jne 0x30014f53
push fcn.30004078
lea eax, [ebp - 0x390]
push 0x3a
push eax
call fcn.3000c862
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
lea edi, [ebp - 0x178]
rep movsd dword es:[edi], dword [esi]
push 0x30044ba4
lea eax, [ebp - 0x178]
push eax
call fcn.3001f2c0
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x10], 1
call fcn.300102f3
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
push dword [esi + 0x30]
call edi
cmp eax, ebx
jle 0x30014f8d
and eax, 0xffff
or eax, 0x80070000
cmp eax, 0x80070002
mov dword [ebp - 0x14], eax
je 0x300150be
cmp dword [ebp - 0x18], 7
jne 0x300150be
cmp eax, ebx
jge 0x30014fd7
mov ecx, dword [ebp + 8]
call fcn.300102f3
push eax
lea ecx, [esi + 8]
call fcn.300102f3
push eax
push 0x30003e20
push dword [ebp - 0x14]
lea eax, [ebp - 0x390]
push eax
call fcn.3000c896
add esp, 0x14
jmp 0x30014f35
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
shr eax, 1
push eax
lea ecx, [ebp - 0x6c]
call fcn.30014841
lea eax, [ebp - 0x10]
push eax
push ebx
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], ebx
call fcn.30014cb4
mov ecx, dword [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
call fcn.300102f3
push eax
push dword [esi + 0x30]
call edi
cmp eax, ebx
jle 0x3001501c
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
cmp edi, ebx
jge 0x30015066
mov ecx, dword [ebp + 8]
call fcn.300102f3
push eax
lea ecx, [esi + 8]
call fcn.300102f3
push eax
push 0x30003e20
lea eax, [ebp - 0x49c]
push edi
push eax
call fcn.3000c896
add esp, 0x14
push 0x43
pop ecx
mov esi, eax
lea edi, [ebp - 0x284]
rep movsd dword es:[edi], dword [esi]
push 0x30044ba4
lea eax, [ebp - 0x284]
jmp 0x30014f4d
push ebx
lea ecx, [ebp - 0x6c]
call fcn.30014cb4
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.30010485
mov byte [ebp - 4], 1
push esi
lea ecx, [ebp - 0x40]
call fcn.30011274
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x40]
push eax
call fcn.3000d83c
lea ecx, [ebp - 0x40]
call fcn.3001032e
lea esi, [esi + eax*2 + 2]
cmp word [esi], bx
jne 0x3001507d
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.300104cf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.300148b0
mov al, 1
jmp 0x300150c0
xor al, al
call fcn.3001ee7d
ret 8
Function at 0x10a3c
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
push 0x206b6444
push 0x800
xor esi, esi
push 1
mov dword [esp + 0x20], esi
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov ebp, eax
cmp ebp, esi
mov dword [esp + 0x18], ebp
jne 0x10a72
nop
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
cmp word [0x12550], si
je 0x10a66
cmp word [0x12310], si
je 0x10a66
xor eax, eax
mov ecx, 0x200
mov edi, ebp
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push eax
push 0x100
push ebp
push esi
push esi
push dword [esp + 0x34]
call dword [sym.imp.ntoskrnl.exe_ZwEnumerateKey]
mov edi, eax
cmp edi, esi
jne 0x10c35
mov esi, dword [sym.imp.ntoskrnl.exe_wcsncmp]
mov ebx, dword [sym.imp.ntoskrnl.exe_wcslen]
cmp dword [ebp + 0xc], 0
je 0x10c35
nop
add ebp, 0x10
je 0x10c3b
mov eax, dword [esp + 0x24]
dec eax
je 0x10bd1
dec eax
je 0x10ba9
dec eax
je 0x10b80
dec eax
je 0x10b54
dec eax
je 0x10b25
dec eax
jne 0x10bf8
mov edi, 0x12310
push edi
call ebx
push eax
push edi
push ebp
call esi
add esp, 0x10
test eax, eax
jne 0x10bf8
mov eax, dword [esp + 0x20]
mov dword [0x12538], eax
mov eax, dword [esp + 0x14]
mov dword [0x1253c], eax
jmp 0x10bf8
mov edi, 0x12310
push edi
call ebx
push eax
push edi
push ebp
call esi
add esp, 0x10
test eax, eax
jne 0x10bf8
mov eax, dword [esp + 0x20]
mov dword [0x12528], eax
mov eax, dword [esp + 0x14]
mov dword [0x1252c], eax
jmp 0x10bf8
mov edi, 0x12310
push edi
call ebx
push eax
push edi
push ebp
call esi
add esp, 0x10
test eax, eax
jne 0x10bf8
mov eax, dword [esp + 0x20]
mov dword [0x12308], eax
mov eax, dword [esp + 0x14]
mov dword [0x1230c], eax
jmp 0x10bf8
nop
mov edi, 0x12550
push edi
call ebx
push eax
push edi
push ebp
call esi
add esp, 0x10
test eax, eax
jne 0x10bf8
mov eax, dword [esp + 0x20]
mov dword [0x12530], eax
mov eax, dword [esp + 0x14]
mov dword [0x12534], eax
jmp 0x10bf8
mov edi, 0x12550
push edi
call ebx
push eax
push edi
push ebp
call esi
add esp, 0x10
test eax, eax
jne 0x10bf8
mov eax, dword [esp + 0x20]
mov dword [0x12520], eax
mov eax, dword [esp + 0x14]
mov dword [0x12524], eax
jmp 0x10bf8
mov edi, 0x12550
push edi
call ebx
push eax
push edi
push ebp
call esi
add esp, 0x10
test eax, eax
jne 0x10bf8
nop
mov eax, dword [esp + 0x20]
mov dword [section..data], eax
mov eax, dword [esp + 0x14]
mov dword [0x12304], eax
mov edi, dword [esp + 0x18]
inc dword [esp + 0x14]
xor eax, eax
mov ecx, 0x200
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push eax
push 0x100
push dword [esp + 0x20]
push 0
push dword [esp + 0x24]
push dword [esp + 0x34]
call dword [sym.imp.ntoskrnl.exe_ZwEnumerateKey]
mov ebp, dword [esp + 0x18]
mov edi, eax
test edi, edi
je 0x10abc
nop
push 0
push ebp
jmp 0x10c41
push 0
push dword [esp + 0x1c]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, edi
jmp 0x10a68
Function at 0x11ee0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
xor esi, esi
lea eax, [ebp + 8]
push edi
mov dword [ebp - 0x24], 0x18
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], 0x40
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
nop
lea eax, [ebp - 0x24]
push eax
push 0x20006
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwOpenKey]
mov edi, eax
cmp edi, esi
jl 0x11f54
cmp dword [ebp - 4], esi
je 0x11f54
nop
push dword [ebp + 0x10]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push dword [ebp + 0x18]
lea eax, [ebp - 0xc]
push dword [ebp + 0x14]
push dword [ebp + 0x1c]
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, edi
pop edi
pop esi
leave
ret 0x18
Function at 0x10005370
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x1000539a
push 0
push 0
push dword [ebp + 8]
push 0x100050b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1000539a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ebp
ret 0xc

Function at 0x10007790
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x100077dc
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x100077bf
cmp edi, 2
jb 0x100077bf
cmp byte [esi], cl
jne 0x100077bf
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 + 0x1003b898]
test edi, edi
jne 0x100077a5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x1000780b
cmp cl, 0x23
jne 0x100077f2
cmp byte [esi], cl
jne 0x100077f2
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 + 0x1003b898]
test cl, cl
jne 0x100077e3
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x100079a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x100079b4
mov dword [ebx], 0
mov edx, 0x1003f8ac
call fcn.10007820
mov esi, eax
test esi, esi
je 0x10007aa2
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x10007a98
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 0x10007a98
push esi
call edi
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
je 0x10007a98
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10007a98
mov eax, dword [0x10043a6c]
test eax, eax
je 0x10007a2c
inc dword [eax + 0x374]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x10007a98
push esi
push dword [ebp + 8]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x10007a7d
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x10043a6c]
add esp, 4
test eax, eax
je 0x10007a6a
dec dword [eax + 0x374]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x10007a8f
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10009700
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1004300c]
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 + 0xbc]
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 + 0xc4]
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 + 0x1003b898]
sub edi, 1
jne 0x10009774
mov eax, dword [0x10043a6c]
not edx
pop edi
pop esi
cmp dword [eax + 0x19e4], edx
jne 0x100097a5
mov dword [eax + 0x19e8], edx
cmp dword [eax + 0x1a18], edx
jne 0x100097b4
mov byte [eax + 0x1a1c], 1
mov ecx, dword [ebp - 4]
mov eax, edx
xor ecx, ebp
call fcn.10038f5a
mov esp, ebp
pop ebp
ret 4
Function at 0x1000a080
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003a693
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
push esi
push edi
mov eax, dword [0x1004300c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10043a6c]
test eax, eax
je 0x1000a0ca
inc dword [eax + 0x374]
push 0x3b88
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x11]
add esp, 4
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x1000a0fe
push ecx
mov ecx, eax
call fcn.10005f30
mov edi, eax
mov dword [ebp - 0x18], eax
jmp 0x1000a103
xor edi, edi
mov dword [ebp - 0x18], edi
mov eax, dword [0x10043a6c]
mov esi, 0x1003f7f9
test eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x38], str.Window
cmove eax, edi
or edx, 0xffffffff
mov dword [0x10043a6c], eax
or edi, 0xffffffff
mov al, 0x57
nop dword [eax]
cmp al, 0x23
jne 0x1000a13e
cmp byte [esi], al
jne 0x1000a13e
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x1003b898]
test al, al
jne 0x1000a130
mov edi, dword [ebp - 0x18]
not edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], 0x10017000
mov dword [ebp - 0x2c], 0x10017060
mov esi, dword [edi + 0x2d44]
mov ecx, dword [edi + 0x2d48]
mov dword [ebp - 0x28], 0x10017130
cmp esi, ecx
jne 0x1000a218
inc esi
test ecx, ecx
je 0x1000a198
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1000a19d
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x1000a218
mov eax, dword [0x10043a6c]
test eax, eax
je 0x1000a1b5
inc dword [eax + 0x374]
lea eax, [esi + esi*2]
shl eax, 3
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edx, eax
add esp, 4
mov eax, dword [edi + 0x2d4c]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1000a20c
mov ecx, dword [edi + 0x2d44]
lea ecx, [ecx + ecx*2]
shl ecx, 3
push ecx
push eax
push edx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [0x10043a6c]
add esp, 0xc
test eax, eax
je 0x1000a1fd
dec dword [eax + 0x374]
push dword [ebp - 0x18]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, dword [ebp - 0x1c]
add esp, 4
mov dword [edi + 0x2d4c], edx
mov dword [edi + 0x2d48], esi
mov eax, dword [edi + 0x2d44]
movups xmm0, xmmword [ebp - 0x38]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x2d4c]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [ebp - 0x28]
movq qword [eax + ecx*8 + 0x10], xmm0
mov eax, edi
inc dword [edi + 0x2d44]
mov byte [edi], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x1000ccb0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
or ecx, 0xffffffff
push edi
test bl, bl
je 0x1000ccef
cmp bl, 0x23
jne 0x1000ccd1
cmp byte [esi], bl
jne 0x1000ccd1
cmp byte [esi + 1], bl
cmove eax, ecx
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
mov ecx, 0xffffffff
xor eax, dword [edx*4 + 0x1003b898]
test bl, bl
jne 0x1000ccc2
mov ebx, dword [0x10043a6c]
not eax
mov esi, dword [ebx + 0x19a0]
mov edi, dword [ebx + 0x19a8]
mov ecx, edi
test esi, esi
je 0x1000cd34
nop dword [eax]
mov edx, esi
shr edx, 1
cmp dword [edi + edx*8], eax
lea ecx, [edi + edx*8]
jae 0x1000cd28
lea edi, [ecx + 8]
or ecx, 0xffffffff
sub ecx, edx
add esi, ecx
jmp 0x1000cd2a
mov esi, edx
test esi, esi
jne 0x1000cd10
mov ecx, dword [ebx + 0x19a8]
mov edx, dword [ebx + 0x19a0]
lea ecx, [ecx + edx*8]
cmp edi, ecx
je 0x1000cd4c
cmp dword [edi], eax
jne 0x1000cd4c
mov eax, dword [edi + 4]
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x10011d00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10043a6c]
lea edx, [ebp - 4]
push ebx
push esi
push edi
mov edi, dword [eax + 0x19b0]
mov esi, 4
mov eax, dword [edi + 0xbc]
add edi, 0xbc
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
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 + 0x1003b898]
sub esi, 1
jne 0x10011d37
mov esi, dword [edi + 4]
not ebx
mov ecx, dword [ebp - 8]
cmp ecx, esi
jne 0x10011d81
inc ecx
test esi, esi
je 0x10011d6d
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x10011d72
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.100178e0
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100168d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, dword [0x10043a6c]
push edi
cmp byte [esi + 0x2d5c], 0
je 0x1001696f
cmp dword [esi + 0x2d64], 0
lea edi, [esi + 0x2d68]
je 0x10016961
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x10016919
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.10017c50
lea eax, [ebp + 0xc]
mov dword [edi], 0
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.10007f80
mov edx, dword [edi]
mov ecx, 0x10043a74
push dword [esi + 0x2d64]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esi + 0x2d70]
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
mov esp, ebp
pop ebp
ret
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.10007f80
pop edi
pop esi
mov esp, ebp
pop ebp
ret