joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436c4c
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d688
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4c12d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x20]
call fcn.00404d60
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
add ecx, 0x10
call fcn.00404d60
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
add ecx, 0x20
call fcn.00404d60
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
add ecx, 0x30
call fcn.00404d60
mov byte [ebp - 4], 3
push 0x18
push 0
mov eax, dword [ebp - 0x20]
add eax, 0x40
push eax
call fcn.00408e10
add esp, 0xc
push 0x2c00
push 0
mov eax, dword [ebp - 0x20]
add eax, 0x5c
push eax
call fcn.00408e10
add esp, 0xc
push 0x300
push 0
mov eax, dword [ebp - 0x20]
add eax, 0x2c74
push eax
call fcn.00408e10
add esp, 0xc
call dword [fcn.0044f2b8]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x58], eax
mov eax, dword [ebp - 0x20]
add eax, 0x2c5c
push eax
call dword [fcn.0044f294]
and dword [ebp - 0x10], 0
and dword [ebp - 0x14], 0
call dword [fcn.0044f2b8]
push eax
call fcn.004092c1
pop ecx
and dword [ebp - 0x18], 0
jmp 0x436d2b
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x18
jge 0x436d4e
push 0x7f
push 0x21
mov ecx, dword [ebp - 0x20]
call fcn.00435d63
mov byte [ebp - 0x19], al
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x18]
mov cl, byte [ebp - 0x19]
mov byte [eax + 0x40], cl
jmp 0x436d24
cmp dword [0x4c8444], 0
je 0x436e0c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
mov ecx, dword [0x4c8444]
call fcn.0042cad3
movzx eax, al
test eax, eax
je 0x436e0c
cmp dword [ebp - 0x10], 0
je 0x436e0c
mov eax, dword [ebp - 0x10]
add eax, 0x10
push eax
mov eax, dword [ebp - 0x10]
add eax, 8
push eax
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
add eax, 0x2c74
push eax
call fcn.004350c8
add esp, 0x10
mov eax, dword [ebp - 0x14]
sub eax, 0x18
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x18
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x18
push eax
mov eax, dword [ebp - 0x20]
add eax, 0x2c74
push eax
call fcn.00434fa6
add esp, 0x10
cmp dword [ebp + 0x1c], 0x63
jge 0x436df3
push dword [ebp + 0x1c]
mov eax, dword [ebp - 0x14]
sub eax, 0x18
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x18
push eax
mov ecx, dword [ebp - 0x20]
call fcn.00436644
push 0x400
push dword [ebp - 0x10]
push 0
call dword [fcn.0044f2c4]
push eax
call fcn.0042f48c
add esp, 0xc
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 0x18
Function at 0x43c281
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
and dword [ebp - 0x28], 0
fild qword [ebp - 0x2c]
fdiv qword [0x4bc238]
push ecx
push ecx
fstp qword [esp]
call fcn.0040a9c0
pop ecx
pop ecx
fmul qword [0x4bc230]
call fcn.0044ddc6
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
cmp dword [ebp + 0x10], 0
jne 0x43c2c9
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
jmp 0x43c420
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jae 0x43c3e6
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jae 0x43c300
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
movzx eax, byte [eax]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
jmp 0x43c304
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jae 0x43c327
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
movzx eax, byte [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
jmp 0x43c32b
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jae 0x43c34e
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
movzx eax, byte [eax]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
jmp 0x43c352
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
shl eax, 0x10
mov ecx, dword [ebp - 0x1c]
shl ecx, 8
add eax, dword [ebp - 0x10]
add ecx, eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
shr eax, 0x12
and eax, 0x3f
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
mov al, byte [eax + 0x4c40b8]
mov byte [ecx], al
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
shr eax, 0xc
and eax, 0x3f
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
mov al, byte [eax + 0x4c40b8]
mov byte [ecx], al
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
shr eax, 6
and eax, 0x3f
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
mov al, byte [eax + 0x4c40b8]
mov byte [ecx], al
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
and eax, 0x3f
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
mov al, byte [eax + 0x4c40b8]
mov byte [ecx], al
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
jmp 0x43c2d7
and dword [ebp - 0x20], 0
jmp 0x43c3f3
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
push 3
pop ecx
div ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax + edx*4 + 4]
jge 0x43c41b
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
dec eax
sub eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
mov byte [ecx + eax], 0x3d
jmp 0x43c3ec
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
leave
ret 0x10
Function at 0x43c6a3
Capabilities:
Check for vm using instruction vpcext

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4bd848
push 0x40a700
mov eax, dword fs:[0]
push eax
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4c12d4]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 0xc]
add eax, dword [ebp + 0x10]
mov dword [ebp + 8], eax
and dword [ebp - 4], 0
mov eax, 1
invalid

Function at 0x43c735
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4bd868
push 0x40a700
mov eax, dword fs:[0]
push eax
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4c12d4]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x19], 1
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
and dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x19]
pop ebx
pop ecx
pop edx
mov dword [ebp - 4], 0xfffffffe
jmp 0x43c7b9
mov eax, dword [ebp + 0xc]
add eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43c9e0
Capabilities:
Check for vm using instruction vpcext

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4bda78
push 0x40a700
mov eax, dword fs:[0]
push eax
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4c12d4]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x19], 0
mov eax, dword [ebp + 0xc]
add eax, dword [ebp + 0x10]
mov dword [ebp + 8], eax
and dword [ebp - 4], 0
push ebx
mov ebx, 0
mov eax, 1
invalid
Function at 0x40db20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x477f0b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [str.RtlUnwind]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi], ebx
mov ecx, dword [0x47c288]
mov dword [esi + 0xc], ecx
mov edx, dword [0x47c28c]
mov dword [esi + 0x10], edx
mov ecx, dword [0x47c290]
mov dword [esi + 0x14], ecx
mov edx, dword [str.english_usa]
mov dword [esi + 0x18], edx
mov dword [esi + 8], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], eax
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov dword [esi + 0x30], edi
cmp edi, ebx
je 0x40dbf4
mov eax, dword [edi]
mov ecx, dword [eax + 0x10]
push esi
push edi
call ecx
cmp eax, ebx
mov eax, dword [esi + 0x30]
jl 0x40dbe5
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x30]
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp + 8]
mov dword [ebp + 8], ebx
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x48]
call eax
cmp eax, ebx
jl 0x40dbf4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
lea eax, [esi + 4]
push eax
mov eax, dword [edx + 0x20]
push ecx
call eax
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x40dbf4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp + 8], ebx
jmp 0x40dbf4
cmp eax, ebx
je 0x40dbf4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0x30], ebx
push 8
call fcn.0045695d
mov ebx, eax
add esp, 4
mov dword [ebp + 8], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x40dc25
mov dword [ebx], str.Invalid__struct_s..._Expected_a_field_name___out_
mov dword [ebx + 4], edi
test edi, edi
je 0x40dc27
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
jmp 0x40dc27
xor ebx, ebx
mov dword [esi + 0x28], ebx
lea eax, [esi + 0x34]
mov ecx, 0x96
mov dword [eax], 0
add eax, 0x10
dec ecx
jne 0x40dc32
mov eax, dword [0x4961f8]
mov dword [esi + 0x994], eax
inc eax
mov dword [0x4961f8], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x42e5d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov eax, 0x47d948
push esi
sub eax, 0xbc
push edi
mov dword [esp + 0x14], 0xbc
mov dword [esp + 0x1c], eax
jmp 0x42e5f8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov esi, dword [eax + ecx]
mov eax, esi
mov dword [esp + 0x10], esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42e608
sub eax, edx
mov edi, eax
mov ecx, edi
shr ecx, 5
inc ecx
mov ebx, edi
mov dword [esp + 0x18], edi
mov edx, edi
cmp edi, ecx
jb 0x42e648
movzx eax, byte [esi + edx - 1]
mov esi, ebx
shl esi, 5
add eax, esi
mov esi, ebx
shr esi, 2
add eax, esi
mov esi, dword [esp + 0x10]
sub edx, ecx
xor ebx, eax
cmp edx, ecx
jae 0x42e625
mov dword [esp + 0x18], ebx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov edx, dword [eax + 8]
mov eax, dword [eax]
dec edx
and edx, ebx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x42e6b6
lea ecx, [ecx]
cmp dword [eax + 0xc], edi
jne 0x42e6b0
mov ecx, edi
lea edx, [eax + 0x10]
cmp edi, 4
jb 0x42e684
nop
mov ebx, dword [esi]
cmp ebx, dword [edx]
jne 0x42e6a8
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x42e670
test ecx, ecx
je 0x42e6f6
mov bl, byte [edx]
cmp bl, byte [esi]
jne 0x42e6a8
cmp ecx, 1
jbe 0x42e6f6
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
jne 0x42e6a8
cmp ecx, 2
jbe 0x42e6f6
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
je 0x42e6f6
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
jne 0x42e660
mov eax, dword [ebp + 8]
push esi
push eax
mov eax, ebx
call fcn.0042fc50
add esp, 8
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
mov esi, dword [edx + 0x10]
mov dword [ecx + esi], eax
mov edx, dword [edx + 0x10]
mov eax, dword [ecx + edx]
or byte [eax + 5], 0x20
add ecx, 4
mov dword [esp + 0x14], ecx
cmp ecx, 0x100
jl 0x42e5f4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov cl, byte [eax + 5]
mov esi, dword [esi + 0x10]
movzx ebx, byte [esi + 0x14]
movzx edx, cl
and edx, 3
not ebx
test bl, dl
je 0x42e6c5
xor cl, 3
mov byte [eax + 5], cl
jmp 0x42e6c5
Function at 0x42fd20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov ecx, edi
shr ecx, 5
inc ecx
mov ebx, edi
mov dword [esp + 0xc], edi
mov edx, edi
cmp edi, ecx
jb 0x42fd61
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + edx - 1]
mov esi, ebx
shl esi, 5
add eax, esi
mov esi, ebx
shr esi, 2
add eax, esi
sub edx, ecx
xor ebx, eax
cmp edx, ecx
jae 0x42fd3f
mov dword [esp + 0xc], ebx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov edx, dword [eax + 8]
mov eax, dword [eax]
dec edx
and edx, ebx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x42fdca
cmp dword [eax + 0xc], edi
jne 0x42fdc4
mov esi, dword [ebp + 0xc]
mov ecx, edi
lea edx, [eax + 0x10]
cmp edi, 4
jb 0x42fd9c
mov ebx, dword [esi]
cmp ebx, dword [edx]
jne 0x42fdc0
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x42fd88
test ecx, ecx
je 0x42fde3
mov bl, byte [edx]
cmp bl, byte [esi]
jne 0x42fdc0
cmp ecx, 1
jbe 0x42fde3
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
jne 0x42fdc0
cmp ecx, 2
jbe 0x42fde3
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
je 0x42fde3
mov ebx, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
jne 0x42fd76
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
mov eax, ebx
call fcn.0042fc50
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x10]
mov cl, byte [eax + 5]
movzx edx, byte [edx + 0x14]
movzx ebx, cl
not edx
and ebx, 3
test bl, dl
je 0x42fddc
pop edi
xor cl, 3
pop esi
mov byte [eax + 5], cl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x445430
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [str.RtlUnwind]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x41c], ecx
lea ecx, [ebp - 0x40c]
push edi
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0x414], 0
mov edi, 0x400
jmp 0x445486
mov eax, dword [ebp - 0x410]
lea edx, [ebp - 0x40c]
sub ecx, edx
mov dword [ebp - 0x424], ecx
je 0x4454f0
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x44]
mov esi, eax
cmp edx, dword [ecx + 0x40]
jb 0x4454a8
call fcn.0042a160
mov eax, dword [ebp - 0x424]
mov ebx, dword [esi + 8]
push eax
lea ecx, [ebp - 0x40c]
push ecx
push esi
call fcn.0042fd20
mov dword [ebx], eax
mov dword [ebx + 8], 4
add dword [esi + 8], 0x10
inc dword [ebp - 0x414]
lea eax, [ebp - 0x418]
add esp, 0xc
lea edx, [ebp - 0x40c]
push eax
mov dword [ebp - 0x418], edx
call fcn.0041eca0
add esp, 4
mov ebx, dword [ebp + 0xc]
cmp edi, ebx
jbe 0x4454f9
mov edi, ebx
mov ecx, dword [ebp - 0x41c]
push ecx
push edi
lea edx, [ebp - 0x40c]
push 1
push edx
call fcn.0045d872
mov ecx, dword [ebp - 0x418]
add ecx, eax
add esp, 0x10
sub ebx, eax
mov dword [ebp - 0x418], ecx
mov dword [ebp + 0xc], ebx
je 0x44552f
cmp eax, edi
je 0x445480
lea eax, [ebp - 0x40c]
sub ecx, eax
mov edi, ecx
je 0x445589
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x44]
mov esi, eax
cmp edx, dword [ecx + 0x40]
jb 0x445553
call fcn.0042a160
mov ebx, dword [esi + 8]
push edi
lea eax, [ebp - 0x40c]
push eax
push esi
call fcn.0042fd20
mov dword [ebx], eax
mov dword [ebx + 8], 4
add dword [esi + 8], 0x10
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x40c]
add esp, 0xc
inc dword [ebp - 0x414]
mov dword [ebp - 0x418], ecx
mov eax, dword [ebp - 0x414]
mov esi, dword [ebp - 0x410]
call fcn.0041beb0
mov dword [ebp - 0x414], 1
test ebx, ebx
je 0x445606
mov edi, dword [ebp - 0x420]
mov esi, dword [edi + 8]
mov eax, dword [esi - 8]
sub esi, 0x10
add eax, 0xfffffffd
cmp eax, 4
ja 0x4455f3
jmp dword [eax*4 + 0x444a1c]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00456703
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00456703
mov esp, ebp
pop ebp
ret
Function at 0x448030
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
mov esi, dword [eax*4 + 0x47d040]
mov eax, esi
mov dword [esp + 0xc], esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x448058
sub eax, edx
mov edi, eax
mov ecx, edi
shr ecx, 5
inc ecx
mov ebx, edi
mov dword [esp + 0x14], edi
mov edx, edi
cmp edi, ecx
jb 0x448098
movzx eax, byte [esi + edx - 1]
mov esi, ebx
shl esi, 5
add eax, esi
mov esi, ebx
shr esi, 2
add eax, esi
mov esi, dword [esp + 0xc]
sub edx, ecx
xor ebx, eax
cmp edx, ecx
jae 0x448075
mov dword [esp + 0x14], ebx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov edx, dword [eax + 8]
mov eax, dword [eax]
dec edx
and edx, ebx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x448112
lea ecx, [ecx]
cmp dword [eax + 0xc], edi
jne 0x44810c
mov ecx, edi
lea edx, [eax + 0x10]
cmp edi, 4
jb 0x4480d4
nop
mov ebx, dword [esi]
cmp ebx, dword [edx]
jne 0x448104
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x4480c0
test ecx, ecx
je 0x448183
mov bl, byte [edx]
cmp bl, byte [esi]
jne 0x448104
cmp ecx, 1
jbe 0x448183
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
jne 0x448104
cmp ecx, 2
jbe 0x448183
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
je 0x448183
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
jne 0x4480b0
mov eax, dword [ebp + 8]
push esi
push eax
mov eax, ebx
call fcn.0042fc50
add esp, 8
mov ecx, dword [esp + 0x10]
or byte [eax + 5], 0x20
lea edx, [ecx + 1]
inc ecx
mov byte [eax + 6], dl
mov dword [esp + 0x10], ecx
cmp ecx, 0x1f
jl 0x448044
mov ecx, dword [0x47d118]
test ecx, ecx
je 0x44817c
mov esi, 0x47d118
mov bl, 0x2d
mov edi, edi
mov eax, ecx
add esi, 4
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x448158
sub eax, edi
push eax
mov eax, dword [ebp + 8]
push ecx
push eax
call fcn.0042fd20
or byte [eax + 5], 0x20
mov byte [eax + 6], bl
mov ecx, dword [esi]
add esp, 0xc
test ecx, ecx
jne 0x448150
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov cl, byte [eax + 5]
mov esi, dword [esi + 0x10]
movzx ebx, byte [esi + 0x14]
movzx edx, cl
and edx, 3
not ebx
test bl, dl
je 0x448121
xor cl, 3
mov byte [eax + 5], cl
jmp 0x448121
Function at 0x449840
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, eax
mov eax, dword [ebx]
push edi
push esi
push eax
mov eax, ebx
call fcn.00448e60
mov eax, dword [esi]
mov ecx, dword [ebx + 0x34]
add eax, 0x10
call fcn.0041cdd0
mov esi, eax
push 0x480d0c
push esi
call fcn.00457465
mov edi, eax
add esp, 0x10
mov dword [ebp - 8], edi
test edi, edi
jne 0x4498d5
mov ecx, dword [ebx + 0x34]
push esi
push 0x480d10
push ecx
call fcn.004304d0
mov esi, dword [ebx + 0x34]
mov dword [ebp - 4], eax
mov eax, dword [esi + 8]
lea ecx, [eax - 0x10]
add esp, 0xc
cmp ecx, eax
jae 0x4498bf
lea edx, [ecx - 0x10]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [edx + 0x18]
mov dword [edx + 8], eax
add ecx, 0x10
add edx, 0x10
cmp ecx, dword [esi + 8]
jb 0x4498a4
mov ecx, dword [ebp - 4]
add dword [esi + 8], 0xfffffff0
push 0x131
push ecx
push ebx
call fcn.004483e0
add esp, 0xc
mov eax, dword [ebx + 0x34]
add dword [eax + 8], 0xfffffff0
mov edx, dword [ebx + 0x3c]
mov dword [edx + 4], 0
mov eax, dword [ebx + 0x3c]
mov ecx, dword [eax + 8]
mov edx, dword [eax]
mov eax, dword [ebx + 0x34]
push 0x400
push ecx
push edx
push eax
call fcn.0044b270
mov ecx, dword [ebx + 0x3c]
mov dword [ecx], eax
mov edx, dword [ebx + 0x3c]
mov dword [edx + 8], 0x400
mov esi, dword [ebx + 0x3c]
mov eax, dword [esi]
add eax, dword [esi + 4]
push edi
push 0x400
push 1
push eax
call fcn.0045d872
add esp, 0x20
test eax, eax
je 0x4499aa
mov edi, edi
add dword [esi + 4], eax
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
add ecx, 0x400
cmp ecx, eax
jbe 0x449990
lea edi, [eax + eax]
cmp edi, 0x7ffffffe
jb 0x44995e
push 0
push 0x480ba0
push ebx
call fcn.004483e0
add esp, 0xc
lea ecx, [edi + 1]
cmp ecx, 0xfffffffd
ja 0x44997c
mov edx, dword [esi + 8]
mov eax, dword [esi]
mov ecx, dword [ebx + 0x34]
push edi
push edx
push eax
push ecx
call fcn.0044b270
add esp, 0x10
jmp 0x449988
mov edx, dword [ebx + 0x34]
push edx
call fcn.0044b250
add esp, 4
mov dword [esi + 8], edi
mov edi, dword [ebp - 8]
mov dword [esi], eax
mov eax, dword [esi]
add eax, dword [esi + 4]
push edi
push 0x400
push 1
push eax
call fcn.0045d872
add esp, 0x10
test eax, eax
jne 0x449930
push edi
call fcn.00457763
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
add esp, 4
call fcn.004484e0
mov ecx, dword [ebp + 8]
pop edi
pop esi
mov dword [ecx], eax
mov eax, 0x131
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44b730
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
test esi, esi
je 0x44b76b
push 0x497900
call dword [0x4790dc]
mov edi, esi
call fcn.0044b3c0
mov edi, eax
test edi, edi
je 0x44b76b
inc dword [edi + 0x14]
push 0x497900
call dword [0x4790d8]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x44b78f
test esi, esi
je 0x44b787
push 0x497900
call dword [0x4790d8]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [eax + 0x3c]
add ebx, eax
cmp dword [ebx], 0x4550
je 0x44b7a4
test esi, esi
jmp 0x44b89a
mov edx, dword [ebx + 0x50]
mov eax, dword [ebx + 0x34]
mov esi, dword [0x47909c]
push 4
push 0x2000
push edx
push eax
call esi
mov edi, eax
test edi, edi
jne 0x44b7d9
mov ecx, dword [ebx + 0x50]
push 4
push 0x2000
push ecx
push eax
call esi
mov edi, eax
test edi, edi
je 0x44b896
push 0x1c
push 0
call dword [0x479124]
push eax
call dword [0x47911c]
mov esi, eax
xor eax, eax
push 4
mov dword [esi + 4], edi
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
mov dword [esi + 0x10], eax
mov edx, dword [ebx + 0x50]
push 0x1000
push edx
push edi
call dword [0x47909c]
mov eax, dword [ebx + 0x54]
push 4
push 0x1000
push eax
push edi
call dword [0x47909c]
mov ecx, dword [ebp + 8]
mov edx, dword [ebx + 0x54]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 4], eax
push edx
push ecx
push eax
call fcn.00467e80
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x3c]
add eax, dword [ebp - 4]
push esi
push ebx
mov dword [esi], eax
push ecx
mov dword [eax + 0x34], edi
call fcn.0044b400
mov eax, edi
add esp, 0x18
sub eax, dword [ebx + 0x34]
je 0x44b85d
push eax
mov eax, esi
call fcn.0044b580
add esp, 4
push esi
call fcn.0044b610
add esp, 4
test eax, eax
je 0x44b88f
push esi
call fcn.0044b4b0
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
add esp, 4
mov ebx, 1
test eax, eax
je 0x44b8b3
add eax, edi
je 0x44b88f
push 0
push ebx
push edi
call eax
test eax, eax
jne 0x44b8b0
mov eax, esi
call fcn.0044ba00
cmp dword [ebp + 0xc], 0
je 0x44b8a7
push 0x497900
call dword [0x4790d8]
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x10], ebx
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x14], ebx
test eax, eax
je 0x44b8e4
push eax
call fcn.0045e8e6
add esp, 4
mov edi, esi
mov dword [esi + 0x18], eax
call fcn.0044b2c0
push 0x497900
call dword [0x4790d8]
pop ebx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x14], ebx
pop ebx
pop edi
mov dword [esi + 0x18], 0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret