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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, ecx
push edi
mov dword [ebp - 8], esi
cmp byte [esi + 0x25], 0
je 0x40f252
movaps xmm0, xmmword [0x4996b0]
lea edx, [esi + 8]
movaps xmm2, xmmword [0x4995e0]
mov edi, 0xfffffffc
sub edi, esi
movaps xmmword [ebp - 0x20], xmm0
mov ecx, 4
xor eax, eax
sub ecx, esi
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 4]
nop dword [eax + eax]
movd xmm0, eax
pshufd xmm1, xmm0, 0
paddd xmm1, xmm2
movd xmm0, ecx
andps xmm1, xmmword [0x499620]
lea ecx, [edi + edx]
packuswb xmm1, xmm1
packuswb xmm1, xmm1
psubb xmm1, xmm0
movd xmm0, dword [edx - 8]
xorps xmm1, xmm0
movd xmm0, ecx
movd dword [edx - 8], xmm1
lea ecx, [eax + 8]
pshufd xmm1, xmm0, 0
add eax, 0x10
movd xmm0, dword [ebp - 0x20]
paddd xmm1, xmm2
andps xmm1, xmmword [0x499620]
packuswb xmm1, xmm1
packuswb xmm1, xmm1
psubb xmm1, xmm0
movd xmm0, dword [edx - 4]
xorps xmm1, xmm0
movd xmm0, ecx
movd dword [edx - 4], xmm1
lea ecx, [esi + edx]
pshufd xmm1, xmm0, 0
lea edx, [edx + 0x10]
movd xmm0, dword [ebp - 0x20]
paddd xmm1, xmm2
andps xmm1, xmmword [0x499620]
packuswb xmm1, xmm1
packuswb xmm1, xmm1
psubb xmm1, xmm0
movd xmm0, dword [edx - 0x10]
xorps xmm1, xmm0
movd xmm0, ecx
mov ecx, dword [ebp - 0x20]
movd dword [edx - 0x10], xmm1
pshufd xmm1, xmm0, 0
paddd xmm1, xmm2
andps xmm1, xmmword [0x499620]
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd xmm0, ecx
psubb xmm1, xmm0
movd xmm0, dword [edx - 0xc]
xorps xmm1, xmm0
movd dword [edx - 0xc], xmm1
cmp eax, 0x20
jb 0x40f150
mov esi, dword [ebp - 8]
cmp eax, 0x24
jae 0x40f24e
nop dword [eax]
lea edx, [esi + eax]
lea ecx, [eax - 0x7f]
inc eax
xor byte [edx], cl
cmp eax, 0x24
jb 0x40f240
mov byte [esi + 0x25], 0
push ecx
mov ecx, dword [ebx + 8]
lea eax, [esi + 0x24]
push eax
push esi
call fcn.00410fd0
mov eax, dword [ebx + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4

Function at 0x40f330
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1e], 0
je 0x40f3c2
mov eax, dword [0x499540]
movaps xmm2, xmmword [0x4996b0]
movd xmm0, dword [esi]
movd xmm1, eax
mov eax, dword [0x499550]
psubb xmm1, xmm2
xorps xmm1, xmm0
movd dword [esi], xmm1
movd xmm0, dword [esi + 4]
movd xmm1, eax
mov eax, dword [str._b_t_n_v]
psubb xmm1, xmm2
xorps xmm1, xmm0
movd dword [esi + 4], xmm1
movd xmm0, dword [esi + 8]
movd xmm1, eax
mov eax, dword [0x499570]
psubb xmm1, xmm2
xorps xmm1, xmm0
movd dword [esi + 8], xmm1
movd xmm0, dword [esi + 0xc]
movd xmm1, eax
mov eax, 0x10
psubb xmm1, xmm2
xorps xmm1, xmm0
movd dword [esi + 0xc], xmm1
nop
lea edx, [esi + eax]
lea ecx, [eax - 0x7f]
inc eax
xor byte [edx], cl
cmp eax, 0x1d
jb 0x40f3b0
mov byte [esi + 0x1e], 0
pop esi
ret
Function at 0x40f3d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, ecx
push edi
mov dword [ebp - 8], esi
cmp byte [esi + 0x22], 0
je 0x40f532
movaps xmm0, xmmword [0x4996b0]
lea edx, [esi + 8]
movaps xmm2, xmmword [0x4995e0]
mov edi, 0xfffffffc
sub edi, esi
movaps xmmword [ebp - 0x20], xmm0
mov ecx, 4
xor eax, eax
sub ecx, esi
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 4]
nop dword [eax + eax]
movd xmm0, eax
pshufd xmm1, xmm0, 0
paddd xmm1, xmm2
movd xmm0, ecx
andps xmm1, xmmword [0x499620]
lea ecx, [edi + edx]
packuswb xmm1, xmm1
packuswb xmm1, xmm1
psubb xmm1, xmm0
movd xmm0, dword [edx - 8]
xorps xmm1, xmm0
movd xmm0, ecx
movd dword [edx - 8], xmm1
lea ecx, [eax + 8]
pshufd xmm1, xmm0, 0
add eax, 0x10
movd xmm0, dword [ebp - 0x20]
paddd xmm1, xmm2
andps xmm1, xmmword [0x499620]
packuswb xmm1, xmm1
packuswb xmm1, xmm1
psubb xmm1, xmm0
movd xmm0, dword [edx - 4]
xorps xmm1, xmm0
movd xmm0, ecx
movd dword [edx - 4], xmm1
lea ecx, [esi + edx]
pshufd xmm1, xmm0, 0
lea edx, [edx + 0x10]
movd xmm0, dword [ebp - 0x20]
paddd xmm1, xmm2
andps xmm1, xmmword [0x499620]
packuswb xmm1, xmm1
packuswb xmm1, xmm1
psubb xmm1, xmm0
movd xmm0, dword [edx - 0x10]
xorps xmm1, xmm0
movd xmm0, ecx
mov ecx, dword [ebp - 0x20]
movd dword [edx - 0x10], xmm1
pshufd xmm1, xmm0, 0
paddd xmm1, xmm2
andps xmm1, xmmword [0x499620]
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd xmm0, ecx
psubb xmm1, xmm0
movd xmm0, dword [edx - 0xc]
xorps xmm1, xmm0
movd dword [edx - 0xc], xmm1
cmp eax, 0x20
jb 0x40f430
mov esi, dword [ebp - 8]
cmp eax, 0x21
jae 0x40f52e
nop dword [eax]
lea edx, [esi + eax]
lea ecx, [eax - 0x7f]
inc eax
xor byte [edx], cl
cmp eax, 0x21
jb 0x40f520
mov byte [esi + 0x22], 0
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret

Function at 0x40f540
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x17], 0
je 0x40f5d2
mov eax, dword [0x499540]
movaps xmm2, xmmword [0x4996b0]
movd xmm0, dword [esi]
movd xmm1, eax
mov eax, dword [0x499550]
psubb xmm1, xmm2
xorps xmm1, xmm0
movd dword [esi], xmm1
movd xmm0, dword [esi + 4]
movd xmm1, eax
mov eax, dword [str._b_t_n_v]
psubb xmm1, xmm2
xorps xmm1, xmm0
movd dword [esi + 4], xmm1
movd xmm0, dword [esi + 8]
movd xmm1, eax
mov eax, dword [0x499570]
psubb xmm1, xmm2
xorps xmm1, xmm0
movd dword [esi + 8], xmm1
movd xmm0, dword [esi + 0xc]
movd xmm1, eax
mov eax, 0x10
psubb xmm1, xmm2
xorps xmm1, xmm0
movd dword [esi + 0xc], xmm1
nop
lea edx, [esi + eax]
lea ecx, [eax - 0x7f]
inc eax
xor byte [edx], cl
cmp eax, 0x16
jb 0x40f5c0
mov byte [esi + 0x17], 0
pop esi
ret
Function at 0x40f5e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, ecx
cmp byte [esi + 0xf], 0
je 0x40f672
movaps xmm0, xmmword [0x4996b0]
xor eax, eax
movaps xmm2, xmmword [0x4995e0]
movaps xmmword [ebp - 0x10], xmm0
mov ecx, dword [ebp - 0x10]
nop dword [eax]
movd xmm0, eax
pshufd xmm1, xmm0, 0
paddd xmm1, xmm2
movd xmm0, ecx
andps xmm1, xmmword [0x499620]
packuswb xmm1, xmm1
packuswb xmm1, xmm1
psubb xmm1, xmm0
movd xmm0, dword [esi + eax]
xorps xmm1, xmm0
movd dword [esi + eax], xmm1
add eax, 4
cmp eax, 0xc
jb 0x40f620
cmp eax, 0xe
jae 0x40f66e
nop
lea edx, [esi + eax]
lea ecx, [eax - 0x7f]
inc eax
xor byte [edx], cl
cmp eax, 0xe
jb 0x40f660
mov byte [esi + 0xf], 0
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret

Function at 0x40f9f0
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 0x40fa1c
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 0x40fa44
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x40fa4a
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 0x40fab2
jg 0x40fa61
test esi, esi
je 0x40fab2
test ecx, ecx
jl 0x40faad
jg 0x40fa6b
test eax, eax
je 0x40faad
cmp edi, ecx
jg 0x40fa7f
jl 0x40fa75
cmp esi, eax
jae 0x40fa7f
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 0x40fab5
mov ecx, dword [ebp + 8]
jmp 0x40fabf
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x40fad9
jg 0x40fabf
test esi, esi
je 0x40fad9
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x40fad9
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 0x40faf0
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 0x40fb1c
jl 0x40fb10
test ecx, ecx
jne 0x40fb1c
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x40fb35
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 0x40fb7d
mov eax, dword [ebx + 0x2c]
lea edx, [ebx + 0x2c]
mov dword [ebp - 0xc], edx
mov eax, dword [eax]
test eax, eax
je 0x40fb83
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 0x40fb83
lea eax, [ebx + 0x2c]
mov dword [ebp - 0xc], eax
cmp dword [ebx + 0x4c], 0
je 0x40fbf6
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x40fbac
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 0x40fbe4
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 0x40fbf6
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x40fbc0
test edi, edi
je 0x40fbf6
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 0x40ff70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x49e040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x40ffa0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044fd73
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x40ffdc
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x40ffdc
lea ecx, [edi - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044fd73
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x4100b3
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x410004
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 0x410010
movsx eax, bl
jmp 0x410048
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 0x410072
sub eax, 1
je 0x410072
sub eax, 2
jne 0x4100b3
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
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044fd73
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x410090
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 0x4100b3
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.0044fd73
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.0044fd73
mov esp, ebp
pop ebp
ret 4
Function at 0x4107c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x49e040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x41087c
cmp byte [esi + 0x3d], 0
je 0x41087c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x41086a
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 0x410831
sub eax, 1
je 0x410835
sub eax, 2
jne 0x41086a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044fd73
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x410853
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 0x41086a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044fd73
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044fd73
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0044fd73
mov esp, ebp
pop ebp
ret

Function at 0x411960
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4515fd
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x49e040]
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.0044fea3
mov edx, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov dword [eax], edx
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
push eax
push 0x411c20
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
jne 0x4119cb
push 6
mov dword [edi], eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
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.0044fd73
mov esp, ebp
pop ebp
ret 4
Function at 0x413ad0
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 0x413b31
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x413b14
cmp edi, 2
jb 0x413b14
cmp byte [esi], cl
jne 0x413b14
cmp byte [esi + 1], cl
jne 0x413b14
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4944f0]
jmp 0x413ae5
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4944f0]
test edi, edi
jne 0x413ae5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x413b60
cmp cl, 0x23
jne 0x413b47
cmp byte [esi], cl
jne 0x413b47
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 + 0x4944f0]
test cl, cl
jne 0x413b38
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x413c70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x413c84
mov dword [ebx], 0
mov edx, 0x498cd8
call fcn.00413b70
mov esi, eax
test esi, esi
je 0x413d72
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x413d68
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 0x413d68
push esi
call edi
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
je 0x413d68
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 0x413d68
mov eax, dword [0x5b5d98]
test eax, eax
je 0x413cfc
inc dword [eax + 0x374]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x413d68
push esi
push dword [ebp + 8]
push 1
push edi
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 0x413d4d
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x5b5d98]
add esp, 4
test eax, eax
je 0x413d3a
dec dword [eax + 0x374]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
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 ebx, ebx
je 0x413d5f
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, edi
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 0x421170
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x49e040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x5b5d98]
push ebx
mov dword [ebp - 8], ecx
push esi
mov ebx, dword [eax + 0x1c48]
lea esi, [ebp - 8]
push edi
mov edi, 4
mov ecx, dword [ebx + 0xfc]
mov eax, dword [ebx + 0x104]
mov eax, dword [eax + ecx*4 - 4]
not eax
nop dword [eax + eax]
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4944f0]
sub edi, 1
jne 0x4211b0
not eax
lea ecx, [ebx + 0xfc]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.00430820
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044fd73
mov esp, ebp
pop ebp
ret

Function at 0x421ce0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x49e040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [0x5b5d98]
mov ebx, edx
cmp byte [edi + 0x1f5d], 0
jne 0x421d34
cmp byte [edi + 0x1f5e], 0
jne 0x421d34
push dword [edi + 0x2f80]
lea eax, [ebp - 0x14]
push str.Tooltip__02d
push 0x10
push eax
call fcn.00413a90
add esp, 0x10
test bl, 1
je 0x421e55
jmp 0x421dcc
movss xmm1, dword [edi + 0x164c]
lea eax, [ebp - 0x14]
push dword [edi + 0x2f80]
movaps xmm0, xmm1
mulss xmm1, dword [0x4994ac]
push str.Tooltip__02d
mulss xmm0, dword [0x4994b8]
push 0x10
addss xmm1, dword [edi + 0xe8]
push eax
addss xmm0, dword [edi + 0xe4]
mov dword [edi + 0x1cec], 0
mov dword [edi + 0x1cf0], 0
movss dword [edi + 0x1ce8], xmm1
mov dword [edi + 0x1cd4], 1
movss dword [edi + 0x1ce4], xmm0
mov byte [edi + 0x1d0c], 1
movss xmm0, dword [edi + 0x16a8]
mulss xmm0, dword [0x49940c]
or dword [edi + 0x1cd0], 0x41
movss dword [edi + 0x1d28], xmm0
call fcn.00413a90
add esp, 0x10
mov al, byte [ebp - 0x14]
lea esi, [ebp - 0x13]
or edx, 0xffffffff
test al, al
je 0x421e07
or ebx, 0xffffffff
nop dword [eax]
cmp al, 0x23
jne 0x421dee
cmp byte [esi], al
jne 0x421dee
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x4944f0]
test al, al
jne 0x421de0
mov ecx, dword [0x5b5d98]
not edx
push edx
lea ecx, [ecx + 0x1c30]
call fcn.00414110
test eax, eax
je 0x421e55
cmp byte [eax + 0xc3], 0
je 0x421e55
mov byte [eax + 0xca], 1
mov byte [eax + 0xe4], 1
lea eax, [ebp - 0x14]
inc dword [edi + 0x2f80]
push dword [edi + 0x2f80]
push str.Tooltip__02d
push 0x10
push eax
call fcn.00413a90
add esp, 0x10
push 0x22c0347
xor edx, edx
lea ecx, [ebp - 0x14]
call fcn.0041da20
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0044fd73
mov esp, ebp
pop ebp
ret
Function at 0x426000
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 + 0x3030], 0
lea esi, [edi + 0x3034]
je 0x426082
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x42603c
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.004314e0
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.00414280
mov edx, dword [esi]
mov ecx, 0x5b5d5e
push dword [edi + 0x3030]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x303c]
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.00414280
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x426460
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
mov dword [ebp - 4], ecx
push esi
lea esi, [ecx + 1]
push edi
test bl, bl
je 0x4264a8
or edi, 0xffffffff
nop dword [eax]
cmp bl, 0x23
jne 0x42648f
cmp byte [esi], bl
jne 0x42648f
cmp byte [esi + 1], bl
cmove eax, edi
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x4944f0]
test bl, bl
jne 0x426480
mov ebx, dword [0x5b5d98]
mov edi, dword [ebx + 0x3008]
mov esi, edi
neg esi
sbb esi, esi
lea ecx, [edi + 4]
and esi, ecx
je 0x4264e2
not eax
cmp dword [esi], eax
je 0x4264f1
mov edx, dword [esi - 4]
mov ecx, dword [ebx + 0x3000]
add edx, esi
add ecx, 4
xor esi, esi
add ecx, edi
cmp edx, ecx
cmovne esi, edx
test esi, esi
jne 0x4264c3
mov ecx, dword [ebp - 4]
call fcn.00426380
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4267a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x5b5d98]
sub esp, 8
push esi
mov esi, ecx
mov dword [eax + 0x2fe4], 0
push edi
test esi, esi
je 0x4267fd
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.00426810
mov edx, 0x498cdc
mov ecx, esi
mov edi, eax
call fcn.00413b70
mov esi, eax
test esi, esi
je 0x4267fd
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