joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4017d0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4609ce
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4790bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
mov edi, dword [ebp + 8]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov ebx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 1
test ebx, ebx
je 0x40199e
mov ecx, dword [ebp + 0xc]
mov al, byte [ecx]
dec ebx
mov byte [ebp + esi - 0x14], al
inc ecx
mov ah, byte [ebp - 0x12]
inc esi
mov dl, byte [ebp - 0x13]
mov dh, byte [ebp - 0x14]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0xe], ah
mov byte [ebp + 0x13], dl
mov byte [ebp - 0xd], dh
cmp esi, 3
jne 0x4018d5
mov al, dh
mov cl, dh
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ah
mov byte [ebp - 0x17], cl
and ah, 0x3f
mov cl, dl
shr al, 6
and cl, 0xf
mov byte [ebp - 0x15], ah
shl cl, 2
add cl, al
xor esi, esi
mov byte [ebp - 0x16], cl
nop dword [eax]
cmp dword [0x479014], 0x10
mov ecx, section..data
movzx eax, byte [ebp + esi - 0x18]
cmovae ecx, dword [section..data]
movzx eax, byte [eax + ecx]
mov ecx, edi
push eax
call fcn.004019c0
inc esi
cmp esi, 4
jl 0x4018a0
mov ecx, dword [ebp + 0xc]
xor esi, esi
mov dl, byte [ebp + 0x13]
mov dh, byte [ebp - 0xd]
test ebx, ebx
jne 0x401845
mov dword [ebp + 0x10], esi
test esi, esi
je 0x40199e
mov eax, esi
cmp esi, 3
jge 0x40190e
cmp eax, 3
jae 0x4019b2
mov byte [ebp + eax - 0x14], 0
inc eax
cmp eax, 3
jl 0x4018f2
mov cl, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov dh, byte [ebp - 0x14]
jmp 0x401911
mov cl, byte [ebp - 0xe]
mov al, dh
shr cl, 6
shr al, 2
and dh, 3
mov byte [ebp - 0x18], al
xor ebx, ebx
mov al, dl
shl dh, 4
shr al, 4
and dl, 0xf
add dh, al
shl dl, 2
lea eax, [esi + 1]
mov byte [ebp - 0x17], dh
add dl, cl
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x16], dl
test eax, eax
jle 0x40197c
mov esi, eax
nop word [eax + eax]
cmp dword [0x479014], 0x10
mov ecx, section..data
movzx eax, byte [ebp + ebx - 0x18]
cmovae ecx, dword [section..data]
movzx eax, byte [eax + ecx]
mov ecx, edi
push eax
call fcn.004019c0
inc ebx
cmp ebx, esi
jl 0x401950
mov esi, dword [ebp + 0x10]
cmp esi, 3
jge 0x40199e
mov ebx, 3
sub ebx, esi
nop dword [eax + eax]
push 0x3d
mov ecx, edi
call fcn.004019c0
sub ebx, 1
jne 0x401990
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0045f692
int3
Function at 0x407e60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push esi
mov esi, ecx
cmp byte [esi + 3], 0
je 0x407e82
xor eax, eax
nop
lea edx, [eax + esi]
lea ecx, [eax + 0x14]
inc eax
xor byte [edx], cl
cmp eax, 2
jb 0x407e70
mov byte [esi + 3], 0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 7]
push eax
lea eax, [esi + 2]
push eax
push esi
call fcn.004065c0
mov eax, dword [esp + 0x10]
pop esi
add esp, 8
ret 4

Function at 0x407ea0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push esi
mov esi, ecx
cmp byte [esi + 5], 0
je 0x407ec2
xor eax, eax
nop
lea edx, [eax + esi]
lea ecx, [eax + 0x14]
inc eax
xor byte [edx], cl
cmp eax, 4
jb 0x407eb0
mov byte [esi + 5], 0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 7]
push eax
lea eax, [esi + 4]
push eax
push esi
call fcn.004065c0
mov eax, dword [esp + 0x10]
pop esi
add esp, 8
ret 4

Function at 0x407ee0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push esi
mov esi, ecx
cmp byte [esi + 0x75], 0
je 0x407f02
xor eax, eax
nop
lea edx, [eax + esi]
lea ecx, [eax + 0x14]
inc eax
xor byte [edx], cl
cmp eax, 0x74
jb 0x407ef0
mov byte [esi + 0x75], 0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 7]
push eax
lea eax, [esi + 0x74]
push eax
push esi
call fcn.004065c0
mov eax, dword [esp + 0x10]
pop esi
add esp, 8
ret 4
Function at 0x408ab0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4610ec
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4790bc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
push 4
mov byte [ebp - 4], 2
call fcn.0045f2b0
add esp, 4
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x408b54
mov ecx, eax
call fcn.00412930
mov esi, eax
jmp 0x408b56
xor esi, esi
sub esp, 0x18
mov byte [ebp - 4], 4
mov edi, esp
mov dword [ebp - 0x1c], 0x22506d24
sub esp, 0x18
mov word [ebp - 0x18], 0x100
mov edx, esp
xor ecx, ecx
mov dword [ebp - 0x80], edx
lea eax, [ecx + 0x14]
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 4
jb 0x408b76
lea eax, [ebp - 0x81]
mov byte [ebp - 0x17], 0
push eax
lea eax, [ebp - 0x18]
mov ecx, edx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004065c0
push edi
call fcn.00411750
add esp, 0x1c
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.004129e0
mov esi, eax
cmp esi, 0x4797c4
je 0x408bed
mov ecx, 0x4797c4
call fcn.004014e0
movups xmm0, xmmword [esi]
movups xmmword [0x4797c4], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x4797d4], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 0x68]
cmp ecx, 0x10
jb 0x408c23
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408c19
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x408c19
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0045f2e0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045f2ee
mov esp, ebp
pop ebp
ret
Function at 0x40bdd0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 5], 0
je 0x40bdf2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x14]
inc eax
xor byte [edx], cl
cmp eax, 4
jb 0x40bde0
mov byte [esi + 5], 0
mov eax, esi
pop esi
ret

Function at 0x40be00
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x18], 0
je 0x40be22
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x14]
inc eax
xor byte [edx], cl
cmp eax, 0x17
jb 0x40be10
mov byte [esi + 0x18], 0
mov eax, esi
pop esi
ret

Function at 0x40be30
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x28], 0
je 0x40be52
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x14]
inc eax
xor byte [edx], cl
cmp eax, 0x27
jb 0x40be40
mov byte [esi + 0x28], 0
mov eax, esi
pop esi
ret

Function at 0x40be60
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xf], 0
je 0x40be82
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x14]
inc eax
xor byte [edx], cl
cmp eax, 0xe
jb 0x40be70
mov byte [esi + 0xf], 0
mov eax, esi
pop esi
ret
Function at 0x4103a0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x28
mov eax, dword [0x4790bc]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x410462
cmp byte [esi + 0x3d], 0
je 0x410462
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x41044f
mov ecx, dword [esi + 0x38]
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x14]
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 0x410413
sub eax, 1
je 0x410417
sub eax, 2
jne 0x41044f
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0045f2ee
add esp, 0x28
ret
mov byte [esi + 0x3d], 0
mov edi, dword [esp + 8]
lea eax, [esp + 0xc]
sub edi, eax
je 0x410437
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 0x41044f
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0045f2ee
add esp, 0x28
ret
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0045f2ee
add esp, 0x28
ret
mov ecx, dword [esp + 0x28]
mov al, 1
pop esi
xor ecx, esp
call fcn.0045f2ee
add esp, 0x28
ret
Function at 0x4107e0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x30
mov eax, dword [0x4790bc]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, dword [esp + 0x38]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x410810
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0045f2ee
add esp, 0x30
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x410841
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x410841
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 [esp + 0x2c]
xor ecx, esp
call fcn.0045f2ee
add esp, 0x30
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x41094d
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x41086a
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 0x41089f
push dword [esi + 0x4c]
movsx eax, bl
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 [esp + 0x2c]
xor ecx, esp
call fcn.0045f2ee
add esp, 0x30
ret 4
lea eax, [esp + 0x10]
mov byte [esp + 0xc], bl
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1d]
push eax
lea eax, [esp + 0x20]
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 0x410907
sub eax, 1
je 0x410907
sub eax, 2
jne 0x41094d
push dword [esi + 0x4c]
push dword [esp + 0x10]
call fcn.0040f470
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0045f2ee
add esp, 0x30
ret 4
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x18]
sub edi, eax
je 0x410927
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 0x41094d
lea ecx, [esp + 0xc]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [esp + 0x14], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0045f2ee
add esp, 0x30
ret 4
mov ecx, dword [esp + 0x38]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045f2ee
add esp, 0x30
ret 4
Function at 0x411060
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
mov ebx, ecx
push esi
mov esi, dword [esp + 0x14]
test eax, eax
jg 0x411081
jl 0x411077
test esi, esi
jne 0x411081
pop esi
xor eax, eax
xor edx, edx
pop ebx
pop ecx
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x411099
push eax
push esi
push dword [esp + 0x18]
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
pop ecx
ret 0xc
mov eax, dword [ebx + 0x1c]
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edx, dword [eax]
mov edi, esi
test edx, edx
je 0x4110e2
mov eax, dword [ebx + 0x2c]
lea ecx, [ebx + 0x2c]
mov dword [esp + 0x10], ecx
mov eax, dword [eax]
test eax, eax
je 0x4110e9
mov edi, dword [esp + 0x1c]
cmp eax, edi
cmovb esi, eax
push esi
push edx
push ebp
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x2c]
add ebp, esi
sub edi, esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [esp + 0x1c]
jmp 0x4110e9
lea eax, [ebx + 0x2c]
mov dword [esp + 0x10], eax
cmp dword [ebx + 0x4c], 0
je 0x411156
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x411113
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 [esp + 0x10]
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 0x411144
push dword [ebx + 0x4c]
push 0xfff
push 1
push ebp
call eax
add esp, 0x10
add ebp, eax
sub edi, eax
cmp eax, 0xfff
jne 0x411156
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x411120
test edi, edi
je 0x411156
push dword [ebx + 0x4c]
push edi
push 1
push ebp
call eax
add esp, 0x10
sub edi, eax
mov edx, dword [esp + 0x20]
sub esi, edi
pop edi
pop ebp
mov eax, esi
sbb edx, 0
pop esi
pop ebx
pop ecx
ret 0xc
Function at 0x411170
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x14
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x411195
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop ebx
add esp, 0x14
ret 0xc
mov eax, dword [ebx + 0x20]
push ebp
push esi
mov esi, dword [esp + 0x28]
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
push edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x20], edi
test ecx, ecx
je 0x4111c2
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x4111c8
xor ecx, ecx
mov dword [esp + 0x14], eax
mov eax, ecx
cdq
mov dword [esp + 0x2c], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x411230
jg 0x4111df
test esi, esi
je 0x411230
test ecx, ecx
jl 0x41122a
jg 0x4111e9
test eax, eax
je 0x41122a
cmp edi, ecx
jg 0x4111fd
jl 0x4111f3
cmp esi, eax
jae 0x4111fd
mov eax, esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x10], edi
mov ebp, dword [esp + 0x28]
push eax
push ebp
push dword [esp + 0x20]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x2c]
add ebp, ecx
sub esi, ecx
mov eax, dword [eax]
sbb edi, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x411234
mov ebp, dword [esp + 0x28]
jmp 0x41123e
mov ebp, dword [esp + 0x28]
test edi, edi
jl 0x411258
jg 0x41123e
test esi, esi
je 0x411258
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x411258
push eax
push esi
push 1
push ebp
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 + 0x1c]
mov edx, dword [esp + 0x20]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0xc
Function at 0x4120f0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret 4
Function at 0x4140d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x414246
test ebx, ebx
je 0x414246
mov ecx, dword [esi + 0x3cc]
xor edx, edx
mov eax, ebx
div ecx
test edx, edx
jne 0x414246
mov eax, ebx
div ecx
mov ecx, dword [esp + 0x18]
push ebp
push edi
cmp ecx, 1
jne 0x414195
mov ebp, dword [esp + 0x14]
xor ecx, ecx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
test eax, eax
je 0x414244
lea edi, [esi + 0x3f4]
nop dword [eax]
push ebx
push ebp
mov ecx, esi
call fcn.00414250
cmp byte [esi + 4], 0
mov edx, ebx
je 0x414162
xor ecx, ecx
cmp dword [esi + 0x3cc], ecx
jle 0x414162
nop dword [eax + eax]
mov al, byte [edi + ecx]
lea edx, [edx + 1]
xor byte [edx - 1], al
inc ecx
cmp ecx, dword [esi + 0x3cc]
jl 0x414150
push dword [esi + 0x3cc]
push ebp
push edi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 0x3cc]
xor edx, edx
mov eax, dword [esp + 0x28]
add esp, 0xc
div ecx
inc dword [esp + 0x20]
add ebp, ecx
add ebx, ecx
cmp dword [esp + 0x20], eax
jb 0x414130
pop edi
pop ebp
pop esi
pop ebx
ret 0x10
cmp ecx, 2
jne 0x414216
mov edi, dword [esp + 0x14]
xor ecx, ecx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
test eax, eax
je 0x414244
lea ebp, [esi + 0x3f4]
push ebx
push ebp
mov ecx, esi
call fcn.00414e10
cmp byte [esi + 4], 0
mov edx, ebx
je 0x4141e3
xor ecx, ecx
cmp dword [esi + 0x3cc], ecx
jle 0x4141e3
mov al, byte [ecx + edi]
lea edx, [edx + 1]
xor byte [edx - 1], al
inc ecx
cmp ecx, dword [esi + 0x3cc]
jl 0x4141d1
push dword [esi + 0x3cc]
push edi
push ebp
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 0x3cc]
xor edx, edx
mov eax, dword [esp + 0x28]
add esp, 0xc
div ecx
inc dword [esp + 0x20]
add edi, ecx
add ebx, ecx
cmp dword [esp + 0x20], eax
jb 0x4141b6
pop edi
pop ebp
pop esi
pop ebx
ret 0x10
mov ebx, dword [esp + 0x14]
xor edi, edi
mov ebp, dword [esp + 0x18]
test eax, eax
je 0x414244
push ebp
push ebx
mov ecx, esi
call fcn.00414250
mov ecx, dword [esi + 0x3cc]
xor edx, edx
mov eax, dword [esp + 0x1c]
inc edi
div ecx
add ebx, ecx
add ebp, ecx
cmp edi, eax
jb 0x414224
pop edi
pop ebp
pop esi
pop ebx
ret 0x10
Function at 0x414c70
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x414e02
test ebx, ebx
je 0x414e02
mov ecx, dword [esi + 0x3cc]
xor edx, edx
mov eax, ebx
div ecx
test edx, edx
jne 0x414e02
mov eax, ebx
div ecx
mov edx, dword [esp + 0x18]
push ebp
push edi
cmp edx, 1
jne 0x414d39
mov ebp, dword [esp + 0x14]
xor edx, edx
mov edi, dword [esp + 0x18]
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], edi
test eax, eax
je 0x414e00
lea ebx, [esi + 0x3f4]
cmp byte [esi + 4], 0
mov eax, ebx
je 0x414cf9
xor edx, edx
test ecx, ecx
jle 0x414cf9
mov edi, ebp
sub edi, ebx
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
inc edx
cmp edx, dword [esi + 0x3cc]
jl 0x414ce3
mov edi, dword [esp + 0x14]
push edi
push ebx
mov ecx, esi
call fcn.00414e10
push dword [esi + 0x3cc]
push edi
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 0x3cc]
xor edx, edx
mov eax, dword [esp + 0x28]
add edi, ecx
div ecx
inc dword [esp + 0x2c]
add esp, 0xc
add ebp, ecx
mov dword [esp + 0x14], edi
cmp dword [esp + 0x20], eax
jb 0x414cd1
pop edi
pop ebp
pop esi
pop ebx
ret 0x10
cmp edx, 2
jne 0x414dcc
mov edi, dword [esp + 0x14]
xor ebp, ebp
mov ebx, dword [esp + 0x18]
test eax, eax
je 0x414e00
lea eax, [esi + 0x3f4]
nop word [eax + eax]
push ebx
push eax
mov ecx, esi
call fcn.00414e10
cmp byte [esi + 4], 0
mov edx, ebx
je 0x414d92
xor ecx, ecx
cmp dword [esi + 0x3cc], ecx
jle 0x414d92
nop dword [eax + eax]
mov al, byte [ecx + edi]
lea edx, [edx + 1]
xor byte [edx - 1], al
inc ecx
cmp ecx, dword [esi + 0x3cc]
jl 0x414d80
push dword [esi + 0x3cc]
lea eax, [esi + 0x3f4]
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 0x3cc]
xor edx, edx
mov eax, dword [esp + 0x28]
inc ebp
div ecx
add esp, 0xc
add edi, ecx
add ebx, ecx
cmp ebp, eax
lea eax, [esi + 0x3f4]
jb 0x414d60
pop edi
pop ebp
pop esi
pop ebx
ret 0x10
mov ebx, dword [esp + 0x14]
xor edi, edi
mov ebp, dword [esp + 0x18]
test eax, eax
je 0x414e00
nop word [eax + eax]
push ebp
push ebx
mov ecx, esi
call fcn.00414e10
mov ecx, dword [esi + 0x3cc]
xor edx, edx
mov eax, dword [esp + 0x1c]
inc edi
div ecx
add ebx, ecx
add ebp, ecx
cmp edi, eax
jb 0x414de0
pop edi
pop ebp
pop esi
pop ebx
ret 0x10
Function at 0x41e330
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
sub esp, 0x18
mov eax, dword [0x4790bc]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
mov esi, dword [esp + 0x20]
test esi, esi
je 0x41e3fb
lea eax, [esp + 4]
push eax
push esi
push 2
call fcn.00439430
add esp, 0xc
test eax, eax
jne 0x41e3fb
lea eax, [esp + 8]
push eax
push esi
push 0x17
call fcn.00439430
add esp, 0xc
test eax, eax
jne 0x41e3fb
push ebx
push edi
mov edi, esi
xor ebx, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x41e384
sub edi, ecx
push edi
push 0x2e
push esi
call fcn.00439400
add esp, 0xc
test eax, eax
je 0x41e3b8
sub eax, esi
push eax
push 0x2e
push esi
call fcn.00439400
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x41e3ba
inc ebx
mov ecx, esi
sub ecx, ebx
add edi, ecx
test ebx, ebx
cmovne esi, ebx
mov ebx, 0x1505
add edi, esi
cmp esi, edi
jae 0x41e3e6
mov al, byte [esi]
push eax
call fcn.0042b1e0
movsx ecx, al
inc esi
mov eax, ebx
add esp, 4
shl eax, 5
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp esi, edi
jb 0x41e3c8
pop edi
movzx eax, bl
pop ebx
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0045f2ee
add esp, 0x18
ret
mov ecx, dword [esp + 0x18]
xor eax, eax
pop esi
xor ecx, esp
call fcn.0045f2ee
add esp, 0x18
ret