joyce8/EMBER2024-capa huggingface dataset:
Function at 0x11f570
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebx, edx
mov esi, ecx
mov dword [ecx], 0
mov dword [ecx + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
cmp byte [ebx + eax], 0
lea eax, [eax + 1]
jne 0x11f590
add eax, ebx
dec eax
mov ecx, ebx
not ecx
and ecx, eax
xor eax, ebx
add ecx, ecx
sub ecx, eax
mov dword [esp + 4], ecx
lea ebp, [ecx + 1]
mov dword [esp + 8], ebp
push ebp
call fcn.000fc880
add esp, 4
mov dword [esp], esi
mov dword [esi], eax
mov ecx, ebp
shr ecx, 2
mov edx, ebx
mov edi, eax
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov edx, ebp
and edx, 0xfffffffc
add eax, edx
add edx, ebx
mov esi, ebp
and esi, 3
mov ecx, esi
shr ecx, 1
mov dword [esp + 0xc], edx
mov edi, eax
mov ebp, dword [esp + 0xc]
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
mov ebp, dword [esp + 8]
mov ecx, ebp
xor ecx, 2
and ecx, esi
je 0x11f612
and ebp, 2
add edx, ebp
add eax, ebp
push ecx
push edx
push eax
call fcn.000fc8b0
add esp, 0xc
cmp dword [esp + 4], 0
je 0x11f6cb
mov ecx, 0xffffffff
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [ebx + eax]
xor edi, ecx
mov ecx, edi
shr ecx, 1
mov edx, edi
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov esi, edx
shr esi, 1
mov ecx, edi
shl ecx, 0x1e
sar ecx, 0x1f
and ecx, 0xedb88320
xor ecx, esi
mov ebp, edi
shl ebp, 0x1d
sar ebp, 0x1f
and ebp, 0x76dc419
mov esi, edi
shl esi, 0x1c
sar esi, 0x1f
and esi, 0xedb8832
xor esi, ebp
mov ebp, edi
shl ebp, 0x1b
sar ebp, 0x1f
and ebp, 0x1db71064
shl edi, 0x1a
sar edi, 0x1f
and edi, 0x3b6e20c8
xor edi, ebp
xor edi, esi
mov esi, ecx
shr esi, 6
xor edi, esi
shl edx, 0x1a
sar edx, 0x1f
and edx, 0x76dc4190
xor edx, edi
shl ecx, 0x1a
sar ecx, 0x1f
and ecx, 0xedb88320
xor ecx, edx
inc eax
cmp dword [esp + 4], eax
jne 0x11f630
not ecx
jmp 0x11f6cd
xor ecx, ecx
mov eax, dword [esp]
mov dword [eax + 4], ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1269a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
call fcn.000fe190
sub esp, 8
push eax
test ebx, ebx
sets al
mov ecx, ebx
sub ecx, 1
sete cl
or al, cl
mov ecx, ebx
sub ecx, 0x25
setge cl
or al, cl
test al, 1
jne 0x1269d7
jmp 0x1269dc
jmp 0x126b5e
mov ecx, edi
mov eax, dword [ebp + 0x10]
add ecx, eax
add ecx, 0xffffffff
mov byte [edi + eax - 1], 0
cmp esi, 0
jne 0x1269ff
add ecx, 0xffffffff
jmp 0x1269f5
mov byte [ecx], 0x30
jmp 0x1269fa
jmp 0x126b5a
cmp ebx, 0xa
sete al
test al, 1
jne 0x126a0e
jmp 0x126a9a
jmp 0x126a10
cmp esi, 0x64
setae al
test al, 1
jne 0x126a1c
jmp 0x126a56
mov edi, 0x64
mov eax, esi
xor edx, edx
div edi
shl edx, 1
mov al, byte [edx + 0x1376d9]
mov edi, ecx
add edi, 0xffffffff
mov byte [ecx - 1], al
mov al, byte [edx + 0x1376d8]
add edi, 0xffffffff
mov byte [ecx - 2], al
mov ecx, 0x64
mov eax, esi
xor edx, edx
div ecx
mov esi, eax
mov ecx, edi
jmp 0x126a10
cmp esi, 0xa
setb al
test al, 1
jne 0x126a62
jmp 0x126a73
mov dl, byte [esi + 0x137fd5]
mov eax, ecx
add eax, 0xffffffff
mov byte [ecx - 1], dl
jmp 0x126a93
shl esi, 1
mov dl, byte [esi + 0x1376d9]
mov eax, ecx
add eax, 0xffffffff
mov byte [ecx - 1], dl
mov dl, byte [esi + 0x1376d8]
add eax, 0xffffffff
mov byte [ecx - 2], dl
jmp 0x126a93
mov ecx, eax
jmp 0x126b5a
cmp ebx, 0x10
je 0x126aa4
jmp 0x126b2b
jmp 0x126aa6
cmp esi, 0x100
jb 0x126adb
mov edx, esi
and edx, 0xff
shl edx, 1
mov bl, byte [edx + 0x1377a2]
mov eax, ecx
add eax, 0xffffffff
mov byte [ecx - 1], bl
mov dl, byte [edx + 0x1377a1]
add eax, 0xffffffff
mov byte [ecx - 2], dl
shr esi, 8
mov ecx, eax
jmp 0x126aa6
cmp esi, 0x10
jae 0x126aee
mov al, byte [esi + 0x137fd5]
add ecx, 0xffffffff
mov byte [ecx], al
jmp 0x126b5a
mov edx, esi
and edx, 0xfffffffd
mov eax, esi
or eax, 0xfffffffd
xor eax, 0xffffffff
imul eax, edx
mov edx, esi
and edx, 2
or esi, 2
imul esi, edx
add esi, eax
mov al, byte [esi + 0x1377a2]
mov edx, ecx
add edx, 0xffffffff
mov byte [ecx - 1], al
mov al, byte [esi + 0x1377a1]
add edx, 0xffffffff
mov byte [ecx - 2], al
mov ecx, edx
jmp 0x126b5a
cmp esi, 0
seta al
test al, 1
jne 0x126b37
jmp 0x126b58
mov eax, esi
xor edx, edx
div ebx
mov al, byte [edx + 0x137fd5]
mov edi, ecx
add edi, 0xffffffff
mov byte [ecx - 1], al
mov eax, esi
xor edx, edx
div ebx
mov esi, eax
mov ecx, edi
jmp 0x126b2b
jmp 0x126b5a
mov edi, ecx
jmp 0x126b5e
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x12e210
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [esp + 0x18]
xor ecx, ecx
test eax, eax
setne cl
jmp dword [ecx*4 + 0x13e10c]

Function at 0x12e2c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, ecx
mov ebx, dword [esp + 0x24]
mov dword [esp + 8], 0
mov dword [esp], 0xf4f5f6f7
mov eax, 0x92bb3fd4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x6d44c02c]
xor ecx, eax
mov edx, ecx
not edx
add ecx, 0x2257c0db
or edx, ecx
and edx, 1
or ecx, 1
add ecx, edx
mov byte [esp + eax + 0x6d44c02c], cl
inc eax
cmp eax, 0x92bb3fd8
jne 0x12e2f0
mov edi, dword [esp]
mov eax, dword [0x140374]
test eax, eax
je 0x12e376
xor ecx, ecx
mov edx, dword [0x140378]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x9abdb589
je 0x12e350
inc ecx
cmp eax, ecx
jne 0x12e340
jmp 0x12e376
mov eax, dword [edx + ecx*8 + 4]
cmp eax, edi
je 0x12e376
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 5
push 4
push dword [0x14037c]
push eax
call fcn.00130f10
add esp, 0x1c
mov edi, eax
mov dword [esp], 0xff3e393c
mov byte [esp + 4], 0
mov eax, 0x7302b58a
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x7302b58a]
xor ecx, eax
mov edx, ecx
and edx, 0x4d
xor ecx, 0x4d
lea ecx, [ecx + edx*2]
inc cl
mov byte [esp + eax - 0x7302b58a], cl
inc eax
cmp eax, 0x7302b58f
jne 0x12e390
cmp edi, dword [esp]
jne 0x12e4c5
mov dword [esp + 0xc], esi
push dword [esp + 8]
call fcn.0012e1b0
add esp, 4
mov ebp, dword [esp + 8]
mov dword [esp], 0xf4f5f6f7
mov edx, 0x92bb3fd4
nop
movzx ecx, byte [esp + edx + 0x6d44c02c]
xor ecx, edx
mov esi, ecx
not esi
add ecx, 0x2257c0db
or esi, ecx
and esi, 1
or ecx, 1
add ecx, esi
mov byte [esp + edx + 0x6d44c02c], cl
inc edx
cmp edx, 0x92bb3fd8
jne 0x12e3e0
mov edi, dword [esp]
mov edx, dword [0x140374]
test edx, edx
je 0x12e465
xor ecx, ecx
mov esi, dword [0x140378]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + ecx*8], 0x9abdb589
je 0x12e440
inc ecx
cmp edx, ecx
jne 0x12e430
jmp 0x12e465
mov edx, dword [esi + ecx*8 + 4]
cmp edx, edi
je 0x12e465
push 0
push ebp
push eax
push 5
push 4
push dword [0x14037c]
push edx
mov esi, eax
call fcn.00130f10
add esp, 0x1c
mov edi, eax
mov eax, esi
test edi, edi
js 0x12e4bc
mov esi, dword [eax]
mov ecx, eax
nop
nop
nop
mov edx, dword [ecx + esi + 0x3c]
add ecx, esi
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, word [edx + edi]
movzx ebp, word [ebx + edi]
test si, si
je 0x12e495
add edi, 2
cmp si, bp
je 0x12e480
cmp si, bp
je 0x12e4a7
mov esi, dword [ecx]
test esi, esi
jne 0x12e470
mov edi, 0xc0000225
jmp 0x12e4bc
mov edx, dword [ecx + 0x44]
mov esi, dword [esp + 0xc]
mov dword [esi + 8], edx
mov ecx, dword [ecx + 0xdc]
mov dword [esi + 0xc], ecx
xor edi, edi
push eax
call fcn.0012e210
add esp, 4
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x12e510
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
sub esp, 0x24
mov esi, dword [ecx + 8]
test esi, esi
je 0x12e5e0
xor eax, eax
cmp dword [ecx], 0
jne 0x12e60a
mov edx, dword [esp + 0x34]
mov dword [esp + 4], 0x18
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], esi
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x20], eax
mov dword [esp], 0xf4f5f6f7
mov eax, 0x92bb3fd4
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + eax + 0x6d44c02c]
xor ebx, eax
mov esi, ebx
not esi
add ebx, 0x2257c0db
or esi, ebx
and esi, 1
or ebx, 1
add ebx, esi
mov byte [esp + eax + 0x6d44c02c], bl
inc eax
cmp eax, 0x92bb3fd8
jne 0x12e580
mov eax, dword [esp]
mov esi, dword [0x140374]
test esi, esi
je 0x12e60a
xor edi, edi
mov ebx, dword [0x140378]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0xef01f5a1
je 0x12e613
inc edi
cmp esi, edi
jne 0x12e5d0
jmp 0x12e60a
mov dword [esp + 4], 0x43020108
xor eax, eax
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x40
xor cl, byte [esp + eax + 4]
add cl, 0xc0
mov byte [esp + eax + 4], cl
inc eax
cmp eax, 4
jne 0x12e5f0
mov eax, dword [esp + 4]
add esp, 0x24
pop esi
pop edi
pop ebx
ret 4
mov esi, dword [ebx + edi*8 + 4]
cmp esi, eax
je 0x12e60a
lea eax, [esp + 0x1c]
lea edi, [esp + 4]
push eax
push edi
push edx
push ecx
push 4
push dword [0x14037c]
push esi
call fcn.00130f10
add esp, 0x1c
jmp 0x12e60a

Function at 0x12e650
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx]
test eax, eax
je 0x12e6fa
push ebx
push edi
push esi
push eax
mov dword [esp], 0xf4f5f6f7
mov edx, 0x92bb3fd4
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + edx + 0x6d44c02c]
xor ebx, edx
mov esi, ebx
not esi
add ebx, 0x2257c0db
or esi, ebx
and esi, 1
or ebx, 1
add ebx, esi
mov byte [esp + edx + 0x6d44c02c], bl
inc edx
cmp edx, 0x92bb3fd8
jne 0x12e670
mov edx, dword [0x140374]
test edx, edx
je 0x12e6ee
mov esi, dword [esp]
xor edi, edi
mov ebx, dword [0x140378]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0xb62b8d10
je 0x12e6d0
inc edi
cmp edx, edi
jne 0x12e6c0
jmp 0x12e6ee
mov edx, dword [ebx + edi*8 + 4]
cmp edx, esi
je 0x12e6ee
push eax
push 1
push dword [0x14037c]
push edx
mov esi, ecx
call fcn.00130f10
mov ecx, esi
add esp, 0x10
mov dword [ecx], 0
add esp, 4
pop esi
pop edi
pop ebx
ret
Function at 0x12e9d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov esi, ecx
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x12ea5e
push 0xbbf966b4
push dword [0x140368]
call fcn.00133a90
add esp, 8
test eax, eax
je 0x12ea29
mov ecx, dword [esi]
test ecx, ecx
je 0x12ea5b
mov dword [esp], 0
mov edx, esp
push edx
push ecx
call eax
test eax, eax
je 0x12ea37
cmp dword [esp], 0
je 0x12ea37
mov dword [esi + 4], 3
jmp 0x12ea5b
mov dword [esi + 4], 1
mov ecx, dword [esi]
jmp 0x12eae7
lea eax, [esp + 4]
push eax
call fcn.00134320
add esp, 4
test al, al
je 0x12ea5b
mov eax, dword [esp + 4]
mov ecx, 2
cmp eax, 3
je 0x12ea58
mov ecx, eax
mov dword [esi + 4], ecx
mov eax, dword [esi + 4]
mov ecx, dword [esi]
cmp eax, 2
jne 0x12eae7
mov dword [esp], 0xf4f5f6f7
mov eax, 0x92bb3fd4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x6d44c02c]
xor edx, eax
mov esi, edx
not esi
add edx, 0x2257c0db
or esi, edx
and esi, 1
or edx, 1
add edx, esi
mov byte [esp + eax + 0x6d44c02c], dl
inc eax
cmp eax, 0x92bb3fd8
jne 0x12ea80
mov eax, dword [esp]
mov edx, dword [0x140374]
test edx, edx
je 0x12eb94
mov ebp, ebx
xor esi, esi
mov ebx, dword [0x140378]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + esi*8], 0xc3cdc4a6
je 0x12eb70
inc esi
cmp edx, esi
jne 0x12ead0
jmp 0x12eb94
mov dword [esp], 0xf4f5f6f7
mov eax, 0x92bb3fd4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x6d44c02c]
xor edx, eax
mov esi, edx
not esi
add edx, 0x2257c0db
or esi, edx
and esi, 1
or edx, 1
add edx, esi
mov byte [esp + eax + 0x6d44c02c], dl
inc eax
cmp eax, 0x92bb3fd8
jne 0x12eb00
mov eax, dword [esp]
mov edx, dword [0x140374]
test edx, edx
je 0x12eb94
xor esi, esi
mov ebx, dword [0x140378]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + esi*8], 0xae6e2b0b
je 0x12eb60
inc esi
cmp edx, esi
jne 0x12eb50
jmp 0x12eb94
mov edx, dword [ebx + esi*8 + 4]
cmp edx, eax
je 0x12eb94
push ebp
push edi
push dword [esp + 0x28]
jmp 0x12eb7e
mov edx, dword [ebx + esi*8 + 4]
cmp edx, eax
je 0x12eb94
push dword [esp + 0x28]
push edi
push ebp
push dword [esp + 0x28]
push ecx
push 5
push dword [0x14037c]
push edx
call fcn.00130f10
add esp, 0x20
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x12eeb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x18
mov esi, ecx
mov edi, dword [ebp + 0x1c]
test edi, edi
jne 0x12eec9
lea edi, [esp + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0x12eeda
cmp eax, 2
je 0x12ef4c
jmp 0x12ef79
push 0xbbf966b4
push dword [0x140368]
call fcn.00133a90
add esp, 8
test eax, eax
je 0x12ef17
mov ecx, dword [esi]
test ecx, ecx
je 0x12ef44
mov dword [esp], 0
mov edx, esp
push edx
push ecx
call eax
test eax, eax
je 0x12ef20
cmp dword [esp], 0
je 0x12ef20
mov dword [esi + 4], 3
jmp 0x12ef44
mov dword [esi + 4], 1
jmp 0x12ef79
lea eax, [esp + 4]
push eax
call fcn.00134320
add esp, 4
test al, al
je 0x12ef44
mov eax, dword [esp + 4]
mov ecx, 2
cmp eax, 3
je 0x12ef41
mov ecx, eax
mov dword [esi + 4], ecx
mov eax, dword [esi + 4]
cmp eax, 2
jne 0x12ef79
mov ebx, dword [ebp + 0x18]
push 0x732f71fd
push dword [0x148390]
call fcn.00133a90
add esp, 8
push edi
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi]
call eax
jmp 0x12f014
mov ecx, dword [esi]
mov dword [esp], 0xf4f5f6f7
mov eax, 0x92bb3fd4
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x6d44c02c]
xor edx, eax
mov esi, edx
not esi
add edx, 0x2257c0db
or esi, edx
and esi, 1
or edx, 1
add edx, esi
mov byte [esp + eax + 0x6d44c02c], dl
inc eax
cmp eax, 0x92bb3fd8
jne 0x12ef90
mov eax, dword [esp]
mov edx, dword [0x140374]
test edx, edx
je 0x12f014
xor esi, esi
mov ebx, dword [0x140378]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + esi*8], 0xfd743ac4
je 0x12eff0
inc esi
cmp edx, esi
jne 0x12efe0
jmp 0x12f014
mov edx, dword [ebx + esi*8 + 4]
cmp edx, eax
je 0x12f014
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
push ecx
push 5
push dword [0x14037c]
push edx
call fcn.00130f10
add esp, 0x20
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
Function at 0x1324e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x2c]
mov ecx, ebx
add ecx, ebp
adc eax, 0
xor edx, edx
mov esi, 0xfffffffe
cmp esi, ecx
mov ecx, 0
sbb ecx, eax
mov esi, dword [esp + 0x28]
jb 0x132550
mov ecx, ebx
shr ecx, 2
mov eax, ebp
mov edi, esi
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov edx, ebx
and edx, 0xfffffffc
add esi, edx
add edx, ebp
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov eax, edx
mov edi, esi
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
xor eax, eax
test bl, 1
je 0x1326ee
and ebx, 2
movzx ecx, byte [edx + ebx]
mov byte [esi + ebx], cl
jmp 0x1326ee
mov dword [esp], 0x282b2a25
mov byte [esp + 4], 0
nop
nop
nop
nop
mov ebp, edx
shr ebp, 1
and ebp, 1
movzx ecx, byte [esp + edx]
mov edi, edx
and edi, 5
mov eax, edx
or eax, 0xfffffffd
inc eax
imul eax, edi
mov edi, edx
or edi, 2
imul edi, ebp
add edi, edi
sub eax, edi
add eax, edx
add eax, 0x3773c848
xor eax, ecx
mov ecx, eax
not ecx
and ecx, 1
xor eax, 0xfe
lea eax, [eax + ecx*2]
add al, 0x6c
mov byte [esp + edx], al
inc edx
cmp edx, 5
jne 0x132560
mov eax, dword [esp]
mov ecx, dword [0x140374]
test ecx, ecx
je 0x1325e0
xor edx, edx
mov edi, dword [0x140378]
mov ebp, dword [esp + 0x20]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x89c57e52
je 0x1325e6
inc edx
cmp ecx, edx
jne 0x1325d0
jmp 0x132610
mov ebp, dword [esp + 0x20]
jmp 0x132610
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x132610
lea eax, [esp + 8]
push 2
push 0
push 0
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 7
push dword [0x14037c]
push ecx
call fcn.00130f10
add esp, 0x28
test eax, eax
mov edi, dword [esp + 0x24]
js 0x1326ee
push 0x732f71fd
push dword [0x148390]
call fcn.00133a90
add esp, 8
push 0
push 0
push ebx
push esi
push edi
push ebp
push dword [esp + 0x20]
call eax
mov ecx, dword [esp + 8]
mov dword [esp], 0x282b2a25
mov byte [esp + 4], 0
xor edx, edx
nop
mov edi, edx
shr edi, 1
and edi, 1
movzx esi, byte [esp + edx]
mov ebx, edx
and ebx, 5
mov ebp, edx
or ebp, 0xfffffffd
inc ebp
imul ebp, ebx
mov ebx, edx
or ebx, 2
imul ebx, edi
add ebx, ebx
sub ebp, ebx
lea edi, [edx + ebp]
add edi, 0x3773c848
xor edi, esi
mov esi, edi
not esi
and esi, 1
xor edi, 0xfe
lea ebx, [edi + esi*2]
add bl, 0x6c
mov byte [esp + edx], bl
inc edx
cmp edx, 5
jne 0x132650
mov edx, dword [0x140374]
test edx, edx
je 0x1326ee
mov esi, dword [esp]
xor edi, edi
mov ebx, dword [0x140378]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0xb62b8d10
je 0x1326d0
inc edi
cmp edx, edi
jne 0x1326c0
jmp 0x1326ee
mov edx, dword [ebx + edi*8 + 4]
cmp edx, esi
je 0x1326ee
push ecx
push 1
push dword [0x14037c]
push edx
mov esi, eax
call fcn.00130f10
mov eax, esi
add esp, 0x10
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1338c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
sub esp, 8
mov ecx, dword [esp + 0x18]
mov dword [esp], 0x717e7f8c
mov word [esp + 4], 0
mov eax, esp
mov edx, 0x4e93f7ea
nop
movzx edi, byte [eax]
mov ebx, edx
or ebx, edi
not ebx
lea esi, [edx - 0x4e93f700]
and esi, edi
or esi, ebx
mov edi, esi
and edi, 0x16
mov ebx, esi
xor ebx, 0x96
lea ebx, [ebx + edi*2]
and esi, 1
xor ebx, 1
or ebx, esi
add ebx, esi
mov byte [eax], bl
inc eax
dec edx
cmp edx, 0x4e93f7e4
jne 0x1338e0
mov eax, dword [esp]
mov eax, dword fs:[eax]
mov edx, dword [case.0x133869.8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x1339c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
push eax
mov ecx, dword [esp + 0x14]
mov dword [esp], 0x191a1bec
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, eax
add dl, 0x7b
xor dl, byte [esp + eax]
add dl, 0x99
mov byte [esp + eax], dl
inc eax
cmp eax, 4
jne case.default.0x133a01
mov eax, dword [esp]
mov eax, dword fs:[eax]
xor edx, edx
test ecx, ecx
sete dl
jmp dword [edx*4 + 0x13eeb4]

Function at 0x133a90
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [esp + 0x48]
movzx eax, word [eax]
mov dword [esp], 0x1065d53
mov word [esp + 4], 0
mov ecx, 0x13da8e83
mov edx, 0x7e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx - 0x13da8e83]
mov edi, esi
not edi
or edi, edx
lea esi, [esi + edi*2]
add esi, ecx
mov edi, esi
and edi, 0x7a
xor esi, 0x7a
lea ebx, [esi + edi*2]
inc bl
mov byte [esp + ecx - 0x13da8e83], bl
inc ecx
dec edx
cmp ecx, 0x13da8e89
jne 0x133ac0
xor ecx, ecx
cmp dword [esp], eax
setne cl
xor eax, eax
jmp dword [ecx*4 + 0x13eef4]
Function at 0x402a04
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0040406c
test esi, esi
jne 0x402a3a
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.0040415c
jmp 0x402a58
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402918
mov edi, eax
test esi, esi
je 0x402a58
cmp dword [ebx], 0
je 0x402a58
dec esi
jmp 0x402a41
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403128
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x46f020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4031c0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4031a0
xor eax, eax
push ebp
push 0x403199
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4031dc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4031a0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x46f020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x46f020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403e6c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x472048], 0
je 0x403ecd
cmp word [0x47221c], 0xd7b2
jne 0x403e95
cmp dword [0x472224], 0
jbe 0x403e95
mov eax, 0x472218
call dword [0x472234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46f06c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403ef4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x46f030], 0
jne 0x403ee9
push 0
push 0x46f064
push 0x46f06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404020
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004026dc
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x472049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403fe8
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc