joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100c0b70
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x103680b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x100c0bf8
cmp dword [esi + 0x10], 0
je 0x100c0bf8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.101009c0
mov ebx, esp
test ebx, ebx
je 0x100c0bf8
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1e4
call fcn.1009d2fc
mov ecx, dword [esi + 0x10]
xor eax, eax
push 1
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x24]
mov ecx, eax
call sym.nsDui.dll_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool__bool_
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
cmp byte [eax + 0x145], 0
je 0x100c0bf8
mov ecx, dword [esi + 0x10]
call sym.nsDui.dll_public:_void___thiscall_DuiLib::CControlUI::Invalidate_void_
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ff9df
leave
ret 0x10

Function at 0x100c1338
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x103680b4]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
mov ebx, ecx
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call sym.nsDui.dll_public_virtual:_void___thiscall_DuiLib::CControlUI::SetPos_struct_tagRECT__bool_
mov ecx, dword [ebx + 0x6d8]
test ecx, ecx
je 0x100c13c2
lea eax, [esp + 0xc]
push eax
call fcn.100c0681
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [ebx + 0x6d8]
test eax, eax
je 0x100c139b
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x100c13c2
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
push 0x54
push eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
push eax
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100ff9df
mov esp, ebp
pop ebp
ret 0x14
Function at 0x100c13d6
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x103680b4]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call sym.nsDui.dll_public_virtual:_void___thiscall_DuiLib::CControlUI::Move_struct_tagSIZE__bool_
mov ecx, dword [esi + 0x6d8]
test ecx, ecx
je 0x100c1458
lea eax, [esp + 4]
push eax
call fcn.100c0681
lea eax, [esp + 4]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [esi + 0x6d8]
test eax, eax
je 0x100c1431
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x100c1458
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 8]
push 0x54
push eax
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0xc]
push eax
push dword [esp + 0x14]
push dword [esp + 0x14]
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x14]
pop esi
xor ecx, esp
call fcn.100ff9df
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100c8c85
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
xor esi, esi
push edi
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x534], eax
mov dword [ebx + 0x538], esi
cmp dword [ebp + 0x10], esi
je 0x100c8cbd
push dword [ebp + 0x10]
lea ecx, [ebx + 0x30]
call fcn.1009d2fc
mov eax, dword [ebp + 0xc]
mov ecx, 0x1036c77c
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x55c], eax
lea eax, [ebx + 0x10]
push eax
call fcn.100ca452
mov ecx, dword [ebx + 0x534]
test ecx, ecx
jne 0x100c8ce9
mov eax, dword [ebx + 0x20]
jmp 0x100c8cf4
mov eax, dword [ecx]
call dword [eax + 0x24]
mov eax, dword [eax + 0x84]
push esi
sub esp, 0x10
mov dword [ebp - 4], esi
mov edi, esp
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
mov ecx, ebx
mov dword [ebp - 0x10], esi
lea esi, [ebp - 0x10]
push 0x88
movsd dword es:[edi], dword [esi]
push accept
push 0
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call sym.nsDui.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__struct_tagRECT__struct_HMENU____
mov esi, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
jmp 0x100c8d31
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x100c8d2c
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
leave
ret 0x18

Function at 0x100caa27
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x103680b4]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
mov ebx, ecx
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call sym.nsDui.dll_public_virtual:_void___thiscall_DuiLib::CControlUI::SetPos_struct_tagRECT__bool_
mov ecx, dword [ebx + 0x6f0]
test ecx, ecx
je 0x100caab1
lea eax, [esp + 0xc]
push eax
call fcn.100ca63b
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [ebx + 0x6f0]
test eax, eax
je 0x100caa8a
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x100caab1
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
push 0x54
push eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
push eax
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100ff9df
mov esp, ebp
pop ebp
ret 0x14
Function at 0x100caac5
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x103680b4]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call sym.nsDui.dll_public_virtual:_void___thiscall_DuiLib::CControlUI::Move_struct_tagSIZE__bool_
mov ecx, dword [esi + 0x6f0]
test ecx, ecx
je 0x100cab47
lea eax, [esp + 4]
push eax
call fcn.100ca63b
lea eax, [esp + 4]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [esi + 0x6f0]
test eax, eax
je 0x100cab20
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x100cab47
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 8]
push 0x54
push eax
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0xc]
push eax
push dword [esp + 0x14]
push dword [esp + 0x14]
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x14]
pop esi
xor ecx, esp
call fcn.100ff9df
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100d0018
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x544
mov eax, dword [0x103680b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
xor ebx, ebx
mov esi, ecx
push ebx
push eax
call fcn.1026c0f0
lea eax, [ebp - 0x20c]
push eax
push ebx
push ebx
push ebx
push edi
call fcn.1027c79a
add esp, 0x20
lea eax, [ebp - 0x28c]
mov dword [ebp - 0x290], eax
lea ecx, [ebp - 0x290]
xor eax, eax
mov word [ebp - 0x28c], ax
lea eax, [ebp - 0x20c]
push 0xffffffffffffffff
push eax
call sym.nsDui.dll_public:_void___thiscall_DuiLib::CDuiString::Assign_wchar_t_const___int_
push dword [ebp - 0x290]
call fcn.1027b32e
lea ecx, [ebp - 0x290]
mov dword [esp], str..ICO
call sym.nsDui.dll_public:_int___thiscall_DuiLib::CDuiString::Compare_wchar_t_const__const
test eax, eax
jne 0x100d00c1
push 0x2010
push ebx
push ebx
push 1
push edi
push ebx
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [esi + 0x658], eax
test eax, eax
je 0x100d0111
jmp 0x100d010a
mov ebx, 0x2b4
lea eax, [ebp - 0x544]
push ebx
push 0
push eax
call fcn.1026c0f0
add esp, 0xc
xor eax, eax
cmp byte [esi + 0x670], al
sete al
add eax, 0x100
push eax
push ebx
lea eax, [ebp - 0x544]
push eax
push 0
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x544]
test eax, eax
je 0x100d0111
mov dword [esi + 0x658], eax
mov byte [esi + 0x65c], 1
lea ecx, [ebp - 0x290]
call sym.nsDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100ff9df
leave
ret 4
Function at 0x100d6bbc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [ebp + 8]
mov edx, eax
push ebx
push esi
shr edx, 0x10
mov esi, ecx
push edi
test dx, dx
je 0x100d6bfe
cmp word [eax], 0x3c
jne 0x100d6be3
push eax
call sym.nsDui.dll_public:_bool___thiscall_DuiLib::CMarkup::Load_wchar_t_const__
jmp 0x100d6beb
push 0
push eax
call sym.nsDui.dll_public:_bool___thiscall_DuiLib::CMarkup::LoadFromFile_wchar_t_const___int_
test al, al
jne 0x100d6c90
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [sym.nsDui.dll_struct_HINSTANCE____DuiLib::CPaintManagerUI::m_hResourceInstance]
test ecx, ecx
mov ebx, dword [ebp + 0xc]
cmove ecx, dword [sym.nsDui.dll_struct_HINSTANCE____DuiLib::CPaintManagerUI::m_hInstance]
push ebx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x100d6bf3
mov ecx, dword [sym.nsDui.dll_struct_HINSTANCE____DuiLib::CPaintManagerUI::m_hResourceInstance]
test ecx, ecx
push edi
cmove ecx, dword [sym.nsDui.dll_struct_HINSTANCE____DuiLib::CPaintManagerUI::m_hInstance]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x100d6c47
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x100d6bf3
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x140], eax
mov eax, dword [sym.nsDui.dll_struct_HINSTANCE____DuiLib::CPaintManagerUI::m_hResourceInstance]
test eax, eax
push 0
cmove eax, dword [sym.nsDui.dll_struct_HINSTANCE____DuiLib::CPaintManagerUI::m_hInstance]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ecx, esi
call sym.nsDui.dll_public:_bool___thiscall_DuiLib::CMarkup::LoadFromMem_unsigned_char___unsigned_long_int__int_
test al, al
je 0x100d6bf3
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [esi + 0x144], ebx
push dword [ebp + 0x18]
mov ecx, esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call sym.nsDui.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CDialogBuilder::Create_class_DuiLib::IDialogBuilderCallback___class_DuiLib::CPaintManagerUI___class_DuiLib::CControlUI__
jmp 0x100d6bf5
Function at 0x100dcc2b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 8]
mov edi, eax
mov edx, eax
and edi, 7
je 0x100dcc57
cmp eax, edi
jge 0x100dcc4b
call fcn.100dc681
mov eax, dword [esi + 8]
mov ecx, edi
shr dword [esi + 0xc], cl
sub eax, edi
mov dword [esi + 8], eax
mov edx, eax
xor ecx, ecx
test eax, eax
jle 0x100dcc7a
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx - 4], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x100dcc60
mov dword [esi + 8], edx
jmp 0x100dcc8f
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x100dcc85
xor dl, dl
jmp 0x100dcc8a
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx - 4], dl
inc ecx
cmp ecx, 4
jl 0x100dcc7a
mov eax, dword [ebp - 4]
movzx ecx, byte [ebp - 1]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp - 2]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
jne 0x100dccf3
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
ja 0x100dccf3
mov edx, dword [esi + 0x10]
lea eax, [edx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x100dccdb
push edi
mov ecx, esi
call fcn.100dc759
pop ecx
test eax, eax
je 0x100dccf3
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.1026b580
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
jmp 0x100dccf5
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x100e1400
Capabilities:
Hash data using sha256

Disassembly:
test ecx, ecx
jne 0x100e140a
mov eax, 0xffffff53
ret
mov dword [ecx], 0x6a09e667
xor eax, eax
mov dword [ecx + 4], 0xbb67ae85
mov dword [ecx + 8], 0x3c6ef372
mov dword [ecx + 0xc], 0xa54ff53a
mov dword [ecx + 0x10], 0x510e527f
mov dword [ecx + 0x14], 0x9b05688c
mov dword [ecx + 0x18], 0x1f83d9ab
mov dword [ecx + 0x1c], 0x5be0cd19
mov dword [ecx + 0x60], 0
mov dword [ecx + 0x64], 0
mov dword [ecx + 0x68], 0
ret
Function at 0x100e1d40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
xor eax, eax
mov dword [ebp - 0x10], edx
xor esi, esi
mov dword [ebp - 0xc], ebx
test edi, edi
jle 0x100e1e36
cmp edi, 8
jb 0x100e1e17
mov eax, edi
and eax, reloc.WS2_32.dll_getsockopt
jns 0x100e1d77
dec eax
or eax, 0xfffffff8
inc eax
mov ecx, edi
xorps xmm4, xmm4
mov edi, ebx
sub ecx, eax
sub edi, edx
mov eax, edx
mov dword [ebp - 4], edi
xorps xmm3, xmm3
lea edi, [ebx + 4]
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], edi
mov edi, dword [ebp + 8]
mov edx, dword [ebp - 8]
nop dword [eax]
movd xmm2, dword [ebx + eax]
lea eax, [eax + 8]
movd xmm1, dword [eax - 8]
xorps xmm0, xmm0
punpcklbw xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
movd xmm1, dword [eax - 4]
por xmm4, xmm2
punpcklbw xmm1, xmm0
movd xmm2, dword [edx + esi]
add esi, 8
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
por xmm3, xmm2
cmp esi, ecx
jl 0x100e1da0
mov ebx, dword [ebp - 0xc]
por xmm3, xmm4
mov edx, dword [ebp - 0x10]
movaps xmm0, xmm3
psrldq xmm0, 8
por xmm3, xmm0
movups xmm0, xmm3
psrldq xmm0, 4
por xmm3, xmm0
movd eax, xmm3
cmp esi, edi
jge 0x100e1e36
sub ebx, edx
lea ecx, [esi + edx]
sub edi, esi
movzx esi, byte [ecx + ebx]
lea ecx, [ecx + 1]
movzx edx, byte [ecx - 1]
xor esi, edx
or eax, esi
sub edi, 1
jne 0x100e1e22
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100e5e10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [edi]
test esi, esi
je 0x100e5e63
mov ebx, dword [ebp + 0xc]
mov dword [edi], 0
push 0
mov ecx, 0x400000
mov dword [ebp + 0x10], 0
lea eax, [ebp + 0x10]
cmp esi, ecx
push eax
mov eax, esi
cmova eax, ecx
push eax
mov eax, dword [ebp + 8]
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 0x10]
add ebx, ecx
add dword [edi], ecx
sub esi, ecx
test eax, eax
je 0x100e5e6a
test ecx, ecx
je 0x100e5e63
test esi, esi
jne 0x100e5e28
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
pop edi
pop esi
pop ebx
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x100e5e80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [edi]
test esi, esi
je 0x100e5ed3
mov ebx, dword [ebp + 0xc]
mov dword [edi], 0
push 0
mov ecx, 0x400000
mov dword [ebp + 0x10], 0
lea eax, [ebp + 0x10]
cmp esi, ecx
push eax
mov eax, esi
cmova eax, ecx
push eax
mov eax, dword [ebp + 8]
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 0x10]
add ebx, ecx
add dword [edi], ecx
sub esi, ecx
test eax, eax
je 0x100e5eda
test ecx, ecx
je 0x100e5ed3
test esi, esi
jne 0x100e5e98
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
pop edi
pop esi
pop ebx
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetLastError]

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

Disassembly:
xor eax, eax
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x103750a0], ecx
inc eax
cmp eax, 0x100
jb 0x100e5f92
cmp eax, 0x800
jae 0x100e6063
nop word [eax + eax]
mov edx, dword [eax*4 + 0x10374ca0]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x103750a0]
mov dword [eax*4 + 0x103750a0], edx
inc eax
cmp eax, 0x800
jb 0x100e6040
mov dword [0x103702a0], 0x100e6d80
call fcn.100e6bc0
mov ecx, dword [0x103702a0]
test eax, eax
mov edx, 0x100e6d80
cmove ecx, edx
mov dword [0x103702a0], ecx
ret
Function at 0x100e70f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
sub esp, 0x10
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax]
push ebx
xor ebx, ebx
and eax, 7
cmp ecx, 5
jae 0x100e7110
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
add dword [ebp + 0x10], 5
lea edx, [ecx - 4]
push esi
mov esi, dword [ebp + 8]
push edi
or edi, 0xffffffff
add edx, esi
mov dword [ebp + 0xc], edx
add esi, ebx
mov dword [ebp - 4], esi
cmp esi, edx
jae 0x100e7142
nop dword [eax]
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x100e713f
inc esi
cmp esi, edx
jb 0x100e7130
mov dword [ebp - 4], esi
mov ebx, esi
sub ebx, dword [ebp + 8]
mov ecx, ebx
sub ecx, edi
cmp esi, edx
jae 0x100e726a
cmp ecx, 3
jbe 0x100e7182
xor eax, eax
mov cl, byte [esi + 4]
mov edi, ebx
mov dword [ebp - 0x10], edi
test cl, cl
je 0x100e71c0
cmp cl, 0xff
je 0x100e71c0
mov edx, dword [ebp + 0xc]
and eax, 3
mov esi, dword [ebp + 8]
add eax, eax
mov ecx, 1
or eax, 1
add ebx, ecx
jmp 0x100e7124
dec ecx
shl eax, cl
and eax, 7
je 0x100e715a
cmp byte [eax + 0x1029fe34], 0
je 0x100e71ad
movzx ecx, byte [eax + 0x1029fe3c]
mov edx, esi
sub edx, ecx
mov cl, byte [edx + 4]
test cl, cl
je 0x100e71aa
cmp cl, 0xff
jne 0x100e715a
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
and eax, 3
add eax, eax
mov edi, ebx
or eax, 1
inc ebx
jmp 0x100e7124
movzx edi, cl
movzx ecx, byte [esi + 3]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 2]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 1]
mov esi, dword [ebp + 0x10]
shl edi, 8
or edi, ecx
cmp dword [ebp + 0x18], 0
je 0x100e71ee
lea edx, [edi + ebx]
add edx, esi
jmp 0x100e71f4
mov edx, edi
sub edx, ebx
sub edx, esi
test eax, eax
je 0x100e7232
movzx edi, byte [eax + 0x1029fe3c]
mov ecx, 0x18
shl edi, 3
sub ecx, edi
mov dword [ebp - 0xc], edi
mov edi, edx
shr edi, cl
mov ecx, edi
mov dword [ebp - 8], edi
test cl, cl
je 0x100e721e
cmp cl, 0xff
jne 0x100e7232
mov ecx, 0x20
mov edi, 1
sub ecx, dword [ebp - 0xc]
shl edi, cl
dec edi
xor edi, edx
jmp 0x100e71e1
mov esi, dword [ebp - 4]
mov ecx, edx
mov edi, dword [ebp - 0x10]
shr ecx, 0x18
and cl, 1
neg cl
mov byte [esi + 1], dl
mov byte [esi + 4], cl
mov ecx, edx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, edx
mov edx, dword [ebp + 0xc]
shr ecx, 8
mov byte [esi + 2], cl
mov ecx, 5
mov esi, dword [ebp + 8]
add ebx, ecx
jmp 0x100e7124
pop edi
pop esi
cmp ecx, 3
jbe 0x100e727f
mov ecx, dword [ebp + 0x14]
xor eax, eax
mov dword [ecx], eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
dec ecx
shl eax, cl
mov ecx, dword [ebp + 0x14]
and eax, 7
mov dword [ecx], eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x101097d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp byte [0x10370da8], 0
push esi
push edi
mov edi, dword [esp + 0x20]
je 0x10109845
test edi, edi
je 0x10109845
mov eax, dword [0x10370dac]
test eax, eax
jne 0x1010983f
mov esi, dword [esp + 0x1c]
push str.recv
push esi
push edi
push str.LIMIT__s:_d__s_reached_memlimit_n
call fcn.101095d0
add esp, 0x10
push str.recv
push esi
push edi
push str.LIMIT__s:_d__s_reached_memlimit_n
push 2
call fcn.1027b121
add esp, 4
push eax
call fcn.10107ce0
push dword [0x10370da4]
call fcn.10279737
add esp, 0x18
call fcn.1027ad7b
pop edi
pop esi
mov dword [eax], 0xc
or eax, 0xffffffff
ret
dec eax
mov dword [0x10370dac], eax
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
test edi, edi
je 0x10109878
push esi
push dword [esp + 0x18]
push dword [esp + 0x24]
push edi
push str.RECV__s:_d_recv__lu____ld_n
call fcn.101095d0
add esp, 0x14
pop edi
mov eax, esi
pop esi
ret

Function at 0x101098b0
Capabilities:
Send data
Send data on socket

Disassembly:
cmp byte [0x10370da8], 0
push esi
push edi
mov edi, dword [esp + 0x20]
je 0x10109925
test edi, edi
je 0x10109925
mov eax, dword [0x10370dac]
test eax, eax
jne 0x1010991f
mov esi, dword [esp + 0x1c]
push str.send
push esi
push edi
push str.LIMIT__s:_d__s_reached_memlimit_n
call fcn.101095d0
add esp, 0x10
push str.send
push esi
push edi
push str.LIMIT__s:_d__s_reached_memlimit_n
push 2
call fcn.1027b121
add esp, 4
push eax
call fcn.10107ce0
push dword [0x10370da4]
call fcn.10279737
add esp, 0x18
call fcn.1027ad7b
pop edi
pop esi
mov dword [eax], 0xc
or eax, 0xffffffff
ret
dec eax
mov dword [0x10370dac], eax
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
test edi, edi
je 0x10109958
push esi
push dword [esp + 0x18]
push dword [esp + 0x24]
push edi
push str.SEND__s:_d_send__lu____ld_n
call fcn.101095d0
add esp, 0x14
pop edi
mov eax, esi
pop esi
ret