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

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 0x69
mov edi, ecx
push 0
push edi
call fcn.004a0b90
mov edx, dword [ebp + 8]
lea esi, [edi + 0x67]
add esp, 0xc
xor ecx, ecx
lea eax, [edx + 0x67]
cmp edi, eax
ja 0x413557
cmp esi, edx
jae 0x41358d
movups xmm0, xmmword [edx]
mov ecx, 0x40
movaps xmm1, xmmword [str.ZZZZZZZZZZZZZZZZ]
xorps xmm0, xmm1
movups xmmword [edi], xmm0
movups xmm0, xmmword [edx + 0x10]
xorps xmm0, xmm1
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [edx + 0x20]
xorps xmm0, xmm1
movups xmmword [edi + 0x20], xmm0
movups xmm0, xmmword [edx + 0x30]
xorps xmm0, xmm1
movups xmmword [edi + 0x30], xmm0
mov esi, 0x68
lea eax, [ecx + edi]
sub edx, edi
sub esi, ecx
nop dword [eax]
mov cl, byte [edx + eax]
lea eax, [eax + 1]
xor cl, 0x5a
mov byte [eax - 1], cl
sub esi, 1
jne 0x4135a0
mov byte [edi + 0x68], 0
mov eax, edi
pop edi
pop esi
pop ebp
ret 4

Function at 0x4135c0
Capabilities:
Encode data using xor

Disassembly:
movaps xmm1, xmmword [str.ZZZZZZZZZZZZZZZZ]
xor eax, eax
nop dword [eax]
movups xmm0, xmmword [eax + ecx]
xorps xmm0, xmm1
movups xmmword [eax + ecx], xmm0
add eax, 0x10
cmp eax, 0x30
jb 0x4135d0
cmp eax, 0x31
jae 0x4135f2
xor byte [ecx + eax], 0x5a
inc eax
cmp eax, 0x31
jb 0x4135e8
ret

Function at 0x413600
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x32
mov edi, ecx
push 0
push edi
call fcn.004a0b90
lea eax, [esi + 0x30]
add esp, 0xc
xor ebx, ebx
lea ecx, [edi + 0x30]
cmp edi, eax
ja 0x41362c
cmp ecx, esi
jb 0x41362c
sub esi, edi
jmp 0x413654
movaps xmm1, xmmword [str.ZZZZZZZZZZZZZZZZ]
mov ecx, 3
mov eax, edi
sub esi, edi
lea ebx, [ecx + 0x2d]
nop
lea eax, [eax + 0x10]
movups xmm0, xmmword [esi + eax - 0x10]
xorps xmm0, xmm1
movups xmmword [eax - 0x10], xmm0
sub ecx, 1
jne 0x413640
mov edx, 0x31
lea ecx, [ebx + edi]
sub edx, ebx
nop
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
xor al, 0x5a
mov byte [ecx - 1], al
sub edx, 1
jne 0x413660
mov byte [edi + 0x31], dl
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x413680
Capabilities:
Encode data using xor

Disassembly:
movaps xmm1, xmmword [str.ZZZZZZZZZZZZZZZZ]
xor eax, eax
nop dword [eax]
movups xmm0, xmmword [eax + ecx]
xorps xmm0, xmm1
movups xmmword [eax + ecx], xmm0
add eax, 0x10
cmp eax, 0x20
jb 0x413690
cmp eax, 0x2d
jae 0x4136b2
xor byte [ecx + eax], 0x5a
inc eax
cmp eax, 0x2d
jb 0x4136a8
ret
Function at 0x4136c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push 0x2e
mov edi, ecx
push 0
push edi
call fcn.004a0b90
add esp, 0xc
lea eax, [edi + 0x2c]
xor ebx, ebx
cmp edi, 0x4eaf10
ja 0x4136ef
cmp eax, 0x4eaee4
jb 0x4136ef
mov edx, 0x4eaee4
sub edx, edi
jmp 0x413724
movaps xmm1, xmmword [str.ZZZZZZZZZZZZZZZZ]
mov ecx, 2
mov edx, 0x4eaee4
mov eax, edi
sub edx, edi
lea ebx, [ecx + 0x1e]
nop word [eax + eax]
lea eax, [eax + 0x10]
movups xmm0, xmmword [edx + eax - 0x10]
xorps xmm0, xmm1
movups xmmword [eax - 0x10], xmm0
sub ecx, 1
jne 0x413710
mov esi, 0x2d
lea ecx, [ebx + edi]
sub esi, ebx
nop
mov al, byte [edx + ecx]
lea ecx, [ecx + 1]
xor al, 0x5a
mov byte [ecx - 1], al
sub esi, 1
jne 0x413730
mov byte [edi + 0x2d], 0
mov eax, edi
pop edi
pop esi
pop ebx
ret 4

Function at 0x413750
Capabilities:
Encode data using xor

Disassembly:
movups xmm0, xmmword [ecx]
mov eax, 0x10
movaps xmm1, xmmword [str.ZZZZZZZZZZZZZZZZ]
xorps xmm1, xmm0
movups xmmword [ecx], xmm1
xor byte [ecx + eax], 0x5a
inc eax
cmp eax, 0x1c
jb 0x413765
ret

Function at 0x413770
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
push edi
mov edi, ecx
xor ecx, ecx
lea eax, [esi + 0x1b]
lea edx, [edi + 0x1b]
movups xmmword [edi], xmm0
movq qword [edi + 0x10], xmm0
mov dword [edi + 0x18], 0
mov byte [edi + 0x1c], 0
cmp edi, eax
ja 0x4137a0
cmp edx, esi
jae 0x4137b5
movups xmm0, xmmword [esi]
mov ecx, 0x10
movaps xmm1, xmmword [str.ZZZZZZZZZZZZZZZZ]
xorps xmm1, xmm0
movups xmmword [edi], xmm1
mov edx, 0x1c
lea eax, [ecx + edi]
sub esi, edi
sub edx, ecx
mov cl, byte [esi + eax]
lea eax, [eax + 1]
xor cl, 0x5a
mov byte [eax - 1], cl
sub edx, 1
jne 0x4137c1
mov byte [edi + 0x1c], dl
mov eax, edi
pop edi
pop esi
pop ebp
ret 4

Function at 0x4137e0
Capabilities:
Encode data using xor

Disassembly:
movaps xmm1, xmmword [str.ZZZZZZZZZZZZZZZZ]
xor eax, eax
nop dword [eax]
movups xmm0, xmmword [eax + ecx]
xorps xmm0, xmm1
movups xmmword [eax + ecx], xmm0
add eax, 0x10
cmp eax, 0x20
jb 0x4137f0
cmp eax, 0x29
jae 0x413812
xor byte [ecx + eax], 0x5a
inc eax
cmp eax, 0x29
jb 0x413808
ret

Function at 0x413820
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x2a
mov edi, ecx
push 0
push edi
call fcn.004a0b90
lea eax, [esi + 0x28]
add esp, 0xc
xor ebx, ebx
lea ecx, [edi + 0x28]
cmp edi, eax
ja 0x41384c
cmp ecx, esi
jb 0x41384c
sub esi, edi
jmp 0x413874
movaps xmm1, xmmword [str.ZZZZZZZZZZZZZZZZ]
mov ecx, 2
mov eax, edi
sub esi, edi
lea ebx, [ecx + 0x1e]
nop
lea eax, [eax + 0x10]
movups xmm0, xmmword [esi + eax - 0x10]
xorps xmm0, xmm1
movups xmmword [eax - 0x10], xmm0
sub ecx, 1
jne 0x413860
mov edx, 0x29
lea ecx, [ebx + edi]
sub edx, ebx
nop
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
xor al, 0x5a
mov byte [ecx - 1], al
sub edx, 1
jne 0x413880
mov byte [edi + 0x29], dl
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4138a0
Capabilities:
Encode data using xor

Disassembly:
movaps xmm1, xmmword [str.ZZZZZZZZZZZZZZZZ]
xor eax, eax
nop dword [eax]
movups xmm0, xmmword [eax + ecx]
xorps xmm0, xmm1
movups xmmword [eax + ecx], xmm0
add eax, 0x10
cmp eax, 0x20
jb 0x4138b0
cmp eax, 0x2f
jae 0x4138d2
xor byte [ecx + eax], 0x5a
inc eax
cmp eax, 0x2f
jb 0x4138c8
ret

Function at 0x4138e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push 0x30
mov edi, ecx
push 0
push edi
call fcn.004a0b90
add esp, 0xc
lea eax, [edi + 0x2e]
xor ebx, ebx
cmp edi, 0x4ead76
ja 0x41390f
cmp eax, str.Unable_to_open_the_versionfile_file_for_reading
jb 0x41390f
mov edx, str.Unable_to_open_the_versionfile_file_for_reading
sub edx, edi
jmp 0x413944
movaps xmm1, xmmword [str.ZZZZZZZZZZZZZZZZ]
mov ecx, 2
mov edx, str.Unable_to_open_the_versionfile_file_for_reading
mov eax, edi
sub edx, edi
lea ebx, [ecx + 0x1e]
nop word [eax + eax]
lea eax, [eax + 0x10]
movups xmm0, xmmword [edx + eax - 0x10]
xorps xmm0, xmm1
movups xmmword [eax - 0x10], xmm0
sub ecx, 1
jne 0x413930
mov esi, 0x2f
lea ecx, [ebx + edi]
sub esi, ebx
nop
mov al, byte [edx + ecx]
lea ecx, [ecx + 1]
xor al, 0x5a
mov byte [ecx - 1], al
sub esi, 1
jne 0x413950
mov byte [edi + 0x2f], 0
mov eax, edi
pop edi
pop esi
pop ebx
ret 4
Function at 0x416e60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov edx, ecx
xorps xmm0, xmm0
lea eax, [esi + 0xf]
lea ecx, [edx + 0xf]
movups xmmword [edx], xmm0
mov byte [edx + 0x10], 0
cmp edx, eax
ja 0x416eac
cmp ecx, esi
jb 0x416eac
push edi
mov ecx, edx
sub esi, edx
mov edi, 0x10
nop dword [eax + eax]
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
xor al, 0x5a
mov byte [ecx - 1], al
sub edi, 1
jne 0x416e90
pop edi
mov eax, edx
mov byte [edx + 0x10], 0
pop esi
pop ebp
ret 4
movups xmm0, xmmword [esi]
mov eax, edx
movaps xmm1, xmmword [str.ZZZZZZZZZZZZZZZZ]
xorps xmm1, xmm0
movups xmmword [edx], xmm1
mov byte [edx + 0x10], 0
pop esi
pop ebp
ret 4

Function at 0x416ef0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
push edi
mov edi, ecx
xor ecx, ecx
lea eax, [esi + 0x10]
lea edx, [edi + 0x10]
movups xmmword [edi], xmm0
mov word [edi + 0x10], 0
cmp edi, eax
ja 0x416f16
cmp edx, esi
jae 0x416f2b
movups xmm0, xmmword [esi]
mov ecx, 0x10
movaps xmm1, xmmword [str.ZZZZZZZZZZZZZZZZ]
xorps xmm1, xmm0
movups xmmword [edi], xmm1
mov edx, 0x11
lea eax, [ecx + edi]
sub esi, edi
sub edx, ecx
mov cl, byte [esi + eax]
lea eax, [eax + 1]
xor cl, 0x5a
mov byte [eax - 1], cl
sub edx, 1
jne 0x416f37
mov byte [edi + 0x11], dl
mov eax, edi
pop edi
pop esi
pop ebp
ret 4

Function at 0x416f60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
push ebx
push esi
push edi
mov edi, ecx
lea eax, [edx + 0x26]
xor ebx, ebx
lea ecx, [edi + 0x26]
movups xmmword [edi], xmm0
movups xmmword [edi + 0x10], xmm0
movq qword [edi + 0x20], xmm0
cmp edi, eax
ja 0x416f8e
cmp ecx, edx
jb 0x416f8e
sub edx, edi
jmp 0x416fb5
movaps xmm1, xmmword [str.ZZZZZZZZZZZZZZZZ]
mov ecx, 2
mov eax, edi
sub edx, edi
lea ebx, [ecx + 0x1e]
lea eax, [eax + 0x10]
movups xmm0, xmmword [edx + eax - 0x10]
xorps xmm0, xmm1
movups xmmword [eax - 0x10], xmm0
sub ecx, 1
jne 0x416fa1
mov esi, 0x27
lea eax, [ebx + edi]
sub esi, ebx
nop
mov cl, byte [edx + eax]
lea eax, [eax + 1]
xor cl, 0x5a
mov byte [eax - 1], cl
sub esi, 1
jne 0x416fc0
mov byte [edi + 0x27], 0
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x417500
Capabilities:
Encode data using xor

Disassembly:
movups xmm0, xmmword [ecx]
mov eax, 0x10
movaps xmm1, xmmword [str.ZZZZZZZZZZZZZZZZ]
xorps xmm1, xmm0
movups xmmword [ecx], xmm1
xor byte [ecx + eax], 0x5a
inc eax
cmp eax, 0x17
jb 0x417515
ret
Function at 0x417520
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
push edi
mov edi, ecx
xor ecx, ecx
lea eax, [esi + 0x16]
lea edx, [edi + 0x16]
movups xmmword [edi], xmm0
movq qword [edi + 0x10], xmm0
cmp edi, eax
ja 0x417545
cmp edx, esi
jae 0x41755a
movups xmm0, xmmword [esi]
mov ecx, 0x10
movaps xmm1, xmmword [str.ZZZZZZZZZZZZZZZZ]
xorps xmm1, xmm0
movups xmmword [edi], xmm1
mov edx, 0x17
lea eax, [ecx + edi]
sub esi, edi
sub edx, ecx
mov cl, byte [esi + eax]
lea eax, [eax + 1]
xor cl, 0x5a
mov byte [eax - 1], cl
sub edx, 1
jne 0x417566
mov byte [edi + 0x17], dl
mov eax, edi
pop edi
pop esi
pop ebp
ret 4

Function at 0x417590
Capabilities:
Encode data using xor

Disassembly:
movaps xmm1, xmmword [str.ZZZZZZZZZZZZZZZZ]
xor eax, eax
nop dword [eax]
movups xmm0, xmmword [eax + ecx]
xorps xmm0, xmm1
movups xmmword [eax + ecx], xmm0
add eax, 0x10
cmp eax, 0x20
jb 0x4175a0
ret

Function at 0x4175c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
push esi
mov esi, ecx
lea eax, [edx + 0x1f]
lea ecx, [esi + 0x1f]
movups xmmword [esi], xmm0
movups xmmword [esi + 0x10], xmm0
mov byte [esi + 0x20], 0
cmp esi, eax
ja 0x41760c
cmp ecx, edx
jb 0x41760c
push edi
mov ecx, esi
sub edx, esi
mov edi, 0x20
nop
mov al, byte [edx + ecx]
lea ecx, [ecx + 1]
xor al, 0x5a
mov byte [ecx - 1], al
sub edi, 1
jne 0x4175f0
pop edi
mov eax, esi
mov byte [esi + 0x20], 0
pop esi
pop ebp
ret 4
movaps xmm1, xmmword [str.ZZZZZZZZZZZZZZZZ]
mov eax, esi
sub edx, esi
mov ecx, 2
nop dword [eax]
lea eax, [eax + 0x10]
movups xmm0, xmmword [edx + eax - 0x10]
xorps xmm0, xmm1
movups xmmword [eax - 0x10], xmm0
sub ecx, 1
jne 0x417620
mov eax, esi
mov byte [esi + 0x20], cl
pop esi
pop ebp
ret 4
Function at 0x41bee0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ccc4d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4f6440]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov esi, dword [eax + 4]
add esi, edi
mov ecx, esi
call fcn.00402f10
mov eax, dword [ebp + 8]
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0x3c], 0
mov ebx, dword [eax + 4]
mov ecx, ebx
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebx]
call dword [eax + 4]
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 1
push eax
call fcn.0041d410
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov byte [ebp + 0xb], al
mov byte [ebp - 4], 0
test ebx, ebx
je 0x41bf9d
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 8]
test eax, eax
je 0x41bf9a
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov al, byte [ebp + 0xb]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], al
jne 0x41bfb6
mov eax, dword [esi + 0xc]
mov ecx, esi
push 0
or eax, 4
push eax
call fcn.00402dc0
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 0xc

Function at 0x41c4a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb6e0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4f6440]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.0049f1cd
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.004869aa
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.0041c410
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41cc50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb6e0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4f6440]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.0049f1cd
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.004869aa
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.0041c410
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x420c90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd20c
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4f6440]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
lea ebx, [edi + 0x38]
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 0x14], ebx
mov dword [ebx + 0x24], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x420d44
mov eax, dword [ecx]
push ebx
call dword [eax]
mov dword [ebx + 0x24], eax
mov al, byte [ebp + 0xc]
lea ecx, [edi + 0x68]
mov byte [ebp - 4], 5
push 9
mov byte [edi + 0x60], al
call fcn.0041bca0
mov byte [ebp - 4], 6
xor ebx, ebx
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x10]
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x18], edx
test ecx, ecx
jns 0x420d8b
mov eax, ecx
neg eax
cmp ebx, eax
jae 0x420d8b
add ecx, ebx
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub edx, eax
jmp 0x420d95
add ecx, ebx
mov eax, ecx
shr eax, 5
lea edx, [edx + eax*4]
and ecx, 0x1f
lea eax, [ebp - 0xd]
push ecx
push edx
push eax
push ecx
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 0x10]
call fcn.00423140
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x420dc3
mov esi, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
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 0x30
Function at 0x427ad0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov eax, dword [esi]
cmp eax, 0x270
jne 0x427b2d
lea edx, [esi + 8]
mov edi, eax
nop dword [eax]
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
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 edi, 1
jne 0x427af0
mov eax, dword [esi]
jmp 0x427c0b
cmp eax, 0x4e0
jb 0x427c0b
lea edi, [esi + 0x9c4]
mov esi, 0xe3
push ebx
mov ebx, dword [edi]
lea edx, [edi]
mov eax, ebx
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, ebx
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 [edx + 0x634]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x427b46
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, eax
xor ecx, ebx
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 [edx - 0xd4c]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x427b91
mov esi, dword [ebp - 4]
pop ebx
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 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 [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
xor eax, eax
mov dword [esi], 0
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 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
mov esp, ebp
pop ebp
ret
Function at 0x435cd0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x435d7f
push esi
call fcn.00449ff0
add esp, 4
test al, al
jne 0x435d7f
push ebx
push edi
mov edi, esi
xor ebx, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x435cf7
sub edi, ecx
push edi
push 0x2e
push esi
call fcn.00453810
add esp, 0xc
test eax, eax
je 0x435d2b
sub eax, esi
push eax
push 0x2e
push esi
call fcn.00453810
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x435d2d
inc ebx
mov ecx, esi
sub ecx, ebx
add edi, ecx
test ebx, ebx
cmovne esi, ebx
lea ebx, [esi + edi]
mov edi, 0x1505
cmp esi, ebx
jae 0x435d5e
nop dword [eax]
mov al, byte [esi]
push eax
call fcn.004459c0
movsx ecx, al
inc esi
mov eax, edi
add esp, 4
shl eax, 5
add eax, edi
xor ecx, eax
mov edi, ecx
cmp esi, ebx
jb 0x435d40
mov eax, 0x4104105
mov esi, edi
mul edi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 5
mov ecx, esi
shl ecx, 6
sub ecx, esi
sub edi, ecx
mov eax, edi
pop edi
pop ebx
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x443bd0
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
push edi
push 0x4d3e14
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x443bea
pop edi
pop ebx
pop ecx
ret
push ebp
push esi
push str.LoadLibraryExA
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x18]
mov ebp, eax
push 0x4ea3b8
push esi
call fcn.004b1fc0
add esp, 8
test eax, eax
je 0x443c32
test ebp, ebp
je 0x443c23
push 8
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
test ebp, ebp
je 0x443c58
push str.AddDllDirectory
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x443c58
push 0x800
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x443d0f
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x443c75
sub ecx, ebx
lea eax, [ecx + 1]
add eax, edx
push eax
call dword [section..data]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x443d05
push dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x443d05
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x443ca7
sub ecx, edx
mov eax, 0x5c
mov word [ecx + ebx], ax
mov ecx, ebx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x443cc0
sub ecx, edx
sub ecx, esi
add ecx, ebx
nop dword [eax]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x443cd0
test ebp, ebp
je 0x443cfc
push 8
push 0
push ebx
call ebp
push ebx
mov edi, eax
call dword [0x4f6004]
add esp, 4
mov eax, edi
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push ebx
call dword [0x4f6004]
add esp, 4
pop esi
pop ebp
mov eax, edi
pop edi
pop ebx
pop ecx
ret