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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x412626
pop dword [ebp - 0x30]
mov eax, 0x94ae6897
add eax, 0x6b92bd8f
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xb2a2a576
add dword [ebp - 0x40], 0x9baf9fd5
mov dword [ebp - 0x3c], 0x83868367
sub dword [ebp - 0x3c], 0x51533722
mov dword [ebp - 0x38], 0xbf7bfce4
sub dword [ebp - 0x38], 0x732fb8b6
mov dword [ebp - 0x34], 0x93235b20
sub dword [ebp - 0x34], 0x93235b20
lea eax, [ebp - 0x40]
push eax
mov eax, 0x241b3a61
add eax, 0xdc24d7af
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0xa3626adf
add dword [ebp - 0x40], 0xd10ffe77
mov dword [ebp - 0x3c], 0xbc88edcc
add dword [ebp - 0x3c], 0x84e373a9
mov dword [ebp - 0x38], 0xaa76ed3b
add dword [ebp - 0x38], 0xb8f87f31
mov dword [ebp - 0x34], 0xdf3ae44e
add dword [ebp - 0x34], 0x20c51bb2
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x3de49
push 0
call eax
mov ecx, 0xe730b3f9
add ecx, 0x18cf9793
mov edx, eax
mov ebx, 0x5508ded0
add ebx, 0xab396d30
add ebx, dword [ebp - 0x30]
mov edi, 0xc4353d44
xor dword [ebp - 0x28], eax
mov esi, dword [ebx]
xor dword [ebp - 0x1c], ebx
xor esi, edi
add dword [ebp - 0x28], 0xfb7ccf66
mov dword [edx], esi
xor dword [ebp - 0xc], 0x9a2cab07
add edx, 0x64199ca5
add edx, 0x9be6635f
add ebx, 0xcd91bc98
sub ebx, 0xcd91bc94
loop 0x41273d
add eax, 0x12103
xor ebx, ebx
add ebx, eax
add eax, 0x581e4a5d
sub eax, 0x581e4a58
mov ecx, 0x400000
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0x4133bf
Capabilities:
Encode data using xor

Disassembly:
push esi
lea esi, [ecx + 0x10]
mov edx, dword [esi]
mov eax, edx
and eax, 0xffffc000
add eax, 0x4000
xor eax, edx
and eax, 0xfffc000
mov ecx, edx
xor edx, eax
mov eax, ecx
lock cmpxchg dword [esi], edx
mov edx, eax
cmp edx, ecx
jne 0x4133c5
pop esi
ret
Function at 0x41beed
Capabilities:
Query environment variable

Disassembly:
push 0x220
mov eax, 0x41e099
call fcn.00405b93
mov esi, 0x104
push esi
lea eax, [ebp - 0x21c]
push eax
push 0x402c58
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x41bf1f
mov al, 1
jmp 0x41bfba
cmp eax, esi
jae 0x41bfb8
and dword [ebp - 0x220], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x221]
push 0x421748
push 8
mov byte [ebp - 4], 1
mov dword [ebp - 0x228], eax
call fcn.0040554a
pop ecx
pop ecx
test eax, eax
jne 0x41bf59
call fcn.00405d2c
mov dword [ebp - 0x22c], eax
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0041c236
mov esi, eax
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x220], esi
call fcn.0041c274
mov dword [0x421bc4], esi
jmp 0x41bf18
xor al, al
call fcn.00405bec
ret

Function at 0x41ca34
Capabilities:
Write file on windows

Disassembly:
push 0xc
mov eax, 0x41e199
call fcn.00405af4
mov ebx, ecx
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
mov edi, dword [eax + 8]
push 1
lea eax, [ebx + 0x58]
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp + 8], edi
call main
mov eax, dword [ebx + 0x70]
and dword [ebp - 4], 0
mov dword [edi + 8], eax
inc dword [ebx + 0x70]
push dword [edi + 8]
lea ecx, [ebx + 0x3c]
call main
push esi
mov ecx, eax
call main
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0041ce37
push 5
pop ecx
lea eax, [esi + 0xc]
push eax
mov edi, eax
mov eax, dword [ebp + 8]
push 0
mov esi, 0x402dd8
rep movsd dword es:[edi], dword [esi]
push dword [eax + 0xc]
push eax
push dword [ebx + 0x14]
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
jne 0x41cac0
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x3e5
je 0x41cac0
call fcn.00405ebd
call fcn.00405bcc
ret 4
Function at 0x41cb19
Capabilities:
Read file on windows

Disassembly:
push 8
mov eax, 0x41e1bc
call fcn.00405af4
mov ebx, ecx
cmp byte [ebx + 0x21], 0
jne 0x41cbd2
cmp dword [ebp + 8], 0x10
jne 0x41cc9f
mov eax, dword [ebx + 0x80]
cmp eax, 0x10
jb 0x41cc9f
lea esi, [ebx + 0x24]
push eax
mov ecx, esi
call main
cmp dword [esi], 0
jne 0x41cb5f
call fcn.00405d2c
push dword [ebp + 8]
lea eax, [ebx + 0x74]
push eax
push dword [ebx + 0x80]
push dword [esi]
call dword [sym.imp.msvcr100.dll_memcpy_s]
mov edx, dword [ebx + 0x80]
add esp, 0x10
cmp edx, dword [ebp + 8]
je 0x41cbd2
push 5
pop ecx
lea eax, [ebx + 0x28]
push eax
mov edi, eax
lea eax, [ebp + 8]
push eax
mov esi, 0x402dd8
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x24]
lea eax, [edx - 0x10]
push eax
lea eax, [ecx + 0x10]
push eax
push dword [ebx + 0x14]
mov word [ebx + 0x20], 0x101
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
jne 0x41cc9f
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x3e5
je 0x41cc9f
mov byte [ebx + 0x20], 0
call fcn.00405ebd
lea edi, [ebx + 0x24]
mov eax, dword [edi]
test dword [eax + 4], 0x2000000
je 0x41cc27
push 0x421748
push dword [eax + 0xc]
call main
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
je 0x41cb5a
mov eax, dword [edi]
push dword [eax + 0xc]
mov dword [ebp - 0x10], ecx
push eax
push ecx
call sub.msvcr100.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call main
cmp dword [ebp - 0x10], 0
je 0x41cc88
push dword [ebp - 0x10]
call sub.msvcr100.dll_void___cdecl_operator_delete___void__
pop ecx
jmp 0x41cc88
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 0x7c]
mov ecx, ebx
call main
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x41cc79
mov eax, dword [edi]
and dword [ebp - 0x10], 0
test byte [eax + 7], 1
je 0x41cc5b
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
test eax, eax
js 0x41cc6f
jmp 0x41cc68
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
push edi
call dword [eax + 0xc]
test al, al
jne 0x41cc6f
mov dword [ebp - 0x10], 0x8007000d
push dword [ebp - 0x10]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x41cc88
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [edi]
test eax, eax
je 0x41cc98
and dword [edi], 0
push eax
call main
pop ecx
mov ecx, ebx
call main
call fcn.00405bcc
ret 4
Function at 0x41c780
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esi], ebx
cmp dword [esi], ebx
jl 0x41c803
push edi
mov dword [ebp - 0xc], 0x806aa1c3
mov dword [ebp - 0x10], 7
mov dword [ebp - 0xc], ebx
jmp 0x41c7f7
push 3
lea ecx, [ebp - 0x1c]
call fcn.00413c51
mov dword [ebp - 8], ebx
jmp 0x41c7c5
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
mov dword [eax + ecx*4], 0x2891ba8
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
jl 0x41c7b5
mov edi, dword [ebp - 0x1c]
mov dword [edi + 4], ebx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x41c7e4
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
inc dword [edi + 4]
cmp dword [edi + 4], ebx
jle 0x41c7d1
lea ecx, [ebp - 0x1c]
call fcn.00413d23
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], ebx
jle 0x41c7a6
dec dword [esi]
cmp dword [esi], ebx
jge 0x41c793
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42cb15
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x42cb39
xor eax, eax
jmp 0x42cc6c
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x42cb57
xor eax, eax
jmp 0x42cc6c
push 1
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
push 0x4e8a
push 0x3ee1
push 0x7093
call fcn.0042b9bf
add esp, 0x18
cmp dword [ebp - 0xc], 0
jne 0x42cb84
xor eax, eax
jmp 0x42cc6c
push 1
push 0x582a
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 4]
push eax
push 0x6358
push dword [ebp - 0x10]
push 0x3fe0
push 0x18db
call fcn.0042c2f4
add esp, 0x28
push 0
push 0x86c
push 0x5959
push dword [ebp + 8]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0042b9bf
add esp, 0x18
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x14], ecx
je 0x42cbef
push dword [ebp - 0x14]
push dword [ebp - 4]
push 1
call fcn.0042b44f
add esp, 0xc
push dword [ebp - 4]
call fcn.0042b895
pop ecx
test eax, eax
jne 0x42cc00
xor eax, eax
jmp 0x42cc6c
push 0x42fa
push dword [ebp - 4]
push 1
call fcn.0042b053
add esp, 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x42cc54
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 0x42cc31
xor eax, eax
jmp 0x42cc6c
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x42cc4a
xor eax, eax
jmp 0x42cc6c
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x42cc65
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x42cc69
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x44f3c9
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x44f436
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
push 0
mov eax, dword [ebp - 0x18]
push dword [eax]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
add ecx, eax
push ecx
mov ecx, dword [ebp - 0x28]
call fcn.0045081e
jmp 0x44f456
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x44f456
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esp, ebp
pop ebp
ret
Function at 0x45bb83
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x45bbb2
call fcn.0048db22
and eax, 0x80000001
jns 0x45bba1
dec eax
or eax, 0xfffffffe
inc eax
inc eax
inc eax
imul eax, eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x45bbc7
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
push dword [ebp - 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esp, ebp
pop ebp
ret
Function at 0x491151
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x49f11f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4b2484]
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.0048eff4
mov dword [ebp - 0x14], eax
cmp dword [0xaacab0], esi
jne 0x49f212
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x49f19f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x49f2f2
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x49f2f2
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x49f2f2
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0xaacab0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0xaacab4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0xaacab8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xaacac0], eax
test eax, eax
je 0x49f20f
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xaacabc], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x49f237
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x49f22a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x49f24c
push 4
pop eax
jmp 0x49f2f4
cmp dword [ebp - 0x14], esi
je 0x49f24c
push dword [0xaacab0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x49f231
mov eax, dword [0xaacabc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x49f2aa
cmp dword [0xaacac0], edi
je 0x49f2aa
push eax
call ebx
push dword [0xaacac0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x49f2aa
test eax, eax
je 0x49f2aa
call ecx
test eax, eax
je 0x49f29f
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 0x49f29f
test byte [ebp - 8], 1
jne 0x49f2aa
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x49f2da
mov eax, dword [0xaacab4]
cmp eax, edi
je 0x49f2d7
push eax
call ebx
test eax, eax
je 0x49f2d7
call eax
mov esi, eax
test esi, esi
je 0x49f2d7
mov eax, dword [0xaacab8]
cmp eax, edi
je 0x49f2d7
push eax
call ebx
test eax, eax
je 0x49f2d7
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0xaacab0]
call ebx
test eax, eax
je 0x49f2f2
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x49f2f4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048e49b
mov esp, ebp
pop ebp
ret
Function at 0xf94c20
Capabilities:
Encode data using xor

Disassembly:
jmp 0xf94c2a
pushal
call 0xf94c30
pop ebp
sub ebp, 0x10
sub ebp, 0xb94c20
jmp 0xf94c46
mov eax, 0xb94c20
add eax, ebp
add eax, 0x4c
mov ecx, 0x585
mov edx, 0xb095b1a7
xor byte [eax], dl
inc eax
dec ecx
jne 0xf94c5d
jmp 0xf94c70
sub al, 0x6a
sub al, 0x2e
wait
cmpsd dword [esi], dword es:[edi]
cmpsd dword [esi], dword es:[edi]
cmpsd dword [esi], dword es:[edi]
pop di
cmpsd dword [esi], dword es:[edi]
cmpsd dword [esi], dword es:[edi]
cmpsd dword [esi], dword es:[edi]
movsb byte es:[edi], byte [esi]
push 0x1f
mov byte [0x1da7a7a7], al
invalid
Function at 0x100093e0
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 0x10009441
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10009424
cmp edi, 2
jb 0x10009424
cmp byte [esi], cl
jne 0x10009424
cmp byte [esi + 1], cl
jne 0x10009424
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1014f700]
jmp 0x100093f5
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1014f700]
test edi, edi
jne 0x100093f5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10009470
cmp cl, 0x23
jne 0x10009457
cmp byte [esi], cl
jne 0x10009457
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 + 0x1014f700]
test cl, cl
jne 0x10009448
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x10009610
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 0x10009624
mov dword [ebx], 0
mov edx, 0x1014f57c
call fcn.10009480
mov esi, eax
test esi, esi
je 0x10009712
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 0x10009708
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 0x10009708
push esi
call edi
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
je 0x10009708
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 0x10009708
mov eax, dword [0x1020f4d8]
test eax, eax
je 0x1000969c
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 0x10009708
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 0x100096ed
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x1020f4d8]
add esp, 4
test eax, eax
je 0x100096da
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 0x100096ff
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 0x1000baf0
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 + 0x1014f700]
sub edi, 1
jne 0x1000bb10
mov ecx, dword [0x1020f4d8]
not eax
pop edi
pop esi
cmp dword [ecx + 0x19ec], eax
jne 0x1000bb42
mov dword [ecx + 0x19f0], eax
cmp dword [ecx + 0x1a20], eax
jne 0x1000bb51
mov byte [ecx + 0x1a24], 1
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1015a380]
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 + 0x1014f700]
sub edi, 1
jne 0x1000bbd4
mov eax, dword [0x1020f4d8]
not edx
pop edi
pop esi
cmp dword [eax + 0x19ec], edx
jne 0x1000bc05
mov dword [eax + 0x19f0], edx
cmp dword [eax + 0x1a20], edx
jne 0x1000bc14
mov byte [eax + 0x1a24], 1
mov ecx, dword [ebp - 4]
mov eax, edx
xor ecx, ebp
call fcn.100d7b08
mov esp, ebp
pop ebp
ret 4
Function at 0x1000c5f0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1020f4d8]
sub esp, 0x1c
push ebx
push esi
push edi
test eax, eax
je 0x1000c608
inc dword [eax + 0x374]
push 0x3b90
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
test eax, eax
je 0x1000c626
push ecx
mov ecx, eax
call fcn.100078e0
mov edi, eax
jmp 0x1000c628
xor edi, edi
cmp dword [0x1020f4d8], 0
jne 0x1000c639
mov ebx, edi
mov dword [0x1020f4d8], ebx
or edx, 0xffffffff
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], str.Window
mov esi, 0x1014f4a9
mov al, 0x57
or ebx, 0xffffffff
cmp al, 0x23
jne 0x1000c662
cmp byte [esi], al
jne 0x1000c662
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x1014f700]
test al, al
jne 0x1000c654
mov esi, dword [edi + 0x2d48]
not edx
mov ecx, dword [edi + 0x2d4c]
mov ebx, dword [0x1020f4d8]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], 0x10018ed0
mov dword [ebp - 0xc], 0x10018f00
mov dword [ebp - 8], 0x10018fb0
cmp esi, ecx
jne 0x1000c739
inc esi
test ecx, ecx
je 0x1000c6bf
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1000c6c4
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x1000c739
test ebx, ebx
je 0x1000c6d7
inc dword [ebx + 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 ebx, eax
add esp, 4
mov eax, dword [edi + 0x2d50]
test eax, eax
je 0x1000c72d
mov ecx, dword [edi + 0x2d48]
lea ecx, [ecx + ecx*2]
shl ecx, 3
push ecx
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [edi + 0x2d50]
add esp, 0xc
test ecx, ecx
je 0x1000c723
mov eax, dword [0x1020f4d8]
test eax, eax
je 0x1000c723
dec dword [eax + 0x374]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [edi + 0x2d50], ebx
mov dword [edi + 0x2d4c], esi
mov eax, dword [edi + 0x2d48]
movups xmm0, xmmword [ebp - 0x18]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x2d50]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [ebp - 8]
movq qword [eax + ecx*8 + 0x10], xmm0
mov eax, edi
inc dword [edi + 0x2d48]
mov byte [edi], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10014230
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1020f4d8]
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 [edi]
mov dword [ebp - 8], ecx
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 + 0x1014f700]
sub esi, 1
jne 0x10014266
mov eax, dword [ebp - 4]
not ebx
mov esi, dword [edi]
mov ecx, dword [eax + 0xd0]
cmp esi, ecx
jne 0x100142b6
inc esi
test ecx, ecx
je 0x100142a1
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x100142a6
mov eax, 8
cmp eax, esi
mov ecx, edi
cmovg esi, eax
push esi
call fcn.100198b0
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