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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
mov edx, dword [ebp + 0xc]
push 0xffffffffffffffff
push 0x139a445
push eax
mov dword fs:[0], esp
sub esp, 0x18
cmp dword [edx + 0x14], 0x10
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
jb 0x155039d
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x15503c2
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x15503b0
push esi
push edx
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.0154e6d0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x15503f2
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 8], 0x7ffffff
je 0x1550543
lea eax, [ebx + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
push 0x20
mov dword [ebp - 0x1c], 0
call fcn.015ba302
add esp, 4
mov edi, eax
mov dword [ebp - 0x1c], edi
push dword [ebp + 0xc]
lea ecx, [edi + 8]
call fcn.01543350
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x13b4f30]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x13b4f30]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x15504e6
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call fcn.015df440
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.015e0030
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x15504ca
cmp eax, 0x200
jae 0x15504c8
shl eax, 3
cmp eax, ecx
jae 0x15504ca
mov eax, ecx
push eax
mov ecx, ebx
call fcn.01554040
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0154e6d0
mov edx, dword [eax]
jmp 0x15504e9
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x18]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x1550511
mov dword [ecx + eax*8], edi
jmp 0x1550523
cmp esi, edx
jne 0x155051a
mov dword [ecx + eax*8], edi
jmp 0x1550527
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x1550527
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x13b1dec
call fcn.015b875b
int3
Function at 0x155b810
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x139aa75
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
mov esi, ecx
push dword [ebp + 8]
mov dword [ebp - 0x10], esi
push eax
call fcn.0155c120
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], eax
test al, al
je 0x155b86b
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [esi + 4], 0x4924924
je 0x155b903
mov ebx, dword [esi]
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
push 0x38
mov dword [ebp - 0x14], 0
call fcn.015ba302
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
push dword [ebp + 0xc]
lea ecx, [edi + 0x10]
mov dword [ebp - 4], 1
call fcn.01543350
mov edx, dword [ebp + 0xc]
push edi
push dword [ebp - 0x24]
mov al, byte [edx + 0x18]
push dword [ebp - 0x28]
mov byte [edi + 0x28], al
mov ecx, dword [edx + 0x24]
mov eax, dword [edx + 0x20]
mov dword [edi + 0x34], ecx
mov ecx, dword [ebp - 0x10]
mov dword [edi + 0x30], eax
mov byte [edx + 0x18], 0
mov dword [edx + 0x20], 0
mov dword [edx + 0x24], 0
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov word [edi + 0xc], 0
call fcn.0154a320
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.014e5360
int3
Function at 0x155db20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x13c6004]
push ebx
push esi
push edi
push 0
push 0
push 0
push 0
push dword [ebp + 0xc]
mov dword [ebp - 0x10], edx
mov esi, ecx
call eax
mov ebx, eax
test ebx, ebx
jne 0x155db50
lea eax, [ebx + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 4
lea eax, [ebp + 0x10]
push eax
push 6
push ebx
call dword [0x13c6008]
mov eax, dword [0x13c5ff4]
push 0
push 0
push 3
push 0
push 0
push 0x50
push esi
push ebx
call eax
cmp byte [ebp + 8], 0
mov esi, eax
mov dword [ebp - 8], esi
mov edx, 0x80000000
mov dword [ebp - 4], 0x80000000
je 0x155db97
mov dword [ebp - 4], 0x80803000
mov edx, 0x80803000
mov edi, dword [0x13c5ffc]
xor ecx, ecx
mov dword [ebp - 0x16], 0xd2d4d1db
mov word [ebp - 0x12], 0x100
nop dword [eax]
lea eax, [ecx - 0x6d]
xor byte [ebp + ecx - 0x16], al
inc ecx
cmp ecx, 4
jb 0x155dbb0
push 0
push edx
push 0
push 0
push 0
push dword [ebp - 0x10]
lea eax, [ebp - 0x16]
mov byte [ebp - 0x11], 0
push eax
push esi
call edi
mov ecx, dword [0x13c5ff8]
mov edi, eax
push 0
push 0
push 0
push 0
push edi
call ecx
test eax, eax
jne 0x155dc48
push eax
push 0xd0d3a
call fcn.014e5320
add esp, 8
mov dword [ebp - 0x10], edx
mov esi, eax
call dword [0x139c090]
xor ecx, ecx
cmp eax, esi
jne 0x155dc45
cmp ecx, dword [ebp - 0x10]
jne 0x155dc45
cmp byte [ebp + 8], cl
je 0x155dc45
lea eax, [ebp - 0xc]
mov dword [ebp - 4], ecx
push eax
lea eax, [ebp - 4]
mov dword [ebp - 0xc], 4
push eax
push 0x1f
push edi
call dword [0x13c5fe8]
or dword [ebp - 4], 0x100
lea eax, [ebp - 4]
push 4
push eax
push 0x1f
push edi
call dword [0x13c6008]
mov esi, dword [ebp - 8]
mov eax, dword [0x13c6000]
lea ecx, [ebp - 0xc]
push 0
push ecx
push dword [ebp + 0x14]
mov dword [ebp - 0xc], 4
push 0x20000005
push edi
call eax
test eax, eax
mov ecx, 2
mov eax, 0
cmove eax, ecx
mov dword [ebp - 0x10], eax
test edi, edi
je 0x155dc82
push edi
call dword [0x13c5fec]
test esi, esi
je 0x155dc8d
push esi
call dword [0x13c5fec]
push ebx
call dword [0x13c5fec]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x155f480
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
mov esi, ecx
test esi, esi
je 0x155f65d
cmp dword [esi + 0x20], 0
je 0x155f65d
cmp dword [esi + 0x24], 0
je 0x155f65d
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x155f65d
cmp dword [eax], esi
jne 0x155f65d
mov eax, dword [eax + 4]
cmp eax, 0x2a
je 0x155f4e4
cmp eax, 0x39
je 0x155f4e4
cmp eax, 0x45
je 0x155f4e4
cmp eax, 0x49
je 0x155f4e4
cmp eax, 0x5b
je 0x155f4e4
cmp eax, 0x67
je 0x155f4e4
cmp eax, 0x71
je 0x155f4e4
cmp eax, 0x29a
jne 0x155f65d
push edi
mov edi, dword [esi + 0x1c]
mov dword [esi + 0x14], 0
mov dword [esi + 8], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x2c], 2
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 8]
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], eax
test ecx, ecx
jns 0x155f51d
neg ecx
mov dword [edi + 0x18], ecx
cmp ecx, 2
jne 0x155f52d
mov dword [edi + 4], 0x39
xor eax, eax
jmp 0x155f54d
test ecx, ecx
mov edx, 0x2a
mov eax, 0x71
cmovne eax, edx
xor edx, edx
push 0
xor ecx, ecx
mov dword [edi + 4], eax
call fcn.0155ecc0
add esp, 4
mov dword [esi + 0x30], eax
mov ecx, edi
lea eax, [edi + 0x94]
mov dword [edi + 0x28], 0
mov dword [edi + 0xb18], eax
lea eax, [edi + 0x988]
mov dword [edi + 0xb24], eax
lea eax, [edi + 0xa7c]
mov dword [edi + 0xb30], eax
xor eax, eax
mov dword [edi + 0xb20], 0x13acd8c
mov dword [edi + 0xb2c], 0x13acf14
mov dword [edi + 0xb38], 0x13ace14
mov word [edi + 0x16b8], ax
mov dword [edi + 0x16bc], eax
call fcn.01563fe0
mov esi, dword [esi + 0x1c]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x4c]
add eax, eax
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x44]
mov word [eax + ecx*2 - 2], dx
mov eax, dword [esi + 0x4c]
lea eax, [eax*2 - 2]
push eax
push edx
push dword [esi + 0x44]
call fcn.015bc560
mov eax, dword [esi + 0x84]
add esp, 0xc
lea ecx, [eax + eax*2]
movzx eax, word [ecx*4 + 0x13ab72a]
mov dword [esi + 0x80], eax
movzx eax, word [ecx*4 + 0x13ab728]
mov dword [esi + 0x8c], eax
movzx eax, word [ecx*4 + 0x13ab72c]
mov dword [esi + 0x90], eax
xor eax, eax
movzx ecx, word [ecx*4 + 0x13ab72e]
pop edi
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x6c], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x16b4], 0
mov dword [esi + 0x78], 2
mov dword [esi + 0x60], 2
mov dword [esi + 0x68], 0
mov dword [esi + 0x48], 0
pop esi
pop ebx
ret
pop esi
mov eax, 0xfffffffe
pop ebx
ret
Function at 0x1567320
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x100ac], ebx
je 0x15673c9
cmp dword [esi + 0x7c], ebx
jbe 0x15673c9
mov eax, 0xffffff5c
lea ebx, [esi + 0xa4]
sub eax, esi
mov dword [ebp - 4], eax
movzx eax, byte [ebx]
mov ecx, dword [esi + 0x100d0]
xor eax, ecx
mov edx, dword [esi + 0x100dc]
movzx eax, al
mov edi, dword [esi + 0x100d8]
shr ecx, 8
and edi, 0xfffd
or edi, 2
xor ecx, dword [edx + eax*4]
movzx eax, cl
add eax, dword [esi + 0x100d4]
imul eax, eax, 0x8088405
mov dword [esi + 0x100d0], ecx
mov ecx, dword [esi + 0x100d8]
inc eax
mov dword [esi + 0x100d4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [edx + eax*4]
mov eax, edi
xor eax, 1
mov dword [esi + 0x100d8], ecx
imul eax, edi
shr eax, 8
xor byte [ebx], al
inc ebx
mov eax, dword [ebp - 4]
add eax, ebx
cmp eax, dword [esi + 0x7c]
jb 0x1567350
xor ebx, ebx
mov edi, dword [esi + 0x7c]
lea eax, [esi + 0xa4]
push edi
push eax
push dword [esi + 0x2c]
mov eax, dword [esi + 8]
push dword [esi + 0x1c]
call eax
add esp, 0x10
mov dword [esi + 0x7c], 0
or ecx, 0xffffffff
cmp eax, edi
cmovne ebx, ecx
add dword [esi + 0x100c0], edi
mov ecx, dword [esi + 0x48]
mov eax, ebx
adc dword [esi + 0x100c4], 0
add dword [esi + 0x100c8], ecx
pop edi
adc dword [esi + 0x100cc], 0
mov dword [esi + 0x48], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x156bfd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
lea eax, [edx*8]
mov ebx, ecx
cmp eax, 0x400
mov dword [ebp - 4], ebx
mov esi, pe_nt_image_headers32
cmovbe esi, edx
push edi
cmp esi, dword [ebx]
je 0x156c18a
mov eax, dword [0x13c6414]
test eax, eax
je 0x156c005
call eax
lea eax, [esi*8]
push eax
call fcn.01568bd0
mov ecx, dword [0x13c6418]
add esp, 4
mov edi, eax
mov dword [ebp - 0xc], edi
test ecx, ecx
je 0x156c026
call ecx
test edi, edi
je 0x156c18a
mov esi, dword [ebx + 0xc]
test esi, esi
je 0x156c0a0
cmp dword [0x13c3ce8], 0
je 0x156c096
mov eax, dword [0x13c6530]
test eax, eax
je 0x156c051
push eax
call dword [0x13c3d30]
add esp, 4
push esi
call dword [0x13c3d0c]
mov ecx, dword [0x13c63b8]
neg eax
add ecx, eax
add esp, 4
mov eax, dword [0x13c63dc]
cmp ecx, eax
mov dword [0x13c63b8], ecx
cmovg eax, ecx
push esi
mov dword [0x13c63dc], eax
call dword [0x13c3d04]
mov eax, dword [0x13c6530]
add esp, 4
test eax, eax
je 0x156c0a0
push eax
call dword [0x13c3d38]
jmp 0x156c09d
push esi
call dword [0x13c3d04]
add esp, 4
push edi
mov dword [ebx + 0xc], edi
call dword [0x13c3d0c]
shr eax, 3
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebx], eax
lea ecx, [eax*8]
push ecx
push 0
push edi
call fcn.015bc560
mov ecx, dword [ebx + 8]
add esp, 0xc
mov dword [ebx + 8], 0
test ecx, ecx
je 0x156c17e
nop word [eax + eax]
mov esi, dword [ecx + 0x10]
xor edi, edi
mov ebx, dword [ecx + 0xc]
test esi, esi
jle 0x156c10d
nop dword [eax]
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
dec esi
movzx edx, byte [eax + 0x13ae778]
lea eax, [edi*8]
xor edx, eax
xor edi, edx
test esi, esi
jg 0x156c0f0
xor edx, edx
mov ebx, dword [ecx]
mov eax, edi
div dword [ebp - 8]
mov eax, dword [ebp - 0xc]
lea esi, [eax + edx*8]
test esi, esi
je 0x156c158
mov eax, dword [esi]
test eax, eax
je 0x156c12b
mov edx, dword [esi + 4]
jmp 0x156c12d
xor edx, edx
inc eax
mov dword [esi + 4], ecx
mov dword [esi], eax
test edx, edx
je 0x156c158
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x156c14d
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x156c174
mov eax, dword [ebp - 4]
mov dword [eax + 8], ecx
mov dword [edx + 4], ecx
jmp 0x156c174
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [ecx], eax
mov eax, dword [edx + 8]
test eax, eax
je 0x156c16a
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edx + 8], ecx
mov ecx, ebx
test ebx, ebx
jne 0x156c0e0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x156c250
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, ecx
mov dword [ebp - 8], edx
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [eax + 0xc], 0
je 0x156c2a4
push ebx
push esi
xor esi, esi
mov ebx, edx
push edi
mov edi, ecx
test ecx, ecx
jle 0x156c294
movzx eax, byte [ebx]
lea ecx, [esi*8]
dec edi
lea ebx, [ebx + 1]
movzx edx, byte [eax + 0x13ae778]
xor edx, ecx
xor esi, edx
test edi, edi
jg 0x156c274
mov ecx, dword [ebp + 8]
mov eax, esi
xor edx, edx
mov esi, dword [ebp - 4]
pop edi
div dword [esi]
mov eax, esi
pop esi
pop ebx
jmp 0x156c2a6
xor edx, edx
push edx
mov edx, dword [ebp - 8]
push ecx
mov ecx, eax
call fcn.0156c1a0
add esp, 8
test eax, eax
je 0x156c2c0
mov eax, dword [eax + 8]
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1586f50
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov eax, edx
mov dword [esp + 4], eax
push esi
push edi
mov edi, ecx
test eax, eax
je 0x15870e5
test edi, edi
je 0x1586fbe
cmp byte [edi + 0x1e], 0
jne 0x15870e5
cmp byte [edi + 0xe2], 0
je 0x1586fbe
mov eax, 0x44
cmp ax, word [edi + 0xe0]
ja 0x1586fbe
mov ebx, dword [edi + 0xec]
test ebx, ebx
je 0x1586fbe
mov eax, dword [ebx]
mov dword [edi + 0xec], eax
mov eax, dword [edi + 0xe4]
inc eax
mov dword [edi + 0xe4], eax
cmp eax, dword [edi + 0xe8]
jle 0x1586fde
mov dword [edi + 0xe8], eax
jmp 0x1586fde
push 0x44
call fcn.01568bd0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x1586fde
test edi, edi
je 0x1586fd6
mov byte [edi + 0x1e], 1
test ebx, ebx
je 0x15870e5
mov edx, dword [esp + 0xc]
mov ecx, edi
mov esi, dword [ebp + 8]
push esi
mov edx, dword [edx]
call fcn.015869a0
mov dword [ebx], eax
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, edi
push esi
mov edx, dword [eax + 8]
call fcn.01586bd0
mov dword [ebx + 8], eax
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, edi
push esi
mov edx, dword [eax + 0xc]
call fcn.01586980
mov dword [ebx + 0xc], eax
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, edi
push esi
mov edx, dword [eax + 0x10]
call fcn.015869a0
mov dword [ebx + 0x10], eax
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, edi
push esi
mov edx, dword [eax + 0x14]
call fcn.01586980
mov dword [ebx + 0x14], eax
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, edi
push esi
mov edx, dword [eax + 0x18]
call fcn.015869a0
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [ebx + 0x18], eax
mov al, byte [ecx + 4]
mov byte [ebx + 4], al
mov edx, dword [ecx + 0x1c]
mov ecx, edi
push esi
call fcn.01586f50
mov dword [ebx + 0x1c], eax
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, edi
push esi
mov edx, dword [eax + 0x28]
call fcn.01586980
add esp, 4
mov dword [ebx + 0x28], eax
mov ecx, edi
push esi
mov esi, dword [esp + 0x10]
mov edx, dword [esi + 0x2c]
call fcn.01586980
mov dword [ebx + 0x2c], eax
add esp, 4
mov dword [ebx + 0x30], 0
mov eax, 0xfff7
mov dword [ebx + 0x34], 0
mov cx, word [esi + 6]
and cx, ax
mov dword [ebx + 0x24], 0
mov word [ebx + 6], cx
mov eax, ebx
mov dword [ebx + 0x38], 0xffffffff
mov dword [ebx + 0x3c], 0xffffffff
mov dword [ebx + 0x40], 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x158bba0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
push esi
push edi
mov edi, ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x2c], 0
mov esi, dword [edi + 0xc]
mov dword [esp + 0x18], esi
test esi, esi
je 0x158bfc4
test edx, edx
je 0x158bfc4
movzx eax, byte [edx]
lea ecx, [eax + 1]
add eax, 0xffffffed
xor ecx, 1
dec ecx
mov dword [esp + 0x20], ecx
cmp eax, 0x7f
ja 0x158bedf
movzx eax, byte [eax + 0x133e9ec]
jmp dword [eax*4 + 0x133e9cc]
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
call fcn.0158b330
mov dword [esp + 0x24], eax
add esp, 4
mov eax, dword [esi + 0xc]
mov dword [esp + 0x18], eax
cmp dword [esi + 0x10], eax
jg 0x158bf0d
mov ecx, esi
call fcn.01579ae0
test eax, eax
jne 0x158bf46
mov eax, dword [esp + 0x18]
inc dword [esi + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 0x1b
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x20]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 8], eax
xor eax, eax
cmp dword [ebp + 0xc], eax
setne al
mov dword [ecx + 0xc], eax
mov byte [ecx + 3], 0
mov dword [ecx + 0x10], 0
mov byte [esi + 0x6e], 0
cmp dword [esp + 0x1c], 0
je 0x158bf84
mov al, byte [edi + 0x15]
mov byte [esp + 0x17], al
cmp al, 8
jae 0x158bf84
xor ecx, ecx
lea eax, [edi + 0x60]
nop dword [eax]
mov edx, dword [esp + 0x1c]
cmp dword [eax + 0x10], edx
je 0x158bf80
inc ecx
add eax, 0x18
cmp ecx, 0xa
jl 0x158bf60
movzx eax, byte [esp + 0x17]
mov dword [edi + eax*4 + 0x18], edx
inc byte [edi + 0x15]
jmp 0x158bf84
mov byte [eax + 9], 1
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x158bfc4
mov al, byte [edi + 0x15]
mov byte [esp + 0x17], al
cmp al, 8
jae 0x158bfc4
xor ecx, ecx
lea eax, [edi + 0x60]
nop dword [eax]
cmp dword [eax + 0x10], edx
je 0x158bfc0
inc ecx
add eax, 0x18
cmp ecx, 0xa
jl 0x158bfa0
movzx eax, byte [esp + 0x17]
mov dword [edi + eax*4 + 0x18], edx
inc byte [edi + 0x15]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov byte [eax + 9], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x158c070
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
je 0x158c1f5
test edi, edi
je 0x158c1f5
movzx ecx, word [esi + 2]
push ebx
test ecx, 0x1000
jne 0x158c1ec
movzx eax, word [edi + 2]
test eax, 0x1000
jne 0x158c1ec
xor al, cl
test al, 0x10
jne 0x158c1ec
mov al, byte [esi]
cmp al, byte [edi]
jne 0x158c1ec
mov edx, dword [edi + 8]
mov ecx, dword [esi + 8]
call fcn.0158c070
test eax, eax
je 0x158c1ec
mov edx, dword [edi + 0xc]
mov ecx, dword [esi + 0xc]
call fcn.0158c070
test eax, eax
je 0x158c1ec
mov eax, dword [esi + 0x10]
mov ecx, dword [edi + 0x10]
test eax, eax
je 0x158c13f
test ecx, ecx
je 0x158c1ec
mov edx, dword [eax]
cmp edx, dword [ecx]
jne 0x158c1ec
xor ebx, ebx
test edx, edx
jle 0x158c147
xor edx, edx
mov dword [ebp - 4], edx
nop dword [eax + eax]
mov eax, dword [eax + 0xc]
mov ecx, dword [edx + eax]
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 0xc]
mov edx, dword [edx + eax]
call fcn.0158c070
test eax, eax
je 0x158c1ec
mov eax, dword [esi + 0x10]
inc ebx
mov edx, dword [ebp - 4]
add edx, 0x14
mov dword [ebp - 4], edx
cmp ebx, dword [eax]
jl 0x158c110
jmp 0x158c147
test ecx, ecx
jne 0x158c1ec
mov eax, dword [esi + 0x18]
cmp eax, dword [edi + 0x18]
jne 0x158c1ec
mov eax, dword [esi + 0x20]
cmp eax, dword [edi + 0x20]
jne 0x158c1ec
mov eax, dword [esi + 0x24]
cmp eax, dword [edi + 0x24]
jne 0x158c1ec
mov eax, 0x800
test word [esi + 2], ax
je 0x158c184
test word [edi + 2], ax
je 0x158c1ec
mov eax, dword [esi + 4]
cmp eax, dword [edi + 4]
jmp 0x158c1de
cmp byte [esi], 0x98
je 0x158c1e0
mov esi, dword [esi + 4]
test esi, esi
je 0x158c1e0
test word [edi + 2], ax
jne 0x158c1ec
mov edx, dword [edi + 4]
test edx, edx
je 0x158c1ec
mov bl, byte [esi]
test bl, bl
je 0x158c1c8
mov al, bl
sub esi, edx
movzx ecx, byte [edx]
mov bl, al
movzx eax, al
mov al, byte [eax + 0x13ae778]
cmp al, byte [ecx + 0x13ae778]
jne 0x158c1c8
mov al, byte [esi + edx + 1]
inc edx
mov bl, al
test al, al
jne 0x158c1a7
movzx eax, bl
movzx ecx, byte [eax + 0x13ae778]
movzx eax, byte [edx]
movzx eax, byte [eax + 0x13ae778]
sub ecx, eax
jne 0x158c1ec
pop ebx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp edi, esi
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x158e5e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, edx
mov edx, ecx
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], ecx
push edi
mov edi, eax
test eax, eax
je 0x158e60d
cmp byte [eax], cl
je 0x158e605
inc edi
cmp byte [edi], cl
jne 0x158e600
sub edi, eax
and edi, 0x3fffffff
mov eax, 1
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], eax
cmp dword [edx + 4], eax
jle 0x158e6d5
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, eax
xor esi, 1
cmp eax, 2
cmovge esi, eax
test ebx, ebx
je 0x158e693
mov eax, dword [edx + 8]
mov ecx, esi
add ecx, ecx
mov edx, dword [eax + ecx*8]
mov ecx, dword [ebp + 8]
mov bl, byte [ecx]
test bl, bl
je 0x158e675
sub ecx, edx
mov al, bl
mov dword [ebp - 0x14], ecx
mov edi, ecx
movzx ecx, byte [edx]
mov bl, al
movzx eax, al
mov al, byte [eax + 0x13ae778]
cmp al, byte [ecx + 0x13ae778]
jne 0x158e672
mov al, byte [edi + edx + 1]
inc edx
mov bl, al
test al, al
jne 0x158e651
mov edi, dword [ebp - 4]
movzx eax, byte [edx]
movzx ecx, byte [eax + 0x13ae778]
movzx eax, bl
mov ebx, dword [ebp + 8]
movzx eax, byte [eax + 0x13ae778]
sub eax, ecx
jne 0x158e6b6
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
add esi, esi
mov edx, dword [ebp - 0x18]
push edi
mov ecx, dword [eax + esi*8 + 0xc]
add ecx, 4
call fcn.0156c250
mov ecx, eax
add esp, 4
mov dword [ebp - 8], ecx
test ecx, ecx
jne 0x158e6cc
jmp 0x158e6b9
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, dword [edx + 4]
jl 0x158e626
pop esi
pop ebx
mov eax, ecx
pop edi
mov esp, ebp
pop ebp
ret
mov eax, ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x158e6e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, edx
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edx
push esi
mov esi, eax
push edi
test eax, eax
je 0x158e70d
cmp byte [eax], dl
je 0x158e705
nop dword [eax]
inc esi
cmp byte [esi], dl
jne 0x158e700
sub esi, eax
and esi, 0x3fffffff
mov eax, dword [ecx + 4]
mov edi, 1
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], eax
cmp eax, edi
jle 0x158e7d5
push ebx
mov ebx, dword [ecx + 8]
mov dword [ebp - 0x18], ebx
nop word [eax + eax]
mov eax, edi
xor eax, 1
cmp edi, 2
cmovge eax, edi
add eax, eax
mov ecx, dword [ebx + eax*8 + 0xc]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x158e79c
mov edx, dword [ebx + eax*8]
mov bl, byte [ecx]
test bl, bl
je 0x158e784
mov edi, ecx
mov al, bl
sub edi, edx
nop word [eax + eax]
movzx ecx, byte [edx]
mov bl, al
movzx eax, al
mov al, byte [eax + 0x13ae778]
cmp al, byte [ecx + 0x13ae778]
jne 0x158e781
mov al, byte [edi + edx + 1]
inc edx
mov bl, al
test al, al
jne 0x158e760
mov edi, dword [ebp - 8]
movzx eax, byte [edx]
movzx ecx, byte [eax + 0x13ae778]
movzx eax, bl
movzx eax, byte [eax + 0x13ae778]
sub eax, ecx
jne 0x158e7b9
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
add ecx, 0x14
push esi
call fcn.0156c250
mov edx, eax
add esp, 4
mov dword [ebp - 4], edx
test edx, edx
jne 0x158e7cc
jmp 0x158e7bc
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0x18]
inc edi
mov dword [ebp - 8], edi
cmp edi, dword [ebp - 0x14]
jl 0x158e730
pop ebx
pop edi
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret