joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47f988
Capabilities:
Inspect section memory permissions

Disassembly:
add eax, esi
cmp dword [eax], ebx
je 0x47f9e1
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x47f9dc
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x47f9c6
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x47f9ce
cmp edx, ebx
jne 0x47fb1c
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x47f99d
add eax, dword [eax + 4]
jmp 0x47f98a
mov dword [ebp + 0xc], ebx
jmp 0x47f9ec
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x47fa04
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x47fa22
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x47fa80
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x47fa67
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x47fa70
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x47fa7a
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x47fa5c
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x47f9e6
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x47facd
dec eax
je 0x47fac4
sub eax, 3
je 0x47fabb
mov dword [ebp - 4], 0x40
jmp 0x47faea
mov dword [ebp - 4], 4
jmp 0x47fad0
mov dword [ebp - 4], 0x20
jmp 0x47fad0
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x47fb1c
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x47fa9c
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0047f32d
psraw mm4, qword [ebx - 0x21]
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x47fb28
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4806ca
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [ebp - 0x6e0]
push eax
push dword [ebp - 0x378]
push dword [ebp - 4]
push dword [ebp - 0x66c]
call dword [ebp - 0x6c8]
mov dword [ebp - 0x6cc], eax
push dword [ebp - 0x66c]
call dword [ebp - 0x680]
cmp dword [ebp - 0x6cc], 0
je 0x4814c0
push 5
mov eax, dword [ebp - 0x378]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 0x1d]
push eax
lea eax, [ebp - 0x394]
push eax
call fcn.0047f29e
add esp, 0xc
and dword [ebp - 0x700], 0
jmp 0x48073a
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x480783
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x48072d
call fcn.0047f32d
pop ecx
jns 0x4807a8
add dword [eax - 0x72b5b], 0xa58000ff
aad 0xf8
invalid
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
invalid
invalid

Function at 0x481020
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax], al
add byte [eax - 0x7ab5b], al
inc dword [eax]
and byte [ebp - 0x7ab], 0
mov byte [ebp - 0x7aa], 0xed
and byte [ebp - 0x7a9], 0
mov byte [ebp - 0x7a8], 0x4e
mov byte [ebp - 0x7a7], 0x55
mov byte [ebp - 0x7a6], 0x56
mov byte [ebp - 0x7a5], 0x7e
mov byte [ebp - 0x7a4], 0x21
mov byte [ebp - 0x7a3], 0x20
mov byte [ebp - 0x7a2], 0x3c
mov byte [ebp - 0x7a1], 0x76
mov byte [ebp - 0x7a0], 0x7e
mov byte [ebp - 0x79f], 0x7e
mov byte [ebp - 0x79e], 0x12
push 0xb
lea eax, [ebp - 0x7ac]
push eax
call fcn.0047f33d
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.0047f29e
add esp, 0xc
jmp 0x4812a5
Function at 0x401360
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x20]
mov dword [0x4ea688], eax
cmp eax, 0x10
jb 0x401382
cmp eax, 4
jae 0x401387
call fcn.004010d0
push 0x10
push 0x4ea678
call fcn.004013e0
add esp, 8
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4018e0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov edx, dword [ecx]
mov dword [eax + 0x14], edx
mov edx, dword [ecx + 4]
mov dword [eax + 0x28], edx
mov edx, dword [ecx + 8]
mov dword [eax + 0x3c], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x30], edx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x1c], edx
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x10], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x24], edx
mov ecx, dword [ecx + 0x1c]
mov dword [eax + 0x38], ecx
mov dword [eax], 0x61707865
mov dword [eax + 4], 0x3320646e
mov dword [eax + 8], 0x79622d32
mov dword [eax + 0xc], 0x6b206574
ret
Function at 0x402e80
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov dword [eax], 0x61707865
mov dword [eax + 4], 0x3320646e
mov dword [eax + 8], 0x79622d32
mov dword [eax + 0xc], 0x6b206574
mov edx, dword [ecx]
mov dword [eax + 0x10], edx
mov edx, dword [ecx + 4]
mov dword [eax + 0x14], edx
mov edx, dword [ecx + 8]
mov dword [eax + 0x18], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x1c], edx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x20], edx
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x24], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x28], edx
mov ecx, dword [ecx + 0x1c]
mov dword [eax + 0x2c], ecx
ret
Function at 0x406930
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4e5258]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push ebx
push esi
mov byte [ebp - 0xc], al
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov eax, dword [ebp + 8]
mov esi, 0x4c5c40
push edi
sub esi, eax
mov edi, 0x1f
mov edi, edi
mov cl, byte [eax]
movzx edx, byte [esi + eax - 0x20]
xor dl, cl
or byte [ebp - 0xc], dl
movzx edx, byte [esi + eax]
xor dl, cl
or byte [ebp - 0xb], dl
movzx edx, byte [esi + eax + 0x20]
xor dl, cl
or byte [ebp - 0xa], dl
movzx edx, byte [esi + eax + 0x40]
xor dl, cl
or byte [ebp - 9], dl
movzx edx, byte [esi + eax + 0x60]
xor dl, cl
or byte [ebp - 8], dl
movzx edx, byte [esi + eax + 0x80]
xor dl, cl
or byte [ebp - 7], dl
movzx edx, byte [esi + eax + 0xa0]
xor dl, cl
or byte [ebp - 6], dl
inc eax
dec edi
jne 0x406960
mov eax, dword [ebp + 8]
mov al, byte [eax + 0x1f]
mov cl, byte [ebp - 0xc]
mov dl, byte [ebp - 9]
and al, 0x7f
or byte [ebp - 0xb], al
or byte [ebp - 0xa], al
mov bl, al
or cl, al
xor al, 0x7f
or byte [ebp - 8], al
or byte [ebp - 7], al
movzx esi, byte [ebp - 7]
xor bl, 0x57
or dl, bl
mov bl, byte [ebp - 6]
or bl, al
movzx eax, bl
dec eax
dec esi
or eax, esi
movzx esi, byte [ebp - 8]
movzx edx, dl
dec edx
dec esi
or eax, esi
or eax, edx
movzx edx, byte [ebp - 0xa]
dec edx
or eax, edx
movzx edx, byte [ebp - 0xb]
movzx ecx, cl
dec edx
or eax, edx
dec ecx
or eax, ecx
mov ecx, dword [ebp - 4]
pop edi
shr eax, 8
pop esi
xor ecx, ebp
and eax, 1
pop ebx
call fcn.004adff8
mov esp, ebp
pop ebp
ret
Function at 0x4078c0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, eax
lea ecx, [edx + 0x18]
lea eax, [esi + 8]
sub edx, esi
push edi
mov esi, 0x20
mov edi, dword [ecx - 0x18]
xor dword [eax - 8], edi
mov edi, dword [ecx - 0x14]
xor dword [eax - 4], edi
mov edi, dword [edx + eax]
xor dword [eax], edi
mov edi, dword [edx + eax + 4]
xor dword [eax + 4], edi
mov edi, dword [ecx - 8]
xor dword [eax + 8], edi
mov edi, dword [ecx - 4]
xor dword [eax + 0xc], edi
mov edi, dword [ecx]
xor dword [eax + 0x10], edi
mov edi, dword [ecx + 4]
xor dword [eax + 0x14], edi
add eax, 0x20
add ecx, 0x20
dec esi
jne 0x4078d1
pop edi
pop esi
ret
Function at 0x40e090
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
mov bl, byte [ebp + 0xc]
push edi
mov al, bl
call fcn.0040e040
mov byte [ebp + 0xc], al
neg al
and al, bl
add al, al
sub bl, al
mov eax, esi
call fcn.0040dfc0
mov cl, 1
mov al, bl
call fcn.0040e030
mov edi, dword [ebp + 8]
movzx eax, al
push eax
push esi
call fcn.0040e050
mov cl, 2
mov al, bl
call fcn.0040e030
movzx ecx, al
push ecx
add edi, 0x78
push esi
call fcn.0040e050
mov cl, 3
mov al, bl
call fcn.0040e030
mov edi, dword [ebp + 8]
movzx edx, al
push edx
add edi, 0xf0
push esi
call fcn.0040e050
mov cl, 4
mov al, bl
call fcn.0040e030
mov edi, dword [ebp + 8]
movzx eax, al
push eax
add edi, 0x168
push esi
call fcn.0040e050
mov cl, 5
mov al, bl
call fcn.0040e030
mov edi, dword [ebp + 8]
movzx ecx, al
push ecx
add edi, 0x1e0
push esi
call fcn.0040e050
mov cl, 6
mov al, bl
call fcn.0040e030
mov edi, dword [ebp + 8]
movzx edx, al
push edx
add edi, 0x258
push esi
call fcn.0040e050
mov cl, 7
mov al, bl
call fcn.0040e030
mov edi, dword [ebp + 8]
movzx eax, al
push eax
add edi, 0x2d0
push esi
call fcn.0040e050
mov cl, 8
mov al, bl
call fcn.0040e030
mov edi, dword [ebp + 8]
movzx ecx, al
push ecx
add edi, 0x348
push esi
call fcn.0040e050
mov edx, dword [esi + 0x28]
mov ecx, dword [esi + 0x30]
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x78], edx
mov edx, dword [esi + 0x34]
mov dword [ebp - 0x70], ecx
mov ecx, dword [esi + 0x3c]
mov dword [ebp - 0x6c], edx
mov edx, dword [esi + 0x40]
mov dword [ebp - 0x74], eax
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x64], ecx
mov ecx, dword [esi + 0x48]
mov dword [ebp - 0x60], edx
mov edx, dword [esi + 0x4c]
mov dword [ebp - 0x68], eax
mov eax, dword [esi + 0x44]
mov dword [ebp - 0x58], ecx
mov ecx, dword [esi + 4]
mov dword [ebp - 0x54], edx
mov edx, dword [esi + 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [esi]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x48], edx
mov edx, dword [esi + 0x14]
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x40], ecx
mov ecx, dword [esi + 0x1c]
mov dword [ebp - 0x3c], edx
mov edx, dword [esi + 0x20]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x34], ecx
mov ecx, dword [esi + 0x50]
mov dword [ebp - 0x30], edx
mov edx, dword [esi + 0x54]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x24]
neg ecx
neg edx
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x58]
mov dword [ebp - 0x28], ecx
mov ecx, dword [esi + 0x5c]
mov dword [ebp - 0x24], edx
mov edx, dword [esi + 0x60]
neg eax
neg ecx
neg edx
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi + 0x68]
mov dword [ebp - 0x18], edx
mov edx, dword [esi + 0x6c]
neg eax
neg ecx
neg edx
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x70]
mov dword [ebp - 0x10], ecx
mov ecx, dword [esi + 0x74]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp + 0xc]
add esp, 0x40
push edx
neg eax
neg ecx
push esi
lea edi, [ebp - 0x78]
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
call fcn.0040e050
add esp, 8
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40e430
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp + 0xc], ecx
mov dword [ebp + 8], eax
mov edx, dword [ebp + 0xc]
movzx edx, byte [edx + eax]
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + eax]
xor ecx, edx
or dword [ebp + 8], ecx
inc eax
cmp eax, 0x10
jl 0x40e445
mov eax, dword [ebp + 8]
dec eax
shr eax, 8
and eax, 1
dec eax
mov esp, ebp
pop ebp
ret

Function at 0x41fc80
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0x10325476
xor eax, eax
pop ebp
ret
Function at 0x424770
Capabilities:
Encrypt data using camellia

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax]
xor edx, dword [ecx]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + 4]
xor edx, dword [ecx + 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
shr eax, 0x18
and eax, 0xff
movzx ecx, byte [eax + 0x4d3628]
shl ecx, 0x18
mov edx, dword [ebp - 8]
shr edx, 0x10
and edx, 0xff
movzx eax, byte [edx + 0x4d3898]
shl eax, 0x10
or ecx, eax
mov edx, dword [ebp - 8]
shr edx, 8
and edx, 0xff
movzx eax, byte [edx + 0x4d3a48]
shl eax, 8
or ecx, eax
mov edx, dword [ebp - 8]
and edx, 0xff
movzx eax, byte [edx + 0x4d3440]
or ecx, eax
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 4]
shr ecx, 0x18
and ecx, 0xff
movzx edx, byte [ecx + 0x4d3898]
shl edx, 0x18
mov eax, dword [ebp - 4]
shr eax, 0x10
and eax, 0xff
movzx ecx, byte [eax + 0x4d3a48]
shl ecx, 0x10
or edx, ecx
mov eax, dword [ebp - 4]
shr eax, 8
and eax, 0xff
movzx ecx, byte [eax + 0x4d3440]
shl ecx, 8
or edx, ecx
mov eax, dword [ebp - 4]
and eax, 0xff
movzx ecx, byte [eax + 0x4d3628]
or edx, ecx
mov dword [ebp - 4], edx
mov edx, dword [ebp - 4]
shl edx, 8
mov eax, dword [ebp - 4]
shr eax, 0x18
or edx, eax
xor edx, dword [ebp - 8]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
shl ecx, 0x10
mov edx, dword [ebp - 8]
shr edx, 0x10
or ecx, edx
xor ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
shr eax, 8
mov ecx, dword [ebp - 4]
shl ecx, 0x18
or eax, ecx
xor eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
shr edx, 8
mov eax, dword [ebp - 8]
shl eax, 0x18
or edx, eax
xor edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
xor edx, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
xor edx, dword [ebp - 8]
mov eax, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov esp, ebp
pop ebp
ret
Function at 0x426240
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
cmp dword [ebp + 0x10], 0x20
jb 0x426266
cmp dword [ebp + 0x10], 0x1c0
ja 0x426266
mov eax, dword [ebp + 0x10]
xor edx, edx
mov ecx, 8
div ecx
test edx, edx
je 0x426270
mov eax, 0xffffffea
jmp 0x426426
mov edx, dword [ebp + 0x10]
shr edx, 3
mov dword [ebp + 0x10], edx
mov dword [ebp - 4], 0
jmp 0x42628b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jae 0x4262d3
mov dword [ebp - 8], 0
jmp 0x4262a3
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x100
jae 0x4262d1
mov edx, dword [ebp - 4]
shl edx, 0xa
mov eax, dword [ebp - 4]
shl eax, 0xa
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax + 0x48]
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 8]
mov edx, dword [edx + esi*4 + 0x4d3d90]
mov dword [eax + ecx*4], edx
jmp 0x42629a
jmp 0x426282
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
jmp 0x4262ec
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x12
jae 0x426357
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
jmp 0x42630b
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 4
jae 0x42633f
mov edx, dword [ebp - 0x18]
shl edx, 8
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 8]
movzx ecx, byte [eax]
or edx, ecx
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x10]
jb 0x42633d
mov dword [ebp - 8], 0
jmp 0x426302
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*4 + 0x4d3d48]
xor edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [ecx + eax*4], edx
jmp 0x4262e3
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
jmp 0x426377
mov edx, dword [ebp - 4]
add edx, 2
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0x12
jae 0x4263ac
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004260a0
add esp, 0xc
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [ecx + eax*4 + 4], edx
jmp 0x42636e
mov dword [ebp - 4], 0
jmp 0x4263be
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jae 0x426424
mov dword [ebp - 8], 0
jmp 0x4263d6
mov ecx, dword [ebp - 8]
add ecx, 2
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x100
jae 0x426422
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004260a0
add esp, 0xc
mov edx, dword [ebp - 4]
shl edx, 0xa
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0x48]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp - 4]
shl ecx, 0xa
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x48]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + ecx*4 + 4], edx
jmp 0x4263cd
jmp 0x4263b5
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42ab10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
add ecx, 8
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
jmp 0x42ab42
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jae 0x42abbe
mov ecx, dword [ebp - 0xc]
add ecx, 1
and ecx, 0xff
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0xc]
movzx eax, byte [edx]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x14]
and ecx, 0xff
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x10]
movzx eax, byte [edx]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
mov dl, byte [ebp - 0x18]
mov byte [ecx], dl
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x10]
mov cl, byte [ebp - 0x14]
mov byte [eax], cl
mov edx, dword [ebp + 0x10]
add edx, dword [ebp - 8]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x18]
movzx edx, cl
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + edx]
xor eax, edx
mov ecx, dword [ebp + 0x14]
add ecx, dword [ebp - 8]
mov byte [ecx], al
jmp 0x42ab39
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 4], edx
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x43b100
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4e5258]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
je 0x43b127
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x43b12e
mov al, 1
jmp 0x43b202
call fcn.0043e5d0
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x3c], eax
call fcn.0043e5d0
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.0043e600
add esp, 8
movzx eax, al
test eax, eax
je 0x43b16a
xor al, al
jmp 0x43b202
mov dword [ebp - 0x48], 0x20
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x40
push ecx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 0x38]
call fcn.00440a60
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x43b1a6
cmp dword [ebp - 0x30], 1
je 0x43b1ad
cmp dword [ebp - 0x30], 3
je 0x43b1fc
jmp 0x43b200
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3d], 0
mov ecx, dword [ebp - 0x44]
lea edx, [ebp - 0x28]
sub ecx, edx
mov dword [ebp - 0x34], ecx
je 0x43b1dc
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push 1
lea eax, [ebp - 0x28]
push eax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
cmp dword [ebp - 0x34], eax
je 0x43b1dc
xor al, al
jmp 0x43b202
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x43b1f0
mov dword [ebp - 0x38], 1
jmp 0x43b1f7
mov dword [ebp - 0x38], 0
mov al, byte [ebp - 0x38]
jmp 0x43b202
mov al, 1
jmp 0x43b202
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004adff8
mov esp, ebp
pop ebp
ret
Function at 0x43f860
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x4e5258]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov dword [ebp - 0x2c], ecx
call fcn.0043e5d0
mov dword [ebp - 0x44], eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.0043e600
add esp, 8
movzx edx, al
test edx, edx
je 0x43f8a5
lea eax, [ebp + 8]
push eax
call fcn.0043f5f0
add esp, 4
jmp 0x43fa26
mov ecx, dword [ebp - 0x2c]
call fcn.0043fd70
test eax, eax
je 0x43f8e7
mov ecx, dword [ebp - 0x2c]
call fcn.0043fd70
mov esi, eax
mov ecx, dword [ebp - 0x2c]
call fcn.0043e5e0
cmp esi, eax
jae 0x43f8e7
lea ecx, [ebp + 8]
push ecx
call fcn.004406d0
add esp, 4
mov bl, al
mov ecx, dword [ebp - 0x2c]
call fcn.0043c770
mov byte [eax], bl
mov eax, dword [ebp + 8]
jmp 0x43fa26
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x4c], 0
jne 0x43f8fa
call fcn.0043e5d0
jmp 0x43fa26
mov ecx, dword [ebp - 0x2c]
call fcn.0043c7e0
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
jne 0x43f949
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x4c]
push edx
lea eax, [ebp + 8]
push eax
call fcn.004406d0
add esp, 4
movzx ecx, al
push ecx
call fcn.00432810
add esp, 8
movzx edx, al
test edx, edx
je 0x43f939
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
jmp 0x43f941
call fcn.0043e5d0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
jmp 0x43fa26
mov dword [ebp - 0x50], 0x20
lea ecx, [ebp + 8]
push ecx
call fcn.004406d0
add esp, 4
mov byte [ebp - 0x2e], al
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x2d]
push eax
lea ecx, [ebp - 0x2e]
push ecx
mov edx, dword [ebp - 0x2c]
add edx, 0x40
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x38]
call fcn.0043f820
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x43fa21
cmp dword [ebp - 0x34], 1
jle 0x43f9a4
cmp dword [ebp - 0x34], 3
je 0x43f9f1
jmp 0x43fa21
mov ecx, dword [ebp - 0x48]
lea edx, [ebp - 0x28]
sub ecx, edx
mov dword [ebp - 0x38], ecx
je 0x43f9d6
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x28]
push eax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x43f9d6
call fcn.0043e5d0
jmp 0x43fa26
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + 0x3d], 1
lea edx, [ebp - 0x2e]
cmp dword [ebp - 0x4c], edx
je 0x43f9ea
mov eax, dword [ebp + 8]
jmp 0x43fa26
call fcn.0043e5d0
jmp 0x43fa26
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
movzx edx, byte [ebp - 0x2e]
push edx
call fcn.00432810
add esp, 8
movzx eax, al
test eax, eax
je 0x43fa14
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x40], ecx
jmp 0x43fa1c
call fcn.0043e5d0
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
jmp 0x43fa26
call fcn.0043e5d0
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004adff8
mov esp, ebp
pop ebp
ret 4