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

Disassembly:
mov edx, dword [0x4ad9dc]
push ebp
mov ebp, dword [esp + 8]
push esi
mov esi, edx
sub esi, dword [0x44d9d4]
xor eax, eax
add esi, 0x10c
test esi, esi
push edi
jle 0x4012b8
mov cl, byte [edx + 0x4c4d46]
mov dl, byte [edx + 0x4c4d45]
push ebx
mov edi, edi
mov bl, byte [eax + str._Xglwrt7o]
sub bl, cl
xor bl, dl
mov byte [eax + str._Xglwrt7o], bl
add eax, 1
cmp eax, esi
jl 0x4012a0
pop ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor esi, esi
movsx eax, byte [esi + str._Xglwrt7o]
push eax
push ebp
call edi
mov dword [esi*4 + 0x44d9a8], eax
add esi, 1
cmp esi, 0xb
jl 0x4012c0
pop edi
pop esi
pop ebp
ret

Function at 0x404113
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x404159
call fcn.00417cea
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x404159
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x40419c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x404185
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x404185
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x404199
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x405c51
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x448697
call fcn.00434ffd
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x405c76
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x405cc2
call fcn.0041be00
push eax
lea ecx, [ebp - 0x10]
call fcn.00418974
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00405578
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401e4c
mov eax, esi
call fcn.004350d5
ret 8
Function at 0x406981
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00417cea
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4069b8
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.004065a3
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x406a10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x406a30
cmp dword [edi + 0x54], 0
jne 0x406a30
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00417cea
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004069d7
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x40a7e3
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40a81c
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0040a77e
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004051de
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x40c3bc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x40c3ff
call fcn.00417cea
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40c3ff
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40c41a
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0040bf73
test ebx, ebx
mov esi, eax
je 0x40c418
test edi, edi
je 0x40c418
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x41bb8a
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x41bbb8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41bbd6
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041baf4
jmp 0x41bbd6
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41bbd6
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0041baf4
test edi, edi
mov eax, edi
jne 0x41bbc0
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x44cb58]
test ecx, ecx
je 0x41bc99
jmp 0x41bb89
ret 8

Function at 0x433ee3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4c39f0]
jne 0x433eed
repz ret
jmp fcn.00438af1
Function at 0x4413da
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00438d31
xor ebx, ebx
cmp dword [0x44d8f4], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4414af
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x44141a
xor eax, eax
jmp 0x441573
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4b61c8
push edi
call esi
cmp eax, ebx
je 0x441413
push eax
call fcn.00438cce
mov dword [esp], 0x4b61b8
push edi
mov dword [0x44d8f4], eax
call esi
push eax
call fcn.00438cce
mov dword [esp], 0x4b61a4
push edi
mov dword [0x44d8f8], eax
call esi
push eax
call fcn.00438cce
mov dword [0x44d8fc], eax
lea eax, [ebp - 8]
push eax
call fcn.004351b0
test eax, eax
pop ecx
pop ecx
je 0x44147d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043a1b9
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4414af
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00438cce
cmp eax, ebx
pop ecx
mov dword [0x44d904], eax
je 0x4414af
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00438cce
pop ecx
mov dword [0x44d900], eax
mov eax, dword [0x44d900]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x441528
cmp dword [0x44d904], esi
je 0x441528
push eax
call fcn.00438d3a
pop ecx
call eax
cmp eax, ebx
je 0x4414f5
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x44d904]
call fcn.00438d3a
pop ecx
call eax
test eax, eax
je 0x4414f5
test byte [ebp - 0x18], 1
jne 0x441528
lea eax, [ebp - 0xc]
push eax
call fcn.004351e7
test eax, eax
pop ecx
je 0x441510
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043a1b9
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x44151f
or dword [ebp + 0x10], 0x200000
jmp 0x441559
or dword [ebp + 0x10], 0x40000
jmp 0x441559
mov eax, dword [0x44d8f8]
cmp eax, esi
je 0x441559
push eax
call fcn.00438d3a
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x441559
mov eax, dword [0x44d8fc]
cmp eax, esi
je 0x441559
push dword [ebp - 4]
push eax
call fcn.00438d3a
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x44d8f4]
call fcn.00438d3a
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4476b6
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4c39f0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0044764b
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00435690
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x447705
cmp dword [ebp - 0x1c], 5
jb 0x44771d
jmp 0x447719
cmp dword [ebp - 0x10], 1
jne 0x44771d
cmp dword [ebp - 0x1c], 4
ja 0x447719
jne 0x44771d
cmp dword [ebp - 0x18], 0
jbe 0x44771d
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4b73a0
call fcn.0044753c
test eax, eax
jge 0x44773e
mov byte [0x4ada88], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00433ee3
add ebp, 0x78
leave
ret
Function at 0x10001520
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x10098cb0], 0
je 0x10001539
mov eax, dword [0x10098cb0]
jmp 0x100016d6
mov dword [0x10098cb0], 0x10098c88
push 0x28
push 0
push 0x10098c88
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x10098c88], eax
push str.imagehlp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x10098c8c], eax
cmp dword [0x10098c8c], 0
jne 0x1000157f
xor eax, eax
jmp 0x100016d6
push str.ImagehlpApiVersionEx
mov eax, dword [0x10098c8c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10098c90], eax
push str.SymInitialize
mov ecx, dword [0x10098c8c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10098c94], eax
push str.SymSetOptions
mov edx, dword [0x10098c8c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10098c98], eax
push str.SymGetOptions
mov eax, dword [0x10098c8c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10098c9c], eax
push str.SymLoadModule
mov ecx, dword [0x10098c8c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10098ca0], eax
push str.SymGetModuleInfo
mov edx, dword [0x10098c8c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10098ca4], eax
push str.SymGetSymFromName
mov eax, dword [0x10098c8c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10098ca8], eax
push str.BindImage
mov ecx, dword [0x10098c8c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10098cac], eax
push 8
push 0
lea edx, [ebp - 8]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov word [ebp - 8], 9
cmp dword [0x10098c90], 0
je 0x1000165d
lea eax, [ebp - 8]
push eax
call dword [0x10098c90]
cmp dword [0x10098c90], 0
je 0x1000166f
movzx ecx, word [ebp - 8]
cmp ecx, 9
jge 0x1000168a
mov edx, dword [0x10098c8c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x10098c8c], 0
xor eax, eax
jmp 0x100016d6
cmp dword [0x10098c94], 0
je 0x100016a3
push 0
push 0
mov eax, dword [0x10098c88]
push eax
call dword [0x10098c94]
cmp dword [0x10098c9c], 0
je 0x100016d1
cmp dword [0x10098c98], 0
je 0x100016d1
call dword [0x10098c9c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
and ecx, 7
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [0x10098c98]
mov eax, dword [0x10098cb0]
mov esp, ebp
pop ebp
ret
Function at 0x1000b680
Capabilities:
Hash data with crc32

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [0x10093758]
push edi
mov edi, dword [esp + 0x28]
mov ebp, dword [esi + 0x3e60]
mov ecx, ebp
mov eax, dword [ebp + 0xc]
and eax, 4
or eax, 0x1000103
or edi, eax
cmp dword [ebp + 0x190], 0
mov dword [esp + 0x28], edi
jne 0x1000b6bf
cmp dword [esi + 0x4a74], 0
mov eax, 0x228
je 0x1000b6c4
mov eax, 0x1f8
movss xmm4, dword [eax + ebp]
xorps xmm3, xmm3
movss xmm5, dword [eax + ebp + 4]
mov edx, 1
subss xmm4, dword [ecx + 0xf0]
subss xmm5, dword [ecx + 0xf4]
mov ecx, dword [esp + 0x20]
mov ebx, 2
movss xmm2, dword [0x10079298]
cvttss2si eax, dword [ecx]
movd xmm1, eax
cvttss2si eax, dword [ecx + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
ucomiss xmm1, xmm3
cvtdq2ps xmm0, xmm0
lahf
xor ecx, ecx
test ah, 0x44
cmovnp ecx, edx
ucomiss xmm0, xmm3
lahf
xor edx, edx
test ah, 0x44
cmovnp edx, ebx
or edx, ecx
comiss xmm3, xmm1
mov dword [esp + 0x10], edx
jb 0x1000b73e
addss xmm1, xmm4
comiss xmm1, xmm2
jae 0x1000b73e
movaps xmm1, xmm2
comiss xmm3, xmm0
jb 0x1000b74f
addss xmm0, xmm5
comiss xmm0, xmm2
jae 0x1000b74f
movaps xmm0, xmm2
or dword [esi + 0x471c], ebx
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
movss dword [esi + 0x473c], xmm1
movss dword [esi + 0x4740], xmm0
mov dword [esi + 0x4724], 1
mov eax, dword [ebp + 4]
push ebx
test ecx, ecx
je 0x1000b797
push ecx
push eax
push str._s__s__08X
lea eax, [esp + 0x30]
push 0
push eax
call fcn.10013590
add esp, 0x18
jmp 0x1000b7ac
push eax
push str._s__08X
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.10013590
add esp, 0x14
cmp byte [esp + 0x24], 0
movss xmm0, dword [esi + 0x37b8]
movss dword [esp + 0x18], xmm0
jne 0x1000b7cb
mov dword [esi + 0x37b8], 0
push edi
push 0
push dword [esp + 0x28]
call fcn.10008e20
mov edi, dword [esi + 0x3e60]
add esp, 0xc
movss xmm0, dword [esp + 0x18]
movss dword [esi + 0x37b8], xmm0
mov byte [esp + 0x24], al
cmp word [edi + 0xb6], 1
mov eax, dword [esp + 0x10]
mov dword [edi + 0x74], ebx
mov byte [edi + 0xc6], al
jne 0x1000b81b
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [ebp + 0xf0], ecx
mov dword [ebp + 0xf4], eax
mov ebp, ebx
mov al, 0x23
not ebp
mov edx, 0x1007b701
mov ebx, ebp
cmp al, 0x23
jne 0x1000b836
cmp byte [edx], al
jne 0x1000b836
cmp byte [edx + 1], al
cmove ebx, ebp
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x10079318]
test al, al
jne 0x1000b828
not ebx
cmp dword [esi + 0x3eac], ebx
jne 0x1000b865
push 0
push 0
call fcn.10020c40
add esp, 8
mov eax, dword [esp + 0x1c]
cmp dword [esi + 0x4804], eax
jne 0x1000b8b4
test dword [esp + 0x28], 0x800000
jne 0x1000b8b4
cmp word [edi + 0x14c], 0
jne 0x1000b88e
cmp byte [edi + 0x152], 0
je 0x1000b8b4
push 0
push edi
call fcn.100119b0
push 0
push edi
call fcn.10017a20
push edi
push ebx
call fcn.10020c40
mov eax, dword [esi + 0x4828]
add esp, 0x18
mov dword [esi + 0x3ecc], eax
mov al, byte [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x10012140
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0xe4], 0
jg 0x10012166
push 0x737
push str.D:Projectm2extLibrariesimguiimgui.h
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [edi + 0xe4]
lea edx, [esp + 0x10]
mov ebx, dword [edi + 0xec]
mov esi, 4
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 + 0x10079318]
sub esi, 1
jne 0x10012181
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x3e94], ebx
jne 0x100121b7
push esi
push dword [esp + 0x14]
push 4
push ebx
call fcn.1000e540
add esp, 0x10
pop edi
pop esi
mov eax, ebx
pop ebx
ret 4

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

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0xe4], 0
jg 0x10012266
push 0x737
push str.D:Projectm2extLibrariesimguiimgui.h
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [edi + 0xe4]
lea edx, [esp + 0x10]
mov ebx, dword [edi + 0xec]
mov esi, 4
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 + 0x10079318]
sub esi, 1
jne 0x10012281
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x3e94], ebx
jne 0x100122b7
push esi
push dword [esp + 0x14]
push 0xc
push ebx
call fcn.1000e540
add esp, 0x10
pop edi
pop esi
mov eax, ebx
pop ebx
ret 4

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

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
push edi
cmp dword [esi + 0xe4], 0
jg 0x100122e8
push 0x737
push str.D:Projectm2extLibrariesimguiimgui.h
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov edi, 0x10
movss xmm1, dword [esi + 0x100]
movss xmm2, dword [esi + 0x104]
mov ecx, dword [esi + 0xe4]
movss xmm0, dword [eax]
subss xmm0, xmm1
movss dword [esp + 8], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [esp + 0xc], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [esp + 0x10], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [esi + 0xec]
subss xmm0, xmm2
lea esi, [esp + 8]
mov edx, dword [eax + ecx*4 - 4]
movss dword [esp + 0x14], xmm0
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10079318]
sub edi, 1
jne 0x10012352
not edx
pop edi
mov eax, edx
pop esi
add esp, 0x10
ret 4
Function at 0x10014410
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0xc]
not ebx
push edi
mov edi, dword [esp + 0x14]
mov eax, ebx
test edi, edi
je 0x10014472
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10014456
cmp edi, 2
jb 0x10014456
cmp byte [esi], cl
jne 0x10014456
cmp byte [esi + 1], cl
jne 0x10014456
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10079318]
jmp 0x10014427
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10079318]
test edi, edi
jne 0x10014427
pop edi
pop esi
not eax
pop ebx
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x100144a8
nop dword [eax]
cmp cl, 0x23
jne 0x1001448f
cmp byte [esi], cl
jne 0x1001448f
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 + 0x10079318]
test cl, cl
jne 0x10014480
pop edi
pop esi
not eax
pop ebx
ret
Function at 0x10014880
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10
xor ecx, ecx
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
push edi
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x100148a1
cmp eax, ebp
jae 0x10014a06
mov bl, byte [eax]
test bl, bl
je 0x10014a06
movzx ecx, bl
mov edx, ebp
shr ecx, 3
movsx edi, byte [ecx + 0x1007a290]
xor ecx, ecx
test edi, edi
mov dword [esp + 0x14], edi
sete cl
add ecx, edi
mov dword [esp + 0x18], ecx
test ebp, ebp
jne 0x100148d2
lea edx, [ecx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, bl
mov byte [esp + 0x13], cl
cmp esi, edx
jae 0x100148e7
mov bh, byte [esi]
jmp 0x100148e9
xor bh, bh
lea esi, [eax + 2]
mov byte [esp + 0x12], bh
cmp esi, edx
jae 0x100148f8
mov ch, byte [esi]
jmp 0x100148fa
xor ch, ch
lea esi, [eax + 3]
mov byte [esp + 0x11], ch
cmp esi, edx
jae 0x10014909
mov bl, byte [esi]
jmp 0x1001490b
xor bl, bl
mov edi, dword [edi*4 + 0x1007a2b0]
movzx edx, ch
movzx ecx, cl
and edi, ecx
movzx esi, bh
shl edi, 6
mov ecx, esi
and ecx, 0x3f
mov byte [esp + 0x28], bl
or edi, ecx
movzx ebx, bl
shl edi, 6
mov ecx, edx
and ecx, 0x3f
and edx, 0xc0
or edi, ecx
and esi, 0xc0
mov ecx, ebx
shl edi, 6
and ecx, 0x3f
shr ebx, 2
or edi, ecx
or ebx, edx
mov ecx, dword [esp + 0x14]
shr ebx, 2
or ebx, esi
mov esi, dword [esp + 0x14]
shr ebx, 2
mov ecx, dword [ecx*4 + 0x1007a2d8]
shr edi, cl
cmp edi, dword [esi*4 + 0x1007a2c4]
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
or ebx, ecx
mov ecx, edi
and ecx, 0xfffff800
cmp ecx, 0xd800
mov ecx, 0x80
cmove edx, ecx
mov ecx, 0xffff
or ebx, edx
cmp ecx, edi
sbb ecx, ecx
and ecx, 0x100
or ebx, ecx
mov ecx, dword [esi*4 + 0x1007a2ec]
xor ebx, 0x2a
sar ebx, cl
test ebx, ebx
je 0x100149f6
xor edx, edx
cmp byte [esp + 0x28], dl
setne dl
xor ecx, ecx
cmp byte [esp + 0x11], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [esp + 0x12], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [esp + 0x13], cl
setne cl
add edx, ecx
cmp dword [esp + 0x18], edx
cmovl edx, dword [esp + 0x18]
mov ecx, edx
add eax, ecx
mov ecx, dword [esp + 0x1c]
inc ecx
jmp 0x10014891
mov ecx, dword [esp + 0x18]
add eax, ecx
mov ecx, dword [esp + 0x1c]
inc ecx
jmp 0x10014891
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x10
ret
Function at 0x10014a60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x14
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
dec eax
push ebp
mov ebp, edx
mov dword [esp + 0x10], ebp
lea eax, [edx + eax*2]
mov dword [esp + 0x14], eax
cmp edx, eax
mov eax, dword [esp + 0x24]
jae 0x10014c34
push esi
mov esi, dword [esp + 0x2c]
push ebx
push edi
nop dword [eax]
test esi, esi
je 0x10014a9c
cmp eax, esi
jae 0x10014c2d
mov cl, byte [eax]
mov byte [esp + 0x2c], cl
test cl, cl
je 0x10014c2d
movzx ecx, cl
xor ebx, ebx
shr ecx, 3
mov edx, esi
movsx ecx, byte [ecx + 0x1007a290]
test ecx, ecx
mov dword [esp + 0x18], ecx
sete bl
add ebx, ecx
test esi, esi
jne 0x10014acd
lea edx, [ebx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, byte [esp + 0x2c]
mov byte [esp + 0x13], cl
cmp esi, edx
jae 0x10014ae8
mov ch, byte [esi]
mov byte [esp + 0x11], ch
jmp 0x10014aed
mov byte [esp + 0x11], 0
lea esi, [eax + 2]
cmp esi, edx
jae 0x10014afc
mov ch, byte [esi]
mov byte [esp + 0x2c], ch
jmp 0x10014b01
mov byte [esp + 0x2c], 0
lea esi, [eax + 3]
cmp esi, edx
jae 0x10014b0c
mov ch, byte [esi]
jmp 0x10014b0e
xor ch, ch
mov ebp, dword [esp + 0x18]
movzx esi, byte [esp + 0x11]
movzx edx, byte [esp + 0x2c]
movzx edi, ch
mov ebp, dword [ebp*4 + 0x1007a2b0]
mov byte [esp + 0x12], ch
movzx ecx, cl
and ebp, ecx
mov ecx, esi
and ecx, 0x3f
mov dword [esp + 0x14], ebp
shl dword [esp + 0x14], 6
and esi, 0xc0
or dword [esp + 0x14], ecx
mov ecx, edx
shl dword [esp + 0x14], 6
and ecx, 0x3f
or dword [esp + 0x14], ecx
and edx, 0xc0
shl dword [esp + 0x14], 6
mov ecx, edi
mov ebp, dword [esp + 0x14]
and ecx, 0x3f
or ebp, ecx
shr edi, 2
mov ecx, dword [esp + 0x18]
or edi, edx
shr edi, 2
or edi, esi
shr edi, 2
mov ecx, dword [ecx*4 + 0x1007a2d8]
shr ebp, cl
mov esi, ebp
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x18]
cmp esi, dword [ebp*4 + 0x1007a2c4]
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
or edi, ecx
mov ecx, esi
and ecx, 0xfffff800
cmp ecx, 0xd800
mov ecx, 0x80
cmove edx, ecx
mov ecx, 0xffff
or edi, edx
cmp ecx, esi
sbb ecx, ecx
and ecx, 0x100
or edi, ecx
mov ecx, dword [ebp*4 + 0x1007a2ec]
mov ebp, dword [esp + 0x1c]
xor edi, 0x2a
sar edi, cl
test edi, edi
je 0x10014c12
xor edx, edx
mov esi, 0xfffd
cmp byte [esp + 0x12], dl
setne dl
xor ecx, ecx
cmp byte [esp + 0x2c], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [esp + 0x11], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [esp + 0x13], cl
setne cl
add edx, ecx
cmp ebx, edx
cmovl edx, ebx
mov ebx, edx
mov word [ebp], si
add eax, ebx
mov esi, dword [esp + 0x34]
add ebp, 2
mov dword [esp + 0x1c], ebp
cmp ebp, dword [esp + 0x20]
jb 0x10014a90
mov edx, dword [esp + 0x28]
pop edi
pop ebx
pop esi
xor ecx, ecx
mov word [ebp], cx
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x10014c44
mov dword [ecx], eax
sub ebp, edx
sar ebp, 1
mov eax, ebp
pop ebp
add esp, 0x14
ret