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

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x1c]
push ebx
mov ebx, dword [esp + 0x1c]
push esi
push edi
xor esi, esi
mov edi, dword [ebx + 0x4804]
mov dword [ebx + eax*4 + 0x4808], edi
movzx ecx, word [ebx]
mov eax, ecx
mov dword [esp + 0xc], edi
shr eax, 4
xor ecx, 0x7f0
shr ecx, 4
movzx eax, byte [eax + 0x101b9338]
movzx edx, byte [ecx + 0x101b9338]
movzx ecx, word [ebx + 2]
mov dword [esp + 0x10], eax
mov eax, ecx
shr eax, 4
xor ecx, 0x7f0
shr ecx, 4
movzx eax, byte [eax + 0x101b9338]
add eax, edx
mov dword [esp + 0x14], eax
movzx eax, byte [ecx + 0x101b9338]
mov ecx, dword [esp + 0x28]
add eax, edx
mov dword [esp + 0x1c], eax
imul eax, ecx, 0x440
add eax, 0x404
add eax, ebx
mov dword [esp + 0x24], eax
test edi, edi
je 0x100ac47c
lea eax, [ecx*8]
push ebp
mov dword [esp + 0x1c], eax
mov ebp, eax
nop dword [eax + eax]
cmp esi, 8
jae 0x100ac3cd
xor edi, edi
lea edx, [esi + 8]
lea ebp, [ecx*8]
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
shr ecx, 4
lea eax, [edx + ebp]
and ecx, 0x7f
movzx eax, word [ebx + eax*2 + 4]
shr eax, 4
xor eax, ecx
movzx eax, byte [eax + 0x101b9338]
add edi, eax
cmp edx, 1
jne 0x100ac381
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
add eax, edi
mov edi, dword [esp + 0x10]
mov dword [ecx + esi*4], eax
inc esi
mov ecx, dword [esp + 0x2c]
cmp esi, edi
jb 0x100ac370
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x14
ret
cmp esi, edi
jae 0x100ac47b
cmp esi, 0x10
jae 0x100ac42d
xor edi, edi
mov edx, esi
nop
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
shr ecx, 4
lea eax, [edx + ebp]
and ecx, 0x7f
movzx eax, word [ebx + eax*2 + 0x104]
shr eax, 4
xor eax, ecx
movzx eax, byte [eax + 0x101b9338]
add edi, eax
cmp edx, 1
jne 0x100ac3e0
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
add eax, edi
mov dword [ecx + esi*4], eax
inc esi
cmp esi, dword [esp + 0x10]
jb 0x100ac3d5
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x14
ret
mov ebp, dword [esp + 0x28]
xor edi, edi
lea eax, [esi + 0xf0]
nop dword [eax]
mov edx, eax
shr eax, 1
and edx, 1
neg edx
shr edx, 4
movzx ecx, word [ebx + eax*2 + 0x204]
and edx, 0x7f
shr ecx, 4
xor ecx, edx
movzx ecx, byte [ecx + 0x101b9338]
add edi, ecx
cmp eax, 1
jne 0x100ac440
mov eax, dword [esp + 0x20]
add eax, edi
mov dword [ebp + esi*4], eax
inc esi
cmp esi, dword [esp + 0x10]
jb 0x100ac431
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x100aeed0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp byte [0x101e1c50], 0
push esi
push edi
jne 0x100aef8c
mov byte [0x101e1c50], 1
xor esi, esi
mov ecx, esi
mov eax, esi
shr ecx, 1
mov edx, ecx
xor edx, 0xedb88320
test al, 1
cmove edx, ecx
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
test cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
test cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
test cl, 1
cmove edx, eax
mov ecx, edx
shr ecx, 1
mov eax, ecx
xor eax, 0xedb88320
test dl, 1
cmove eax, ecx
mov dword [esi*4 + 0x101e2c50], eax
inc esi
cmp esi, 0x100
jb 0x100aeee8
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
not eax
test edi, edi
je 0x100aefba
mov esi, dword [esp + 0xc]
nop
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101e2c50]
sub edi, 1
jne 0x100aefa0
pop edi
not eax
pop esi
ret

Function at 0x100aefc0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp byte [0x101e1c50], 0
jne 0x100af07c
push esi
mov byte [0x101e1c50], 1
xor esi, esi
mov ecx, esi
mov eax, esi
shr ecx, 1
mov edx, ecx
xor edx, 0xedb88320
test al, 1
cmove edx, ecx
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
test cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
test cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
test cl, 1
cmove edx, eax
mov ecx, edx
shr ecx, 1
mov eax, ecx
xor eax, 0xedb88320
test dl, 1
cmove eax, ecx
mov dword [esi*4 + 0x101e2c50], eax
inc esi
cmp esi, 0x100
jb 0x100aefd7
pop esi
ret
Function at 0x100b04c0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [0x101e2458], 0
push ebx
push esi
push edi
jne 0x100b05d7
mov byte [0x101e2458], 1
xor esi, esi
nop dword [eax]
xor eax, eax
mov edx, esi
shrd edx, eax, 1
mov ecx, esi
and ecx, 1
shr eax, 1
or ecx, 0
je 0x100b04ff
xor edx, 0xd7870f42
xor eax, 0xc96c5795
mov ecx, edx
and edx, 1
shrd ecx, eax, 1
shr eax, 1
or edx, 0
je 0x100b051a
xor ecx, 0xd7870f42
xor eax, 0xc96c5795
mov edx, ecx
and ecx, 1
shrd edx, eax, 1
shr eax, 1
or ecx, 0
je 0x100b0535
xor edx, 0xd7870f42
xor eax, 0xc96c5795
mov ecx, edx
and edx, 1
shrd ecx, eax, 1
shr eax, 1
or edx, 0
je 0x100b0550
xor ecx, 0xd7870f42
xor eax, 0xc96c5795
mov edx, ecx
and ecx, 1
shrd edx, eax, 1
shr eax, 1
or ecx, 0
je 0x100b056b
xor edx, 0xd7870f42
xor eax, 0xc96c5795
mov ecx, edx
and edx, 1
shrd ecx, eax, 1
shr eax, 1
or edx, 0
je 0x100b0586
xor ecx, 0xd7870f42
xor eax, 0xc96c5795
mov edx, ecx
and ecx, 1
shrd edx, eax, 1
shr eax, 1
or ecx, 0
je 0x100b05a1
xor edx, 0xd7870f42
xor eax, 0xc96c5795
mov ecx, edx
and edx, 1
shrd ecx, eax, 1
shr eax, 1
or edx, 0
je 0x100b05bc
xor ecx, 0xd7870f42
xor eax, 0xc96c5795
mov dword [esi*8 + 0x101e1c58], ecx
mov dword [esi*8 + 0x101e1c5c], eax
inc esi
cmp esi, 0x100
jb 0x100b04e0
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
not ebx
mov edi, dword [esp + 0x14]
not edx
test edi, edi
je 0x100b0615
mov esi, dword [esp + 0x10]
nop
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, bl
shrd ebx, edx, 8
xor ecx, eax
shr edx, 8
xor ebx, dword [ecx*8 + 0x101e1c58]
xor edx, dword [ecx*8 + 0x101e1c5c]
sub edi, 1
jne 0x100b05f0
pop edi
not ebx
not edx
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x100b1460
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
xor edx, edx
mov dword [esp + 0x24], edx
lea esi, [edi + 0x105a4]
lea ebp, [edi + 0x101a0]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebp
mov eax, dword [edi + 0x10da0]
xor ebx, ebx
test eax, eax
je 0x100b14e8
mov ebp, dword [esp + 0x24]
lea eax, [ebx + 0x40]
xor esi, esi
nop word [eax + eax]
mov edx, eax
shr eax, 1
and edx, 1
neg edx
shr edx, 4
lea ecx, [eax + ebp]
and edx, 0x7f
movzx ecx, word [edi + ecx*2 + 0x6e0c]
shr ecx, 4
xor ecx, edx
movzx ecx, byte [ecx + 0x101b9338]
add esi, ecx
cmp eax, 1
jne 0x100b14a0
mov ebp, dword [esp + 0x10]
mov dword [ebp + ebx*4], esi
inc ebx
mov eax, dword [edi + 0x10da0]
cmp ebx, eax
jb 0x100b1491
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
mov ecx, 0xe
cmp eax, ecx
jbe 0x100b1508
mov eax, ecx
shr eax, 1
shl eax, 4
sub eax, 0x50
add dword [ebp + ecx*4], eax
inc ecx
cmp ecx, dword [edi + 0x10da0]
jb 0x100b14f1
mov eax, dword [ebp]
add edx, 0x40
mov dword [esi - 4], eax
mov eax, dword [ebp + 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
add ebp, 0x100
mov dword [esi + 8], eax
add esi, 0x200
mov dword [esp + 0x10], ebp
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], esi
cmp edx, 0x100
jb 0x100b1485
mov ebx, 4
lea eax, [edi + 0x107b0]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
nop dword [eax]
cmp ebx, 4
ja 0x100b1569
mov esi, ebx
jmp 0x100b1579
bsr edx, ebx
mov eax, ebx
lea ecx, [edx - 1]
shr eax, cl
and eax, 1
lea esi, [eax + edx*2]
mov eax, esi
mov edx, esi
shr eax, 1
and edx, 1
dec eax
or edx, 2
mov ecx, eax
mov dword [esp + 0x18], eax
shl edx, cl
mov eax, ebx
mov ebx, dword [esp + 0x18]
mov ecx, 1
sub eax, edx
mov dword [esp + 0x1c], edx
xor ebp, ebp
mov dword [esp + 0x24], ecx
mov edx, eax
sub ecx, esi
add ecx, dword [esp + 0x1c]
and edx, 1
shr eax, 1
mov dword [esp + 0x18], eax
mov eax, edx
neg eax
movzx ecx, word [edi + ecx*2 + 0x700a]
shr eax, 4
shr ecx, 4
and eax, 0x7f
xor ecx, eax
movzx eax, byte [ecx + 0x101b9338]
mov ecx, dword [esp + 0x24]
add ebp, eax
mov eax, dword [esp + 0x18]
lea ecx, [edx + ecx*2]
mov dword [esp + 0x24], ecx
sub ebx, 1
jne 0x100b15a5
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + esi*4 + 0x101a0]
mov ebx, dword [esp + 0x14]
add eax, ebp
inc ebx
mov dword [ecx - 0x200], eax
mov eax, dword [edi + esi*4 + 0x102a0]
add eax, ebp
mov dword [esp + 0x14], ebx
mov dword [ecx], eax
mov eax, dword [edi + esi*4 + 0x103a0]
add eax, ebp
mov dword [ecx + 0x200], eax
mov eax, dword [edi + esi*4 + 0x104a0]
add eax, ebp
mov dword [ecx + 0x400], eax
add ecx, 4
mov dword [esp + 0x10], ecx
cmp ebx, 0x80
jb 0x100b1560
mov dword [edi + 0x10da4], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x100b1720
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
mov ecx, 8
push edi
mov edi, dword [esp + 0x14]
xor ebx, ebx
mov edx, dword [edi + 0xaa4]
lea ebp, [edi + 0xaac]
mov eax, dword [edi + 0xaa8]
sub ecx, edx
and eax, dword [esp + 0x18]
shr esi, cl
mov ecx, edx
shl eax, cl
add esi, eax
imul eax, esi, 0x600
add ebp, eax
cmp byte [esp + 0x20], bl
jne 0x100b1775
push dword [esp + 0x28]
push 8
push ebp
call fcn.100b2f40
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
ret
mov edx, dword [esp + 0x28]
mov esi, 0x100
mov edi, dword [esp + 0x24]
add edx, esi
add edi, edi
mov ecx, esi
and ecx, edi
mov eax, edx
shr eax, 8
add ecx, esi
add eax, ecx
movzx ecx, word [ebp + eax*2]
mov eax, edx
shr eax, 7
add edx, edx
and eax, 1
shr ecx, 4
neg eax
shr eax, 4
and eax, 0x7f
xor ecx, eax
movzx eax, byte [ecx + 0x101b9338]
mov ecx, edi
xor ecx, edx
add ebx, eax
not ecx
and esi, ecx
cmp edx, 0x10000
jb 0x100b1784
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret
Function at 0x100b2f40
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0xc]
push esi
push edi
xor edi, edi
add ecx, eax
mov eax, dword [esp + 0xc]
nop dword [eax]
mov esi, ecx
shr ecx, 1
and esi, 1
neg esi
shr esi, 4
movzx edx, word [eax + ecx*2]
and esi, 0x7f
shr edx, 4
xor edx, esi
movzx edx, byte [edx + 0x101b9338]
add edi, edx
cmp ecx, 1
jne 0x100b2f60
mov eax, edi
pop edi
pop esi
ret

Function at 0x100b57e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [eax + 0x38]
mov bl, byte [eax + 0x34]
test esi, esi
jle 0x100b581d
mov edx, dword [eax + 0x260]
push edi
movzx edi, bl
nop word [eax + eax]
mov ecx, edx
shl edx, 8
shr ecx, 0x18
xor ecx, edi
xor edx, dword [ecx*4 + 0x101d9c58]
mov dword [eax + 0x260], edx
sub esi, 1
jne 0x100b5800
pop edi
mov ecx, dword [eax + 0x34]
mov byte [ecx + eax + 0x58], 1
mov edx, dword [eax + 0x38]
mov ecx, edx
sub ecx, 1
je 0x100b58cc
sub ecx, 1
je 0x100b58b0
sub ecx, 1
je 0x100b5888
mov byte [edx + eax + 0x54], 1
mov edx, dword [eax + 0x24]
mov ecx, dword [eax + 0x44]
mov byte [edx + ecx], bl
mov edx, dword [eax + 0x44]
inc edx
mov dword [eax + 0x44], edx
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov esi, dword [eax + 0x44]
mov dl, byte [eax + 0x38]
mov ecx, dword [eax + 0x24]
sub dl, 4
mov byte [esi + ecx], dl
inc dword [eax + 0x44]
pop esi
pop ebx
ret
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x24]
pop esi
mov byte [edx + ecx], bl
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
inc edx
mov dword [eax + 0x44], edx
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
pop ebx
ret
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x24]
pop esi
mov byte [edx + ecx], bl
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
inc edx
mov dword [eax + 0x44], edx
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
pop ebx
ret
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x24]
pop esi
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
pop ebx
ret
Function at 0x100c8080
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x100c80a0
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x100c80a0
mov eax, dword [eax + 0x44]
test eax, eax
je 0x100c80a0
push dword [esp + 8]
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x100dcd60
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov eax, dword [esi + 0x14]
cmp eax, 0xca
jne 0x100dcd94
push esi
call fcn.100dc440
add esp, 4
cmp byte [esi + 0x40], 0
je 0x100dcd8b
pop edi
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
jmp 0x100dcd9b
cmp eax, 0xcb
jne 0x100dce13
mov eax, dword [esi + 0x1a8]
cmp byte [eax + 0x10], 0
je 0x100dcdfe
mov eax, dword [esi + 8]
test eax, eax
je 0x100dcdb6
mov eax, dword [eax]
push esi
call eax
add esp, 4
mov eax, dword [esi + 0x1a8]
push esi
mov eax, dword [eax]
call eax
add esp, 4
test eax, eax
je 0x100dcdf9
cmp eax, 2
je 0x100dcdfe
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x100dcda7
cmp eax, 3
je 0x100dcdde
cmp eax, 1
jne 0x100dcda7
inc dword [ecx + 4]
mov edx, dword [esi + 8]
mov edi, dword [edx + 8]
cmp dword [ecx + 4], edi
jl 0x100dcda7
mov eax, dword [esi + 0x128]
add eax, edi
mov dword [edx + 8], eax
jmp 0x100dcda7
pop edi
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.100dce50
add esp, 4
pop edi
pop esi
ret
cmp eax, 0xcc
je 0x100dce35
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x15
mov ecx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x18], eax
mov eax, dword [esi]
mov eax, dword [eax]
call eax
add esp, 4
push esi
call fcn.100dce50
add esp, 4
pop edi
pop esi
ret

Function at 0x100dce50
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
cmp dword [esi + 0x14], 0xcc
lea ebx, [esi + 0x78]
je 0x100dce7f
mov eax, dword [esi + 0x198]
push esi
mov eax, dword [eax]
call eax
add esp, 4
mov dword [ebx], 0
mov dword [esi + 0x14], 0xcc
mov eax, dword [esi + 0x198]
cmp byte [eax + 8], 0
je 0x100dcf02
nop dword [eax + eax]
mov eax, dword [ebx]
cmp eax, dword [esi + 0x60]
jae 0x100dced6
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x100dceb5
mov dword [ecx + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x60]
push esi
mov dword [ecx + 8], eax
mov eax, dword [esi + 8]
mov eax, dword [eax]
call eax
add esp, 4
mov eax, dword [esi + 0x19c]
mov edi, dword [ebx]
push 0
push ebx
mov eax, dword [eax + 4]
push 0
push esi
call eax
mov eax, dword [ebx]
add esp, 0x10
cmp eax, edi
je 0x100dcf19
cmp eax, dword [esi + 0x60]
jb 0x100dce97
mov eax, dword [esi + 0x198]
push esi
mov eax, dword [eax + 4]
call eax
mov eax, dword [esi + 0x198]
push esi
mov eax, dword [eax]
call eax
mov dword [ebx], 0
add esp, 8
mov eax, dword [esi + 0x198]
cmp byte [eax + 8], 0
jne 0x100dce90
xor eax, eax
cmp byte [esi + 0x41], al
pop edi
setne al
add eax, 0xcd
mov dword [esi + 0x14], eax
mov al, 1
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
Function at 0x100e32a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x28]
mov edx, 0x100
mov ebp, dword [edi + 0x4c]
cmp ebp, 1
mov esi, dword [edi + 0x1c0]
sete al
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], ebp
mov byte [esi + 0x1c], al
mov eax, 0x2fe
push dword [edi + 0x64]
mov ecx, dword [edi + 4]
cmovne eax, edx
push eax
push 1
push edi
mov eax, dword [ecx + 8]
call eax
xor ebx, ebx
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14]
add esp, 0x10
mov dword [esp + 0x10], ebx
cmp dword [edi + 0x64], ebx
jle 0x100e33d3
nop dword [eax]
mov ecx, dword [esi + ebx*4 + 0x20]
cdq
idiv ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
cmp ebp, 1
jne 0x100e331e
mov eax, dword [esi + 0x18]
add dword [eax + ebx*4], 0xff
mov eax, dword [esi + 0x18]
lea edi, [ecx*2 - 2]
mov ebp, dword [eax + ebx*4]
lea eax, [ecx + 0xfe]
cdq
xor ebx, ebx
idiv edi
xor esi, esi
mov edx, eax
nop word [eax + eax]
cmp esi, edx
jle 0x100e3364
imul eax, ebx, 0x1fe
add ecx, 0xfe
add ecx, eax
add ecx, 0x1fe
inc ebx
mov eax, ecx
cdq
idiv edi
mov edx, eax
cmp esi, edx
jg 0x100e3352
mov ecx, dword [esp + 0x14]
movzx ecx, cl
movzx eax, bl
imul ecx, eax
mov byte [esi + ebp], cl
inc esi
mov ecx, dword [esp + 0x1c]
cmp esi, 0xff
jle 0x100e3340
cmp dword [esp + 0x18], 1
jne 0x100e33b1
mov ecx, 1
lea edx, [ebp - 1]
movzx eax, byte [ebp]
lea edx, [edx - 1]
mov byte [edx + 1], al
movzx eax, byte [ebp + 0xff]
mov byte [ecx + ebp + 0xff], al
inc ecx
cmp ecx, 0xff
jle 0x100e3390
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
inc ebx
mov esi, dword [esp + 0x20]
cmp ebx, dword [eax + 0x64]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], ebx
jl 0x100e3300
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x1011bda0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [esp + 0x18]
test esi, esi
je 0x1011be58
lea eax, [esp + 0x18]
push eax
push esi
push 2
call fcn.1013b940
add esp, 0xc
test eax, eax
jne 0x1011be58
lea eax, [esp + 4]
push eax
push esi
push 0x17
call fcn.1013b940
add esp, 0xc
test eax, eax
jne 0x1011be58
push ebx
push edi
mov edi, esi
xor ebx, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x1011bde5
sub edi, ecx
push edi
push 0x2e
push esi
call fcn.1013c4d0
add esp, 0xc
test eax, eax
je 0x1011be19
sub eax, esi
push eax
push 0x2e
push esi
call fcn.1013c4d0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x1011be1b
inc ebx
mov ecx, esi
sub ecx, ebx
add edi, ecx
test ebx, ebx
cmovne esi, ebx
mov ebx, 0x1505
add edi, esi
cmp esi, edi
jae 0x1011be4e
nop dword [eax]
mov al, byte [esi]
push eax
call fcn.10127b30
movsx ecx, al
inc esi
mov eax, ebx
add esp, 4
shl eax, 5
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp esi, edi
jb 0x1011be30
pop edi
movzx eax, bl
pop ebx
pop esi
add esp, 0x10
ret
xor eax, eax
pop esi
add esp, 0x10
ret
Function at 0x1011f3a0
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
push edi
push str.kernel32
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x1011f3ba
pop edi
pop ebx
pop ecx
ret
push ebp
push esi
push str.LoadLibraryExA
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x18]
mov ebp, eax
push 0x101bf9cc
push esi
call fcn.1001eb50
add esp, 8
test eax, eax
je 0x1011f402
test ebp, ebp
je 0x1011f3f3
push 8
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
test ebp, ebp
je 0x1011f428
push str.AddDllDirectory
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1011f428
push 0x800
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x1011f4df
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1011f445
sub ecx, ebx
lea eax, [ecx + 1]
add eax, edx
push eax
call dword [0x101da890]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1011f4d5
push dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1011f4d5
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1011f477
sub ecx, edx
mov eax, 0x5c
mov word [ecx + ebx], ax
mov ecx, ebx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1011f490
sub ecx, edx
sub ecx, esi
add ecx, ebx
nop dword [eax]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x1011f4a0
test ebp, ebp
je 0x1011f4cc
push 8
push 0
push ebx
call ebp
push ebx
mov edi, eax
call dword [0x101da894]
add esp, 4
mov eax, edi
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push ebx
call dword [0x101da894]
add esp, 4
pop esi
pop ebp
mov eax, edi
pop edi
pop ebx
pop ecx
ret
Function at 0x1011fa20
Capabilities:
Create udp socket

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x2f0], 2
je fcn.1011f9d0
mov al, 1
ret

Function at 0x10120130
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov edx, dword [esp + 8]
sub esp, 0x80
xor eax, eax
push ebx
mov ebx, dword [esp + 0x88]
push ebp
push esi
mov esi, 0x1e4
mov ecx, dword [ebx + 0x1c4]
cmp edx, ecx
push edi
sete al
lea eax, [eax*4 + 0x1c0]
mov ebp, dword [eax + ebx]
mov eax, 0x1f4
cmove esi, eax
mov eax, dword [ebx + 0x2e8]
add esi, ebx
mov edi, dword [esi + 4]
sub edi, dword [esi + 8]
test byte [eax + 0x40], 3
je 0x10120210
xor eax, eax
cmp edx, ecx
sete al
lea eax, [eax*4 + 0x1d4]
cmp dword [eax + ebx], 0x1011fe40
jne 0x10120210
cmp dword [esi], 0
je 0x101201a1
test edi, edi
je 0x10120210
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebp
call fcn.10127180
add esp, 0x14
cmp eax, 0xffffffff
je 0x10120210
test al, 1
je 0x10120210
cmp dword [esi], 0
jne 0x101201ea
mov eax, dword [ebx]
mov eax, dword [eax + 0x8fc]
add eax, eax
push eax
mov dword [esi + 4], eax
call dword [0x101da890]
mov edi, dword [esi + 4]
add esp, 4
mov dword [esi], eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov ecx, dword [esi]
test ecx, ecx
je 0x10120209
mov eax, dword [esi + 8]
push 0
push edi
add eax, ecx
push eax
push ebp
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x10120210
add dword [esi + 8], eax
jmp 0x10120210
mov dword [esi + 4], 0
push 0
push dword [esp + 0xa4]
push dword [esp + 0xa4]
push ebp
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1012029a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x2733
jne 0x10120259
mov ecx, dword [esp + 0xa4]
lea eax, [edi + 0x52]
pop edi
pop esi
pop ebp
mov dword [ecx], 0
pop ebx
add esp, 0x80
ret
push pe_nt_image_headers32
lea eax, [esp + 0x14]
push eax
push esi
call fcn.10140cb0
push eax
push str.Send_failure:__s
push dword [ebx]
call fcn.1011fbd0
mov eax, dword [ebx]
add esp, 0x18
mov ecx, dword [esp + 0xa4]
mov dword [eax + 0xd04], esi
mov eax, 0x37
mov dword [ecx], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret
mov ecx, dword [esp + 0xa4]
xor eax, eax
mov dword [ecx], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret
Function at 0x1012f180
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x98]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x14], pe_nt_image_headers32
push eax
mov ebp, dword [edi + 0x1c4]
or esi, 0xffffffff
mov ebx, dword [edi]
push ebp
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x1012f1d4
lea eax, [esp + 0x10]
mov dword [esp + 0x10], pe_nt_image_headers32
push eax
lea eax, [esp + 0x18]
push eax
push ebp
call dword [sym.imp.WS2_32.dll_accept]
mov esi, eax
push ebp
push edi
call fcn.10124150
add esp, 8
cmp esi, 0xffffffff
jne 0x1012f201
push str.Error_accept__ing_server_connect
push ebx
call fcn.1011fbd0
add esp, 8
mov eax, 0x1e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret
push str.Connection_accepted_from_server_n
push ebx
call fcn.1011fc90
push 1
push esi
mov byte [edi + 0x2b0], 0
mov dword [edi + 0x1c4], esi
call fcn.10144db0
add esp, 0x10
mov byte [edi + 0x1d1], 1
cmp dword [ebx + 0x610], 0
je 0x1012f277
push 1
push ebx
call fcn.101210d0
mov eax, dword [ebx + 0x610]
push 1
push esi
push dword [ebx + 0x614]
call eax
push 0
push ebx
mov esi, eax
call fcn.101210d0
add esp, 0x1c
test esi, esi
je 0x1012f277
push edi
call fcn.1012f720
add esp, 4
mov eax, 0x2a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x84
ret