joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006a20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007bc7d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x10096018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.CG_Init___loading.._n
push 7
call fcn.10007ca0
call fcn.100067e0
push str.preparing_to_load_perma_hooks_n
push 7
call fcn.10007ca0
add esp, 0x10
call fcn.10006ca0
lea eax, [ebp - 0x14]
mov dword [0x10099cfc], 0x4696b0
push eax
push 0x40
push 5
push 0x4d76da
mov dword [0x10099cf8], 0x527670
mov dword [0x10099cf4], 0x46ca40
mov dword [0x10099cf0], 0x5f5360
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [0x1008ac10]
mov ecx, 0x4d76da
push 0
mov dword [ecx], eax
mov al, byte [0x1008ac14]
mov byte [ecx + 4], al
push dword [ebp - 0x14]
push 5
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.10078a40
push 0x100079b0
push 0x10099cfc
call fcn.100782e0
call fcn.10078aa0
call fcn.10078a40
push 0x10076270
push 0x10099cf8
call fcn.100782e0
call fcn.10078aa0
call fcn.10078a40
push 0x10068620
push 0x10099cf4
call fcn.100782e0
call fcn.10078aa0
call fcn.10078a40
push 0x10068840
push 0x10099cf0
call fcn.100782e0
call fcn.10078aa0
push str.Successfully_loaded_image_resources_n
push 7
call fcn.10007ca0
add esp, 4
mov edx, 0x10074140
mov ecx, str.getbuttonpressed
call fcn.10074060
mov edx, 0x100741c0
mov ecx, str.getforwardmove
call fcn.10074060
mov edx, 0x10074270
mov ecx, str.getrightmove
call fcn.10074060
mov edx, 0x10074320
mov ecx, str.setvelocity
call fcn.10074060
mov edx, 0x10074600
mov ecx, str.weaponexists
call fcn.10073f80
mov edx, 0x10074430
mov ecx, str.worldtoscreen
call fcn.10073f80
mov edx, 0x10074690
mov ecx, str.getevarint
call fcn.10073f80
mov edx, 0x10074720
mov ecx, str.getevarfloat
call fcn.10073f80
mov edx, 0x100747b0
mov ecx, str.getevar
call fcn.10073f80
mov edx, 0x10074b90
mov ecx, str.writetoaddress
call fcn.10073f80
mov edx, 0x10074f20
mov ecx, str.getaddressint
call fcn.10073f80
mov edx, 0x10075080
mov ecx, str.getaddressfloat
call fcn.10073f80
mov edx, 0x10075250
mov ecx, str.canloadposition
call fcn.10073f80
mov edx, 0x100751e0
mov ecx, str.sendcommand
call fcn.10073f80
add esp, 4
call fcn.10078a40
push 0x10075380
push 0x100960ec
call fcn.100782e0
call fcn.10078aa0
call fcn.10078a40
push 0x100752b0
push 0x100960f0
call fcn.100782e0
call fcn.10078aa0
call fcn.10008d50
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x100960fc
call fcn.100075d0
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
call fcn.1000c0f0
push str.21_kej_extension_has_been_loaded__n
push 7
call fcn.10007ca0
add esp, 0x20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007a095
mov esp, ebp
pop ebp
ret
Function at 0x10007f30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007bde6
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10096018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0
cmp byte [0x10099cb1], 0
jne 0x10008023
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
push 4
call fcn.1007a5d9
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], eax
push ecx
push 0
push eax
push 0x100084c0
push 0
push 0
mov dword [eax], 0x100080c0
mov dword [ebp - 0x18], 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1000803c
mov eax, 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], eax
and eax, 0xfffffffe
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x10007fe0
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.MSVCP140.dll__Thrd_detach]
add esp, 8
test eax, eax
je 0x10007ff8
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], 0
je 0x10008013
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.requesting_to_inject_n
call fcn.10007270
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007a095
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x1c], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x10008050
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10096018]
xor eax, ebp
mov dword [ebp - 4], eax
sub dword [ebp + 0xc], 1
mov eax, dword [ebp + 8]
jne 0x100080a9
push eax
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
cmp byte [0x10099cb1], 0
jne 0x100080a9
lea eax, [ebp - 8]
push eax
push 0x40
push 0xd536000
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [0x10099cb4], 0x67493c
call fcn.10007f30
mov byte [0x10099cb1], 1
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.1007a095
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000cc90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x1000ccbc
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 edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x1000cce4
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x1000ccea
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x1000cd52
jg 0x1000cd01
test esi, esi
je 0x1000cd52
test ecx, ecx
jl 0x1000cd4d
jg 0x1000cd0b
test eax, eax
je 0x1000cd4d
cmp edi, ecx
jg 0x1000cd1f
jl 0x1000cd15
cmp esi, eax
jae 0x1000cd1f
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x1000cd55
mov ecx, dword [ebp + 8]
jmp 0x1000cd5f
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x1000cd79
jg 0x1000cd5f
test esi, esi
je 0x1000cd79
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x1000cd79
push eax
push esi
push 1
push ecx
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 [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000cd90
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 0x1000cdbc
jl 0x1000cdb0
test ecx, ecx
jne 0x1000cdbc
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x1000cdd5
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 0x1000ce1d
mov eax, dword [ebx + 0x2c]
lea edx, [ebx + 0x2c]
mov dword [ebp - 0xc], edx
mov eax, dword [eax]
test eax, eax
je 0x1000ce23
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push dword [ebp - 8]
push dword [ebp - 4]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x2c]
sub edi, esi
add dword [ebp - 4], esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [ebp - 4]
jmp 0x1000ce23
lea eax, [ebx + 0x2c]
mov dword [ebp - 0xc], eax
cmp dword [ebx + 0x4c], 0
je 0x1000ce96
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x1000ce4c
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 0x1000ce84
nop dword [eax]
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 0x1000ce96
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x1000ce60
test edi, edi
je 0x1000ce96
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 0x1000d1e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x10096018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x1000d210
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007a095
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x1000d240
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x1000d240
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007a095
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x1000d318
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x1000d269
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1000d275
movsx eax, bl
jmp 0x1000d2ad
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x1000d2d7
sub eax, 1
je 0x1000d2d7
sub eax, 2
jne 0x1000d318
movsx eax, byte [ebp - 0x25]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007a095
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1000d2f5
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1000d318
lea ecx, [ebp - 0x25]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [ebp - 0x30], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007a095
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007a095
mov esp, ebp
pop ebp
ret 4
Function at 0x1000d5a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10096018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1000d65c
cmp byte [esi + 0x3d], 0
je 0x1000d65c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1000d64a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x1000d611
sub eax, 1
je 0x1000d615
sub eax, 2
jne 0x1000d64a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007a095
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1000d633
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1000d64a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007a095
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007a095
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.1007a095
mov esp, ebp
pop ebp
ret
Function at 0x10016930
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x10016991
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10016974
cmp edi, 2
jb 0x10016974
cmp byte [esi], cl
jne 0x10016974
cmp byte [esi + 1], cl
jne 0x10016974
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10083970]
jmp 0x10016945
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10083970]
test edi, edi
jne 0x10016945
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x100169c0
cmp cl, 0x23
jne 0x100169a7
cmp byte [esi], cl
jne 0x100169a7
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 + 0x10083970]
test cl, cl
jne 0x10016998
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x10016ae0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10016af4
mov dword [edi], 0
mov edx, 0x10083738
call fcn.100169d0
mov esi, eax
test esi, esi
je 0x10016bf0
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 - 4], eax
cmp eax, 0xffffffff
je 0x10016be6
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 0x10016be6
push esi
call ebx
mov ebx, eax
add esp, 4
mov dword [ebp + 8], ebx
cmp ebx, 0xffffffff
je 0x10016be6
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 0x10016be6
mov eax, dword [0x10099cbc]
test eax, eax
je 0x10016b70
inc dword [eax + 0x36c]
push dword [0x10099cb8]
push ebx
call fcn.10015f20
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10016be6
push esi
push dword [ebp + 8]
push 1
push ebx
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 0x10016bcb
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x10099cbc]
add esp, 4
test eax, eax
je 0x10016bb3
dec dword [eax + 0x36c]
push dword [0x10099cb8]
push ebx
call fcn.10015f40
add esp, 8
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 edi, edi
je 0x10016bdd
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov eax, ebx
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 0x10018c40
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10096018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0xc4]
lea edx, [ebp - 8]
push ebx
mov ebx, dword [ecx + 0xcc]
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 + 0x10083970]
sub esi, 1
jne 0x10018c73
mov eax, dword [0x10099cbc]
not ebx
cmp dword [eax + 0x1bd0], ebx
jne 0x10018ca2
mov dword [eax + 0x1bd4], ebx
cmp dword [eax + 0x1c0c], ebx
jne 0x10018cb1
mov byte [eax + 0x1c10], 1
cmp dword [eax + 0x1bb8], ebx
jne 0x10018cca
push ecx
push edi
mov edx, 4
mov ecx, ebx
call fcn.100290d0
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007a095
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10096018]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
movss xmm0, dword [edx]
mov edi, 0x10
subss xmm0, dword [esi + 0xc]
mov ecx, dword [esi + 0xc4]
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 + 0xcc]
lea esi, [ebp - 0x14]
mov edx, dword [eax + ecx*4 - 4]
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10083970]
sub edi, 1
jne 0x10018d54
mov eax, dword [0x10099cbc]
not edx
pop edi
pop esi
cmp dword [eax + 0x1bd0], edx
jne 0x10018d85
mov dword [eax + 0x1bd4], edx
cmp dword [eax + 0x1c0c], edx
jne 0x10018d94
mov byte [eax + 0x1c10], 1
mov ecx, dword [ebp - 4]
mov eax, edx
xor ecx, ebp
call fcn.1007a095
mov esp, ebp
pop ebp
ret 4
Function at 0x1001d860
Capabilities:
Hash data with crc32

Disassembly:
mov eax, dword [0x10099cbc]
push ebx
push esi
push edi
mov esi, dword [eax + 0x1b88]
mov edi, ecx
mov eax, dword [eax + 0x1b80]
lea ebx, [esi + eax*8]
test eax, eax
je 0x1001d83e
nop dword [eax]
mov edx, eax
shr edx, 1
cmp dword [esi + edx*8], edi
lea ecx, [esi + edx*8]
jae 0x1001d838
lea esi, [ecx + 8]
or ecx, 0xffffffff
sub ecx, edx
add eax, ecx
jmp 0x1001d83a
mov eax, edx
test eax, eax
jne 0x1001d820
cmp esi, ebx
je 0x1001d84d
cmp dword [esi], edi
jne 0x1001d84d
mov eax, dword [esi + 4]
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x1001d89d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x1001d883
cmp byte [esi], bl
jne 0x1001d883
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x10083970]
test bl, bl
jne 0x1001d874
pop edi
pop esi
not ecx
pop ebx
jmp 0x1001d800

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10096018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10099cbc]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0x1b98]
mov esi, 4
mov eax, dword [edi + 0xc4]
add edi, 0xc4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov ebx, dword [edi + 8]
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 + 0x10083970]
sub esi, 1
jne 0x10022b81
mov eax, dword [0x10099cbc]
not ebx
cmp dword [eax + 0x1bb8], ebx
jne 0x10022bbb
push ecx
push dword [ebp - 0xc]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.100290d0
add esp, 8
mov ecx, dword [edi + 4]
mov esi, dword [edi]
cmp esi, ecx
jne 0x10022be6
inc esi
test ecx, ecx
je 0x10022bd4
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10022bd9
mov eax, 8
cmp eax, esi
mov ecx, edi
cmovg esi, eax
push esi
call fcn.10029b10
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007a095
mov esp, ebp
pop ebp
ret
Function at 0x10028110
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x2f6c], 0
lea esi, [edi + 0x2f70]
je 0x10028192
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1002814c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10029e10
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.10017380
mov edx, dword [esi]
mov ecx, 0x10099cb2
push dword [edi + 0x2f6c]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x2f78]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.10017380
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10028890
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x10099cbc]
sub esp, 8
push esi
mov esi, ecx
mov dword [eax + 0x2f20], 0
push edi
test esi, esi
je 0x100288ed
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.10028900
mov edx, 0x1008373c
mov ecx, esi
mov edi, eax
call fcn.100169d0
mov esi, eax
test esi, esi
je 0x100288ed
push esi
push dword [esp + 0x10]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop edi
pop esi
mov esp, ebp
pop ebp
ret