joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402b50
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
cmp eax, 0x270
jne 0x402ba0
lea edx, [edi + 8]
mov esi, eax
mov ecx, dword [edx - 4]
lea edx, [edx + 4]
xor ecx, dword [edx - 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x402b62
mov eax, dword [edi]
jmp 0x402c87
cmp eax, 0x4e0
jb 0x402c87
mov eax, dword [edi + 0x9c4]
push ebx
lea ebx, [edi + 0x9c4]
push ebp
mov ebp, 0xe3
nop
mov ecx, dword [ebx + 4]
lea edx, [ebx + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub ebp, 1
jne 0x402bc0
mov eax, dword [edi + 0xd50]
lea ebx, [edi + 0xd50]
mov ebp, 0x18c
nop word [eax + eax]
mov ecx, eax
lea edx, [ebx + 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub ebp, 1
jne 0x402c10
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop ebp
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi + 0x9c0], eax
xor eax, eax
mov dword [edi], 0
pop ebx
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
ret
Function at 0x402dd0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ecx
push ebx
push ebp
push esi
mov dword [esp + 0xc], ecx
push edi
nop dword [eax]
mov edi, dword [ecx]
mov eax, dword [edi]
cmp eax, 0x270
jne 0x402e33
lea eax, [edi + 8]
mov esi, 0x270
mov edx, dword [eax - 4]
lea eax, [eax + 4]
xor edx, dword [eax - 4]
and edx, 0x7fffffff
xor edx, dword [eax - 8]
mov ecx, edx
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [eax + 0x62c]
xor ecx, edx
mov dword [eax + 0x9b8], ecx
sub esi, 1
jne 0x402df3
mov eax, dword [edi]
jmp 0x402f15
cmp eax, 0x4e0
jb 0x402f15
mov eax, dword [edi + 0x9c4]
lea ebx, [edi + 0x9c4]
mov ebp, 0xe3
nop
mov ecx, dword [ebx + 4]
lea edx, [ebx + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub ebp, 1
jne 0x402e50
mov eax, dword [edi + 0xd50]
lea ebx, [edi + 0xd50]
mov ebp, 0x18c
nop word [eax + eax]
mov ecx, eax
lea edx, [ebx + 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub ebp, 1
jne 0x402ea0
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi + 0x9c0], eax
xor eax, eax
mov dword [edi], 0
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
mov ecx, dword [esp + 0x10]
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
cmp eax, dword [ecx + 8]
ja 0x402de0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x407e70
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push esi
mov esi, ecx
cmp byte [esi + 3], 0
je 0x407e92
xor eax, eax
nop
lea edx, [eax + esi]
lea ecx, [eax - 7]
inc eax
xor byte [edx], cl
cmp eax, 2
jb 0x407e80
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.00405d40
mov eax, dword [esp + 0x10]
pop esi
add esp, 8
ret 4

Function at 0x407eb0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push esi
mov esi, ecx
cmp byte [esi + 5], 0
je 0x407ed2
xor eax, eax
nop
lea edx, [eax + esi]
lea ecx, [eax - 7]
inc eax
xor byte [edx], cl
cmp eax, 4
jb 0x407ec0
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.00405d40
mov eax, dword [esp + 0x10]
pop esi
add esp, 8
ret 4

Function at 0x407ef0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push esi
mov esi, ecx
cmp byte [esi + 0x75], 0
je 0x407f12
xor eax, eax
nop
lea edx, [eax + esi]
lea ecx, [eax - 7]
inc eax
xor byte [edx], cl
cmp eax, 0x74
jb 0x407f00
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.00405d40
mov eax, dword [esp + 0x10]
pop esi
add esp, 8
ret 4
Function at 0x408ac0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4619fc
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x47a0bc]
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.0045fa8c
add esp, 4
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x408b64
mov ecx, eax
call fcn.00413100
mov esi, eax
jmp 0x408b66
xor esi, esi
sub esp, 0x18
mov byte [ebp - 4], 4
mov edi, esp
mov dword [ebp - 0x1c], 0xc9bd82c9
sub esp, 0x18
mov word [ebp - 0x18], 0x100
mov edx, esp
xor ecx, ecx
mov dword [ebp - 0x80], edx
lea eax, [ecx - 7]
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 4
jb 0x408b86
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.00405d40
push edi
call fcn.00411f10
add esp, 0x1c
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.004131b0
mov esi, eax
cmp esi, 0x47a7bc
je 0x408bfd
mov ecx, 0x47a7bc
call fcn.004014e0
movups xmm0, xmmword [esi]
movups xmmword [0x47a7bc], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x47a7cc], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 0x68]
cmp ecx, 0x10
jb 0x408c33
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408c29
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x408c29
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0045fabc
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.0045faca
mov esp, ebp
pop ebp
ret
Function at 0x40be70
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 5], 0
je 0x40be92
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 7]
inc eax
xor byte [edx], cl
cmp eax, 4
jb 0x40be80
mov byte [esi + 5], 0
mov eax, esi
pop esi
ret

Function at 0x40bea0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x18], 0
je 0x40bec2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 7]
inc eax
xor byte [edx], cl
cmp eax, 0x17
jb 0x40beb0
mov byte [esi + 0x18], 0
mov eax, esi
pop esi
ret

Function at 0x40bed0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x28], 0
je 0x40bef2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 7]
inc eax
xor byte [edx], cl
cmp eax, 0x27
jb 0x40bee0
mov byte [esi + 0x28], 0
mov eax, esi
pop esi
ret

Function at 0x40bf00
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xf], 0
je 0x40bf22
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 7]
inc eax
xor byte [edx], cl
cmp eax, 0xe
jb 0x40bf10
mov byte [esi + 0xf], 0
mov eax, esi
pop esi
ret
Function at 0x40d160
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov byte [ecx + 0x24], 1
jmp fcn.0040d170
Function at 0x40f2b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x80]
push esi
call sub.MSVCP140.dll__Mtx_lock
add esp, 4
test eax, eax
jne 0x40f310
inc dword [edi + 0x70]
push esi
call sub.MSVCP140.dll__Mtx_unlock
add esp, 4
cmp byte [edi + 0x34], 0
jne 0x40f2e2
cmp byte [edi + 0x30], 0
je 0x40f304
cmp byte [edi + 0x28], 0
jne 0x40f304
lea eax, [esp + 8]
push eax
call fcn.00404470
add esp, 4
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x78], ecx
mov dword [edi + 0x7c], eax
mov byte [edi + 0x28], 1
mov ecx, edi
pop edi
pop esi
add esp, 8
jmp fcn.0040d170
push eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
int3
Function at 0x410b60
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x28
mov eax, dword [0x47a0bc]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x410c22
cmp byte [esi + 0x3d], 0
je 0x410c22
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x410c0f
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 0x410bd3
sub eax, 1
je 0x410bd7
sub eax, 2
jne 0x410c0f
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0045faca
add esp, 0x28
ret
mov byte [esi + 0x3d], 0
mov edi, dword [esp + 8]
lea eax, [esp + 0xc]
sub edi, eax
je 0x410bf7
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 0x410c0f
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0045faca
add esp, 0x28
ret
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0045faca
add esp, 0x28
ret
mov ecx, dword [esp + 0x28]
mov al, 1
pop esi
xor ecx, esp
call fcn.0045faca
add esp, 0x28
ret
Function at 0x410fa0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x30
mov eax, dword [0x47a0bc]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, dword [esp + 0x38]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x410fd0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0045faca
add esp, 0x30
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x411001
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x411001
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.0045faca
add esp, 0x30
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x41110d
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x41102a
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 0x41105f
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.0045faca
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 0x4110c7
sub eax, 1
je 0x4110c7
sub eax, 2
jne 0x41110d
push dword [esi + 0x4c]
push dword [esp + 0x10]
call fcn.0040fc20
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.0045faca
add esp, 0x30
ret 4
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x18]
sub edi, eax
je 0x4110e7
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 0x41110d
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.0045faca
add esp, 0x30
ret 4
mov ecx, dword [esp + 0x38]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045faca
add esp, 0x30
ret 4
Function at 0x411820
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 0x411841
jl 0x411837
test esi, esi
jne 0x411841
pop esi
xor eax, eax
xor edx, edx
pop ebx
pop ecx
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x411859
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 0x4118a2
mov eax, dword [ebx + 0x2c]
lea ecx, [ebx + 0x2c]
mov dword [esp + 0x10], ecx
mov eax, dword [eax]
test eax, eax
je 0x4118a9
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 0x4118a9
lea eax, [ebx + 0x2c]
mov dword [esp + 0x10], eax
cmp dword [ebx + 0x4c], 0
je 0x411916
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x4118d3
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 0x411904
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 0x411916
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x4118e0
test edi, edi
je 0x411916
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 0x411930
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x14
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x411955
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 0x411982
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x411988
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 0x4119f0
jg 0x41199f
test esi, esi
je 0x4119f0
test ecx, ecx
jl 0x4119ea
jg 0x4119a9
test eax, eax
je 0x4119ea
cmp edi, ecx
jg 0x4119bd
jl 0x4119b3
cmp esi, eax
jae 0x4119bd
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 0x4119f4
mov ebp, dword [esp + 0x28]
jmp 0x4119fe
mov ebp, dword [esp + 0x28]
test edi, edi
jl 0x411a18
jg 0x4119fe
test esi, esi
je 0x411a18
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x411a18
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 0x4128c0
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 0x4148d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x414a46
test ebx, ebx
je 0x414a46
mov ecx, dword [esi + 0x3cc]
xor edx, edx
mov eax, ebx
div ecx
test edx, edx
jne 0x414a46
mov eax, ebx
div ecx
mov ecx, dword [esp + 0x18]
push ebp
push edi
cmp ecx, 1
jne 0x414995
mov ebp, dword [esp + 0x14]
xor ecx, ecx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
test eax, eax
je 0x414a44
lea edi, [esi + 0x3f4]
nop dword [eax]
push ebx
push ebp
mov ecx, esi
call fcn.00414a50
cmp byte [esi + 4], 0
mov edx, ebx
je 0x414962
xor ecx, ecx
cmp dword [esi + 0x3cc], ecx
jle 0x414962
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 0x414950
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 0x414930
pop edi
pop ebp
pop esi
pop ebx
ret 0x10
cmp ecx, 2
jne 0x414a16
mov edi, dword [esp + 0x14]
xor ecx, ecx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
test eax, eax
je 0x414a44
lea ebp, [esi + 0x3f4]
push ebx
push ebp
mov ecx, esi
call fcn.00415610
cmp byte [esi + 4], 0
mov edx, ebx
je 0x4149e3
xor ecx, ecx
cmp dword [esi + 0x3cc], ecx
jle 0x4149e3
mov al, byte [ecx + edi]
lea edx, [edx + 1]
xor byte [edx - 1], al
inc ecx
cmp ecx, dword [esi + 0x3cc]
jl 0x4149d1
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 0x4149b6
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 0x414a44
push ebp
push ebx
mov ecx, esi
call fcn.00414a50
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 0x414a24
pop edi
pop ebp
pop esi
pop ebx
ret 0x10
Function at 0x415470
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x415602
test ebx, ebx
je 0x415602
mov ecx, dword [esi + 0x3cc]
xor edx, edx
mov eax, ebx
div ecx
test edx, edx
jne 0x415602
mov eax, ebx
div ecx
mov edx, dword [esp + 0x18]
push ebp
push edi
cmp edx, 1
jne 0x415539
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 0x415600
lea ebx, [esi + 0x3f4]
cmp byte [esi + 4], 0
mov eax, ebx
je 0x4154f9
xor edx, edx
test ecx, ecx
jle 0x4154f9
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 0x4154e3
mov edi, dword [esp + 0x14]
push edi
push ebx
mov ecx, esi
call fcn.00415610
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 0x4154d1
pop edi
pop ebp
pop esi
pop ebx
ret 0x10
cmp edx, 2
jne 0x4155cc
mov edi, dword [esp + 0x14]
xor ebp, ebp
mov ebx, dword [esp + 0x18]
test eax, eax
je 0x415600
lea eax, [esi + 0x3f4]
nop word [eax + eax]
push ebx
push eax
mov ecx, esi
call fcn.00415610
cmp byte [esi + 4], 0
mov edx, ebx
je 0x415592
xor ecx, ecx
cmp dword [esi + 0x3cc], ecx
jle 0x415592
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 0x415580
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 0x415560
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 0x415600
nop word [eax + eax]
push ebp
push ebx
mov ecx, esi
call fcn.00415610
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 0x4155e0
pop edi
pop ebp
pop esi
pop ebx
ret 0x10
Function at 0x41eb30
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
sub esp, 0x18
mov eax, dword [0x47a0bc]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
mov esi, dword [esp + 0x20]
test esi, esi
je 0x41ebfb
lea eax, [esp + 4]
push eax
push esi
push 2
call fcn.00439c40
add esp, 0xc
test eax, eax
jne 0x41ebfb
lea eax, [esp + 8]
push eax
push esi
push 0x17
call fcn.00439c40
add esp, 0xc
test eax, eax
jne 0x41ebfb
push ebx
push edi
mov edi, esi
xor ebx, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x41eb84
sub edi, ecx
push edi
push 0x2e
push esi
call fcn.00439c10
add esp, 0xc
test eax, eax
je 0x41ebb8
sub eax, esi
push eax
push 0x2e
push esi
call fcn.00439c10
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x41ebba
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 0x41ebe6
mov al, byte [esi]
push eax
call fcn.0042b9f0
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 0x41ebc8
pop edi
movzx eax, bl
pop ebx
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0045faca
add esp, 0x18
ret
mov ecx, dword [esp + 0x18]
xor eax, eax
pop esi
xor ecx, esp
call fcn.0045faca
add esp, 0x18
ret