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

Disassembly:
sub esp, 0x14
cmp dword [esp + 0x1c], 0
jle 0x4f2a63
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
push edi
mov ecx, dword [eax + 8]
mov ebp, ecx
add ebp, dword [eax]
mov edx, dword [eax + 0xc]
mov esi, edx
mov edi, dword [eax + 4]
adc edi, edx
xor ebx, ebx
shld edx, ecx, 0xd
shr esi, 0x13
or ebx, edx
shl ecx, 0xd
mov edx, dword [eax + 0x1c]
or esi, ecx
mov ecx, dword [eax + 0x18]
xor ebx, edi
xor esi, ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], esi
mov ebx, edx
mov esi, ecx
mov dword [esp + 0x10], edi
add esi, dword [eax + 0x10]
mov dword [esp + 0x1c], esi
adc ebx, dword [eax + 0x14]
xor edi, edi
mov dword [esp + 0x14], ebx
mov ebx, edx
shld edx, ecx, 0x10
shr ebx, 0x10
shl ecx, 0x10
or edi, edx
xor edi, dword [esp + 0x14]
or ebx, ecx
mov ecx, dword [esp + 0x10]
xor ebx, esi
xor esi, esi
mov edx, edi
or esi, ebp
mov ebp, dword [esp + 0x18]
add ecx, ebx
mov dword [esp + 0x10], ecx
adc esi, edi
mov dword [eax], ecx
shld edi, ebx, 0x15
xor ecx, ecx
shr edx, 0xb
or ecx, edi
shl ebx, 0x15
or edx, ebx
mov dword [eax + 4], esi
xor edx, dword [esp + 0x10]
xor ecx, esi
mov ebx, dword [esp + 0x20]
mov edi, ebp
add edi, dword [esp + 0x1c]
mov esi, ebx
mov dword [eax + 0x18], edx
mov edx, ebx
adc esi, dword [esp + 0x14]
mov dword [eax + 0x1c], ecx
xor ecx, ecx
shld ebx, ebp, 0x11
shr edx, 0xf
or ecx, ebx
shl ebp, 0x11
xor ecx, esi
mov dword [eax + 0x10], esi
mov dword [eax + 0xc], ecx
or edx, ebp
xor ecx, ecx
xor edx, edi
or ecx, edi
mov dword [eax + 8], edx
sub dword [esp + 0x2c], 1
mov dword [eax + 0x14], ecx
jne 0x4f2986
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x401ac0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
lea ebx, [esp + 0x24]
mov dword [esp], str.Mingw_w64_runtime_failure:_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
jmp fcn.00401b20

Function at 0x401b20
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x4053a0]
test esi, esi
jle 0x401c0d
mov edi, dword [0x4053a4]
xor ebx, ebx
lea edx, [edi + 4]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x401b54
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x401c06
add ebx, 1
add edx, 0xc
cmp ebx, esi
jne 0x401b40
mov dword [esp], eax
mov ebx, eax
call fcn.00402440
test eax, eax
mov edi, eax
je 0x401c4a
lea ebx, [esi + esi*2]
mov esi, dword [0x4053a4]
shl ebx, 2
add esi, ebx
mov dword [esi + 8], eax
mov dword [esi], 0
call fcn.00402570
add eax, dword [edi + 0xc]
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov eax, dword [0x4053a4]
mov eax, dword [eax + ebx + 4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x401c2a
mov eax, dword [esp + 0x28]
lea edx, [eax - 4]
and edx, 0xfffffffb
je 0x401bff
sub eax, 0x40
and eax, 0xffffffbf
je 0x401bff
mov eax, dword [esp + 0x20]
add ebx, dword [0x4053a4]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
je 0x401c14
add dword [0x4053a0], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
xor esi, esi
jmp 0x401b5e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.00401ac0
mov eax, dword [0x4053a4]
mov eax, dword [eax + ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.00401ac0
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.00401ac0
lea esi, [esi]
Function at 0x4020b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x4053b8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4053b0]
sub esp, 4
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x402105
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x4020fe
test esi, esi
je 0x4020fe
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4020e0
mov dword [esp], 0x4053b8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x15583184
Capabilities:
Encode data using xor

Disassembly:
lds ecx, [eax + 0x70]
fidiv word ss:[eax + eax*2 - 0x7900297e]
rol esi, cl
mov ecx, 0x7faf17b
invalid
cmp byte [ecx - 0x5f], al
salc
adc dword [eax], ecx
inc ebx
test al, 0xe7
in eax, dx
test byte [ebx + 0x32], 0xb4
adc al, 0xed
popfd
pop eax
out 0xcd, al
dec ecx
loopne 0x155831e7
lahf
int1
mov bh, 0x44
je 0x15583135
push ss
mov esp, 0x8131e0c1
stosd dword es:[edi], eax
stosd dword es:[edi], eax
aaa
inc ebp
mov ecx, 0x31d8afe0
inc ecx
and dh, dl
sub dword [ebx - 0x76ad37bc], ecx
loopne 0x15583200
scasd eax, dword es:[edi]
daa
xor dl, byte [edi - 0x48e9ae72]
or bh, ch
imul ecx, ebp, 0xbf497f9e
inc esi
jne 0x155831dc
pop ds
in al, dx
retf 0x8d13
lea ebp, [edx + ebx*2 + 0x15]
scasd eax, dword es:[edi]
arpl word [edx + 0x15], bx
add bh, byte [ebx + 0x59]
adc eax, 0x155a6c8d
je 0x15583269
pop ecx
adc eax, 0x15597235
sar byte [ebx + 0x59], 0x15
mov dh, 0x7f
pop ecx
adc eax, 0x15597c33
mov dword [0x21155ca2], eax
jl 0x15583260
adc eax, 0x155a63af
sub edi, dword [ecx + ebx*2 + 0x15]
cmp eax, 0x6315597c
jb 0x15583270
adc eax, 0x155c9843
aad 0x72
pop ecx
adc eax, 0x15597305
inc ecx
add byte [eax + eax + 0x6c], ch
add byte [edi], ch
ja 0x1558322e
add byte gs:[eax + eax + 0x53], ah
add byte [edi], ch
jne 0x15583238
jb 0x1558323a
arpl word [eax], ax
add byte gs:[ecx], cl
inc esp
add byte [ebx], dh
add byte [eax], al
nop
nop
inc ebx
add byte [edi], ch
outsb dx, byte [esi]
add byte [eax + eax + 0x65], dh
add byte [esi], ch
je 0x15583256
dec eax
add byte [ebp], ah
popal
add byte [eax + eax + 0x65], ah
add byte [edx], dh
jb 0x15583262
add byte [eax], al
inc ecx
add byte [ebx], ah
je 0x1558326a
add byte [ecx], ch
outsd dx, dword [esi]
add byte [esi], ch
imul eax, dword [eax], 0x6e006f
jae 0x15583272
add byte [eax], al
nop
nop
nop
nop
cmp dword [eax], eax
cmp byte [eax], al
xor byte [eax], al
inc esp
add byte [edi], dh
add byte [eax + eax + 0x38], al
add byte [edi], dh
add byte [0x37003000], ch
add byte [ebp], al
add byte ss:[0x61003400], ch
add byte [eax + eax], dh
popal
add byte [edx], dh
add byte [ebp], ah
sub eax, 0x43004200
add byte [edx], al
inc ebp
add byte [0x34003900], ch
add byte [edi], dh
add byte [eax + eax], dh
add byte ss:[edx], dh
add byte [ecx], dh
add byte [eax], bh
add byte [ebx], al
xor eax, dword [eax]
inc esi
add byte [eax + eax], dh
add byte [eax], al
nop
nop
dec ecx
mov bl, byte [ecx + 0x15]
sub byte [edx - 0x3beaeaa7], cl
pop ecx
adc eax, 0x15598a32
out dx, eax
les ebx, [ecx + 0x15]
pop dword [ebp - 0x733deaa7]
pop ecx
adc eax, 0x1559c12b
stosb byte es:[edi], al
test dword [ecx + 0x15], ebx
mov cl, 0x83
pop ecx
adc eax, 0x155983c9
fild word [ecx + ebx*2 - 0x6f6f6feb]
nop
rol dword [edx - 0x3f53eaa7], cl
pop ecx
adc eax, 0x15598382
add dword [ebx], ebx
pop edx
adc eax, 0x1559855b
jne 0x15583293
pop ecx
adc eax, 0x155a1b1b
cli
test byte [ecx + 0x15], bl
inc ebp
test dword [ecx + 0x15], ebx
cdq
mov ds, word [ecx + 0x15]
out 0x8e, eax
pop ecx
adc eax, 0x155992d1
inc esp
invalid
Function at 0x15590528
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0xc]
cmp word [ecx], 0
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
je 0x155905b3
cmp word [eax], 0
push ebx
push esi
push edi
je 0x155905ae
mov ebx, dword [fcn.155812f0]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
jmp 0x15590594
movzx eax, word [edi]
test ax, ax
je 0x155905b7
movzx ecx, word [esi]
movzx eax, ax
sub ecx, eax
jne 0x1559059a
push esi
call ebx
push edi
mov dword [ebp - 4], eax
call ebx
mov ecx, dword [ebp - 4]
sub eax, edi
sub ecx, esi
xor eax, ecx
test eax, 0xfffffffe
jne 0x1559059a
jmp 0x1559058f
inc esi
inc esi
movzx ecx, word [esi]
inc edi
inc edi
movzx eax, word [edi]
sub ecx, eax
je 0x15590594
cmp esi, dword [ebp - 4]
jb 0x15590581
cmp word [esi], 0
jne 0x15590554
cmp word [edi], 0
je 0x155905b7
push dword [ebp + 8]
call ebx
cmp word [eax], 0
mov dword [ebp + 8], eax
jne 0x1559054c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
mov eax, dword [ebp + 8]
jmp 0x155905b0
Function at 0x1559d998
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x15612b88]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x80], 0
and dword [ebp - 0x7c], 0
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
cmp eax, 0x2a
jae 0x1559d9de
mov dword [ebp - 0x78], 0x80070057
jmp 0x1559db1a
cmp byte [esi], 0
push ebx
lea ebx, [esi + 1]
push edi
lea edi, [ebx + 0x14]
lea ecx, [eax - 0x15]
je 0x1559d9fa
mov dword [ebp - 0x78], 0x80004005
jmp 0x1559db18
lea eax, [ebp - 0x80]
push eax
push edi
push 0x14
pop edx
call fcn.1559d836
mov dword [ebp - 0x78], eax
test eax, eax
jl 0x1559dafa
mov ecx, dword [ebp - 0x80]
mov eax, ebx
sub ecx, ebx
mov dword [ebp - 0x78], 0x14
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec dword [ebp - 0x78]
jne 0x1559da20
lea eax, [ebp - 0x7c]
push eax
push ebx
mov ebx, dword [ebp + 8]
push 0x14
add ebx, 0xffffffeb
mov edx, ebx
pop ecx
call fcn.1559d836
mov dword [ebp - 0x78], eax
test eax, eax
jl 0x1559dafa
test ebx, ebx
jbe 0x1559da5f
mov ecx, dword [ebp - 0x7c]
mov eax, edi
sub ecx, edi
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec ebx
jne 0x1559da56
lea eax, [ebp - 0x74]
push eax
call 0x1556ba7d
lea eax, [ebp - 0x74]
push eax
push 0
push 0
call 0x1556bac3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x74]
push eax
call 0x1556bd0a
mov al, byte [ebp - 0x18]
add esp, 0x18
cmp al, byte [edi]
je 0x1559da95
mov dword [ebp - 0x78], 0x80004005
jmp 0x1559dafa
mov eax, dword [ebp + 8]
add eax, 0xffffffeb
lea ebx, [edi + 0x14]
add edi, eax
jmp 0x1559daa8
cmp byte [ebx], 0
jne 0x1559daac
inc ebx
cmp ebx, edi
jb 0x1559daa2
cmp ebx, edi
je 0x1559da8c
cmp byte [ebx], 1
jne 0x1559da8c
mov eax, dword [ebp + 8]
inc ebx
sub esi, ebx
add eax, esi
mov esi, dword [ebp - 0x88]
mov dword [esi], eax
je 0x1559daf1
push eax
call 0x15572bc4
pop ecx
mov ecx, dword [ebp - 0x84]
mov dword [ecx], eax
test eax, eax
jne 0x1559dae3
mov dword [ebp - 0x78], 0x80000002
jmp 0x1559dafa
push dword [esi]
push ebx
push eax
call 0x1555331f
add esp, 0xc
jmp 0x1559dafa
mov eax, dword [ebp - 0x84]
and dword [eax], 0
cmp dword [ebp - 0x80], 0
je 0x1559db09
push dword [ebp - 0x80]
call 0x15572bdd
pop ecx
cmp dword [ebp - 0x7c], 0
je 0x1559db18
push dword [ebp - 0x7c]
call 0x15572bdd
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x78]
xor ecx, ebp
pop esi
call 0x1557ef52
leave
ret 0xc
Function at 0x1559dbd9
Capabilities:
Encode data using xor

Disassembly:
sti
inc dword [edi]
add al, ah
neg byte [ebx]
add esi, dword [eax]
mov esi, eax
add esp, 0x38
test esi, esi
jl 0x1559dc4c
mov edi, dword [ebp - 0x78]
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x6c]
mov edx, edi
push 0x14
pop ecx
call fcn.1559d836
mov esi, eax
test esi, esi
jl 0x1559dc4c
test edi, edi
jbe 0x1559dc1c
mov esi, dword [ebp - 0x70]
mov eax, ebx
sub esi, ebx
mov ecx, edi
mov dl, byte [esi + eax]
xor byte [eax], dl
inc eax
dec ecx
jne 0x1559dc13
lea eax, [ebp - 0x64]
push eax
push ebx
push 0x14
pop edx
mov ecx, edi
call fcn.1559d836
invalid
dec dword [ebx + 0x7cf685f0]
invalid
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x64]

Function at 0x1559dc3d
Capabilities:
Encode data using xor

Disassembly:
dec dword [ebx + 0x7cf685f0]
sbb ecx, dword [ebx + 0x4d8b9445]
pushfd
push 0x14
sub ecx, eax
pop edi
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec edi
jne 0x1559dc3c
jmp 0x1559dc4c
push dword [ebp - 0x70]
call 0x15572bdd
push dword [ebp - 0x64]
call 0x15572bdd
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call 0x1557ef52
leave
ret 8
Function at 0x1559dd5f
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x15612b88]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push 0x58
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x70]
push edi
push eax
mov esi, ecx
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x74], edi
call 0x15553394
mov ecx, dword [ebp + 0x10]
mov ebx, ecx
add esp, 0xc
shr ebx, 3
test cl, 7
je 0x1559ddaa
inc ebx
mov eax, ebx
shl eax, 3
sub eax, ecx
mov dword [ebp - 0x88], eax
cmp ebx, 0x16
jae 0x1559ddc8
mov dword [ebp - 0x78], 0x80070057
jmp 0x1559df10
cmp byte [esi + ebx - 1], 0xbc
jne 0x1559ddbc
push 0x1c
call 0x15572bc4
pop ecx
mov ecx, eax
mov dword [ebp - 0x84], ecx
cmp ecx, edi
jne 0x1559ddef
mov dword [ebp - 0x78], 0x80000002
jmp 0x1559deec
xor eax, eax
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x74]
push eax
lea edi, [ecx + 8]
call 0x1556ba7d
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x7c]
push dword [eax + 4]
mov eax, dword [eax]
add eax, dword [ebp - 0x78]
push eax
call 0x1556bac3
lea eax, [ebp - 0x74]
push edi
push eax
call 0x1556bd0a
add esp, 0x18
push 8
pop ecx
sub ecx, dword [ebp - 0x88]
or al, 0xff
shl al, cl
lea edi, [ebx - 0x15]
lea ebx, [edi + esi]
test byte [esi], al
je 0x1559de46
mov dword [ebp - 0x78], 0x80070057
jmp 0x1559deec
lea eax, [ebp - 0x80]
push eax
push ebx
push 0x14
mov edx, edi
pop ecx
call fcn.1559d836
mov dword [ebp - 0x78], eax
test eax, eax
jl 0x1559deec
test edi, edi
jbe 0x1559de79
mov ecx, dword [ebp - 0x80]
mov eax, esi
sub ecx, esi
mov dword [ebp - 0x7c], edi
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec dword [ebp - 0x7c]
jne 0x1559de6e
mov ecx, dword [ebp - 0x88]
mov eax, 0xff
sar eax, cl
lea ecx, [edi - 1]
and byte [esi], al
xor eax, eax
test ecx, ecx
jbe 0x1559de9d
dec edi
cmp byte [esi + eax], 0
jne 0x1559dee5
inc eax
cmp eax, edi
jb 0x1559de92
cmp byte [ebx - 1], 1
jne 0x1559dee5
push 0
push ebx
push 0
call 0x1555331f
lea eax, [ebp - 0x74]
push eax
call 0x1556ba7d
lea eax, [ebp - 0x74]
push eax
push 0x1c
push dword [ebp - 0x84]
call 0x1556bac3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x74]
push eax
call 0x1556bd0a
add esp, 0x24
push 5
pop ecx
lea edi, [ebp - 0x18]
mov esi, ebx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x1559deec
mov dword [ebp - 0x78], 0x80004005
cmp dword [ebp - 0x84], 0
je 0x1559df01
push dword [ebp - 0x84]
call 0x15572bdd
pop ecx
cmp dword [ebp - 0x80], 0
je 0x1559df10
push dword [ebp - 0x80]
call 0x15572bdd
pop ecx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x78]
pop edi
pop esi
xor ecx, ebp
pop ebx
call 0x1557ef52
leave
ret 0xc
Function at 0x1559f380
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
xor eax, eax
test esi, esi
je 0x1559f3cd
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push edi
mov edi, dword [ebp + 8]
sub edi, edx
sub ecx, edx
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x14], esi
mov esi, dword [edi + edx]
mov ecx, dword [edx]
lea ebx, [esi + ecx]
add eax, ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebx + edx], eax
mov ebx, ecx
xor ebx, esi
and ebx, eax
or ecx, esi
xor ebx, ecx
shr ebx, 0x1f
add edx, 4
dec dword [ebp + 0x14]
mov eax, ebx
jne 0x1559f3a4
pop edi
pop ebx
pop esi
pop ebp
ret 0x10

Function at 0x1559f5ac
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x14]
xor eax, eax
test edx, edx
je 0x1559f5f9
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
sub ebx, esi
sub ecx, esi
push edi
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x14], edx
mov edi, dword [ebx + esi]
mov edx, dword [esi]
mov ecx, edi
sub ecx, edx
sub ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax + esi], ecx
xor ecx, edi
xor edx, edi
or ecx, edx
xor ecx, edi
shr ecx, 0x1f
add esi, 4
dec dword [ebp + 0x14]
mov eax, ecx
jne 0x1559f5d0
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x155a27d1
Capabilities:
Encode data using xor

Disassembly:
pushfd
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], edi
lea esi, [ebp + 4]
mov ebx, dword [esi + 4]
sub esi, 4
push ebx
push ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], ebx
mov eax, 0xccfc941d
mov edi, dword [ebx]
mov eax, 0xfffffff
mov ebx, dword [ebx + 8]
mov edx, dword [0x155d7bd0]
and dword [ebp - 0x28], 0
and dword [ebp - 0x24], 0
pop ecx
and ebx, eax
and edi, eax
mov eax, 0x15580000
pop ecx
mov ecx, eax
add ebx, eax
sub ecx, edx
mov dword [ebp - 0x18], ecx
jne 0x155a28a2
and dword [ebp - 4], 0
test edi, edi
jbe 0x155a2b13
mov esi, 0x16f4230b
mov ecx, 0x7fffffff
mov eax, dword [ebp - 4]
mov edx, esi
movzx eax, byte [eax + ebx]
add eax, esi
add dword [ebp - 0x28], eax
add eax, dword [ebp - 0x24]
mul edx
lea edx, [eax + edx*2 - 0x7fffffff]
sar eax, 0x1f
and eax, ecx
sub edx, eax
mov dword [ebp - 0x1c], edx
sar edx, 0x1f
and edx, ecx
add edx, dword [ebp - 0x1c]
mov eax, edx
imul eax, eax, 0x2f9
rol eax, 0xb
ror edx, 0xb
xor eax, edx
mov edx, eax
imul edx, edx, 0x2f9
rol edx, 0xb
ror eax, 0xb
xor edx, eax
add dword [ebp - 0x28], edx
inc dword [ebp - 4]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 4], edi
jb 0x155a2843
jmp 0x155a2b10
lea ecx, [edi + ebx]
mov edx, ebx
sub edx, eax
mov esi, edx
and esi, 0xfffff000
mov dword [ebp - 4], esi
add edi, edx
mov esi, edx
mov edx, edi
sub esi, dword [ebp - 4]
and edx, 0xfffff000
sub edi, edx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [0x1558003c]
mov dword [ebp - 0x40], edi
mov edi, dword [ecx + 0x155800a0]
add edi, eax
mov eax, dword [ecx + 0x155800a4]
add eax, edi
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x3c], eax
jmp 0x155a28f3
mov ecx, dword [ebp - 4]
cmp dword [edi], ecx
jae 0x155a28f7
add edi, dword [edi + 4]
cmp edi, eax
jne 0x155a28e9
and dword [ebp - 0x34], 0
cmp edi, eax
je 0x155a2938
mov ecx, dword [ebp - 4]
cmp dword [edi], ecx
jne 0x155a2938
mov ecx, dword [edi + 4]
sub ecx, 8
shr ecx, 1
mov dword [ebp - 0x10], ecx
je 0x155a2938
lea ecx, [edi + 8]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
movzx ecx, word [ecx]
and ecx, 0xfff
cmp ecx, esi
jae 0x155a2938
inc dword [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
add dword [ebp - 4], 2
cmp dword [ebp - 0x34], ecx
jne 0x155a2919
mov esi, 0x16f4230b
mov ecx, 0x7fffffff
jmp 0x155a294a
Function at 0x155a9941
Capabilities:
Check for software breakpoints

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.155a911d
test eax, eax
jg 0x155a9963
xor eax, eax
jmp 0x155a99a8
push esi
xor eax, eax
push edi
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax + 0x1558aaa0]
jne 0x155a998a
mov edi, dword [eax + 0x1558aaa4]
mov esi, dword [ebp - 0x10]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x155a9986
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
je 0x155a9997
add eax, 0xc
inc ebx
cmp eax, 0xcc
jb 0x155a9967
jmp 0x155a99a3
imul ebx, ebx, 0xc
mov eax, dword [ebx + 0x1558aaa8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x155b33aa
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x15612b88]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
and dword [ebp - 0x1c], 0
and dword [ebp - 0x14], 0
push ebx
push edi
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
push 0x18
pop eax
mov ebx, ecx
mov edi, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push 4
push eax
call fcn.155b6a1e
mov edx, dword [ebp - 0x18]
lea eax, [edx + 0x18]
pop ecx
pop ecx
cmp dword [ebp + 0xc], eax
jae 0x155b3403
mov dword [ebp - 0x14], 0x8004c006
jmp 0x155b347f
movzx eax, word [ebp + 8]
push esi
xor esi, esi
inc esi
cmp word [ebp + 8], si
je 0x155b3469
cmp si, 5
jae 0x155b3469
cmp ax, 0x28
ja 0x155b3469
movzx ecx, si
mov word [ebp + ecx*2 - 0x10], ax
movzx eax, ax
imul eax, eax, 0x24
movzx eax, word [eax + 0x155842b0]
inc esi
cmp ax, 1
jne 0x155b3411
jmp 0x155b3469
cmp si, 5
jae 0x155b3474
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
movzx eax, si
movzx eax, word [ebp + eax*2 - 0x10]
push eax
mov eax, edi
call fcn.155b331c
mov dword [ebp - 0x14], eax
test eax, eax
jl 0x155b347e
mov edx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x18], edx
add esi, 0xffff
test si, si
ja 0x155b343b
mov eax, dword [ebp - 0x28]
mov dword [eax], edi
mov eax, dword [ebp - 0x24]
mov dword [eax], edx
pop esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
pop edi
xor ecx, ebp
pop ebx
call 0x155c9f52
leave
ret 0x10

Function at 0x155c81c2
Capabilities:
Encode data using xor

Disassembly:
pop es
pop ds
mov ebp, 0x39aefd39
xchg edx, eax
mov edx, es
xchg ebp, eax
mov eax, dword [0x17fcb71b]
pop ss
invalid

Function at 0x155c86da
Capabilities:
Authenticate hmac

Disassembly:
invalid
xor al, 0x5c
inc esp
jo 0x155c86ea
and ch, al
pop edx
movsb byte es:[edi], byte [esi]
jle 0x155c86be
xchg edi, eax
mov ah, 0xec
push ds
test byte [edi + 0x2ac0a882], bh
pop es
jns 0x155c86ea
xchg esi, eax
ret