joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10026500
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], esi
test eax, eax
jg 0x1002652c
jl 0x10026520
test ecx, ecx
jne 0x1002652c
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x10026545
push eax
push ecx
push esi
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
push edi
mov edi, ecx
mov eax, dword [eax]
mov dword [ebp - 8], eax
test eax, eax
je 0x10026593
mov eax, dword [ebx + 0x2c]
lea edx, [ebx + 0x2c]
mov dword [ebp - 0xc], edx
mov eax, dword [eax]
test eax, eax
je 0x10026599
mov edi, dword [ebp - 4]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push dword [ebp - 8]
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [ebp - 4], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [ebp - 4]
jmp 0x10026599
lea eax, [ebx + 0x2c]
mov dword [ebp - 0xc], eax
cmp dword [ebx + 0x4c], 0
je 0x10026606
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x100265c2
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [eax], edx
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp edi, 0xfff
jbe 0x100265f4
nop
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call eax
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x10026606
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x100265d0
test edi, edi
je 0x10026606
push dword [ebx + 0x4c]
push edi
push 1
push esi
call eax
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10026620
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x10026645
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
test ecx, ecx
je 0x1002666b
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x10026670
xor ecx, ecx
mov dword [ebp - 8], eax
mov eax, ecx
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test edi, edi
jl 0x100266f2
jg 0x10026685
test esi, esi
je 0x100266f2
test ecx, ecx
jl 0x100266d5
jg 0x1002668f
test eax, eax
je 0x100266d5
cmp edi, ecx
jg 0x100266a1
jl 0x10026699
cmp esi, eax
jae 0x100266a1
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], edi
push eax
push dword [ebp + 8]
push dword [ebp - 0xc]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 8]
add esp, 0xc
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
add edx, ecx
sub esi, ecx
mov eax, dword [eax]
sbb edi, dword [ebp - 4]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
test edi, edi
jl 0x100266f2
jg 0x100266d8
test esi, esi
je 0x100266f2
jmp 0x100266d8
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x100266f2
push eax
push esi
push 1
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1003dd30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x1003dd4f
push 0
push 0
push dword [ebp + 8]
push 0x1003dc20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc

Function at 0x10040b40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
mov dword [ebp - 0x20], ebx
cmp byte [ebx + 0x2b], 0
je 0x10040cd4
movaps xmm5, xmmword [0x103f5720]
lea ecx, [ebx + 8]
movaps xmm6, xmmword [0x101974f0]
mov edx, 0x15
movups xmm4, xmmword [0x103f57c0]
mov dword [ebp - 8], ecx
sub edx, ebx
push esi
mov ecx, 0x13
mov dword [ebp - 4], 0xe
sub ecx, ebx
mov dword [ebp - 0x14], edx
push edi
mov dword [ebp - 0xc], ecx
mov edi, 0x12
sub edi, ebx
mov esi, 0x14
sub esi, ebx
mov dword [ebp - 0x10], edi
mov ecx, 0xa
mov dword [ebp - 0x18], esi
sub ecx, ebx
xor eax, eax
sub dword [ebp - 4], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
movd xmm0, eax
add ecx, ebx
pshufd xmm1, xmm0, 0
add edi, ebx
movd xmm0, dword [ebx - 8]
paddd xmm1, xmm6
punpcklbw xmm0, xmm0
add eax, 0x10
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm3, edi
xorps xmm1, xmm0
mov edi, dword [ebp - 0x10]
andps xmm1, xmm4
movd xmm0, ecx
mov ecx, dword [ebp - 4]
packuswb xmm1, xmm1
add ecx, ebx
packuswb xmm1, xmm1
movd dword [ebx - 8], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx - 4]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
movd xmm0, ecx
andps xmm1, xmm4
lea ecx, [edx + ebx]
packuswb xmm1, xmm1
lea edx, [esi + ebx]
mov esi, dword [ebp - 0xc]
packuswb xmm1, xmm1
add esi, ebx
movd dword [ebx - 4], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm2, ecx
xorps xmm1, xmm0
mov ecx, dword [ebp - 0x1c]
andps xmm1, xmm4
movd xmm0, edx
mov edx, dword [ebp - 0x14]
punpckldq xmm3, xmm0
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [ebx], xmm1
movd xmm0, dword [ebx + 4]
punpcklbw xmm0, xmm0
movd xmm1, esi
mov esi, dword [ebp - 0x18]
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [ebx + 4], xmm3
add ebx, 0x10
cmp eax, 0x20
jb 0x10040bb4
mov ebx, dword [ebp - 0x20]
pop edi
pop esi
cmp eax, 0x2a
jae 0x10040cd0
lea edx, [eax + ebx]
lea ecx, [eax + 0xe]
inc eax
xor byte [edx], cl
cmp eax, 0x2a
jb 0x10040cc2
mov byte [ebx + 0x2b], 0
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10048d70
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1070fd80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1071119c]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0
push 4
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push 0xe0c3860
push dword [eax + 4]
mov eax, dword [eax + 8]
call eax
mov edi, dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
add edi, esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push edi
push dword [ebx + 4]
call esi
push 0
push 4
lea eax, [ebp + 0xc]
push eax
push edi
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [ebp - 0xc]
push eax
push 2
push 4
push edi
push dword [ebx + 4]
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101055b5
mov esp, ebp
pop ebp
ret 8

Function at 0x10048e60
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x1070fd80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [0x107122b4]
call fcn.100beb80
movups xmm4, xmmword [0x103f57c0]
mov ebx, eax
mov dword [ebp - 0x38], 0x665a605d
mov dword [edi], ebx
mov esi, 0x16
mov dword [ebp - 0x34], 0x68497672
mov dword [ebp - 0x30], 0x6d787f74
mov word [ebp - 0x2c], 0x6c
mov byte [ebp - 0x2a], 1
nop
lea eax, [esi - 1]
movd xmm2, esi
lea edx, [esi - 3]
movd xmm0, eax
movd xmm3, edx
lea ecx, [esi - 2]
punpckldq xmm3, xmm0
movd xmm0, dword [ebp + esi - 0x4e]
punpcklbw xmm0, xmm0
movd xmm1, ecx
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [ebp + esi - 0x4e], xmm3
add esi, 4
cmp esi, 0x22
jb 0x10048eb0
xor byte [ebp - 0x2c], 0x1f
xor eax, eax
mov byte [ebp - 0x2a], 0
mov dword [ebp - 0x44], 0x7a71607d
mov dword [ebp - 0x40], 0x767d367b
mov word [ebp - 0x3c], 0x77
mov byte [ebp - 0x3a], 1
lea ecx, [eax + 0x13]
xor byte [ebp + eax - 0x44], cl
inc eax
cmp eax, 9
jb 0x10048f26
lea eax, [ebp - 0x44]
mov byte [ebp - 0x3a], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x10]
mov dword [ebp - 8], 0
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x10], ebx
push ecx
push 0x1fffff
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], 0
push ecx
mov dword [ebp - 0x28], 0x18
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call eax
mov ecx, dword [ebp - 8]
mov eax, dword [edi]
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101055b5
mov esp, ebp
pop ebp
ret
Function at 0x10049b40
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0x40
push 0x3000
push dword [ebp + 8]
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
pop ebp
ret 4

Function at 0x1004d830
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10158201
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x1070fd80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.FW1FontWrapper::CFW1Object_struct_IFW1FontWrapper_.0
mov dword [edi + 4], 0
mov dword [edi + 8], 1
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [edi], vtable.FW1FontWrapper::CFW1FontWrapper.0
xor eax, eax
movups xmmword [edi + 0xc], xmm0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 7
mov word [edi + 0xc], ax
mov byte [ebp - 4], 1
lea esi, [edi + 0x58]
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], 0x9100
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [ebp - 0x14], esi
push 8
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call fcn.1010525d
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov byte [ebp - 4], 3
lea esi, [edi + 0x84]
mov dword [ebp - 0x18], esi
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.1010525d
add esp, 8
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov byte [ebp - 4], 5
lea eax, [edi + 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push eax
mov byte [edi + 0x98], 0
mov dword [edi + 0x9c], 0
call esi
lea eax, [edi + 0x6c]
push eax
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1004fb00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015847e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x1070fd80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.FW1FontWrapper::CFW1Object_struct_IFW1GlyphProvider_.0
mov dword [edi + 4], 0
mov dword [edi + 8], 1
mov dword [ebp - 4], 0
lea esi, [edi + 0x1c]
mov dword [edi], vtable.FW1FontWrapper::CFW1GlyphProvider.0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [ebp - 0x14], esi
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.1010525d
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov byte [ebp - 4], 2
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov byte [ebp - 4], 3
lea esi, [edi + 0x40]
mov dword [ebp - 0x18], esi
push 0x20
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1010525d
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 5
lea eax, [edi + 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push eax
call esi
lea eax, [edi + 0x60]
push eax
call esi
lea eax, [edi + 0x78]
push eax
call esi
lea eax, [edi + 0x90]
push eax
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100528c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101587f8
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x1070fd80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.FW1FontWrapper::CFW1Object_struct_IFW1GlyphSheet_.0
mov dword [edi + 4], 0
mov dword [edi + 8], 1
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [edi], vtable.FW1FontWrapper::CFW1GlyphSheet.0
xor eax, eax
movups xmmword [edi + 0xc], xmm0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 7
mov word [edi + 0xc], ax
mov byte [ebp - 4], 1
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov word [edi + 0x2c], ax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], eax
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], eax
mov dword [edi + 0x58], eax
mov word [edi + 0x5c], ax
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], eax
lea eax, [edi + 0x78]
push eax
movups xmmword [edi + 0x68], xmm0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [edi + 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10057550
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0xff
lea eax, [edi + 0x68]
push eax
lea eax, [edi + 0x168]
push eax
call sub.VCRUNTIME140.dll_memmove
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
add esp, 0xc
xor esi, esi
push esi
call ebx
test ax, ax
setne al
mov byte [edi + esi + 0x68], al
inc esi
cmp esi, 0xff
jl 0x10057575
pop edi
pop esi
pop ebx
ret
Function at 0x1005ceb0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [0x107111bc]
xor esi, esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov eax, dword [edi + 0x1ba8]
mov dword [ebp - 8], eax
test cl, 0x10
jne 0x1005d014
mov ebx, dword [edi + 0x1c48]
test ebx, ebx
je 0x1005cf20
cmp dword [edi + 0x1be0], ebx
jne 0x1005d00b
mov esi, dword [edi + 0x1c18]
xor ecx, ecx
cmp esi, 0xffffffff
cmove esi, ecx
cmp byte [esi + edi + 0xec], cl
je 0x1005d00b
cmp byte [eax + 0x9b], cl
jne 0x1005d00b
xor cl, cl
jmp 0x1005cfb9
cmp byte [edi + 0xec], 0
je 0x1005d00b
cmp byte [eax + 0x9b], 0
jne 0x1005d00b
test byte [edi + 0x1c50], 1
jne 0x1005cf5b
cmp dword [edi + 0x1be0], esi
je 0x1005d00b
cmp dword [edi + 0x1c10], eax
jne 0x1005d00b
test cl, 8
je 0x1005d00b
lea esi, [edi + 0x1c54]
mov ecx, eax
push esi
call fcn.10060fe0
mov ebx, eax
push ebx
push esi
mov dword [edi + 0x1c48], ebx
call fcn.100634e0
mov cl, al
add esp, 8
mov byte [ebp - 1], cl
test cl, cl
je 0x1005cfac
cmp byte [edi + 0x3e0], 0
je 0x1005cfac
mov esi, dword [ebp - 8]
push esi
push ebx
call fcn.1006b970
push esi
call fcn.100608a0
mov cl, byte [ebp - 1]
add esp, 0xc
cmp dword [edi + 0x1be0], ebx
jne 0x1005d00b
mov eax, dword [ebp - 8]
xor esi, esi
mov byte [edi + 0x1bed], cl
mov ecx, dword [eax + 0xd0]
mov eax, dword [eax + 0xd8]
mov eax, dword [eax + ecx*4 - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [0x107111bc]
cmp byte [eax + esi + 0xec], 0
jne 0x1005cfe7
mov byte [ebp - 1], 0
jmp 0x1005d000
movss xmm1, dword [eax + 0x30]
movss xmm0, dword [eax + esi*4 + 0x460]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae byte [ebp - 1]
call fcn.1006ba50
cmp byte [ebp - 1], 0
jne 0x1005d04d
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
or ebx, 0xffffffff
mov edx, 0x101ce5d1
mov al, 0x23
or esi, 0xffffffff
cmp al, 0x23
jne 0x1005d02f
cmp byte [edx], al
jne 0x1005d02f
cmp byte [edx + 1], al
cmove ebx, esi
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x101cdf20]
test al, al
jne 0x1005d021
mov esi, dword [ebp - 0x10]
not ebx
cmp byte [edi + 0x1ec4], 0
jne 0x1005d08f
call fcn.1005e5d0
mov eax, dword [ebp - 0xc]
mov dword [edi + 0x1ee0], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x1edc], ebx
mov byte [edi + 0x1ec4], 1
mov dword [edi + 0x1ec8], eax
mov dword [edi + 0x1ed0], esi
cmp ebx, dword [edi + 0x1be0]
jne 0x1005d08f
mov byte [edi + 0x1bee], 1
mov ebx, dword [ebp + 8]
mov eax, dword [edi + 0x1b48]
mov dword [edi + 0x1ecc], eax
mov byte [edi + 0x1ec5], 1
test bl, 1
jne 0x1005d0e6
push 0
push 0
call fcn.1005d420
add esp, 8
cmp dword [edi + 0x1f2c], 0
je 0x1005d0e6
test dword [edi + 0x1f20], 0x1000
je 0x1005d0e6
mov eax, dword [edi + 0x1ba8]
mov byte [eax + 0x9b], 1
mov byte [eax + 0x9d], 1
mov byte [eax + 0xb8], 1
test bl, 0x12
jne 0x1005d0f2
and dword [edi + 0x1c50], 0xfffffffe
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10060eb0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1070fd80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0xd0]
lea edx, [ebp - 8]
push ebx
mov ebx, dword [ecx + 0xd8]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 4
mov ebx, dword [ebx + eax*4 - 4]
mov dword [ebp - 8], edi
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x101cdf20]
sub esi, 1
jne 0x10060ee3
mov eax, dword [0x107111bc]
not ebx
cmp dword [eax + 0x1be0], ebx
jne 0x10060f12
mov dword [eax + 0x1be4], ebx
cmp dword [eax + 0x1c1c], ebx
jne 0x10060f21
mov byte [eax + 0x1c20], 1
mov eax, dword [0x107111bc]
cmp dword [eax + 0x1bc8], ebx
jne 0x10060f3c
push 0
push edi
push 4
push ebx
call fcn.1005f120
add esp, 0x10
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101055b5
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1070fd80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, ecx
push esi
push edi
lea esi, [ebp - 0x14]
mov edi, 0x10
movss xmm1, dword [edx + 0xec]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0xf0]
subss xmm0, xmm1
mov ecx, dword [edx + 0xd0]
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [edx + 0xd8]
subss xmm0, xmm2
mov edx, dword [eax + ecx*4 - 4]
movss dword [ebp - 8], xmm0
not edx
nop dword [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x101cdf20]
sub edi, 1
jne 0x10061060
mov eax, dword [0x107111bc]
not edx
pop edi
pop esi
cmp dword [eax + 0x1be0], edx
jne 0x10061091
mov dword [eax + 0x1be4], edx
cmp dword [eax + 0x1c1c], edx
jne 0x100610a0
mov byte [eax + 0x1c20], 1
mov ecx, dword [ebp - 4]
mov eax, edx
xor ecx, ebp
call fcn.101055b5
mov esp, ebp
pop ebp
ret 4
Function at 0x10061a30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x10061a42
mov dword [edi], 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10061b70
mov esi, eax
add esp, 8
test esi, esi
jne 0x10061a5a
pop edi
pop esi
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call ebx
add esp, 4
mov dword [ebp + 0x10], eax
cmp eax, 0xffffffff
je 0x10061b51
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 0x10061b51
push esi
call ebx
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x10061b51
push 0
push dword [ebp + 0x10]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10061b51
mov eax, dword [0x107111bc]
test eax, eax
je 0x10061ac0
inc dword [eax + 0x36c]
push dword [0x107111c4]
mov eax, dword [ebp + 0x14]
add eax, ebx
push eax
call dword [0x105f2fd8]
add esp, 8
mov dword [ebp + 0x10], eax
test eax, eax
je 0x10061b51
push esi
push ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, ebx
je 0x10061b21
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x107111bc]
add esp, 4
test eax, eax
je 0x10061b07
dec dword [eax + 0x36c]
push dword [0x107111c4]
mov eax, dword [ebp + 0x10]
push eax
call dword [0x105f2fdc]
add esp, 8
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x10061b39
push eax
mov eax, dword [ebp + 0x10]
add eax, ebx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test edi, edi
je 0x10061b49
mov dword [edi], ebx
mov eax, dword [ebp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x10061d40
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
not ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, ebx
test edi, edi
je 0x10061da3
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10061d86
cmp edi, 2
jb 0x10061d86
cmp byte [esi], cl
jne 0x10061d86
cmp byte [esi + 1], cl
jne 0x10061d86
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101cdf20]
jmp 0x10061d57
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101cdf20]
test edi, edi
jne 0x10061d57
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10061dd8
nop word [eax + eax]
cmp cl, 0x23
jne 0x10061dbf
cmp byte [esi], cl
jne 0x10061dbf
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 + 0x101cdf20]
test cl, cl
jne 0x10061db0
pop edi
pop esi
not eax
pop ebx
pop ebp
ret