joyce8/EMBER2024-capa huggingface dataset:
Function at 0xb2e25b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x14], 0
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0
jbe 0xb2e3a4
push esi
push edi
push 0
push 0
push ebx
push 0x1003cbd0
push 0
push 0
call fcn.00c4864d
mov edi, eax
add esp, 0x18
mov dword [ebp - 4], edi
test edi, edi
je 0xb2e387
mov eax, dword [ebx + 0x7c]
lea esi, [ebx + 0x78]
lea ecx, [ebp - 4]
cmp ecx, eax
jae 0xb2e311
mov edx, dword [esi]
cmp edx, ecx
ja 0xb2e311
mov edi, ecx
mov ecx, dword [esi + 8]
sub edi, edx
sar edi, 2
cmp eax, ecx
jne 0xb2e301
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0xb2e37d
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0xb2e301
mov edx, ecx
shr edx, 1
mov ebx, 0x3fffffff
sub ebx, edx
cmp ebx, ecx
jae 0xb2e2f0
xor ecx, ecx
jmp 0xb2e2f2
add ecx, edx
cmp ecx, eax
jae 0xb2e2f8
mov ecx, eax
push ecx
call fcn.00b309cb
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0xb2e35d
mov edx, dword [esi]
mov ecx, dword [edx + edi*4]
mov dword [eax], ecx
jmp 0xb2e35d
mov ecx, dword [esi + 8]
cmp eax, ecx
jne 0xb2e354
mov edx, dword [esi]
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0xb2e37d
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0xb2e354
mov edx, ecx
shr edx, 1
mov ebx, 0x3fffffff
sub ebx, edx
cmp ebx, ecx
jae 0xb2e343
xor ecx, ecx
jmp 0xb2e345
add ecx, edx
cmp ecx, eax
jae 0xb2e34b
mov ecx, eax
push ecx
call fcn.00b309cb
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0xb2e35d
mov dword [eax], edi
mov eax, dword [ebp - 8]
add dword [esi + 4], 4
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ebx + 0x14]
jb 0xb2e27f
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x101da834
call fcn.00c467f6
call dword [0x101711a0]
push eax
mov dword [ebx + 0x58], 8
call dword [0x1017119c]
pop edi
mov dword [ebp - 0xc], 0
pop esi
mov eax, dword [ebp - 0xc]
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0xb30fdb
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0xe4]
call edx
test eax, eax
je 0xb310fe
lea ebx, reloc.MSVCRT.dll_strncpy
call fcn.00af924b
mov eax, dword [esi + 0x50]
cmp eax, 3
jne 0xb310e6
push edi
xor edi, edi
mov dword [esi + 0x50], edi
mov dword [ebx], edi
mov edx, dword [esi]
mov eax, dword [edx + 0xe8]
mov ecx, esi
call eax
mov eax, 1
xor ecx, ecx
mov dword [esi + 0xc], eax
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
mov word [ebp - 0x20], cx
push eax
mov word [ebp - 0x3c], dx
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
push esi
lea edx, [ebp - 0x3c]
mov dword [esi + 0x10], 5
mov dword [esi + 0x14], edi
mov dword [ebp - 4], edi
call fcn.00b3131b
test eax, eax
je 0xb3114c
mov ebx, dword [ebp + 0x18]
lea eax, [ebp - 0x20]
push eax
push esi
lea ecx, [ebp - 0x3c]
call fcn.00b314fb
test eax, eax
je 0xb3113d
mov ebx, dword [reloc.MSVCRT.dll_strncpy]
push edi
call ebx
mov edx, dword [esi]
mov eax, dword [esi + 0x1c]
mov edx, dword [edx + 0xac]
push eax
mov ecx, esi
call edx
cmp eax, 2
je 0xb31125
mov eax, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x20]
call fcn.00b315db
test eax, eax
je 0xb31116
lea ecx, [esi + 0x44]
push ecx
push edi
push esi
push 0x1003f280
push edi
push edi
call fcn.00c4864d
add esp, 0x18
mov dword [esi + 0x40], eax
cmp eax, edi
je 0xb31108
mov edx, dword [esi + 4]
push edx
mov edi, 1
call dword [0x1017108c]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0x139f
mov dword [esi + 0x48], 1
call dword [0x1017119c]
mov dword [ebx], 0
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov dword [esi + 0x48], 8
push 0x65f
jmp 0xb31160
call dword [0x10171328]
mov dword [esi + 0x48], 0xb
jmp 0xb3115f
call dword [0x101711a0]
cmp eax, edi
jne 0xb31134
mov eax, 0x4c7
mov dword [esi + 0x48], 5
jmp 0xb3115f
call dword [0x10171328]
mov dword [esi + 0x48], 4
jmp 0xb31159
call dword [0x10171328]
mov dword [esi + 0x48], 3
mov ebx, dword [reloc.MSVCRT.dll_strncpy]
push eax
call ebx
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], 5
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], 1
call dword [0x101711a0]
mov edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
push edi
call ebx
mov edi, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0xb329eb
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x14], 0
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0
jbe 0xb32b34
push esi
push edi
push 0
push 0
push ebx
push 0x10041800
push 0
push 0
call fcn.00c4864d
mov edi, eax
add esp, 0x18
mov dword [ebp - 4], edi
test edi, edi
je 0xb32b17
mov eax, dword [ebx + 0x70]
lea esi, [ebx + 0x6c]
lea ecx, [ebp - 4]
cmp ecx, eax
jae 0xb32aa1
mov edx, dword [esi]
cmp edx, ecx
ja 0xb32aa1
mov edi, ecx
mov ecx, dword [esi + 8]
sub edi, edx
sar edi, 2
cmp eax, ecx
jne 0xb32a91
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0xb32b0d
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0xb32a91
mov edx, ecx
shr edx, 1
mov ebx, 0x3fffffff
sub ebx, edx
cmp ebx, ecx
jae 0xb32a80
xor ecx, ecx
jmp 0xb32a82
add ecx, edx
cmp ecx, eax
jae 0xb32a88
mov ecx, eax
push ecx
call fcn.00b309cb
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0xb32aed
mov edx, dword [esi]
mov ecx, dword [edx + edi*4]
mov dword [eax], ecx
jmp 0xb32aed
mov ecx, dword [esi + 8]
cmp eax, ecx
jne 0xb32ae4
mov edx, dword [esi]
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0xb32b0d
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0xb32ae4
mov edx, ecx
shr edx, 1
mov ebx, 0x3fffffff
sub ebx, edx
cmp ebx, ecx
jae 0xb32ad3
xor ecx, ecx
jmp 0xb32ad5
add ecx, edx
cmp ecx, eax
jae 0xb32adb
mov ecx, eax
push ecx
call fcn.00b309cb
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0xb32aed
mov dword [eax], edi
mov eax, dword [ebp - 8]
add dword [esi + 4], 4
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ebx + 0x14]
jb 0xb32a0f
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x101da834
call fcn.00c467f6
call dword [0x101711a0]
push eax
mov dword [ebx + 0x68], 8
call dword [0x1017119c]
pop edi
mov dword [ebp - 0xc], 0
pop esi
mov eax, dword [ebp - 0xc]
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0xb3a2ab
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0xc], 0
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0
jbe 0xb3a3fd
push esi
push edi
push 0
push 0
push ebx
push 0x100488e0
push 0
push 0
call fcn.00c4864d
mov edi, eax
add esp, 0x18
mov dword [ebp - 4], edi
test edi, edi
je 0xb3a3dd
mov eax, dword [ebx + reloc.MSVCRT.dll_strncpy]
lea esi, reloc.MSVCRT.dll_strncpy
lea ecx, [ebp - 4]
cmp ecx, eax
jae 0xb3a367
mov edx, dword [esi]
cmp edx, ecx
ja 0xb3a367
mov edi, ecx
mov ecx, dword [esi + 8]
sub edi, edx
sar edi, 2
cmp eax, ecx
jne 0xb3a357
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0xb3a3d3
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0xb3a357
mov edx, ecx
shr edx, 1
mov ebx, 0x3fffffff
sub ebx, edx
cmp ebx, ecx
jae 0xb3a346
xor ecx, ecx
jmp 0xb3a348
add ecx, edx
cmp ecx, eax
jae 0xb3a34e
mov ecx, eax
push ecx
call fcn.00b309cb
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0xb3a3b3
mov edx, dword [esi]
mov ecx, dword [edx + edi*4]
mov dword [eax], ecx
jmp 0xb3a3b3
mov ecx, dword [esi + 8]
cmp eax, ecx
jne 0xb3a3aa
mov edx, dword [esi]
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0xb3a3d3
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0xb3a3aa
mov edx, ecx
shr edx, 1
mov ebx, 0x3fffffff
sub ebx, edx
cmp ebx, ecx
jae 0xb3a399
xor ecx, ecx
jmp 0xb3a39b
add ecx, edx
cmp ecx, eax
jae 0xb3a3a1
mov ecx, eax
push ecx
call fcn.00b309cb
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0xb3a3b3
mov dword [eax], edi
mov eax, dword [ebp - 8]
add dword [esi + 4], 4
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ebx + 0xc]
jb 0xb3a2cf
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x101da834
call fcn.00c467f6
call dword [0x101711a0]
push eax
mov dword [ebx + reloc.MSVCRT.dll_strncpy], 8
call dword [0x1017119c]
pop edi
mov dword [ebp - 0xc], 0
pop esi
mov eax, dword [ebp - 0xc]
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0xb3be6b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x14], 0
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0
jbe 0xb3bfbd
push esi
push edi
push 0
push 0
push ebx
push 0x1004aec0
push 0
push 0
call fcn.00c4864d
mov edi, eax
add esp, 0x18
mov dword [ebp - 4], edi
test edi, edi
je 0xb3bf9d
mov eax, dword [ebx + reloc.MSVCRT.dll_strncpy]
lea esi, reloc.MSVCRT.dll_strncpy
lea ecx, [ebp - 4]
cmp ecx, eax
jae 0xb3bf27
mov edx, dword [esi]
cmp edx, ecx
ja 0xb3bf27
mov edi, ecx
mov ecx, dword [esi + 8]
sub edi, edx
sar edi, 2
cmp eax, ecx
jne 0xb3bf17
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0xb3bf93
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0xb3bf17
mov edx, ecx
shr edx, 1
mov ebx, 0x3fffffff
sub ebx, edx
cmp ebx, ecx
jae 0xb3bf06
xor ecx, ecx
jmp 0xb3bf08
add ecx, edx
cmp ecx, eax
jae 0xb3bf0e
mov ecx, eax
push ecx
call fcn.00b309cb
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0xb3bf73
mov edx, dword [esi]
mov ecx, dword [edx + edi*4]
mov dword [eax], ecx
jmp 0xb3bf73
mov ecx, dword [esi + 8]
cmp eax, ecx
jne 0xb3bf6a
mov edx, dword [esi]
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0xb3bf93
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0xb3bf6a
mov edx, ecx
shr edx, 1
mov ebx, 0x3fffffff
sub ebx, edx
cmp ebx, ecx
jae 0xb3bf59
xor ecx, ecx
jmp 0xb3bf5b
add ecx, edx
cmp ecx, eax
jae 0xb3bf61
mov ecx, eax
push ecx
call fcn.00b309cb
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0xb3bf73
mov dword [eax], edi
mov eax, dword [ebp - 8]
add dword [esi + 4], 4
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ebx + 0x14]
jb 0xb3be8f
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x101da834
call fcn.00c467f6
call dword [0x101711a0]
push eax
mov dword [ebx + reloc.MSVCRT.dll_strncpy], 8
call dword [0x1017119c]
pop edi
mov dword [ebp - 0xc], 0
pop esi
mov eax, dword [ebp - 0xc]
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0xb3e8bb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor edx, edx
push esi
mov esi, dword [eax]
cmp word [esi], 2
mov ebx, ecx
setne dl
xor eax, eax
push edi
mov ecx, 0x811c9dc5
dec edx
and edx, 0xffffffec
add edx, 0x1c
test edx, edx
jle 0xb3e8fc
jmp 0xb3e8eb
movzx edi, byte [eax + esi]
imul ecx, ecx, 0x1000193
inc eax
xor ecx, edi
cmp eax, edx
jl 0xb3e8eb
mov edx, dword [ebx + 0x20]
mov eax, edx
and eax, ecx
cmp dword [ebx + 0x24], eax
ja 0xb3e911
shr edx, 1
or ecx, reloc.MSVCRT.dll_strncpy
sub ecx, edx
add eax, ecx
mov edx, dword [ebx + 0x10]
mov ecx, dword [edx + eax*8]
mov ebx, dword [ebx + 4]
lea eax, [edx + eax*8]
mov edi, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edi
lea ecx, [ecx]
cmp ecx, ebx
jne 0xb3e933
mov eax, ebx
jmp 0xb3e938
mov eax, dword [eax + 4]
mov eax, dword [eax]
cmp edi, eax
je 0xb3e98e
mov eax, dword [edi + 8]
mov edx, esi
call fcn.00b3b57b
test al, al
jne 0xb3e954
mov edi, dword [edi]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
jmp 0xb3e92b
mov edx, dword [edi + 8]
mov eax, esi
mov dword [ebp - 4], edi
call fcn.00b3b57b
test al, al
jne 0xb3e97b
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 4]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
mov dword [ebp - 4], edi
pop edi
pop esi
mov dword [eax], ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0xb3e9ab
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor edx, edx
push esi
push edi
mov edi, dword [eax]
cmp word [edi], 2
mov ecx, 0x811c9dc5
setne dl
xor eax, eax
dec edx
and edx, 0xffffffec
add edx, 0x1c
test edx, edx
jle 0xb3e9ec
jmp 0xb3e9db
movzx esi, byte [eax + edi]
imul ecx, ecx, 0x1000193
inc eax
xor ecx, esi
cmp eax, edx
jl 0xb3e9db
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 0x20]
mov eax, edx
and eax, ecx
cmp dword [ebx + 0x24], eax
ja 0xb3ea04
shr edx, 1
or ecx, reloc.MSVCRT.dll_strncpy
sub ecx, edx
add eax, ecx
mov edx, dword [ebx + 0x10]
mov ecx, dword [edx + eax*8]
mov ebx, dword [ebx + 4]
lea eax, [edx + eax*8]
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
mov esi, ecx
lea ecx, [ecx]
cmp ecx, ebx
jne 0xb3ea23
mov eax, ebx
jmp 0xb3ea28
mov eax, dword [eax + 4]
mov eax, dword [eax]
cmp esi, eax
je 0xb3ea8a
mov eax, dword [esi + 8]
mov edx, edi
call fcn.00b3b57b
test al, al
jne 0xb3ea44
mov esi, dword [esi]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
jmp 0xb3ea1b
mov dword [ebp - 0xc], esi
lea esp, [esp]
cmp dword [ebp - 4], ebx
jne 0xb3ea54
mov eax, ebx
jmp 0xb3ea5c
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
mov eax, dword [edx]
cmp esi, eax
je 0xb3ea72
mov edx, dword [esi + 8]
mov eax, edi
call fcn.00b3b57b
test al, al
je 0xb3ea72
mov esi, dword [esi]
jmp 0xb3ea4b
mov ecx, dword [ebp - 0xc]
cmp ecx, esi
je 0xb3ea8a
mov eax, dword [ebp + 0xc]
pop edi
mov dword [eax + 4], esi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 0xc]
pop edi
pop esi
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0xb3ec0b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
push ebx
xor ebx, ebx
push edi
mov edi, dword [edx + 8]
cmp word [edi], 2
mov ecx, 0x811c9dc5
setne bl
xor eax, eax
dec ebx
and ebx, 0xffffffec
add ebx, 0x1c
mov dword [ebp - 4], ebx
test ebx, ebx
jle 0xb3ec4d
lea ebx, [ebx]
movzx ebx, byte [eax + edi]
imul ecx, ecx, 0x1000193
inc eax
xor ecx, ebx
cmp eax, dword [ebp - 4]
jl 0xb3ec3b
mov edi, dword [esi + 0x20]
mov eax, edi
and eax, ecx
cmp dword [esi + 0x24], eax
ja 0xb3ec62
shr edi, 1
or ecx, reloc.MSVCRT.dll_strncpy
sub ecx, edi
add eax, ecx
mov ecx, dword [esi + 0x10]
cmp dword [ecx + eax*8 + 4], edx
lea ecx, [ecx + eax*8]
jne 0xb3ec8b
cmp dword [ecx], edx
jne 0xb3ec83
mov edx, dword [esi + 4]
mov dword [ecx], edx
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 4]
mov dword [ecx + eax*8 + 4], edx
jmp 0xb3ec93
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
jmp 0xb3ec93
cmp dword [ecx], edx
jne 0xb3ec96
mov edx, dword [edx]
mov dword [ecx], edx
mov edx, dword [ebp + 0xc]
mov edi, dword [edx]
mov eax, edx
cmp edx, dword [esi + 4]
je 0xb3ecb8
mov ecx, dword [edx + 4]
mov dword [ecx], edi
mov ecx, dword [eax]
mov edx, dword [edx + 4]
push eax
mov dword [ecx + 4], edx
call fcn.00c46864
add esp, 4
dec dword [esi + 8]
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0xb3efab
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor edx, edx
push esi
mov esi, dword [eax]
cmp word [esi], 2
push edi
setne dl
xor eax, eax
mov ecx, 0x811c9dc5
dec edx
and edx, 0xffffffec
add edx, 0x1c
test edx, edx
jle 0xb3efec
jmp 0xb3efdb
movzx edi, byte [eax + esi]
imul ecx, ecx, 0x1000193
inc eax
xor ecx, edi
cmp eax, edx
jl 0xb3efdb
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
mov edi, eax
and edi, ecx
cmp dword [edx + 0x24], edi
ja 0xb3f004
shr eax, 1
or ecx, reloc.MSVCRT.dll_strncpy
sub ecx, eax
add edi, ecx
mov eax, dword [edx + 0x10]
mov ebx, dword [edx + 4]
lea eax, [eax + edi*8]
lea ecx, [edx + 4]
mov dword [ebp - 8], eax
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], ecx
cmp ebx, eax
je 0xb3f047
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 4]
mov ebx, dword [ebx]
cmp ebx, eax
je 0xb3f047
mov ebx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov eax, esi
call fcn.00b3b57b
test al, al
jne 0xb3f084
cmp ebx, dword [ebp - 0xc]
jne 0xb3f02b
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov esi, dword [eax]
cmp ebx, esi
je 0xb3f063
push esi
push eax
push ebx
mov edx, ecx
call fcn.00b3f1ab
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [ebp + 8], eax
mov eax, dword [edx + 0x10]
mov esi, dword [eax + edi*8]
lea eax, [eax + edi*8]
cmp esi, dword [ecx]
jne 0xb3f0b7
mov ecx, dword [ebp + 0x10]
mov dword [eax], ecx
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax + edi*8 + 4], ecx
jmp 0xb3f0df
mov eax, dword [ebx + 8]
mov edx, esi
call fcn.00b3b57b
test al, al
jne 0xb3f096
mov ebx, dword [ebx]
jmp 0xb3f041
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp - 4]
push ecx
lea edi, [ebp + 8]
call fcn.00b21a0b
mov eax, dword [ebp + 0xc]
pop edi
pop esi
mov dword [eax], ebx
mov byte [eax + 4], 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp esi, ebx
jne 0xb3f0c2
mov ecx, dword [ebp + 0x10]
mov dword [eax], ecx
jmp 0xb3f0df
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
mov dword [eax + 4], ecx
cmp ecx, dword [ebp + 8]
je 0xb3f0df
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + edi*8 + 4]
lea edi, [eax + edi*8 + 4]
mov eax, dword [ecx + 4]
mov dword [edi], eax
push edx
call fcn.00b3f0fb
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
pop edi
pop esi
mov dword [eax], ecx
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0xb9a7fb
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0x10]
xor cl, cl
test edi, edi
je 0xb9a821
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0x14]
sub esi, eax
mov dl, byte [esi + eax]
mov bl, byte [eax]
xor dl, bl
or cl, dl
inc eax
dec edi
jne 0xb9a812
pop esi
pop ebx
movzx eax, cl
pop edi
ret

Function at 0xb9bd2b
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
cmp edi, eax
je 0xb9bdb6
mov edx, dword [esp + 8]
lea ecx, [edx - 1]
not edx
shr edx, 0x1f
push esi
mov esi, dword [edi + 4]
shr ecx, 0x1f
and ecx, edx
mov edx, dword [eax + 4]
xor edx, esi
dec ecx
and edx, ecx
xor esi, edx
mov dword [edi + 4], esi
xor dword [eax + 4], edx
mov esi, dword [edi + 0xc]
mov edx, dword [eax + 0xc]
xor edx, esi
and edx, ecx
xor esi, edx
mov dword [edi + 0xc], esi
xor dword [eax + 0xc], edx
mov esi, dword [edi + 0x10]
mov edx, dword [eax + 0x10]
xor edx, esi
and edx, ecx
and edx, 4
xor esi, edx
mov dword [edi + 0x10], esi
xor dword [eax + 0x10], edx
xor esi, esi
cmp dword [esp + 0x18], esi
jle 0xb9bdb5
push ebx
push ebp
mov edx, dword [edi]
mov ebx, dword [edx + esi*4]
lea ebp, [edx + esi*4]
mov edx, dword [eax]
mov edx, dword [edx + esi*4]
xor edx, ebx
and edx, ecx
xor ebx, edx
mov dword [ebp], ebx
mov ebx, dword [eax]
xor dword [ebx + esi*4], edx
lea ebx, [ebx + esi*4]
inc esi
cmp esi, dword [esp + 0x20]
jl 0xb9bd8e
pop ebp
pop ebx
pop esi
pop edi
ret

Function at 0xb9c04b
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
test byte [eax + 0x10], 4
mov ecx, dword [eax + 4]
push esi
lea esi, [ecx - 1]
je 0xb9c066
pop esi
mov dword [esp + 4], eax
jmp fcn.00b9b78b
test ecx, ecx
jne 0xb9c06e
xor eax, eax
pop esi
ret
mov eax, dword [eax]
mov ecx, dword [eax + esi*4]
push ecx
call fcn.00b9b6fb
shl esi, 5
add esp, 4
add eax, esi
pop esi
ret

Function at 0xba226b
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], reloc.MSVCRT.dll_strncpy
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xd4], 0x40
lea eax, [ecx + 1]
ret
Function at 0xbb3feb
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, dword [esp + 4]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, edi
mov ecx, ebp
cmp edi, 4
jb 0xbb4013
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0xbb401b
sub esi, 4
add ecx, 4
add edx, 4
cmp esi, 4
jae 0xbb3fff
test esi, esi
je 0xbb4122
movzx eax, byte [edx]
movzx ebx, byte [ecx]
sub eax, ebx
jne 0xbb4062
cmp esi, 1
jbe 0xbb4122
movzx eax, byte [edx + 1]
movzx ebx, byte [ecx + 1]
sub eax, ebx
jne 0xbb4062
cmp esi, 2
jbe 0xbb4122
movzx eax, byte [edx + 2]
movzx ebx, byte [ecx + 2]
sub eax, ebx
jne 0xbb4062
cmp esi, 3
jbe 0xbb4122
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
sar eax, 0x1f
or eax, 1
jle 0xbb4122
mov ebx, dword [esp + 0x10]
xor edx, edx
test edi, edi
jle 0xbb408b
mov esi, ebx
mov eax, ebp
sub esi, ebp
mov cl, byte [esi + eax]
cmp cl, byte [eax]
jne 0xbb408b
inc edx
inc eax
cmp edx, edi
jl 0xbb407e
lea eax, [edi - 1]
test eax, eax
js 0xbb40aa
mov esi, ebx
lea ecx, [eax + ebp]
sub esi, ebp
mov edi, edi
cmp byte [ecx + esi], 0
jne 0xbb40aa
cmp byte [ecx], 0xff
jne 0xbb40aa
dec ecx
dec eax
jns 0xbb409b
cmp edx, eax
jl 0xbb4122
jle 0xbb40bb
pop esi
pop ebp
lea eax, [edx*8]
pop ebx
ret
mov cl, byte [edx + ebx]
mov bl, byte [edx + ebp]
mov al, bl
xor al, cl
mov byte [esp + 0x10], cl
movzx ecx, al
dec ecx
cmp ecx, 0x7e
ja 0xbb4122
movzx ecx, byte [ecx + 0x100c1d00]
jmp dword [ecx*4 + 0x100c1ce0]
pop esi
pop ebp
or eax, reloc.MSVCRT.dll_strncpy
pop ebx
ret