joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409534
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov eax, dword [ebp + 8]
mov dword [esp], 0x480d20
mov dword [esp + 4], eax
call fcn.00408a99
push ebx
push ebx
mov dword [esp], 0x480d20
call fcn.004083cc
push edx
test eax, eax
jne 0x409565
xor eax, eax
jmp 0x4095e1
mov dword [esp], eax
mov ebx, eax
call fcn.00408b61
push ecx
test byte [0x42c12c], 0x80
je 0x409587
mov ax, word [ebx]
test ax, ax
je 0x409561
cmp ax, 0x5c
je 0x409561
sub ebx, 0x480d20
sar ebx, 1
mov dword [esp], 0x480d20
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ecx
mov dword [esp], 0x480d20
cmp ebx, eax
jge 0x4095c6
call fcn.004094fc
push edx
test eax, eax
je 0x4095b7
test byte [eax], 0x10
je 0x409561
mov dword [esp], 0x480d20
call fcn.0040835a
push eax
jmp 0x40958f
call fcn.00408acd
push eax
mov dword [esp], 0x480d20
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
inc eax
push edx
setne al
movzx eax, al
mov ebx, dword [ebp - 4]
leave
ret 4
Function at 0x4098d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
lea ebx, [ebp - 0x244]
sub esp, 0x254
mov dword [esp + 4], 0x104
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push edx
push edx
lea edx, [eax - 1]
cmp edx, 0x103
ja 0x40990e
xor edx, edx
cmp word [ebp + eax*2 - 0x246], 0x5c
sete dl
jmp 0x409915
xor eax, eax
mov edx, 1
mov ecx, dword [ebp + 8]
add edx, edx
add eax, eax
mov dword [esp + 4], str._s_S.dll
add edx, 0x40d3a0
add eax, ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp], eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov dword [esp], ebx
mov dword [esp + 8], 8
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, dword [ebp - 4]
sub esp, 0xc
leave
ret 4

Function at 0x409ab4
Capabilities:
Hash data with crc32

Disassembly:
push ebp
cmp dword [0x488d84], 0
mov ebp, esp
push esi
mov edx, dword [ebp + 0xc]
push ebx
jne 0x409af1
xor ecx, ecx
mov eax, ecx
mov ebx, 8
mov esi, eax
shr esi, 1
and eax, 1
je 0x409adc
mov eax, 0xedb88320
xor eax, esi
dec ebx
jne 0x409ace
mov dword [ecx*4 + 0x488d80], eax
inc ecx
cmp ecx, 0x100
jne 0x409ac7
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
not eax
add ebx, edx
cmp edx, ebx
je 0x409b13
mov cl, byte [edx]
inc edx
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x488d80]
jmp 0x409afb
pop ebx
not eax
pop esi
pop ebp
ret 0xc
Function at 0x100062b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e5a5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
push esi
push edi
mov eax, dword [0x100ca00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
movaps xmm0, xmmword [0x100c5220]
sub esp, 0x2c
movaps xmm1, xmmword [0x100c4f80]
mov ecx, esp
movaps xmm2, xmmword [0x100c4f80]
sub esp, 0x24
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x54], 0xffffffff
movaps xmm0, xmmword [0x100c5220]
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x78], 0xffffffff
movups xmm0, xmmword [ebp - 0x54]
movups xmmword [ebp - 0x40], xmm1
movups xmmword [ecx], xmm0
movups xmm0, xmmword [ebp - 0x44]
psrldq xmm1, 0xc
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x78]
movd dword [ecx + 0x20], xmm1
mov ecx, esp
movups xmmword [ebp - 0x64], xmm2
psrldq xmm2, 0xc
movups xmmword [ecx], xmm0
movups xmm0, xmmword [ebp - 0x68]
movups xmmword [ecx + 0x10], xmm0
movd dword [ecx + 0x20], xmm2
mov ecx, edi
call fcn.10001a00
push 0x10075b2c
mov ecx, esi
call fcn.1001d290
push eax
lea ecx, [ebp - 0x20]
call fcn.100178d0
push str.rgba
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.1001d290
mov ecx, eax
call fcn.1001d700
push 0x10075b20
lea ecx, [ebp - 0x20]
movss dword [edi + 4], xmm0
call fcn.1001d290
mov ecx, eax
call fcn.1001d700
push 0x10075b24
lea ecx, [ebp - 0x20]
movss dword [edi + 8], xmm0
call fcn.1001d290
mov ecx, eax
call fcn.1001d700
push 0x10075b28
lea ecx, [ebp - 0x20]
movss dword [edi + 0xc], xmm0
call fcn.1001d290
mov ecx, eax
call fcn.1001d700
lea ecx, [ebp - 0x20]
movss dword [edi + 0x10], xmm0
mov dword [ebp - 4], 0xffffffff
call fcn.100178b0
push str.visibleColor
mov ecx, esi
call fcn.1001d290
push eax
lea ecx, [ebp - 0x30]
call fcn.100178d0
push str.rgba
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 1
call fcn.1001d290
mov ecx, eax
call fcn.1001d700
push 0x10075b20
lea ecx, [ebp - 0x30]
movss dword [edi + 0x28], xmm0
call fcn.1001d290
mov ecx, eax
call fcn.1001d700
push 0x10075b24
lea ecx, [ebp - 0x30]
movss dword [edi + 0x2c], xmm0
call fcn.1001d290
mov ecx, eax
call fcn.1001d700
push 0x10075b28
lea ecx, [ebp - 0x30]
movss dword [edi + 0x30], xmm0
call fcn.1001d290
mov ecx, eax
call fcn.1001d700
lea ecx, [ebp - 0x30]
movss dword [edi + 0x34], xmm0
mov dword [ebp - 4], 0xffffffff
call fcn.100178b0
push str.hiddenMaterial
mov ecx, esi
call fcn.1001d290
mov ecx, eax
call fcn.1001d5d0
push str.visibleMaterial
mov ecx, esi
mov dword [edi + 0x48], eax
call fcn.1001d290
mov ecx, eax
call fcn.1001d5d0
mov dword [edi + 0x4c], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10016d30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x10016d5c
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 + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x10016d7e
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x10016d80
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x10016e05
jg 0x10016d95
test esi, esi
je 0x10016e05
test ecx, ecx
jl 0x10016de8
jg 0x10016d9f
test eax, eax
je 0x10016de8
cmp edi, ecx
jg 0x10016db3
jl 0x10016da9
cmp esi, eax
jae 0x10016db3
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x1c]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov eax, dword [ebx + 0x30]
sub esi, ecx
mov edx, dword [ebp + 8]
sbb edi, dword [esp + 0x10]
add edx, ecx
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
test edi, edi
jl 0x10016e05
jg 0x10016deb
test esi, esi
je 0x10016e05
jmp 0x10016deb
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x10016e05
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 [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10016e20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
push esi
mov esi, dword [ebp + 0xc]
test eax, eax
jg 0x10016e4c
jl 0x10016e40
test esi, esi
jne 0x10016e4c
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x10016e65
push eax
push esi
push ecx
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, esi
mov edx, dword [eax]
test edx, edx
je 0x10016e9f
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x10016e9f
mov edi, dword [ebp + 0xc]
cmp eax, edi
cmovb esi, eax
push esi
push edx
push ecx
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 + 0xc]
cmp dword [ebx + 0x4c], 0
mov edx, edi
je 0x10016f20
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x10016ec8
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 [ebx + 0x2c]
mov dword [eax], edx
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov edx, edi
mov ecx, dword [ebp - 4]
cmp edi, 0xfff
jbe 0x10016f0c
nop word [eax + eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push ecx
call eax
mov ecx, dword [ebp - 4]
sub edi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, edi
cmp eax, 0xfff
jne 0x10016f33
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x10016ee0
test edx, edx
je 0x10016f20
push dword [ebx + 0x4c]
push edi
push 1
push ecx
call eax
mov edx, edi
add esp, 0x10
sub edx, eax
sub esi, edx
mov edx, dword [ebp + 0x10]
pop edi
mov eax, esi
sbb edx, 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0x10]
sub esi, edi
pop edi
mov eax, esi
sbb edx, 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100172a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100ca00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x100172d0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006cd6e
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x10017300
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x10017300
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.1006cd6e
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x100173d6
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x10017329
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 0x10017335
movsx eax, bl
jmp 0x1001736d
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 0x10017397
sub eax, 1
je 0x10017397
sub eax, 2
jne 0x100173d6
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.1006cd6e
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x100173b5
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 0x100173d6
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x100173d6
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006cd6e
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.1006cd6e
mov esp, ebp
pop ebp
ret 4
Function at 0x10019110
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100ca00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x100191cc
cmp byte [esi + 0x3d], 0
je 0x100191cc
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x100191ba
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 0x10019181
sub eax, 1
je 0x10019185
sub eax, 2
jne 0x100191ba
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006cd6e
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x100191a3
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 0x100191ba
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006cd6e
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006cd6e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.1006cd6e
mov esp, ebp
pop ebp
ret

Function at 0x1001dac0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006f38d
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x100ca00c]
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
push 4
call fcn.1006cf64
mov ecx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov dword [ecx], eax
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
push ecx
push 0x10025250
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x1001db42
mov eax, esi
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.1006cd6e
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [edi], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x10027b40
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 0x10027b8c
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10027b6f
cmp edi, 2
jb 0x10027b6f
cmp byte [esi], cl
jne 0x10027b6f
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100715d8]
test edi, edi
jne 0x10027b55
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10027bbb
cmp cl, 0x23
jne 0x10027ba2
cmp byte [esi], cl
jne 0x10027ba2
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 + 0x100715d8]
test cl, cl
jne 0x10027b93
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x10027da0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10027db2
mov dword [edi], 0
mov edx, 0x100c4444
call fcn.10027bd0
mov esi, eax
test esi, esi
jne 0x10027dc6
pop edi
pop esi
pop ebp
ret
push ebx
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 0x10027e83
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x10027e83
push 0
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 0x10027e83
mov eax, dword [0x100ebc2c]
test eax, eax
je 0x10027e13
inc dword [eax + 0x370]
push dword [0x100ebc28]
push ebx
call fcn.10027600
add esp, 8
mov dword [ebp + 8], eax
test eax, eax
je 0x10027e83
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
push esi
cmp eax, ebx
je 0x10027e6c
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x100ebc2c]
add esp, 4
test eax, eax
je 0x10027e54
dec dword [eax + 0x370]
push dword [0x100ebc28]
push dword [ebp + 8]
call fcn.10027620
add esp, 8
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test edi, edi
je 0x10027e7b
mov dword [edi], ebx
mov eax, dword [ebp + 8]
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 0x10029ed0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x100ca00c]
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 + 0x1c4]
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 + 0x1cc]
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 + 0x100715d8]
sub edi, 1
jne 0x10029f44
mov eax, dword [0x100ebc2c]
not edx
pop edi
pop esi
cmp dword [eax + 0x1a0c], edx
jne 0x10029f75
mov dword [eax + 0x1a14], edx
cmp dword [eax + 0x1a10], edx
jne 0x10029f84
mov byte [eax + 0x1a20], 1
mov ecx, dword [ebp - 4]
mov eax, edx
xor ecx, ebp
call fcn.1006cd6e
mov esp, ebp
pop ebp
ret 4
Function at 0x1002a650
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100700d3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
push esi
push edi
mov eax, dword [0x100ca00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x100ebc2c]
test eax, eax
je 0x1002a69a
inc dword [eax + 0x370]
push dword [0x100ebc28]
push 0x3b80
call fcn.10027600
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x11]
add esp, 8
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x1002a6d3
push ecx
mov ecx, eax
call fcn.10026600
mov edi, eax
mov dword [ebp - 0x18], eax
jmp 0x1002a6d8
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0xffffffff
mov esi, 0x100c4375
mov eax, dword [0x100ebc2c]
test eax, eax
mov dword [ebp - 0x24], 0
cmove eax, edi
mov dword [ebp - 0x38], str.Window
mov dword [0x100ebc2c], eax
or edx, 0xffffffff
mov al, 0x57
or edi, 0xffffffff
nop dword [eax]
cmp al, 0x23
jne 0x1002a71e
cmp byte [esi], al
jne 0x1002a71e
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x100715d8]
test al, al
jne 0x1002a710
mov edi, dword [ebp - 0x18]
not edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], 0x1004a800
mov dword [ebp - 0x2c], 0x1004a8a0
mov esi, dword [edi + 0x2d44]
mov ecx, dword [edi + 0x2d48]
mov dword [ebp - 0x28], 0x1004a990
cmp esi, ecx
jne 0x1002a805
inc esi
test ecx, ecx
je 0x1002a778
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1002a77d
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x1002a805
mov eax, dword [0x100ebc2c]
test eax, eax
je 0x1002a795
inc dword [eax + 0x370]
push dword [0x100ebc28]
lea eax, [esi + esi*2]
shl eax, 3
push eax
call fcn.10027600
mov edx, dword [edi + 0x2d4c]
add esp, 8
mov dword [ebp - 0x18], eax
test edx, edx
je 0x1002a7f9
mov ecx, dword [edi + 0x2d44]
lea ecx, [ecx + ecx*2]
shl ecx, 3
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [edi + 0x2d4c]
add esp, 0xc
test ecx, ecx
je 0x1002a7e7
mov eax, dword [0x100ebc2c]
test eax, eax
je 0x1002a7e7
dec dword [eax + 0x370]
push dword [0x100ebc28]
push ecx
call fcn.10027620
mov eax, dword [ebp - 0x18]
add esp, 8
mov dword [edi + 0x2d4c], eax
mov dword [edi + 0x2d48], esi
mov eax, dword [edi + 0x2d44]
movups xmm0, xmmword [ebp - 0x38]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x2d4c]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [ebp - 0x28]
movq qword [eax + ecx*8 + 0x10], xmm0
mov eax, edi
inc dword [edi + 0x2d44]
mov byte [edi], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x1002da40
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
or ecx, 0xffffffff
push edi
test bl, bl
je 0x1002da7f
cmp bl, 0x23
jne 0x1002da61
cmp byte [esi], bl
jne 0x1002da61
cmp byte [esi + 1], bl
cmove eax, ecx
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
mov ecx, 0xffffffff
xor eax, dword [edx*4 + 0x100715d8]
test bl, bl
jne 0x1002da52
mov ebx, dword [0x100ebc2c]
not eax
mov esi, dword [ebx + 0x19dc]
mov edi, dword [ebx + 0x19e4]
mov ecx, edi
test esi, esi
je 0x1002dac4
nop dword [eax]
mov edx, esi
shr edx, 1
cmp dword [edi + edx*8], eax
lea ecx, [edi + edx*8]
jae 0x1002dab8
lea edi, [ecx + 8]
or ecx, 0xffffffff
sub ecx, edx
add esi, ecx
jmp 0x1002daba
mov esi, edx
test esi, esi
jne 0x1002daa0
mov ecx, dword [ebx + 0x19e4]
mov edx, dword [ebx + 0x19dc]
lea ecx, [ecx + edx*8]
cmp edi, ecx
je 0x1002dadc
cmp dword [edi], eax
jne 0x1002dadc
mov eax, dword [edi + 4]
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x10044cf0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100ebc2c]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov eax, dword [eax + 0x19ec]
mov esi, 4
mov ebx, dword [eax + 0x1cc]
lea edi, [eax + 0x1c4]
mov dword [ebp - 4], eax
mov eax, dword [edi]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop dword [eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x100715d8]
sub esi, 1
jne 0x10044d30
mov eax, dword [ebp - 4]
not ebx
mov ecx, dword [ebp - 0xc]
mov esi, dword [eax + 0x1c8]
cmp ecx, esi
jne 0x10044d83
inc ecx
test esi, esi
je 0x10044d6c
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x10044d71
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.1004b270
mov ecx, dword [edi]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1cc]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret