joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425250
Capabilities:
Get system information on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44048b
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
mov eax, dword [0x45b00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x400000
mov dword [0x45bdd0], 0x450cd0
mov dword [0x45bdd8], 0x450f44
push 0
mov dword [ebp - 0x14], 0x45bdd0
mov dword [0x45bdec], 1
mov dword [0x45bde8], 0x100
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x4252c7
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea eax, [ecx + 0x400000]
mov dword [0x45bde4], ecx
mov dword [0x45bde0], eax
mov edx, 0x1555
mov eax, dword [0x45bde8]
mov dword [0x45bddc], ecx
nop dword [eax + eax]
add eax, ecx
mov dword [ecx], eax
mov eax, dword [0x45bde8]
add ecx, eax
add eax, ecx
mov dword [ecx], eax
mov eax, dword [0x45bde8]
add ecx, eax
add eax, ecx
mov dword [ecx], eax
mov eax, dword [0x45bde8]
add ecx, eax
sub edx, 1
jne 0x4252f0
mov dword [ecx], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], 0x45bdf0
mov dword [ebp - 0x18], 0x45bdf0
mov dword [ebp - 0x1c], 0x45bdf0
mov dword [0x45bdf0], 0x445a80
mov dword [0x45bdf4], edx
mov dword [0x45bdf8], edx
mov byte [ebp - 4], 1
mov dword [0x45bdf0], 0x4459c0
mov dword [0x45bdfc], edx
mov dword [0x45be04], edx
mov dword [0x45be00], edx
mov dword [0x45be08], 0x40
mov byte [ebp - 4], 2
mov dword [0x45be08], 0x80
mov byte [ebp - 4], 5
mov dword [0x45be0c], edx
mov byte [ebp - 4], 6
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x45be20
mov dword [ebp - 0x20], 0x45be20
call esi
mov byte [ebp - 4], 7
mov dword [0x45be38], 0
mov byte [ebp - 4], 8
push 0x45be44
mov dword [ebp - 0x24], 0x45be44
call esi
mov byte [ebp - 4], 9
mov dword [0x45be5c], 0x3e8
mov dword [ebp - 0x28], 0x45be70
mov dword [ebp - 0x2c], 0x45be70
mov dword [0x45be70], 0x445a80
mov dword [0x45be74], 0
mov dword [0x45be78], 0
mov byte [ebp - 4], 0xa
mov dword [0x45be70], 0x4459c0
mov dword [0x45be7c], 0
mov dword [0x45be84], 0
mov dword [0x45be80], 0
mov dword [0x45be88], 0x40
mov byte [ebp - 4], 0xb
mov dword [0x45be88], 0x80
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x3c]
mov dword [0x45be64], 0x3e80
mov dword [0x45be68], 1
mov dword [0x45be6c], 0
lea eax, [eax*2 + 2]
mov dword [0x45be60], eax
mov byte [ebp - 4], 0xe
push 0x45be8c
call esi
mov byte [ebp - 4], 0xf
push ecx
mov ecx, 0x45bea4
call fcn.004027e0
mov byte [ebp - 4], 0x10
mov dword [0x45be10], 0
mov dword [0x45becc], 0
movsd xmm0, qword [0x451868]
movsd qword [0x45be18], xmm0
xorps xmm0, xmm0
mov dword [0x45bed0], 0
mov dword [0x45bed4], 0
mov dword [0x45bed8], 0
mov dword [0x45be14], 0
movq qword [0x45be3c], xmm0
mov dword [ebp - 4], 0xffffffff
mov eax, 0x45bdd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x426050
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [esi + 0x14], 0
test ebx, ebx
jne 0x42606f
pop esi
lea eax, [ebx + 1]
pop ebx
pop ebp
ret 0xc
mov eax, dword [ecx]
push edi
xor edi, edi
call dword [eax]
push dword [ebp + 0x10]
mov ecx, eax
movzx eax, bx
push eax
push ecx
mov dword [ebp + 0xc], ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x426145
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x426145
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x42613c
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [esi + 0x14], 0
cmp dword [esi + 0x10], edi
jl 0x426120
cmp edi, 1
jne 0x4260e5
mov eax, dword [esi + 0xc]
mov cl, byte [ebx]
mov byte [eax], cl
inc dword [esi + 0x14]
jmp 0x426137
cmp edi, 2
jne 0x4260f8
mov eax, dword [esi + 0xc]
movzx ecx, word [ebx]
mov word [eax], cx
add dword [esi + 0x14], edi
jmp 0x426137
cmp edi, 4
jne 0x426109
mov eax, dword [esi + 0xc]
mov ecx, dword [ebx]
mov dword [eax], ecx
add dword [esi + 0x14], edi
jmp 0x426137
cmp edi, 8
jne 0x426120
mov eax, dword [esi + 0xc]
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
add dword [esi + 0x14], edi
jmp 0x426137
test edi, edi
jle 0x426137
push edi
mov ecx, esi
call fcn.00428ab0
push edi
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edi, 1
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x426480
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp esi, dword [0x45bde8]
jg 0x4264bb
push 0x45bdec
call fcn.004296e0
mov ecx, dword [0x45bde4]
add esp, 4
test ecx, ecx
je 0x4264ad
mov eax, dword [ecx]
mov dword [0x45bde4], eax
mov dword [0x45bdec], 1
test ecx, ecx
jne 0x4264d9
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x4264d9
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov eax, ecx
pop esi
pop ebp
ret 4

Function at 0x426540
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp esi, dword [0x45bddc]
jb 0x4265b4
cmp esi, dword [0x45bde0]
jae 0x4265b4
mov eax, dword [ebp + 0xc]
cmp eax, dword [0x45bde8]
jle 0x4265c9
push edi
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x4265cd
push dword [0x45bde8]
push esi
push edi
call sub.VCRUNTIME140.dll_memcpy
push 0x45bdec
call fcn.004296e0
mov eax, dword [0x45bde4]
add esp, 0x10
mov dword [esi], eax
mov dword [0x45bde4], esi
mov esi, edi
mov dword [0x45bdec], 1
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
push dword [ebp + 0xc]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esi, eax
test esi, esi
jne 0x4265ad
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x427910
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440790
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x45b00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x427a79
cmp word [esi], 0
je 0x427a79
lea ecx, [ebp - 0x244]
call fcn.004020d0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x238], 0
test eax, eax
je 0x427987
push eax
mov eax, dword [ebp - 0x234]
lea ecx, [ebp - 0x234]
call dword [eax + 0xc]
movzx eax, word [esi]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
cmp eax, 0x5c
je 0x4279c0
test ax, ax
je 0x4279f3
cmp word [esi + 2], 0x3a
jne 0x4279f3
cmp word [esi + 4], 0x5c
jne 0x4279f3
push 0x5c
push esi
call dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x4279f3
cmp eax, esi
jbe 0x4279df
cmp word [eax - 2], 0x3a
lea ecx, [eax - 2]
cmovne eax, ecx
sub eax, esi
lea ecx, [ebp - 0x244]
add eax, 2
sar eax, 1
push eax
push esi
call fcn.0042a860
mov edi, dword [ebp - 0x238]
test edi, edi
jne 0x427a0f
cmp dword [ebp - 0x220], edi
je 0x427a5a
mov edi, dword [ebp - 0x228]
test edi, edi
je 0x427a5a
cmp word [edi], 0
je 0x427a5a
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x427a5a
cmp word [edi], 0
je 0x427a38
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp word [ebp - 0x218], 0
mov esi, eax
je 0x427a63
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp 0x427a63
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call fcn.00402b20
mov eax, esi
jmp 0x427a7b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00438998
mov esp, ebp
pop ebp
ret
Function at 0x4290e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
test eax, eax
je 0x4291b9
cmp word [eax], 0
je 0x4291b9
push ebx
push esi
push 0x450e68
push eax
or esi, 0xffffffff
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x42918c
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push 2
push 0
push ebx
call esi
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push 0
push 0
push ebx
mov dword [ebp + 8], eax
call esi
mov eax, dword [ebp + 8]
add esp, 0x1c
test eax, eax
jle 0x42917b
push ebx
push eax
push 1
push eax
mov ecx, edi
call fcn.00428a50
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push ebx
mov esi, eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
add esp, 0x14
test eax, eax
jne 0x42917f
push esi
mov ecx, edi
call fcn.00428ab0
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov eax, esi
pop esi
pop ebx
pop edi
pop ebp
ret 8
xor esi, esi
jmp 0x429182
or esi, 0xffffffff
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x42919b
mov edx, dword [edi]
push ecx
mov ecx, edi
call dword [edx + 0xc]
mov eax, esi
mov dword [edi + 0xc], 0
pop esi
pop ebx
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
pop edi
pop ebp
ret 8
or eax, 0xffffffff
pop edi
pop ebp
ret 8
Function at 0x42c3b0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x17c
mov eax, dword [0x45b00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x17c], edx
xor edi, edi
mov edx, ecx
movzx esi, byte [edi + str.80_]
movzx ecx, byte [edi + 0x442cd1]
mov eax, esi
shr eax, 3
and esi, 7
movzx eax, byte [eax + edx]
test byte [esi*2 + 0x442930], al
setne al
mov byte [ebp + edi - 0x3c], al
mov eax, ecx
shr eax, 3
and ecx, 7
movzx eax, byte [eax + edx]
test byte [ecx*2 + 0x442930], al
movzx ecx, byte [edi + 0x442cd2]
setne al
mov byte [ebp + edi - 0x3b], al
mov eax, ecx
shr eax, 3
and ecx, 7
movzx eax, byte [eax + edx]
test byte [ecx*2 + 0x442930], al
movzx ecx, byte [edi + 0x442cd3]
setne al
mov byte [ebp + edi - 0x3a], al
mov eax, ecx
shr eax, 3
and ecx, 7
movzx eax, byte [eax + edx]
test byte [ecx*2 + 0x442930], al
setne al
mov byte [ebp + edi - 0x39], al
add edi, 4
cmp edi, 0x38
jl 0x42c3d0
mov ecx, 0x1e
xor ebx, ebx
mov dword [ebp - 0x178], ecx
nop dword [eax]
cmp dword [ebp - 0x17c], 1
lea eax, [ebx + ebx]
lea edi, [ebp - 0xf4]
cmovne ecx, eax
xor eax, eax
lea esi, [ebp + ecx*4 - 0xf0]
lea edi, [edi + ecx*4]
mov dword [esi], 0
movzx ecx, byte [ebx + 0x442e10]
mov dword [edi], 0
cmp ecx, 0x1c
jge 0x42c4ad
mov dl, byte [ebp + ecx - 0x3c]
jmp 0x42c4b1
mov dl, byte [ebp + ecx - 0x58]
mov byte [ebp + eax - 0x74], dl
inc ecx
inc eax
cmp eax, 0x1c
jl 0x42c4a2
movzx eax, byte [ebx + 0x442e10]
mov ecx, 0x1c
add eax, ecx
nop word [eax + eax]
cmp eax, 0x38
jge 0x42c4db
mov dl, byte [ebp + eax - 0x3c]
jmp 0x42c4df
mov dl, byte [ebp + eax - 0x58]
mov byte [ebp + ecx - 0x74], dl
inc eax
inc ecx
cmp ecx, 0x38
jl 0x42c4d0
xor eax, eax
nop dword [eax]
movzx ecx, byte [eax + 0x442ca0]
cmp byte [ebp + ecx - 0x74], 0
je 0x42c507
mov ecx, dword [eax*4 + 0x442940]
or dword [edi], ecx
movzx ecx, byte [eax + 0x442cb8]
cmp byte [ebp + ecx - 0x74], 0
je 0x42c51e
mov ecx, dword [eax*4 + 0x442940]
or dword [esi], ecx
inc eax
cmp eax, 0x18
jl 0x42c4f0
mov ecx, dword [ebp - 0x178]
inc ebx
sub ecx, 2
mov dword [ebp - 0x178], ecx
cmp ecx, 0xfffffffe
jg 0x42c470
lea eax, [ebp - 0x174]
mov dword [ebp - 0x17c], 0x10
lea ebx, [ebp - 0xf4]
mov dword [ebp - 0x178], eax
nop dword [eax]
mov edi, dword [ebx + 4]
lea ebx, [ebx + 8]
mov esi, dword [ebx - 8]
mov edx, edi
shr edx, 4
mov eax, edi
and eax, 0xfc0
and edx, 0xfc000
or edx, eax
mov ecx, esi
and ecx, 0xfc0
shr edx, 6
shl ecx, 4
mov eax, esi
and eax, 0xfc0000
or ecx, eax
mov eax, dword [ebp - 0x178]
shl ecx, 6
or edx, ecx
mov ecx, esi
and ecx, 0x3f
and esi, 0x3f000
mov dword [eax], edx
mov edx, eax
shl ecx, 4
mov eax, edi
or ecx, esi
shr eax, 4
shl ecx, 0xc
and eax, 0x3f00
or ecx, eax
and edi, 0x3f
or ecx, edi
mov dword [edx + 4], ecx
add edx, 8
sub dword [ebp - 0x17c], 1
mov dword [ebp - 0x178], edx
jne 0x42c560
mov ecx, 0x20
lea esi, [ebp - 0x174]
mov edi, 0x45bf30
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00438998
mov esp, ebp
pop ebp
ret
Function at 0x42cf30
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x45b00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xc]
mov ebx, ecx
xorps xmm0, xmm0
push edi
mov edi, edx
movq qword [ebp - 0xc], xmm0
mov cl, byte [esi]
test cl, cl
je 0x42cf79
nop dword [eax + eax]
xor byte [eax], cl
lea edx, [ebp - 4]
inc eax
lea ecx, [ebp - 0xc]
cmp eax, edx
lea esi, [esi + 1]
cmovne ecx, eax
mov eax, ecx
mov cl, byte [esi]
test cl, cl
jne 0x42cf60
xor edx, edx
lea ecx, [ebp - 0xc]
cmp dword [ebp + 0xc], edx
sete dl
call fcn.0042c3b0
mov eax, edi
cdq
and edx, 7
lea edi, [edx + eax]
sar edi, 3
test edi, edi
jle 0x42d025
lea esi, [ebx + 6]
movzx ecx, byte [esi - 6]
movzx eax, byte [esi - 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi - 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi - 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi - 1]
mov dword [ebp - 0xc], ecx
movzx ecx, byte [esi - 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0xc]
call fcn.0042c600
movzx eax, byte [ebp - 9]
lea esi, [esi + 8]
mov byte [esi - 0xe], al
movzx eax, byte [ebp - 0xa]
mov byte [esi - 0xd], al
mov eax, dword [ebp - 0xc]
mov byte [esi - 0xc], ah
mov byte [esi - 0xb], al
movzx eax, byte [ebp - 5]
mov byte [esi - 0xa], al
movzx eax, byte [ebp - 6]
mov byte [esi - 9], al
mov eax, dword [ebp - 8]
mov byte [esi - 8], ah
mov byte [esi - 7], al
sub edi, 1
jne 0x42cfa0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00438998
mov esp, ebp
pop ebp
ret
Function at 0x42e6c0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440c7d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x45b00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.SIMDUTF_FORCE_IMPLEMENTATION
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
je 0x42e7ae
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0041c470
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.0042d3e0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x42e780
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42e776
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42e776
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00438e23
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call sym.whitetool.exe_class_simdutf::internal::atomic_ptr_class_simdutf::implementation_const______cdecl_simdutf::get_active_implementation_void_
mov ecx, eax
test esi, esi
je 0x42e7a3
xchg dword [ecx], esi
mov eax, dword [ecx]
jmp 0x42e7e2
mov eax, 0x45bef0
xchg dword [ecx], eax
mov eax, dword [ecx]
jmp 0x42e7e2
call fcn.0042e470
mov esi, dword [eax]
mov ebx, dword [eax + 4]
cmp esi, ebx
je 0x42e7d4
nop dword [eax]
mov edi, dword [esi]
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x10]
test eax, eax
je 0x42e7d9
add esi, 4
cmp esi, ebx
jne 0x42e7c0
mov edi, 0x45bef0
call sym.whitetool.exe_class_simdutf::internal::atomic_ptr_class_simdutf::implementation_const______cdecl_simdutf::get_active_implementation_void_
xchg dword [eax], edi
mov eax, dword [eax]
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00438998
mov esp, ebp
pop ebp
ret
Function at 0x434950
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x43495b
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x434a17
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x444090]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x444090]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x444090]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x444090]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x444090]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x444090]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x444090]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x444090]
sub edi, 1
jne 0x434970
pop edi
test esi, esi
je 0x434a3a
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x444090]
sub esi, 1
jne 0x434a20
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x4352c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edx
mov ebx, esi
mov dword [ebp - 8], esi
imul ebx, dword [ebp + 8]
mov eax, ecx
mov dword [ebp - 4], eax
cmp byte [edi], 0
je 0x435308
push 0
lea ecx, [ebp + 8]
push ecx
push ebx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4352fa
mov byte [edi + 8], 1
mov eax, dword [ebp + 8]
xor edx, edx
pop edi
div esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x1c]
mov esi, dword [edi + 0x18]
mov ecx, dword [edi + 0x14]
sub esi, edx
lea eax, [edx + ebx]
cmp eax, dword [edi + 0x18]
cmovbe esi, ebx
add ecx, edx
push esi
push ecx
push dword [ebp - 4]
call sub.VCRUNTIME140.dll_memcpy
add dword [edi + 0x1c], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x435340
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov dword [ebp - 8], ebx
mov edi, 1
cmp byte [esi], 0
je 0x43537b
push 0
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 1]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x435376
mov byte [esi + 8], 1
mov edi, dword [ebp - 8]
jmp 0x4353a8
mov ebx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x43538c
mov edi, ecx
sub edi, ebx
mov eax, dword [esi + 0x14]
add eax, ebx
push edi
push eax
lea eax, [ebp - 1]
push eax
call sub.VCRUNTIME140.dll_memcpy
lea eax, [ebx + edi]
add esp, 0xc
mov ebx, dword [ebp - 8]
mov dword [esi + 0x1c], eax
cmp edi, 1
jne 0x4353bc
movzx eax, byte [ebp - 1]
mov dword [ebx], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x4353b3
cmp byte [esi + 8], 0
je 0x4353b3
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4354e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
cmp byte [ebx], 0
je 0x435529
cmp byte [ebx + 1], 0
je 0x43555d
push 2
push 0
push 0
push dword [ebx + 4]
call esi
cmp byte [ebx], 0
je 0x43552f
cmp byte [ebx + 1], 0
je 0x435522
push 1
push 0
push 0
push dword [ebx + 4]
call esi
sub eax, dword [ebx + 0xc]
jmp 0x435532
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x435541
mov eax, dword [ebx + 0x18]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 0x1c]
mov esi, 0xffff
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], esi
cmp eax, esi
jae 0x435546
mov esi, eax
mov dword [ebp - 0x10], eax
push 0x404
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x435567
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 4
mov dword [ebp - 4], 0xffffffff
cmp esi, eax
jbe 0x435676
nop dword [eax + eax]
mov edx, dword [ebp - 8]
add eax, 0x400
cmp eax, esi
mov ecx, esi
cmovbe ecx, eax
mov eax, 0x404
sub edx, ecx
mov dword [ebp - 0x20], ecx
cmp ecx, 0x404
mov dword [ebp - 0x1c], edx
mov esi, ecx
cmova esi, eax
cmp byte [ebx], 0
mov dword [ebp - 0x18], esi
je 0x4355f1
cmp byte [ebx + 1], 0
je 0x435676
mov eax, dword [ebx + 0xc]
push 0
push 0
add eax, edx
push eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [ebx], 0
mov edx, esi
je 0x4355f6
push 0
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4355ec
mov byte [ebx + 8], 1
mov eax, dword [ebp - 0x14]
jmp 0x435627
mov dword [ebx + 0x1c], edx
mov edx, esi
mov edi, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x14]
lea eax, [edi + esi]
mov esi, dword [ebx + 0x18]
sub esi, edi
cmp eax, dword [ebx + 0x18]
cmovbe esi, edx
add ecx, edi
push esi
push ecx
push dword [ebp - 0xc]
call sub.VCRUNTIME140.dll_memcpy
lea ecx, [esi + edi]
mov eax, esi
mov esi, dword [ebp - 0x18]
add esp, 0xc
mov edi, dword [ebp - 0xc]
mov dword [ebx + 0x1c], ecx
xor edx, edx
div esi
cmp eax, 1
jne 0x435676
lea ecx, [esi - 3]
test ecx, ecx
js 0x435661
lea eax, [edi + 3]
add eax, ecx
nop dword [eax]
mov edx, ecx
lea eax, [eax - 1]
dec ecx
cmp byte [eax - 3], 0x50
jne 0x43565d
cmp byte [edx + edi], 0x4b
jne 0x43565d
cmp byte [eax - 1], 5
jne 0x43565d
cmp byte [eax], 6
je 0x43568a
test ecx, ecx
jns 0x435640
mov eax, dword [ebp - 4]
test eax, eax
jne 0x435676
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x10]
cmp eax, esi
jb 0x435580
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [ebp - 4]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1c]
add eax, ecx
mov dword [ebp - 4], eax
jmp 0x435664