joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42bb80
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, ecx
test edi, edi
je 0x42bb92
mov dword [edi], 0
mov edx, dword [esp + 0x10]
test edx, edx
jne 0x42bba1
pop edi
xor al, al
pop esi
ret 0xc
mov ecx, dword [esp + 0xc]
test ecx, ecx
jne 0x42bbb0
pop edi
xor al, al
pop esi
ret 0xc
mov eax, dword [esi + 0xc]
cmp eax, 0xffffffff
je 0x42bc0c
push ebp
lea ebp, [esp + 0x14]
push 0
push ebp
push edx
push ecx
push eax
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x14]
pop ebp
test eax, eax
jne 0x42bbe8
mov dword [esi + 0xc], 0xffffffff
pop edi
mov al, 1
pop esi
ret 0xc
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x42bc03
lea edx, [esp + 0x14]
mov byte [esp + 0x14], 0
push edx
push eax
call fcn.00428020
mov eax, dword [esp + 0x10]
test edi, edi
je 0x42bc09
mov dword [edi], eax
add dword [esi + 4], eax
pop edi
mov al, 1
pop esi
ret 0xc

Function at 0x42c500
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x444e2a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
call fcn.0041cde0
xor ebx, ebx
lea ecx, [esi + 0x4c]
mov dword [esp + 0x14], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov byte [esi + 0x48], bl
mov byte [esi + 0x49], bl
call fcn.00416690
lea ecx, [esi + 0x70]
mov byte [esp + 0x14], 1
mov dword [esi + 0x68], ebx
mov byte [esi + 0x6c], bl
call fcn.00416690
lea ecx, [esi + 0x90]
mov byte [esp + 0x14], 2
mov byte [esi + 0x8c], bl
call fcn.00416690
lea ecx, [esi + 0xc0]
mov byte [esp + 0x14], 3
mov word [esi + 0xac], bx
mov byte [esi + 0xae], bl
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
call fcn.00427c80
lea ecx, [esi + 0xd4]
mov byte [esp + 0x14], 4
call fcn.00427c80
lea ecx, [esi + 0x40]
xor eax, eax
mov dword [esi], vtable.ExeResource.0
xor edx, edx
mov dword [ecx], eax
mov dword [ecx + 4], eax
lea eax, [esi + 0x30]
xor ecx, ecx
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
lea edx, [esi + 0x20]
lea eax, [esi + 0x1c]
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x42d050
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2c]
mov ebx, ecx
push edi
mov ecx, esi
call fcn.00406c10
cmp eax, 0x10
jae 0x42d07a
mov edi, 0x10
push 0
mov ecx, esi
call fcn.0041b250
dec edi
jne 0x42d06e
mov al, byte [esp + 0x34]
test al, al
jne 0x42d091
mov ecx, esi
call fcn.0041a8d0
push eax
mov ecx, ebx
call fcn.0042ce40
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x42d0a7
pop edi
pop esi
pop ebp
mov eax, 0xfffffffb
pop ebx
add esp, 0x10
ret 0x14
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x42d0bd
pop edi
pop esi
pop ebp
mov eax, 0xfffffffa
pop ebx
add esp, 0x10
ret 0x14
mov esi, dword [esp + 0x24]
test esi, esi
je 0x42d1de
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x42d1de
cdq
and edx, 0x7f
add eax, edx
mov ebp, eax
mov eax, dword [ebx + 0x38]
sar ebp, 7
sub eax, 0
je 0x42d1a9
dec eax
je 0x42d0fc
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x10
ret 0x14
mov eax, dword [ebx + 0x40]
mov ecx, dword [esi]
mov edx, dword [esi + 8]
mov edi, dword [ebx + 0x48]
xor eax, ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x44]
xor ecx, eax
mov eax, dword [esi + 0xc]
xor edx, edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov edx, dword [ebx + 0x4c]
lea ecx, [esp + 0x10]
push edi
xor eax, edx
push ecx
mov ecx, ebx
mov dword [esp + 0x24], eax
call fcn.0042dd80
lea eax, [ebp - 1]
add esi, 0x10
test eax, eax
jle 0x42d1cf
mov dword [esp + 0x34], eax
mov edx, dword [esi]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
xor edx, eax
mov eax, dword [esi + 4]
mov dword [esp + 0x10], edx
mov edx, dword [edi + 8]
xor eax, ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0xc]
xor ecx, edx
mov edx, dword [esi + 0xc]
add edi, 0x10
xor edx, eax
lea eax, [esp + 0x10]
mov dword [esp + 0x18], ecx
push edi
push eax
mov ecx, ebx
mov dword [esp + 0x24], edx
call fcn.0042dd80
mov eax, dword [esp + 0x34]
add esi, 0x10
dec eax
mov dword [esp + 0x34], eax
jne 0x42d14e
pop edi
mov eax, ebp
pop esi
pop ebp
shl eax, 7
pop ebx
add esp, 0x10
ret 0x14
test ebp, ebp
jle 0x42d1cf
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x34], ebp
push edi
push esi
mov ecx, ebx
call fcn.0042dd80
mov eax, dword [esp + 0x34]
add esi, 0x10
add edi, 0x10
dec eax
mov dword [esp + 0x34], eax
jne 0x42d1b5
pop edi
mov eax, ebp
pop esi
pop ebp
shl eax, 7
pop ebx
add esp, 0x10
ret 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret 0x14
Function at 0x42d890
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
mov eax, dword [edi + 0x34]
test eax, eax
je 0x42d8b3
pop edi
pop esi
pop ebp
mov eax, 0xfffffffb
pop ebx
add esp, 0x24
ret 0x14
mov ebx, dword [edi + 0x38]
cmp ebx, 2
je 0x42d8d1
mov eax, dword [edi + 0x3c]
test eax, eax
jne 0x42d8d1
pop edi
pop esi
pop ebp
mov eax, 0xfffffffa
pop ebx
add esp, 0x24
ret 0x14
mov esi, dword [esp + 0x38]
test esi, esi
je 0x42da27
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x42da27
cdq
and edx, 0x7f
add eax, edx
mov ecx, eax
mov eax, ebx
sar ecx, 7
sub eax, 0
mov dword [esp + 0x38], ecx
je 0x42d9f8
dec eax
je 0x42d913
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x24
ret 0x14
mov al, byte [esp + 0x48]
test al, al
je 0x42d935
mov eax, dword [edi + 0x48]
mov edx, dword [edi + 0x4c]
mov ebx, dword [edi + 0x40]
mov ebp, dword [edi + 0x44]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x30], edx
jmp 0x42d94c
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 8]
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x30], edx
test ecx, ecx
jle 0x42d9d6
mov edi, dword [esp + 0x40]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push esi
call fcn.0042e230
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor eax, ebx
mov ebx, dword [esp + 0x2c]
xor ecx, ebp
mov ebp, dword [esp + 0x20]
xor edx, ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x18], ecx
xor ebp, ebx
mov ebx, dword [esi]
mov dword [esp + 0x20], ebp
mov dword [edi], eax
mov ebp, dword [esi + 4]
mov dword [edi + 4], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], edx
mov dword [edi + 8], edx
mov edx, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x48]
add esi, 0x10
add edi, 0x10
dec eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x48], eax
jne 0x42d95c
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
mov dword [eax], ebx
mov dword [eax + 4], ebp
mov dword [eax + 8], edx
mov edx, dword [esp + 0x30]
pop edi
mov dword [eax + 0xc], edx
mov eax, ecx
pop esi
pop ebp
shl eax, 7
pop ebx
add esp, 0x24
ret 0x14
test ecx, ecx
jle 0x42da18
mov ebx, dword [esp + 0x40]
mov ebp, ecx
push ebx
push esi
mov ecx, edi
call fcn.0042e230
add esi, 0x10
add ebx, 0x10
dec ebp
jne 0x42da02
mov ecx, dword [esp + 0x38]
pop edi
mov eax, ecx
pop esi
pop ebp
shl eax, 7
pop ebx
add esp, 0x24
ret 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 0x14
Function at 0x42dc70
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
mov edx, 1
cmp dword [esi + 0x50], edx
jle 0x42dd7b
push ebx
push edi
lea eax, [esi + 0x66]
xor ebx, ebx
xor ecx, ecx
mov bl, byte [eax - 1]
mov cl, byte [eax + 1]
add eax, 0x10
mov edi, dword [ebx*4 + 0x458c24]
mov ecx, dword [ecx*4 + 0x459424]
xor ebx, ebx
xor ecx, edi
mov bl, byte [eax - 0x10]
mov edi, dword [ebx*4 + 0x459024]
xor ebx, ebx
mov bl, byte [eax - 0x12]
xor ecx, edi
mov edi, dword [ebx*4 + 0x458824]
xor ebx, ebx
xor ecx, edi
mov dword [eax - 0x12], ecx
mov bl, byte [eax - 0xc]
xor ecx, ecx
mov cl, byte [eax - 0xb]
mov edi, dword [ebx*4 + 0x459024]
xor ebx, ebx
mov ecx, dword [ecx*4 + 0x459424]
mov bl, byte [eax - 0xd]
xor ecx, edi
mov edi, dword [ebx*4 + 0x458c24]
xor ebx, ebx
mov bl, byte [eax - 0xe]
xor ecx, edi
mov edi, dword [ebx*4 + 0x458824]
xor ebx, ebx
xor ecx, edi
mov dword [eax - 0xe], ecx
mov bl, byte [eax - 8]
xor ecx, ecx
mov cl, byte [eax - 7]
mov edi, dword [ebx*4 + 0x459024]
xor ebx, ebx
mov ecx, dword [ecx*4 + 0x459424]
mov bl, byte [eax - 9]
xor ecx, edi
mov edi, dword [ebx*4 + 0x458c24]
xor ebx, ebx
mov bl, byte [eax - 0xa]
xor ecx, edi
mov edi, dword [ebx*4 + 0x458824]
xor ebx, ebx
xor ecx, edi
mov dword [eax - 0xa], ecx
mov bl, byte [eax - 4]
xor ecx, ecx
mov cl, byte [eax - 3]
mov edi, dword [ebx*4 + 0x459024]
xor ebx, ebx
mov ecx, dword [ecx*4 + 0x459424]
mov bl, byte [eax - 5]
xor ecx, edi
mov edi, dword [ebx*4 + 0x458c24]
xor ebx, ebx
mov bl, byte [eax - 6]
xor ecx, edi
mov edi, dword [ebx*4 + 0x458824]
xor ecx, edi
inc edx
mov dword [eax - 6], ecx
mov ecx, dword [esi + 0x50]
cmp edx, ecx
jl 0x42dc86
pop edi
pop ebx
pop esi
ret
Function at 0x4307f0
Capabilities:
Encode data using xor
Encrypt data using blowfish

Disassembly:
sub esp, 0x4c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov ecx, 0x10
mov eax, dword [ebp + 0x34]
lea edi, [esp + 0x1c]
cdq
and edx, 7
lea esi, [ebp + 0x18]
add eax, edx
mov ebx, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, esi
sar ebx, 3
call fcn.00406c10
cmp eax, 0x40
mov ecx, esi
jbe 0x430844
call fcn.0041a8d0
test eax, eax
je 0x430875
mov ecx, esi
call fcn.0041a8d0
mov ecx, 0x10
mov esi, eax
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
jmp 0x430875
call fcn.0041a8d0
test eax, eax
je 0x430875
mov ecx, esi
call fcn.00406c10
mov ecx, esi
mov edi, eax
call fcn.0041a8d0
mov esi, eax
mov eax, edi
lea edi, [esp + 0x1c]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
mov ecx, dword [ebp + 0x2c]
mov edx, dword [eax + 0x4598b8]
mov dword [eax + ecx], edx
add eax, 4
cmp eax, 0x48
jl 0x430877
xor eax, eax
mov ecx, pe_nt_image_headers32
mov edx, dword [ebp + 0x30]
mov esi, dword [eax + 0x459900]
mov dword [edx + eax], esi
add eax, 4
dec ecx
jne 0x430892
cmp eax, 0x1000
jl 0x43088d
xor esi, esi
xor edi, edi
mov eax, dword [ebp + 0x2c]
lea ecx, [edi + eax]
lea eax, [esi + 1]
cdq
idiv ebx
mov dword [esp + 0x18], ecx
xor ecx, ecx
lea eax, [esi + 2]
add edi, 4
mov cl, byte [esp + edx + 0x1c]
cdq
idiv ebx
mov ch, byte [esp + esi + 0x1c]
xor eax, eax
shl ecx, 8
mov al, byte [esp + edx + 0x1c]
or ecx, eax
lea eax, [esi + 3]
cdq
idiv ebx
xor eax, eax
shl ecx, 8
mov al, byte [esp + edx + 0x1c]
or ecx, eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
xor edx, ecx
mov dword [eax], edx
lea eax, [esi + 4]
cdq
idiv ebx
cmp edi, 0x48
mov esi, edx
jl 0x4308af
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, ebp
call fcn.0042fff0
mov eax, dword [ebp + 0x2c]
mov ecx, dword [esp + 0x10]
mov dword [esi + eax], ecx
mov edx, dword [ebp + 0x2c]
mov eax, dword [esp + 0x14]
mov dword [esi + edx + 4], eax
add esi, 8
cmp esi, 0x48
jl 0x43090f
mov esi, 4
mov edi, 0x80
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, ebp
call fcn.0042fff0
mov eax, dword [ebp + 0x30]
mov ecx, dword [esp + 0x10]
mov dword [eax + esi - 4], ecx
mov edx, dword [ebp + 0x30]
mov eax, dword [esp + 0x14]
mov dword [edx + esi], eax
add esi, 8
dec edi
jne 0x430947
cmp esi, 0x1004
jl 0x430942
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
Function at 0x432ad0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 4]
push edi
cmp eax, 0xffffffff
jne 0x432aed
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x18
ret 0x10
mov ebp, dword [esp + 0x2c]
mov esi, dword [ebx + 8]
xor edi, edi
lea ecx, [esp + 0x1c]
mov edx, dword [ebp]
push edi
push ecx
push edx
push eax
mov dword [esp + 0x2c], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
mov dword [ebx + 8], eax
jne 0x432b22
mov dword [ebx + 8], esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x18
ret 0x10
mov eax, dword [ebp]
mov ecx, dword [esp + 0x38]
mov dword [ebx + 8], eax
call fcn.00427da0
push 0x4e20
xor esi, esi
call fcn.00439f84
mov ecx, dword [ebx + 8]
add esp, 4
lea edx, [esp + 0x10]
mov ebp, eax
mov eax, dword [ebx + 4]
push edi
push edx
push 0x4e20
push ebp
push eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x432b80
push ebp
call fcn.00439558
add esp, 4
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x10
mov eax, dword [esp + 0x10]
cmp eax, edi
jne 0x432b9d
push ebp
call fcn.00439558
add esp, 4
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x10
cmp eax, 4
jge 0x432bb7
push ebp
call fcn.00439558
add esp, 4
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x10
mov ecx, dword [ebx + 8]
mov edx, dword [esp + 0x30]
add ecx, eax
mov dword [esp + 0x14], eax
mov dword [ebx + 8], ecx
mov edi, dword [ebp]
cmp edi, edx
mov ecx, ebp
je 0x432c75
mov edi, dword [ecx]
cmp edi, dword [esp + 0x34]
je 0x432c75
cmp eax, 4
jl 0x432bf9
mov edi, dword [esp + 0x18]
dec eax
inc esi
inc edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
lea ecx, [esi + ebp]
jmp 0x432c6d
test eax, eax
je 0x432c27
mov ecx, eax
add esi, ebp
mov edx, ecx
lea edi, [esp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
lea esi, [esp + 0x20]
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, 0x4e20
lea ecx, [esp + 0x10]
push 0
sub edx, eax
push ecx
mov ecx, dword [ebx + 4]
add eax, ebp
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x432c81
mov eax, dword [esp + 0x10]
test eax, eax
je 0x432c81
mov edx, dword [ebx + 8]
mov ecx, dword [esp + 0x14]
add edx, eax
xor esi, esi
add ecx, eax
mov dword [ebx + 8], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
mov ecx, ebp
cmp dword [ecx], edx
jne 0x432bd4
mov eax, dword [ecx]
cmp eax, edx
je 0x432c96
cmp eax, dword [esp + 0x34]
je 0x432c96
push ebp
call fcn.00439558
add esp, 4
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x10
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
add eax, edx
mov edx, dword [esp + 0x2c]
push 4
push ecx
mov ecx, dword [esp + 0x40]
mov dword [edx], eax
call fcn.0041b2a0
push ebp
call fcn.00439558
add esp, 4
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x10
Function at 0x432cd0
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
jne 0x432ce7
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret 0xc
mov edi, dword [esp + 0x14]
mov ebx, dword [esi + 8]
lea ecx, [esp + 0xc]
push 0
push ecx
push edi
push eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
mov dword [esi + 8], eax
jne 0x432d19
mov dword [esi + 8], ebx
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret 0xc
mov dword [esi + 8], edi
mov edi, dword [esp + 0x1c]
mov ecx, edi
call fcn.00427da0
mov ebx, dword [esp + 0x18]
mov ecx, edi
push ebx
call fcn.0041b020
mov ecx, edi
call fcn.0041a8d0
test eax, eax
jne 0x432d47
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret 0xc
lea edx, [esp + 0x14]
push 0
push edx
push ebx
push eax
mov eax, dword [esi + 4]
push eax
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x432d6f
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret 0xc
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x14]
add ecx, ebx
cmp eax, ebx
mov dword [esi + 8], ecx
pop edi
pop esi
pop ebx
sete al
pop ecx
ret 0xc

Function at 0x432d90
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
jne 0x432da7
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret 0xc
mov edi, dword [esp + 0x14]
mov ebx, dword [esi + 8]
lea ecx, [esp + 0xc]
push 0
push ecx
push edi
push eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
mov dword [esi + 8], eax
jne 0x432dd9
mov dword [esi + 8], ebx
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret 0xc
mov dword [esi + 8], edi
mov edi, dword [esp + 0x1c]
mov ecx, edi
call fcn.00427da0
mov ebx, dword [esp + 0x18]
mov ecx, edi
push ebx
call fcn.0041b020
mov ecx, edi
call fcn.0041a8d0
test eax, eax
jne 0x432e07
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret 0xc
lea edx, [esp + 0x14]
push 0
push edx
push ebx
push eax
mov eax, dword [esi + 4]
push eax
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x432e2f
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret 0xc
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, edi
call fcn.0041a990
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 8]
add eax, edx
pop edi
mov dword [esi + 8], eax
pop esi
mov al, 1
pop ebx
pop ecx
ret 0xc
Function at 0x434240
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
mov eax, dword [esp + 0x18]
test ebx, ebx
jne 0x434255
mov eax, dword [esp + 0x1c]
xor edi, eax
mov ebp, 4
mov ecx, edi
shr ecx, 0x18
mov byte [esp + 0x10], cl
mov al, cl
mov edx, dword [esp + 0x10]
and al, 0x80
and edx, 0xff
neg al
sbb eax, eax
mov esi, edx
and eax, 0x14d
and esi, 0x7f
and eax, 0xff
and cl, 1
shl esi, 1
xor esi, eax
mov eax, edx
neg cl
sbb ecx, ecx
and ecx, 0xa6
shr eax, 1
xor ecx, eax
xor ecx, esi
mov eax, ecx
shl eax, 8
xor eax, esi
shl eax, 8
xor eax, ecx
xor eax, edi
shl eax, 8
xor eax, edx
dec ebp
mov edi, eax
jne 0x43425c
inc ebx
cmp ebx, 2
jl 0x434249
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x4342d0
Capabilities:
Encode data using xor
Encrypt data using twofish

Disassembly:
sub esp, 0xc
push ebx
push esi
push edi
xor edi, edi
mov esi, 0x4606e0
mov dl, byte [edi + 0x45b374]
mov al, dl
mov cl, dl
and al, 2
mov bl, dl
neg al
sbb al, al
and cl, 1
and eax, 0xb4
mov byte [esp + 0xd], cl
neg cl
sbb cl, cl
and ecx, 0x5a
shr bl, 2
xor bl, cl
mov byte [esp + 0xe], cl
xor bl, al
mov cl, dl
xor bl, dl
shr cl, 1
mov byte [esp + 0x10], bl
mov bl, byte [esp + 0xd]
xor cl, dl
shr cl, 1
neg bl
sbb bl, bl
and ebx, 0xb4
xor cl, bl
mov bl, byte [esp + 0xe]
xor cl, bl
mov bl, byte [edi + 0x45b474]
xor cl, al
mov al, bl
and al, 2
xor cl, dl
neg al
sbb al, al
and eax, 0xb4
mov byte [esp + 0xd], al
mov al, bl
and al, 1
mov byte [esp + 0xe], al
neg al
sbb al, al
and eax, 0x5a
shr bl, 2
mov byte [esp + 0xf], al
xor bl, al
mov al, byte [esp + 0xd]
xor bl, al
mov al, byte [edi + 0x45b474]
xor bl, al
mov byte [esp + 0x13], al
mov byte [esp + 0x11], bl
mov bl, byte [esp + 0x13]
shr al, 1
xor al, bl
mov bl, byte [esp + 0xe]
shr al, 1
neg bl
sbb bl, bl
and ebx, 0xb4
xor al, bl
mov bl, byte [esp + 0xf]
xor al, bl
mov bl, byte [esp + 0xd]
xor al, bl
mov bl, byte [edi + 0x45b474]
xor al, bl
mov byte [esp + 0x14], bl
mov bl, byte [esp + 0x11]
mov byte [esp + 0x16], al
mov byte [esp + 0x15], bl
mov byte [esp + 0x17], al
mov ebx, dword [esp + 0x14]
mov byte [esp + 0x14], cl
mov dword [esi - 0x400], ebx
mov bl, byte [esp + 0x10]
mov byte [esp + 0x15], cl
mov byte [esp + 0x16], bl
mov byte [esp + 0x17], dl
mov ebx, dword [esp + 0x14]
mov byte [esp + 0x15], al
mov dword [esi], ebx
mov bl, byte [esp + 0x11]
mov byte [esp + 0x14], bl
mov bl, byte [edi + 0x45b474]
mov byte [esp + 0x16], bl
mov byte [esp + 0x17], al
mov eax, dword [esp + 0x14]
mov byte [esp + 0x15], dl
mov dword [esi + 0x400], eax
mov al, byte [esp + 0x10]
mov byte [esp + 0x14], al
mov byte [esp + 0x16], cl
mov byte [esp + 0x17], al
add esi, 4
mov ecx, dword [esp + 0x14]
inc edi
mov dword [esi + 0x7fc], ecx
cmp esi, 0x460ae0
jl 0x4342dd
pop edi
pop esi
mov dword [0x45b574], 0
pop ebx
add esp, 0xc
ret
Function at 0x436360
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x9c]
cmp eax, 0xffffffff
je 0x4363e5
cmp eax, 0x40
jbe 0x43638c
lea eax, [esi + 0x40]
push eax
push esi
call fcn.004393f0
add esp, 8
mov dword [esi + 0x9c], 0x14
mov edx, dword [esi + 0x9c]
mov ecx, 0x40
push edi
sub ecx, edx
lea edi, [edx + esi]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, esi
mov ecx, 0x10
mov edx, dword [eax]
add eax, 4
xor edx, 0x36363636
dec ecx
mov dword [eax - 4], edx
jne 0x4363b4
lea edi, [esi + 0x40]
push edi
call fcn.00439320
push edi
push 0x40
push esi
call fcn.00439360
add esp, 0x10
mov dword [esi + 0x9c], 0xffffffff
pop edi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4363ff
add esi, 0x40
push esi
push eax
mov eax, dword [esp + 0x10]
push eax
call fcn.00439360
add esp, 0xc
pop esi
ret

Function at 0x436410
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push esi
push edi
mov edi, dword [esp + 0x28]
cmp dword [edi + 0x9c], 0xffffffff
je 0x43642f
push edi
push 0
push 0
call fcn.00436360
add esp, 0xc
lea esi, [edi + 0x40]
lea eax, [esp + 8]
push esi
push eax
call fcn.004393f0
add esp, 8
mov eax, edi
mov ecx, 0x10
mov edx, dword [eax]
add eax, 4
xor edx, 0x6a6a6a6a
dec ecx
mov dword [eax - 4], edx
jne 0x436447
push esi
call fcn.00439320
push esi
push 0x40
push edi
call fcn.00439360
push esi
lea ecx, [esp + 0x1c]
push 0x14
push ecx
call fcn.00439360
lea edx, [esp + 0x24]
push esi
push edx
call fcn.004393f0
mov ecx, dword [esp + 0x48]
add esp, 0x24
test ecx, ecx
jbe 0x4364a0
mov edi, dword [esp + 0x20]
mov eax, ecx
lea esi, [esp + 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
add esp, 0x14
ret