joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4088b0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41c1ab
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x426008]
xor eax, esp
mov dword [esp + 0x448], eax
push ebx
push esi
push edi
mov eax, dword [0x426008]
xor eax, esp
push eax
lea eax, [esp + 0x460]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x10a4]
lea ebx, [edi + 0x10a4]
mov ecx, ebx
push dword [eax + 4]
call fcn.0040a660
mov eax, dword [ebx]
lea esi, [edi + 0x1098]
lea ecx, [edi + 0xc20]
lea edx, [ecx + 2]
mov dword [eax + 4], eax
mov eax, dword [ebx]
mov dword [eax], eax
mov eax, dword [ebx]
mov dword [eax + 8], eax
mov dword [ebx + 4], 0
mov eax, dword [esi]
mov dword [esi + 4], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408931
sub ecx, edx
sar ecx, 1
je 0x408ac3
push esi
lea eax, [edi + 0xc20]
mov ecx, edi
push eax
call fcn.00408af0
xor eax, eax
push 0x208
push eax
mov word [esp + 0x24c], ax
lea eax, [esp + 0x24e]
push eax
call fcn.00416110
add esp, 0xc
mov dword [esp + 0x30], 0x104
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
xor eax, eax
push 0x208
push eax
mov word [esp + 0x452], ax
mov word [esp + 0x3c], ax
lea eax, [esp + 0x3e]
push eax
call fcn.00416110
add esp, 0xc
mov dword [esp + 0x30], 0x104
cmp dword [edi + 0x103c], 0
jne 0x4089d4
push str.AdvApi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x103c], eax
push str.GetUserNameW
push dword [edi + 0x103c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4089f5
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x38]
push ecx
call eax
xor eax, eax
mov word [esp + 0x23a], ax
mov eax, dword [esi]
cmp eax, dword [esi + 4]
je 0x408a43
mov edi, eax
cmp byte [edi + 0x69c], 1
jne 0x408a40
lea eax, [esp + 0x244]
push eax
push edi
call fcn.0041ab24
add esp, 8
test eax, eax
jne 0x408a3e
lea eax, [esp + 0x34]
push eax
lea eax, [edi + 0x280]
push eax
call fcn.0041ab24
add esp, 8
test eax, eax
je 0x408a43
mov eax, dword [esi]
mov dword [esi + 4], eax
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jne 0x408ac3
lea ecx, [esp + 0x34]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408a51
sub ecx, edx
sar ecx, 1
push esi
lea eax, [ecx + 1]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x250]
push eax
push 0
call fcn.00408690
lea eax, [esp + 0x244]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402a90
mov dword [esp + 0x468], 0
movzx eax, byte [0x4282a7]
push eax
lea eax, [esp + 0x1c]
push eax
push ecx
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call fcn.0040ae00
mov dword [esp + 0x468], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00402b30
mov ecx, dword [esp + 0x460]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x448]
xor ecx, esp
call fcn.0040e73a
mov esp, ebp
pop ebp
ret
Function at 0x4096b0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x41c2b8
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x426008]
xor eax, esp
mov dword [esp + 4], eax
push esi
mov eax, dword [0x426008]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
push 0x4282a8
mov dword [esp + 0xc], 0x4282a8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x18], 0
lea eax, [esi + 0xc20]
cmp word [eax], 0
je 0x40970f
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, esi
call fcn.004088b0
mov dword [esp + 0x18], 0xffffffff
push 0x4282a8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 8], 0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.0040e73a
add esp, 0x14
ret
Function at 0x40b760
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x40b77c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov byte [esi + 9], 0
mov eax, dword [esp + 8]
cmp dword [eax + 0x10], 0
je 0x40b790
cmp dword [eax + 0x14], 8
jb 0x40b792
mov eax, dword [eax]
jmp 0x40b792
xor eax, eax
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
test eax, eax
je 0x40b7c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
mov edx, 2
cmp eax, 0xb7
cmove ecx, edx
cmp dword [esi + 4], 0
mov dword [esi], ecx
setne al
pop esi
ret 4
cmp dword [esi + 4], 0
mov dword [esi], 1
setne al
pop esi
ret 4

Function at 0x40bc00
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x426008]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
push 0x110
lea eax, [esp + 0x14]
mov esi, ecx
push 0
push eax
call fcn.00416110
add esp, 0xc
mov dword [esp + 0xc], 0x114
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40bc90
cmp dword [esp + 0x10], 6
jb 0x40bc90
lea eax, [esp + 8]
mov dword [esp + 8], 0x104
push eax
push esi
push str.Progid
mov edx, str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
mov ecx, 0x80000001
call fcn.0040bab0
add esp, 0xc
test al, al
je 0x40bc90
cmp word [esi], 0
je 0x40bc90
mov al, 1
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0040e73a
add esp, 0x120
ret
lea eax, [esp + 4]
mov dword [esp + 4], 0x104
push eax
push esi
push 0
mov edx, str.http_shellopencommand
mov ecx, 0x80000000
call fcn.0040bab0
add esp, 0xc
test al, al
je 0x40bcbc
cmp word [esi], 0
jne 0x40bc78
lea eax, [esp + 4]
mov dword [esp + 4], 0x104
push eax
push esi
push 0
mov edx, str.SoftwareClasses.html
mov ecx, 0x80000001
call fcn.0040bab0
add esp, 0xc
test al, al
je 0x40bce8
cmp word [esi], 0
jne 0x40bc78
mov ecx, dword [esp + 0x120]
xor al, al
pop esi
xor ecx, esp
call fcn.0040e73a
add esp, 0x120
ret
Function at 0x40c2a0
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
mov eax, 0x2848
call fcn.0041a1a0
mov eax, dword [0x426008]
xor eax, esp
mov dword [esp + 0x2844], eax
push ebx
push esi
push 0x1ffe
xor ebx, ebx
lea eax, [esp + 0x852]
push ebx
push eax
mov esi, ecx
call fcn.00416110
add esp, 0xc
mov eax, 0x22
mov word [esp + 0x84c], ax
test esi, esi
je 0x40c49c
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0xffa
jge 0x40c49c
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x854]
push eax
call esi
push 0x422cdc
lea eax, [esp + 0x854]
push eax
call esi
push str.Shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0xc], eax
test eax, eax
je 0x40c482
push str.ShellExecuteW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
test ebp, ebp
je 0x40c482
push edi
lea ecx, [esp + 0x1c]
call fcn.0040bd00
xor edi, edi
lea esi, [esp + 0x1c]
lea esp, [esp]
cmp word [esi], bx
je 0x40c380
push 1
push 0
lea eax, [esp + 0x85c]
push eax
push esi
push str.open
push 0
call ebp
cmp eax, 0x20
ja 0x40c38e
inc edi
add esi, 0x210
cmp edi, 3
jl 0x40c360
jmp 0x40c3b0
imul ebx, edi, 0x210
cmp dword [esp + ebx + 0x224], 0
mov ebx, dword [esp + ebx + 0x228]
jne 0x40c3a8
add ebx, 0x10
test ebx, ebx
jne 0x40c45d
push 1
push 0
push 0
lea eax, [esp + 0x860]
push eax
push str.open
push 0
call ebp
cmp eax, 0x20
ja 0x40c458
mov edi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor esi, esi
mov dword [esp + 0x14], str._programfiles_x86__Internet_Exploreriexplore.exe
mov dword [esp + 0x18], str._programfiles_Internet_Exploreriexplore.exe
xor eax, eax
push 0x206
push eax
mov word [esp + 0x654], ax
lea eax, [esp + 0x656]
push eax
call fcn.00416110
add esp, 0xc
lea eax, [esp + 0x64c]
push 0x103
push eax
push dword [esp + esi*4 + 0x1c]
call edi
lea eax, [esp + 0x64c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40c450
push 1
push 0
lea eax, [esp + 0x85c]
push eax
lea eax, [esp + 0x658]
push eax
push str.open
push 0
call ebp
cmp eax, 0x20
ja 0x40c458
inc esi
cmp esi, 2
jb 0x40c3e8
jmp 0x40c45d
mov ebx, 0x10
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop ebp
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x2844]
xor ecx, esp
call fcn.0040e73a
add esp, 0x2848
ret
pop ebp
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2844]
xor ecx, esp
call fcn.0040e73a
add esp, 0x2848
ret
mov ecx, dword [esp + 0x284c]
xor eax, eax
pop esi
pop ebx
xor ecx, esp
call fcn.0040e73a
add esp, 0x2848
ret
Function at 0x40ccc0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x41c810
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x426008]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x40ccf1
mov eax, dword [esi]
jmp 0x40ccf3
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x40cd12
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret
cmp dword [esi + 0x14], 8
jb 0x40cd1c
mov eax, dword [esi]
jmp 0x40cd1e
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp edi, 0xffffffff
je 0x40ce0f
cmp dword [esi + 0x14], 8
jb 0x40cd3a
mov eax, dword [esi]
jmp 0x40cd3c
mov eax, esi
push eax
lea ecx, [esp + 0x14]
call fcn.00402a90
mov dword [esp + 0x30], 0
lea eax, [esp + 0x10]
cmp dword [esp + 0x24], 8
push 0
cmovae eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
test al, al
sete al
mov byte [esp + 0xf], al
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x24], 8
jb 0x40cd92
push dword [esp + 0x10]
call fcn.0040eef6
mov al, byte [esp + 0x13]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], cx
test al, al
jne 0x40ce0f
cmp dword [esi + 0x14], 8
jb 0x40cdb7
mov eax, dword [esi]
jmp 0x40cdb9
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40ccfe
cmp dword [esi + 0x14], 8
jb 0x40cdd0
mov esi, dword [esi]
push esi
lea ecx, [esp + 0x14]
call fcn.00402a90
mov dword [esp + 0x30], 1
and edi, 0xffffb1af
cmp dword [esp + 0x24], 8
lea eax, [esp + 0x10]
push edi
cmovae eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00402b30
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret
Function at 0x40ce30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x80
push esi
mov dword [esp + 4], 0x10d040e
xor esi, esi
mov dword [esp + 8], 0x80b0f02
mov dword [esp + 0xc], 0xc060a03
mov dword [esp + 0x10], 0x7000905
mov dword [esp + 0x14], 0xe08010f
mov dword [esp + 0x18], 0x4030b06
mov dword [esp + 0x1c], 0xd020709
mov dword [esp + 0x20], 0xa05000c
mov dword [esp + 0x24], 0xe09000a
mov dword [esp + 0x28], 0x50f0306
mov dword [esp + 0x2c], 0x70c0d01
mov dword [esp + 0x30], 0x802040b
mov dword [esp + 0x34], 0x30e0d07
mov dword [esp + 0x38], 0xa090600
mov dword [esp + 0x3c], 0x5080201
mov dword [esp + 0x40], 0xf040c0b
mov dword [esp + 0x44], 0x1040c02
mov dword [esp + 0x48], 0x60b0a07
mov dword [esp + 0x4c], 0xf030508
mov dword [esp + 0x50], 0x90e000d
mov dword [esp + 0x54], 0xf0a010c
mov dword [esp + 0x58], 0x8060209
mov dword [esp + 0x5c], 0x4030d00
mov dword [esp + 0x60], 0xb05070e
mov dword [esp + 0x64], 0xe020b04
mov dword [esp + 0x68], 0xd08000f
mov dword [esp + 0x6c], 0x7090c03
mov dword [esp + 0x70], 0x1060a05
mov dword [esp + 0x74], 0x408020d
mov dword [esp + 0x78], 0x10b0f06
mov dword [esp + 0x7c], 0xe03090a
mov dword [esp + 0x80], 0x70c0005
lea esp, [esp]
mov ecx, esi
mov edx, esi
sar ecx, 4
and edx, 0xf
movzx eax, byte [esp + ecx + 4]
shl al, 4
or al, byte [esp + edx + 0x14]
mov byte [esi + 0x4283c0], al
movzx eax, byte [esp + ecx + 0x24]
shl al, 4
or al, byte [esp + edx + 0x34]
mov byte [esi + 0x4284c0], al
movzx eax, byte [esp + ecx + 0x44]
shl al, 4
or al, byte [esp + edx + 0x54]
mov byte [esi + 0x4285c0], al
movzx eax, byte [esp + ecx + 0x64]
shl al, 4
or al, byte [esp + edx + 0x74]
mov byte [esi + 0x4282c0], al
inc esi
cmp esi, 0x100
jl 0x40cf40
pop esi
add esp, 0x80
ret
Function at 0x415be8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x426008]
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.00412205
mov dword [ebp - 0x14], eax
cmp dword [0x42824c], esi
jne 0x415cdb
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x415c68
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x415dbb
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x415dbb
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x415dbb
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x42824c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x428250], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x428254], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42825c], eax
test eax, eax
je 0x415cd8
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x428258], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x415d00
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x415cf3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x415d15
push 4
pop eax
jmp 0x415dbd
cmp dword [ebp - 0x14], esi
je 0x415d15
push dword [0x42824c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x415cfa
mov eax, dword [0x428258]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x415d73
cmp dword [0x42825c], edi
je 0x415d73
push eax
call ebx
push dword [0x42825c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x415d73
test eax, eax
je 0x415d73
call ecx
test eax, eax
je 0x415d68
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 0x415d68
test byte [ebp - 8], 1
jne 0x415d73
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x415da3
mov eax, dword [0x428250]
cmp eax, edi
je 0x415da0
push eax
call ebx
test eax, eax
je 0x415da0
call eax
mov esi, eax
test esi, esi
je 0x415da0
mov eax, dword [0x428254]
cmp eax, edi
je 0x415da0
push eax
call ebx
test eax, eax
je 0x415da0
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x42824c]
call ebx
test eax, eax
je 0x415dbb
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x415dbd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040e73a
mov esp, ebp
pop ebp
ret
Function at 0x1000abe0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
mov esi, edx
mov ecx, 0x101a157a
call fcn.10137ff6
mov eax, dword [ebp + 8]
not eax
nop dword [eax + eax]
movzx ecx, byte [edi]
lea edi, [edi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10155840]
sub esi, 1
jne 0x1000ac00
pop edi
pop esi
not eax
pop ebp
ret

Function at 0x1000ac20
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
mov ecx, 0x101a157a
push edi
mov edi, edx
call fcn.10137ff6
mov ebx, dword [ebp + 8]
not ebx
mov eax, ebx
test edi, edi
je 0x1000ac8c
nop
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x1000ac6f
cmp edi, 2
jb 0x1000ac6f
cmp byte [esi], cl
jne 0x1000ac6f
cmp byte [esi + 1], cl
jne 0x1000ac6f
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10155840]
jmp 0x1000ac40
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10155840]
test edi, edi
jne 0x1000ac40
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x1000acbb
cmp cl, 0x23
jne 0x1000aca2
cmp byte [esi], cl
jne 0x1000aca2
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 + 0x10155840]
test cl, cl
jne 0x1000ac93
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x1000ae60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov ecx, 0x101a157a
push edi
call fcn.10137ff6
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x1000ae80
mov dword [ebx], 0
mov edx, 0x101556bc
mov ecx, esi
call fcn.1000acd0
mov esi, eax
test esi, esi
je 0x1000af70
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 0x1000af66
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 0x1000af66
push esi
call edi
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
je 0x1000af66
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 0x1000af66
mov eax, dword [0x1018ff68]
test eax, eax
je 0x1000aefa
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 0x1000af66
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 0x1000af4b
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x1018ff68]
add esp, 4
test eax, eax
je 0x1000af38
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 0x1000af5d
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 0x1000ce50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, 0x101a157a
push edi
call fcn.10137ff6
mov edx, dword [esi + 0xcc]
mov edi, 4
mov eax, dword [esi + 0xd4]
lea esi, [ebp + 8]
mov eax, dword [eax + edx*4 - 4]
not eax
nop dword [eax + eax]
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10155840]
sub edi, 1
jne 0x1000ce80
mov ecx, dword [0x1018ff68]
not eax
pop edi
pop esi
cmp dword [ecx + 0x19ec], eax
jne 0x1000ceb2
mov dword [ecx + 0x19f0], eax
cmp dword [ecx + 0x1a20], eax
jne 0x1000cec1
mov byte [ecx + 0x1a24], 1
pop ebp
ret 4
Function at 0x1000ced0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10160380]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov ecx, 0x101a157a
push edi
call fcn.10137ff6
mov edx, dword [ebp + 8]
mov edi, 0x10
mov ecx, dword [esi + 0xcc]
movss xmm0, dword [edx]
subss xmm0, dword [esi + 0xc]
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
nop
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10155840]
sub edi, 1
jne 0x1000cf50
mov eax, dword [0x1018ff68]
not edx
pop edi
pop esi
cmp dword [eax + 0x19ec], edx
jne 0x1000cf81
mov dword [eax + 0x19f0], edx
cmp dword [eax + 0x1a20], edx
jne 0x1000cf90
mov byte [eax + 0x1a24], 1
mov ecx, dword [ebp - 4]
mov eax, edx
xor ecx, ebp
call fcn.100dfbc8
mov esp, ebp
pop ebp
ret 4
Function at 0x1000f070
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
mov ecx, 0x101a157a
call fcn.10137ff6
or edx, 0xffffffff
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], str.Window
mov esi, 0x101555e9
mov al, 0x57
or ebx, 0xffffffff
cmp al, 0x23
jne 0x1000f0ae
cmp byte [esi], al
jne 0x1000f0ae
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 + 0x10155840]
test al, al
jne 0x1000f0a0
mov esi, dword [edi + 0x2d48]
not edx
mov ecx, dword [edi + 0x2d4c]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], 0x1001a740
mov dword [ebp - 0xc], 0x1001a780
mov dword [ebp - 8], 0x1001a830
cmp esi, ecx
jne 0x1000f184
inc esi
test ecx, ecx
je 0x1000f105
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1000f10a
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x1000f184
mov eax, dword [0x1018ff68]
test eax, eax
je 0x1000f122
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 ebx, eax
add esp, 4
mov eax, dword [edi + 0x2d50]
test eax, eax
je 0x1000f178
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 0x1000f16e
mov eax, dword [0x1018ff68]
test eax, eax
je 0x1000f16e
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
inc dword [edi + 0x2d48]
mov byte [edi], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret