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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x2b4d6a8
mov dword [ebp - 4], 0x10
call dword [0x2b430b0]
push 0x2b4d6a8
call dword [0x2b430b4]
or ecx, 0xffffffff
mov edx, 0x2b4d6a8
test eax, eax
je 0x1000d63d
movzx esi, byte [edx]
xor esi, ecx
and esi, 0xff
shr ecx, 8
xor ecx, dword [esi*4 + 0x2b4c818]
inc edx
dec eax
jne 0x1000d624
mov edi, dword [0x2b434d4]
not ecx
mov esi, ecx
push esi
push 0x2b4c288
push 0x2b4d6c0
call edi
lea ebx, [esi + esi]
push ebx
push 0x2b4c288
push 0x2b4d66c
call edi
lea ecx, [esi + esi*2]
push ecx
push 0x2b4c288
push 0x2b4d6fc
call edi
push esi
push 0x2b4c2a0
push 0x2b4d790
call edi
push ebx
push 0x2b4c2a0
push 0x2b4d750
call edi
add esp, 0x3c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000d880
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push 0x101
lea eax, [ebp - 0x104]
push eax
push ecx
call dword [0x2b434e4]
mov edx, eax
or eax, 0xffffffff
lea ecx, [ebp - 0x104]
test edx, edx
je 0x1000d8ca
push esi
lea esp, [esp]
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x2b4c818]
inc ecx
dec edx
jne 0x1000d8b0
pop esi
not eax
mov esp, ebp
pop ebp
ret

Function at 0x1000d940
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x2b57bf4]
sub esp, 0x104
push ebx
mov ebx, dword [0x2b433a4]
push esi
push edi
push 1
push 5
push eax
call ebx
push eax
call ebx
mov edi, dword [0x2b4340c]
mov esi, eax
lea esp, [esp]
push esi
call dword [0x2b433e4]
test eax, eax
je 0x1000da07
push 0xfffffffffffffff0
push esi
call dword [0x2b4341c]
test eax, 0x40000000
jne 0x1000d9ec
push 0x101
lea ecx, [ebp - 0x104]
push ecx
push esi
call dword [0x2b434e4]
or ecx, 0xffffffff
lea edx, [ebp - 0x104]
test eax, eax
je 0x1000d9cf
nop
movzx ebx, byte [edx]
xor ebx, ecx
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x2b4c818]
inc edx
dec eax
jne 0x1000d9b0
mov ebx, dword [0x2b433a4]
not ecx
test ecx, ecx
je 0x1000d9e6
xor eax, eax
cmp ecx, dword [eax*8 + 0x2b4c230]
je 0x1000da1d
inc eax
cmp eax, 0xb
jb 0x1000d9d7
xor eax, eax
test al, 0x20
je 0x1000da07
push 0
push 0x1b
push 0x100
push esi
call edi
push 0xc01b0000
push 0x1b
push 0x101
push esi
call edi
push 3
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x1000d970
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, word [eax*8 + 0x2b4c234]
jmp 0x1000d9e8
Function at 0x10017840
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 0xc]
test edx, edx
jle 0x100178d3
mov ecx, dword [ebp + 8]
push ebx
sub ecx, esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
jmp 0x10017864
mov ecx, dword [ebp - 0xc]
movzx ecx, byte [ecx + esi]
mov byte [ebp - 1], cl
mov cl, byte [eax + 0x100]
movzx edi, cl
movzx edx, byte [edi + eax]
add edi, eax
mov byte [ebp + 0xf], dl
mov dl, byte [eax + 0x101]
add dl, byte [ebp + 0xf]
mov dword [ebp - 0x10], edi
movzx edi, dl
mov bl, byte [edi + eax]
add edi, eax
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x10]
mov byte [edi], bl
mov edi, dword [ebp - 0x14]
mov byte [ebp + 0xb], bl
movzx ebx, byte [ebp + 0xf]
mov byte [edi], bl
movzx ebx, byte [ebp + 0xf]
movzx edi, byte [ebp + 0xb]
add edi, ebx
mov bl, byte [ebp - 1]
and edi, 0xff
xor bl, byte [edi + eax]
inc cl
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x10017861
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10026890
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, eax
xor ebx, ebx
push edi
mov dword [ebp - 4], 0
mov dword [esi + 0x6af80], 2
cmp dword [esi + 0x6af90], ebx
je 0x10026aab
lea ebx, [ebx]
cmp dword [esi + 0x6af90], 3
jb 0x10026917
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, 0x7fff
mov dword [esi + 0x6af7c], eax
mov eax, dword [esi + eax*4 + 0x4af70]
and ecx, 0x7fff
mov dword [esi + ecx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af84]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af7c]
mov dword [esi + eax*4 + 0x4af70], ecx
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x10026957
mov edx, dword [esi + 0x6af84]
sub edx, ecx
cmp edx, 0x7efa
ja 0x10026957
mov eax, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], eax
jbe 0x10026942
mov dword [esi + 0x6afa0], eax
mov eax, ecx
call fcn.100265b0
mov ebx, eax
mov eax, dword [esi + 0x6af90]
cmp ebx, eax
jbe 0x10026957
mov ebx, eax
mov eax, dword [esi + 0x6af84]
push esi
cmp ebx, 3
jb 0x10026a3b
sub eax, dword [esi + 0x6af88]
lea edx, [ebx - 3]
call fcn.10025d90
sub dword [esi + 0x6af90], ebx
mov ecx, dword [esi + 0x6af90]
mov dword [ebp - 8], eax
cmp ebx, dword [esi + 0x6af98]
ja 0x10026a04
cmp ecx, 3
jb 0x10026a04
mov edi, 1
sub ebx, edi
jmp 0x100269a0
add dword [esi + 0x6af84], edi
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [esi + edx + 0x1af72]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
xor ecx, eax
and ecx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov ecx, dword [esi + ecx*4 + 0x4af70]
and edx, 0x7fff
sub ebx, edi
mov dword [esi + edx*4 + 0x2af70], ecx
mov edx, dword [esi + 0x6af84]
mov dword [ebp - 4], ecx
mov ecx, dword [esi + 0x6af7c]
mov dword [esi + ecx*4 + 0x4af70], edx
jne 0x100269a0
add dword [esi + 0x6af84], edi
mov eax, dword [ebp - 8]
jmp 0x10026a56
add dword [esi + 0x6af84], ebx
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [edx + esi + 0x1af70]
mov dword [esi + 0x6af7c], ecx
movzx edx, byte [edx + esi + 0x1af71]
shl ecx, 5
xor edx, ecx
xor ebx, ebx
and edx, 0x7fff
mov dword [esi + 0x6af7c], edx
jmp 0x10026a56
movzx edx, byte [eax + esi + 0x1af70]
xor eax, eax
call fcn.10025d90
dec dword [esi + 0x6af90]
inc dword [esi + 0x6af84]
test eax, eax
je 0x10026a8d
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x10026a6d
lea ecx, [eax + esi + 0x1af70]
jmp 0x10026a6f
xor ecx, ecx
mov edi, dword [esi + 0x6af84]
push 0
sub edi, eax
push ecx
mov eax, esi
call fcn.10025be0
mov ecx, dword [esi + 0x6af84]
mov dword [esi + 0x6af74], ecx
cmp dword [esi + 0x6af90], 0x106
jae 0x10026a9e
call fcn.10026750
cmp dword [esi + 0x6af90], 0
jne 0x100268c0
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x10026abe
lea ecx, [eax + esi + 0x1af70]
jmp 0x10026ac0
xor ecx, ecx
mov edi, dword [esi + 0x6af84]
push 1
sub edi, eax
push ecx
mov eax, esi
call fcn.10025be0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10027760
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x10027770
xor eax, eax
pop ebp
ret 4
push esi
not eax
cmp edx, 8
jb 0x1002783f
mov esi, edx
shr esi, 3
push edi
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x2b45d70]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x2b45d70]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x2b45d70]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x2b45d70]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x2b45d70]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x2b45d70]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x2b45d70]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x2b45d70]
add ecx, 8
sub edx, 8
dec esi
jne 0x10027782
pop edi
test edx, edx
je 0x1002785c
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x2b45d70]
inc ecx
dec edx
jne 0x10027843
not eax
pop esi
pop ebp
ret 4
Function at 0x10027870
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
push edi
call dword [0x2b4311c]
cmp eax, 1
je 0x10027891
mov eax, 0x1000000
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0x74]
push eax
push edi
call dword [0x2b43118]
test eax, eax
jne 0x100278ad
mov eax, 0x200
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 0x30]
push ecx
call dword [0x2b43110]
lea edx, [ebp - 0x40]
push edx
call dword [0x2b43124]
mov esi, dword [0x2b43128]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x30]
push ecx
call esi
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x40]
push eax
call esi
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sbb ecx, dword [ebp - 0x14]
sub dword [ebp - 0x60], eax
sbb dword [ebp - 0x5c], ecx
sub dword [ebp - 0x68], eax
sbb dword [ebp - 0x64], ecx
sub dword [ebp - 0x70], eax
sbb dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x74]
mov eax, ecx
xor esi, esi
and eax, 1
je 0x1002790f
mov dword [ebp - 8], 1
mov esi, dword [ebp - 8]
test cl, 2
je 0x10027917
or esi, 2
test cl, 4
je 0x1002791f
or esi, 4
mov edx, ecx
and edx, 0x10
je 0x10027929
or esi, 0x10
test cl, 0x20
je 0x10027931
or esi, 0x20
test edx, edx
je 0x1002793d
or esi, 0x40000000
jmp 0x10027943
or esi, 0x80000000
or esi, 0x1000000
mov dword [ebp - 8], esi
test eax, eax
jne 0x10027959
or esi, 0x800000
mov dword [ebp - 8], esi
push 0
push edi
call dword [0x2b43130]
mov dword [ebp - 0x10], eax
cmp eax, 0x28
jbe 0x10027a00
mov esi, dword [0x2b4312c]
push 0
push 0
push 0
push edi
call esi
mov ebx, dword [0x2b4322c]
push 0
lea ecx, [ebp - 0xc]
push ecx
push 2
lea edx, [ebp - 4]
push edx
push edi
call ebx
push 0
push 0
push 0x24
push edi
call esi
push 0
lea eax, [ebp - 0xc]
push eax
push 4
lea ecx, [ebp - 0x14]
push ecx
push edi
call ebx
mov edx, 0x54ad
cmp word [ebp - 4], dx
jne 0x100279fd
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0x34]
cmp dword [ebp - 0x10], ecx
jbe 0x100279fd
push 0
push 0
push eax
push edi
call esi
push 0
lea edx, [ebp - 0xc]
push edx
push 4
lea eax, [ebp - 0x1c]
push eax
push edi
call ebx
mov eax, dword [ebp - 0x1c]
cmp eax, 0x5a4d
je 0x100279f6
cmp eax, 0x454e
je 0x100279f6
cmp eax, 0x454c
je 0x100279f6
cmp eax, 0x4550
jne 0x100279fd
or dword [ebp - 8], 0x400000
mov esi, dword [ebp - 8]
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp eax, ecx
je 0x10027a0b
mov dword [eax], esi
mov eax, dword [ebp + 0xc]
cmp eax, ecx
je 0x10027a17
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
cmp eax, ecx
je 0x10027a26
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov esi, dword [ebp + 0x14]
cmp esi, ecx
je 0x10027a4e
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x60]
push edx
call dword [0x2b43134]
movzx eax, word [ebp + 8]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
mov dword [esi], eax
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1002c7d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov eax, dword [eax + 0x340]
push esi
push edi
test eax, eax
jne 0x1002c7f0
mov eax, 0x2b48c10
push 0x2b48bfc
push eax
lea ecx, [ebp - 0x214]
push 0x2b48c18
push ecx
call dword [0x2b434d4]
lea eax, [ebp - 0x214]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002c814
mov ecx, dword [ebx + 0x75c4]
sub eax, edx
lea edx, [ecx + eax + 0xd]
cmp edx, 0x7530
jbe 0x1002c85e
push ecx
lea eax, [ebx + 0x94]
push eax
mov eax, ebx
call fcn.1002ffc0
test eax, eax
jns 0x1002c854
mov esi, ebx
call fcn.1002fcf0
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebx + 0x75c4], 0
mov al, byte [0x2b4c05d]
movsx ecx, al
neg ecx
sbb ecx, ecx
and ecx, 0x302fefc
xor edx, edx
add ecx, 0xfffe0003
test al, al
lea eax, [ebp - 0x214]
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], ecx
lea edx, [eax + 1]
je 0x1002c8b1
jmp 0x1002c890
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002c890
sub eax, edx
lea edx, [eax + 1]
shr edx, 8
inc eax
and edx, 0xff
shl eax, 8
xor edx, eax
mov word [ebp - 0xc], dx
jmp 0x1002c8bf
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002c8b1
sub eax, edx
inc eax
mov word [ebp - 0xc], ax
mov ecx, dword [ebx + 0x75c4]
xor eax, eax
lea edi, [ecx + ebx + 0x94]
mov word [ebp - 0xa], ax
lea esi, [ebp - 0x10]
mov ecx, 0xc
rep movsb byte es:[edi], byte [esi]
add dword [ebx + 0x75c4], 0xc
mov edx, dword [ebx + 0x75c4]
lea eax, [ebp - 0x214]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002c8f2
sub eax, esi
lea ecx, [eax + 1]
lea edi, [edx + ebx + 0x94]
lea esi, [ebp - 0x214]
lea eax, [ebp - 0x214]
rep movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002c916
sub eax, edx
inc eax
add dword [ebx + 0x75c4], eax
mov eax, dword [ebx + 0x75c4]
push eax
lea edx, [ebx + 0x94]
push edx
mov eax, ebx
call fcn.1002ffc0
test eax, eax
js 0x1002c842
pop edi
pop esi
mov dword [ebx + 0x75c4], 0
or al, 0xff
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10034ed0
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push ebx
push esi
mov esi, dword [edx + 4]
mov edx, eax
shr edx, 4
xor edx, esi
and edx, 0xf0f0f0f
xor esi, edx
shl edx, 4
xor eax, edx
mov edx, eax
shr edx, 0x10
xor edx, esi
and edx, 0xffff
xor esi, edx
shl edx, 0x10
xor eax, edx
mov edx, esi
shr edx, 2
xor edx, eax
and edx, 0x33333333
xor eax, edx
add edx, edx
add edx, edx
xor esi, edx
mov edx, esi
shr edx, 8
xor edx, eax
and edx, 0xff00ff
xor eax, edx
shl edx, 8
xor esi, edx
rol esi, 1
mov edx, esi
xor edx, eax
and edx, 0xaaaaaaaa
xor esi, edx
xor edx, eax
rol edx, 1
push edi
mov ecx, 0x2b5b220
mov dword [ebp - 4], edx
mov dword [ebp - 8], 8
mov eax, esi
ror eax, 4
xor eax, dword [ecx]
add ecx, 0x10
mov edx, eax
shr edx, 0x18
mov edi, eax
shr edi, 0x10
and edi, 0x3f
and edx, 0x3f
mov edx, dword [edx*4 + 0x2b4b6a8]
or edx, dword [edi*4 + 0x2b4b8a8]
mov edi, eax
shr edi, 8
and edi, 0x3f
or edx, dword [edi*4 + 0x2b4baa8]
and eax, 0x3f
or edx, dword [eax*4 + 0x2b4bca8]
mov eax, dword [ecx - 0xc]
xor eax, esi
mov edi, eax
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x2b4b7a8]
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
or edi, dword [ebx*4 + 0x2b4b9a8]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or edi, dword [ebx*4 + 0x2b4bba8]
and eax, 0x3f
or edi, dword [eax*4 + 0x2b4bda8]
or edi, edx
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 4]
xor edi, dword [ebp - 0xc]
mov eax, edi
ror eax, 4
xor eax, dword [ecx - 8]
mov dword [ebp - 4], edi
mov edx, eax
shr edx, 0x18
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
and edx, 0x3f
mov edx, dword [edx*4 + 0x2b4b6a8]
or edx, dword [ebx*4 + 0x2b4b8a8]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or edx, dword [ebx*4 + 0x2b4baa8]
and eax, 0x3f
or edx, dword [eax*4 + 0x2b4bca8]
mov eax, dword [ecx - 4]
xor eax, edi
mov edi, eax
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x2b4b7a8]
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
or edi, dword [ebx*4 + 0x2b4b9a8]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or edi, dword [ebx*4 + 0x2b4bba8]
and eax, 0x3f
or edi, dword [eax*4 + 0x2b4bda8]
or edi, edx
xor esi, edi
dec dword [ebp - 8]
jne 0x10034f53
mov ecx, dword [ebp - 4]
ror esi, 1
mov eax, esi
xor eax, ecx
and eax, 0xaaaaaaaa
xor esi, eax
xor eax, ecx
ror eax, 1
mov ecx, eax
shr ecx, 8
xor ecx, esi
and ecx, 0xff00ff
xor esi, ecx
shl ecx, 8
xor eax, ecx
mov ecx, eax
shr ecx, 2
xor ecx, esi
and ecx, 0x33333333
xor esi, ecx
add ecx, ecx
add ecx, ecx
xor eax, ecx
mov edx, dword [ebp + 8]
mov ecx, esi
shr ecx, 0x10
xor ecx, eax
and ecx, 0xffff
xor eax, ecx
shl ecx, 0x10
xor esi, ecx
mov ecx, esi
shr ecx, 4
xor ecx, eax
and ecx, 0xf0f0f0f
mov edi, ecx
shl edi, 4
xor edi, esi
mov dword [edx], edi
pop edi
xor ecx, eax
pop esi
mov dword [edx + 4], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10037af0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, dword [esi + 0x2c]
mov dword [ebp - 8], edi
jmp 0x10037b03
mov edi, dword [ebp - 8]
mov ebx, dword [esi + 0x3c]
sub ebx, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub ebx, eax
lea edx, [edi + ecx - 0x106]
mov dword [ebp - 4], ebx
cmp eax, edx
jb 0x10037b7d
mov eax, dword [esi + 0x38]
push edi
lea ecx, [eax + edi]
push ecx
push eax
call 0x10043482
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x44]
sub dword [esi + 0x70], edi
sub dword [esi + 0x6c], edi
add esp, 0xc
sub dword [esi + 0x5c], edi
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, edi
jb 0x10037b51
sub eax, edi
jmp 0x10037b53
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x10037b42
mov ecx, dword [esi + 0x40]
mov edx, edi
lea ecx, [ecx + edi*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, edi
jb 0x10037b70
sub eax, edi
jmp 0x10037b72
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x10037b61
add ebx, edi
mov dword [ebp - 4], ebx
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x10037c8b
mov eax, dword [esi + 0x74]
add eax, dword [esi + 0x6c]
mov ecx, dword [edi + 4]
add eax, dword [esi + 0x38]
mov edx, dword [ebp - 4]
mov ebx, ecx
mov dword [ebp - 0xc], eax
cmp ebx, edx
jbe 0x10037ba3
mov ebx, edx
test ebx, ebx
je 0x10037bd8
mov edx, dword [edi + 0x1c]
sub ecx, ebx
mov dword [edi + 4], ecx
cmp dword [edx + 0x18], 1
jne 0x10037bc6
mov eax, dword [edi]
mov ecx, dword [edi + 0x30]
push ebx
call fcn.10042550
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi]
push ebx
push ecx
push eax
call 0x10043482
add dword [edi], ebx
add esp, 0xc
add dword [edi + 8], ebx
add dword [esi + 0x74], ebx
mov ebx, dword [esi + 0x74]
cmp ebx, 3
jb 0x10037c00
mov edx, dword [esi + 0x6c]
add edx, dword [esi + 0x38]
mov ecx, dword [esi + 0x58]
movzx eax, byte [edx]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp ebx, 0x106
jae 0x10037c14
mov edx, dword [esi]
cmp dword [edx + 4], 0
jne 0x10037b00
mov eax, dword [esi + 0x16c0]
mov ecx, dword [esi + 0x3c]
cmp eax, ecx
jae 0x10037c8b
mov edi, dword [esi + 0x6c]
add edi, ebx
cmp eax, edi
jae 0x10037c5a
sub ecx, edi
mov ebx, ecx
cmp ebx, 0x102
jbe 0x10037c3b
mov ebx, 0x102
mov eax, dword [esi + 0x38]
push ebx
add eax, edi
push 0
push eax
call 0x10043488
add esp, 0xc
add ebx, edi
pop edi
mov dword [esi + 0x16c0], ebx
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [edi + 0x102]
cmp eax, edx
jae 0x10037c8b
sub edi, eax
add edi, 0x102
sub ecx, eax
cmp edi, ecx
jbe 0x10037c74
mov edi, ecx
mov ecx, dword [esi + 0x38]
push edi
add ecx, eax
push 0
push ecx
call 0x10043488
add esp, 0xc
add dword [esi + 0x16c0], edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0x458267b
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x16574f87
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp int.00401219
Function at 0x10001574
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x10001583
pop dword [ebp - 0x10]
mov eax, 0x5ff2d3ed
add eax, 0xb00d4196
sub dword [ebp - 0x10], eax
push 0x40
push 0x1000
push 0x4554a
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x10]
call dword [eax]
mov ecx, 0xe7efe16c
sub ecx, 0xe7ef93a9
mov esi, eax
mov edx, 0x10121e00
add edx, dword [ebp - 0x10]
mov ebx, 0x9a17a451
mov dword [ebp - 4], 0xad96e996
mov edi, dword [edx]
xor dword [ebp - 0xc], eax
sub edi, ebx
sub dword [ebp - 0xc], 0xc3d74b54
mov dword [esi], edi
add esi, 0xbcf57ff6
sub esi, 0xbcf57ff2
add edx, 0xe97617d
sub edx, 0xe976179
loop 0x100015d1
add eax, 0x9cddfd37
sub eax, 0x9cdcd358
xor ebx, ebx
add ebx, eax
add eax, 0x451d65af
sub eax, 0x451d65aa
mov ecx, 0xd6d1009f
add ecx, 0x392eff61
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x1000412c
Capabilities:
Set file attributes

Disassembly:
push edx
push ecx
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
test eax, eax
setne al
ret

Function at 0x100045e5
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100045f3
or eax, eax
ret

Function at 0x1000df9d
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100d01b8
call fcn.100cece0
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.10001da4
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.10001da4
mov eax, dword [edi + 0x18]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov al, byte [edi + 0x2c]
mov byte [esi + 0x2c], al
mov al, byte [edi + 0x2d]
mov byte [esi + 0x2d], al
mov al, byte [edi + 0x2e]
mov byte [esi + 0x2e], al
mov al, byte [edi + 0x2f]
mov byte [esi + 0x2f], al
mov al, byte [edi + 0x30]
mov byte [esi + 0x30], al
mov al, byte [edi + 0x31]
mov byte [esi + 0x31], al
mov ax, word [edi + 0x32]
mov word [esi + 0x32], ax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4