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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x10449004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
xor eax, eax
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x38], edi
cmp ebx, 5
jl 0x10079645
movaps xmm0, xmmword [0x10197580]
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0x6a634868
mov dword [ebp - 0x20], 0x737b67
mov byte [ebp - 0x1c], 1
lea ecx, [eax - 0xc]
xor byte [ebp + eax - 0x34], cl
inc eax
cmp eax, 0x17
jb 0x10079533
push esi
push str.ntdll.dll
mov byte [ebp - 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x34]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40
mov esi, eax
mov dword [ebp - 0x14], 0
push 0x3000
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x14]
lea ecx, [ebx + 5]
push eax
mov dword [ebp - 0x10], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov edx, dword [ebp - 0x14]
xor ecx, ecx
test ebx, ebx
je 0x1007959e
nop dword [eax]
mov al, byte [ecx + edi]
mov byte [edx + ecx], al
inc ecx
cmp ecx, ebx
jb 0x10079590
mov edx, dword [ebp - 0x14]
movaps xmm0, xmmword [0x10197590]
mov ecx, edi
mov byte [ebx + edx], 0xe9
sub ecx, edx
mov eax, dword [ebp - 0x14]
sub ecx, 5
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0x686b6049
mov dword [ebp - 0x20], 0x100707a
mov dword [ebx + eax + 1], ecx
xor ecx, ecx
nop dword [eax + eax]
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 0x34], al
inc ecx
cmp ecx, 0x16
jb 0x100795d0
push str.ntdll.dll
mov byte [ebp - 0x1d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x34]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [ebp - 0x38]
mov edi, eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
push 0x40
lea eax, [ebp - 0xc]
mov dword [ebp - 0x18], esi
push eax
lea eax, [ebp - 0x18]
push eax
call ebx
push eax
call edi
mov eax, dword [ebp + 0xc]
sub eax, esi
mov byte [esi], 0xe9
sub eax, 5
mov dword [ebp - 0x18], esi
mov dword [esi + 1], eax
mov esi, dword [ebp - 8]
call ebx
lea ecx, [ebp - 8]
push ecx
push esi
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push eax
call edi
mov eax, dword [ebp - 0x14]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.100ab082
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10079660
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10449004]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x10197590]
xor eax, eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x686b6049
mov dword [ebp - 0x14], 0x100707a
lea ecx, [eax - 0xc]
xor byte [ebp + eax - 0x28], cl
inc eax
cmp eax, 0x16
jb 0x10079691
push str.ntdll.dll
mov byte [ebp - 0x11], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [ebp + 0x10]
mov ebx, eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], esi
push eax
push 0x40
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], edi
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebx
test edi, edi
je 0x100796f1
mov ecx, dword [ebp + 0xc]
sub ecx, esi
mov al, byte [ecx + esi]
lea esi, [esi + 1]
mov byte [esi - 1], al
sub edi, 1
jne 0x100796e3
mov esi, dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 8]
push ecx
push esi
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100ab082
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10079720
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10449004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [eax]
lea eax, [ebp - 8]
add edi, dword [ebp + 0x10]
push eax
push 0x40
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp + 0xc]
mov dword [edi], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.100ab082
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1008b330
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10449004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
imul esi, eax, 0x2c
push edi
add esi, dword [0x1047fdb0]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ecx, [ebp - 8]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1008b390
pop edi
mov eax, 0xa
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ab082
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x1008b3b5
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x1008b3d6
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x1008b3d6
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x1008b3d0
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x1008b3d6
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, byte [esi + 0x14]
and bl, 1
and cl, 0xfd
mov al, bl
add al, al
shl bl, 2
or cl, al
xor eax, eax
and cl, 0xfb
or cl, bl
mov byte [esi + 0x14], cl
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.100ab082
mov esp, ebp
pop ebp
ret
Function at 0x1008b480
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10449004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x1008b578
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1008b571
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
nop dword [eax]
cmp dword [ebp - 0x20], 0x10
jb 0x1008b558
call ebx
cmp dword [ebp - 0x14], eax
jne 0x1008b558
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x1008b558
mov edx, dword [esi]
test edx, edx
jne 0x1008b521
push 0x200
push edx
mov dword [esi + 4], 0x80
push dword [0x10449e3c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x1008b571
jmp 0x1008b54c
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x1008b54c
shl eax, 3
push eax
push edx
push 0
push dword [0x10449e3c]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x1008b571
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1008b4e0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x1008b5bc
xor ebx, ebx
cmp dword [esi + 8], ebx
jbe 0x1008b5bc
mov eax, dword [esi]
push dword [eax + ebx*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x1008b5b6
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.1008b660
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [esi + 8]
jb 0x1008b584
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100ab082
mov esp, ebp
pop ebp
ret

Function at 0x1008b7d0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi], 0
je 0x1008b820
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x1008b80f
push ebx
mov eax, dword [edi]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x1008b808
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x1008b7e5
pop ebx
push dword [edi]
push 0
push dword [0x10449e3c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
pop ebp
ret
Function at 0x1008b830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f33ff
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x10449004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x124], edi
mov dword [ebp - 0x120], 0
mov dword [ebp - 4], 1
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x20], 0x10
lea edx, [ebp - 0x110]
cmovae eax, dword [ebp + 0xc]
sub edx, eax
nop word [eax + eax]
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0x1008b890
xor ecx, ecx
mov dword [ebp - 0x118], 0xdead
lea esi, [ebp - 0x110]
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x11c], ecx
cmp byte [ebp - 0x110], cl
je 0x1008b90f
mov eax, ecx
lea esi, [esi + 1]
cdq
sub eax, edx
mov dl, cl
sar eax, 1
not dl
mov cl, byte [ebp + eax - 0x118]
mov al, cl
and cl, 0xf
shr al, 4
test dl, 1
mov edx, dword [ebp - 0x11c]
movzx ecx, cl
movzx eax, al
cmove ecx, eax
xor byte [esi - 1], cl
lea eax, [edx + 1]
xor ecx, ecx
cmp edx, 0xf
cmovne ecx, eax
cmp byte [esi], 0
mov dword [ebp - 0x11c], ecx
jne 0x1008b8c7
xorps xmm0, xmm0
lea ecx, [ebp - 0x110]
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
lea edx, [ecx + 1]
mov dword [edi + 0x14], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008b930
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
mov ecx, edi
call fcn.10006cf0
mov dword [ebp - 0x120], 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.100060e0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ab082
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x1008ca60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push str.dxg1
mov esi, ecx
call fcn.10009d20
add esp, 4
mov ecx, esi
call fcn.1001dfa0
push eax
push str.present_addr_0x_x
mov dword [esi + 0x14], eax
call fcn.10009d20
mov eax, dword [esi + 0x14]
add esp, 8
test eax, eax
jne 0x1008cae9
cmp byte [esi + 1], al
je 0x1008caab
push dword [0x10449d14]
push 0xfffffffffffffffc
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [0x10449da4]
push 5
push dword [0x10449e4c]
push dword [esi + 0x14]
call fcn.10079660
push str.unhooked
call fcn.10009d20
mov byte [esi + 5], 0
add esp, 4
mov eax, dword [0x10449f8c]
mov byte [eax + 0x24f], 1
xor al, al
mov byte [esi + 1], 0
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [eax]
mov eax, dword [eax + 0x58]
mov dword [esi + 0x14], eax
test eax, eax
jne 0x1008cb62
mov dword [ebp - 0xc], 0x64787b4d
xor ecx, ecx
mov dword [ebp - 8], 0x2f2d7e
mov byte [ebp - 4], 1
nop dword [eax]
lea eax, [ecx + 8]
xor byte [ebp + ecx - 0xc], al
inc ecx
cmp ecx, 7
jb 0x1008cb10
movaps xmm0, xmmword [str.Imnyi_f3rzcya]
xor ecx, ecx
mov byte [ebp - 4], 0
movups xmmword [ebp - 0x20], xmm0
mov word [ebp - 0x10], 0x7c
mov byte [ebp - 0xe], 1
lea eax, [ecx + 8]
xor byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, 0x11
jb 0x1008cb38
push 0
lea eax, [ebp - 0xc]
mov byte [ebp - 0xe], 0
push eax
lea eax, [ebp - 0x20]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x10449da4]
push 5
push 0x1008cc30
push eax
call fcn.100794f0
mov dword [0x10449e4c], eax
mov al, 1
mov byte [esi + 5], 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1008cc50
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x10449004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov dword [ebp - 0x258], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [ebp - 0x258]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 1
jne 0x1008cd7a
lea eax, [ebp - 0x258]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
jne 0x1008cd7a
nop dword [eax]
mov ecx, 0x101fcb50
lea eax, [ebp - 0x234]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1008cce6
test dx, dx
je 0x1008cce2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1008cce6
add eax, 4
add ecx, 4
test dx, dx
jne 0x1008ccc0
xor eax, eax
jmp 0x1008cceb
sbb eax, eax
or eax, 1
test eax, eax
je 0x1008cd2f
mov eax, str.AndroidProcess.exe
lea ecx, [ebp - 0x234]
nop word [eax + eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x1008cd26
test dx, dx
je 0x1008cd22
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x1008cd26
add ecx, 4
add eax, 4
test dx, dx
jne 0x1008cd00
xor eax, eax
jmp 0x1008cd2b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1008cd64
push dword [ebp - 0x250]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x1008cd64
push 0x28
lea eax, [ebp - 0x2c]
push eax
push esi
call sub.KERNEL32.dll_K32GetProcessMemoryInfo
test eax, eax
je 0x1008cd61
cmp dword [ebp - 0x20], 0x11e1a300
ja 0x1008cd8e
push esi
call ebx
lea eax, [ebp - 0x258]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
je 0x1008ccb0
push edi
call ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ab082
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x250]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.100ab082
mov esp, ebp
pop ebp
ret
Function at 0x1008ec60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f39bb
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x10449004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov eax, dword [edx + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [ecx + 0x14], eax
mov eax, dword [edx + 0x18]
mov dword [ecx + 0x18], eax
mov eax, dword [edx + 0x1c]
mov dword [ecx + 0x1c], eax
mov eax, dword [edx + 0x20]
mov dword [ecx + 0x20], eax
mov eax, dword [edx + 0x24]
mov dword [ecx + 0x24], eax
movups xmmword [ecx + 0x28], xmm0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x3c], 0
movups xmm0, xmmword [edx + 0x28]
movups xmmword [ecx + 0x28], xmm0
movq xmm0, qword [edx + 0x38]
movq qword [ecx + 0x38], xmm0
mov dword [edx + 0x38], 0
mov dword [edx + 0x3c], 0xf
mov byte [edx + 0x28], 0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [ecx + 0x40], xmm0
mov dword [ecx + 0x50], 0
mov dword [ecx + 0x54], 0
movups xmm0, xmmword [edx + 0x40]
movups xmmword [ecx + 0x40], xmm0
movq xmm0, qword [edx + 0x50]
movq qword [ecx + 0x50], xmm0
mov dword [edx + 0x50], 0
mov dword [edx + 0x54], 0xf
mov byte [edx + 0x40], 0
mov byte [ebp - 4], 1
movq xmm0, qword [edx + 0x58]
movq qword [ecx + 0x58], xmm0
mov eax, dword [edx + 0x60]
mov dword [ecx + 0x60], eax
movups xmm0, xmmword [edx + 0x64]
movups xmmword [ecx + 0x64], xmm0
mov eax, dword [edx + 0x74]
mov dword [ecx + 0x74], eax
mov eax, dword [edx + 0x78]
mov dword [ecx + 0x78], eax
movzx eax, byte [edx + 0x7c]
mov byte [ecx + 0x7c], al
movzx eax, byte [edx + 0x7d]
mov byte [ecx + 0x7d], al
movzx eax, byte [edx + 0x7e]
mov byte [ecx + 0x7e], al
movzx eax, byte [edx + 0x7f]
mov byte [ecx + 0x7f], al
movzx eax, byte [edx + 0x80]
mov byte [ecx + 0x80], al
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x1009bd80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f5697
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x10449004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 1
cmp byte [esi + 0x1a], 0
je 0x1009bdd2
xor eax, eax
nop
lea edx, [eax + esi]
lea ecx, [eax + 0x29]
inc eax
xor byte [edx], cl
cmp eax, 0x19
jb 0x1009bdc0
mov byte [esi + 0x1a], 0
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0xd]
push eax
lea eax, [esi + 0x19]
push eax
push esi
call fcn.10006970
mov ecx, 2
mov dword [ebp - 0x14], 2
mov dword [ebp - 0x14], ecx
and ecx, 0xfffffffd
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
or ecx, 1
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x100a3150
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
push edi
cmp dword [edx + 0x14], 0x10
mov edi, dword [edx + 0x10]
jb 0x100a3163
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test edi, edi
je 0x100a3181
nop
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x100a3170
pop edi
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x100aac50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
lea eax, [ebx + 0x10]
mov dword [ebp - 4], ebx
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], esi
mov ebx, 1
mov dword [ebp + 0xc], eax
push dword [ebp + 0x14]
xor eax, eax
mov ecx, esi
push dword [ebp + 0x10]
shr ecx, 0x1e
xor eax, esi
xor ecx, edi
push eax
push ecx
call fcn.100ab740
mov edi, eax
mov esi, edx
mov eax, ebx
cdq
add edi, eax
mov eax, dword [ebp + 0xc]
adc esi, edx
inc ebx
mov dword [eax], edi
mov dword [eax + 4], esi
add eax, 8
mov dword [ebp + 0xc], eax
cmp ebx, 0x138
jl 0x100aac73
mov ebx, dword [ebp - 4]
pop edi
pop esi
mov dword [ebx], 0x138
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100b3b10
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
sub esp, 0x18
mov eax, dword [0x10449004]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
mov esi, dword [esp + 0x20]
test esi, esi
je 0x100b3bdb
lea eax, [esp + 4]
push eax
push esi
push 2
call fcn.100c6e00
add esp, 0xc
test eax, eax
jne 0x100b3bdb
lea eax, [esp + 8]
push eax
push esi
push 0x17
call fcn.100c6e00
add esp, 0xc
test eax, eax
jne 0x100b3bdb
push ebx
push edi
mov edi, esi
xor ebx, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x100b3b64
sub edi, ecx
push edi
push 0x2e
push esi
call fcn.100c6dd0
add esp, 0xc
test eax, eax
je 0x100b3b98
sub eax, esi
push eax
push 0x2e
push esi
call fcn.100c6dd0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x100b3b9a
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 0x100b3bc6
mov al, byte [esi]
push eax
call fcn.100bd470
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 0x100b3ba8
pop edi
movzx eax, bl
pop ebx
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.100ab082
add esp, 0x18
ret
mov ecx, dword [esp + 0x18]
xor eax, eax
pop esi
xor ecx, esp
call fcn.100ab082
add esp, 0x18
ret
Function at 0x100b92f0
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
cmp dword [edi + 0x608], 0
je 0x100b9334
push 1
push edi
call fcn.100b0fe0
push dword [edi + 0x59c]
mov eax, dword [edi + 0x608]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push edi
call eax
push 0
push edi
mov esi, eax
call fcn.100b0fe0
add esp, 0x24
mov eax, esi
pop edi
pop esi
ret
mov edx, dword [esp + 0x10]
mov ecx, edx
sub ecx, 0
je 0x100b9349
sub ecx, 1
je 0x100b9349
sub ecx, 1
jne 0x100b937a
push dword [edi + 0x598]
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
lea eax, [edx*2 + 0x10335684]
push 1
add eax, edx
push 2
push eax
call esi
push dword [edi + 0x598]
push 1
push dword [esp + 0x30]
push dword [esp + 0x30]
call esi
add esp, 0x20
pop edi
xor eax, eax
pop esi
ret

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

Disassembly:
sub esp, 0x10c
mov eax, dword [0x10449004]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x118]
mov edx, dword [esp + 0x114]
push ebx
mov ebx, dword [esp + 0x114]
mov dword [esp + 8], eax
xor eax, eax
push ebp
mov ebp, dword [esp + 0x128]
mov ecx, dword [ebx + 0x424]
cmp edx, ecx
push esi
sete al
mov esi, 0x448
push edi
lea eax, [eax*4 + 0x420]
mov eax, dword [eax + ebx]
mov dword [esp + 0x10], eax
mov eax, 0x458
cmove esi, eax
mov eax, dword [ebx + 0x548]
add esi, ebx
mov edi, dword [esi + 4]
sub edi, dword [esi + 8]
test byte [eax + 0x40], 3
je 0x100b9b8e
xor eax, eax
cmp edx, ecx
sete al
lea eax, [eax*4 + 0x438]
cmp dword [eax + ebx], 0x100b9640
jne 0x100b9b8e
cmp dword [esi], 0
je 0x100b9b18
test edi, edi
je 0x100b9b8e
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esp + 0x20]
call fcn.100c55f0
add esp, 0x14
cmp eax, 0xffffffff
je 0x100b9b8e
test al, 1
je 0x100b9b8e
mov ecx, dword [esi]
test ecx, ecx
jne 0x100b9b6b
mov eax, dword [ebx]
mov eax, dword [eax + 0x90c]
add eax, eax
push eax
mov dword [esi + 4], eax
call dword [0x10449040]
mov edi, dword [esi + 4]
mov ecx, eax
add esp, 4
mov dword [esi], ecx
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
test ecx, ecx
je 0x100b9b87
mov eax, dword [esi + 8]
push 0
push edi
add eax, ecx
push eax
push dword [esp + 0x1c]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x100b9b8e
add dword [esi + 8], eax
jmp 0x100b9b8e
mov dword [esi + 4], 0
push 0
push dword [esp + 0x130]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100b9bf7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x2733
jne 0x100b9bc8
mov dword [ebp], 0
lea eax, [edi + 0x52]
jmp 0x100b9bfc
push 0x100
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.100acee0
push eax
push str.Send_failure:__s
push dword [ebx]
call fcn.100b9380
mov eax, dword [ebx]
add esp, 0x18
mov dword [eax + 0xd44], esi
mov eax, 0x37
jmp 0x100b9bf9
xor eax, eax
mov dword [ebp], edi
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100ab082
add esp, 0x10c
ret
Function at 0x100ba030
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [esp + 4]
cmp byte [eax + 0x474], 0
je 0x100ba04d
push eax
call fcn.100b76e0
add esp, 4
test eax, eax
jne 0x100ba06c
xor al, al
ret
mov eax, dword [eax + 0x420]
cmp eax, 0xffffffff
je 0x100ba04a
push 2
push 1
lea ecx, [esp + 0xc]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x100ba04a
mov al, 1
ret