joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f850
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.0042a000
test eax, eax
je 0x42f93f
mov ecx, edi
call fcn.0042a000
mov ecx, eax
call fcn.00427670
test eax, eax
jne 0x42f93f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42f93f
mov eax, dword [0x907e20]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x42f8b2
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.0042a000
mov ecx, eax
call fcn.004278a0
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x42f93f
cmp ebx, eax
jne 0x42f93f
cmp dword [esp + 0x10], eax
jne 0x42f925
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x432560
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x473a68
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x432599
inc eax
mov dword [esi + 0x10], eax
jmp 0x4326ac
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4325ad
mov eax, 0xffffffc7
jmp 0x4326ae
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x4325be
cmp dword [esi + 8], eax
jne 0x4325ad
cmp dword [esi + 8], eax
jne 0x4325d7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x4325d7
mov eax, 0xffffffc7
jmp 0x4326ae
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4325eb
push eax
mov ecx, ebx
call fcn.00431d90
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00402a40
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43261c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00402a60
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00431500
test eax, eax
mov dword [esp + 0x38], eax
je 0x43264f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x8d9770
call fcn.00402c40
mov eax, dword [esp + 0x38]
jmp 0x4326ae
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.004323c0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x432693
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004323e0
mov esi, eax
test esi, esi
jne 0x4326c3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.004323c0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x432665
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x8d9770
call fcn.00402c40
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x8d9770
call fcn.00402c40
mov eax, esi
jmp 0x4326ae

Function at 0x4357e0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x435840
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x435840
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x435840
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x435840
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x435880
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x43b9d0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x474098
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0046afdf
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043b370
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0046af0d
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004676f4
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004676f4
push 1
push 0
push 0
mov ecx, esi
call fcn.0046769c
push 1
push 0
push 1
mov ecx, esi
call fcn.0046769c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046b051
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43bb50
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4740b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0046afdf
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043b370
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0046af0d
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43bc14
cmp dword [esp + 0x40], 1
jne 0x43bc12
cmp ecx, eax
jge 0x43bc14
mov eax, ecx
cmp eax, 0xc8
jge 0x43bc20
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043b9d0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046b051
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43c3a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x474123
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00465b14
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0046b287
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0046c7df
test eax, eax
je 0x43c4bc
mov ecx, dword [esp + 0x3c]
call fcn.0046b2b4
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43c480
push edi
mov ecx, esi
call fcn.00468878
mov ecx, esi
call fcn.0043c620
cmp dword [esp + 0x38], 1
jne 0x43c4b5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004689e2
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43eed0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43ef03
push esi
call fcn.00441fc0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43eefc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43ef89
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43ef72
mov eax, dword [esi + 8]
test eax, eax
je 0x43ef27
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43ef6e
cmp eax, 2
je 0x43ef72
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43ef1a
cmp eax, 3
je 0x43ef4d
cmp eax, 1
jne 0x43ef1a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43ef1a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43ef1a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043efb0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43ef98
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043efb0
add esp, 4
pop esi
ret

Function at 0x46690a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x466942
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004649c1
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00464999
jmp 0x46694e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x467ffc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46803e
call fcn.0046dceb
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46803e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x468035
xor eax, eax
jmp 0x468046
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046804c
pop edi
pop esi
pop ebx
ret 4

Function at 0x46e21b
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46e249
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46e267
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046e181
jmp 0x46e267
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46e267
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046e181
test edi, edi
mov eax, edi
jne 0x46e251
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401080
Capabilities:
Get graphical window text
Set registry value

Disassembly:
sub esp, 0x38
mov eax, dword [0x40a054]
push ebx
push esi
mov esi, dword [esp + 0x44]
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x40], eax
push 0x1e
lea eax, [esp + 0x24]
push eax
push 0x3fb
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextA]
push eax
call ebx
push 0x10
lea ecx, [esp + 0x14]
push ecx
push 0x409
push esi
call edi
push eax
call ebx
lea edx, [esp + 0xc]
push edx
push str.SoftwareBywg
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0x1e
lea eax, [esp + 0x24]
push eax
push 1
push 0
push str.CsNetUserName
push ecx
call esi
mov eax, dword [esp + 0xc]
push 0x10
lea edx, [esp + 0x14]
push edx
push 1
push 0
push str.CsNetIpAddr
push eax
call esi
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
call fcn.00402837
add esp, 0x38
ret

Function at 0x401120
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x40
mov eax, dword [0x40a054]
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x1d], eax
push ebx
mov dword [esp + 0x25], eax
mov dword [esp + 0x29], eax
xor ecx, ecx
push esi
mov dword [esp + 0x31], eax
mov dword [esp + 0x15], ecx
push edi
mov dword [esp + 0x39], eax
mov dword [esp + 0x1d], ecx
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x41], eax
mov dword [esp + 0x25], ecx
push str.SoftwareBywg
xor ebx, ebx
mov dword [esp + 0x49], eax
mov word [esp + 0x2d], cx
push connect
mov byte [esp + 0x34], bl
mov byte [esp + 0x51], al
mov byte [esp + 0x24], bl
mov byte [esp + 0x33], cl
mov dword [esp + 0x20], 0x1e
mov dword [esp + 0x1c], 0x10
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
push ecx
push ebx
push ebx
push str.CsNetUserName
push edx
call esi
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebx
push ebx
push str.CsNetIpAddr
push edx
call esi
mov esi, dword [esp + 0x50]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
lea eax, [esp + 0x28]
push eax
push 0x3fb
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextA]
push eax
call ebx
lea ecx, [esp + 0x18]
push ecx
push 0x409
push esi
call edi
push eax
call ebx
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebx
call fcn.00402837
add esp, 0x40
ret
Function at 0x401280
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov edx, 0x4bc
xor ecx, ecx
xor eax, eax
mov esi, dword [ebp + 8]
mov al, byte [esi + ecx]
mov bl, dh
xor bl, al
movzx ax, al
add eax, edx
mov byte [esi + ecx], bl
lea edx, [eax + eax*2]
shl edx, 3
sub edx, eax
shl edx, 3
sub edx, eax
lea edx, [eax + edx*4]
shl edx, 5
sub edx, eax
sub edx, 0x3596
inc ecx
cmp ecx, dword [ebp + 0xc]
jne 0x401292
mov edx, dword [ebp + 0xc]
xor ecx, ecx
xor eax, eax
dec edx
mov esi, dword [ebp + 8]
add al, byte [esi + ecx]
inc ecx
cmp ecx, edx
jne 0x4012ce
xor al, byte [ebp + 0x10]
mov dl, byte [ebp + 0x14]
imul dl
cmp byte [esi + ecx], al
je 0x4012ea
mov eax, 1
jmp 0x4012ec
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401300
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov edx, dword [ebp + 0xc]
xor ecx, ecx
xor eax, eax
dec edx
mov esi, dword [ebp + 8]
add al, byte [esi + ecx]
inc ecx
cmp ecx, edx
jne 0x401310
xor al, byte [ebp + 0x10]
mov dl, byte [ebp + 0x14]
imul dl
mov byte [esi + ecx], al
mov edx, 0x4bc
xor ecx, ecx
xor eax, eax
mov esi, dword [ebp + 8]
mov al, byte [esi + ecx]
mov bl, dh
xor bl, al
movzx eax, bl
add eax, edx
mov byte [esi + ecx], bl
lea edx, [eax + eax*2]
shl edx, 3
sub edx, eax
shl edx, 3
sub edx, eax
lea edx, [eax + edx*4]
shl edx, 5
sub edx, eax
sub edx, 0x3596
inc ecx
cmp ecx, dword [ebp + 0xc]
jne 0x40132f
pop esi
pop ebx
pop ebp
ret

Function at 0x401370
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x14
mov eax, dword [0x40a054]
push esi
push 0
push 1
mov dword [esp + 0x1c], eax
push 2
call sub.WS2_32.dll_socket
mov esi, eax
mov eax, dword [esp + 0x24]
push eax
mov word [esp + 8], 2
call sub.WS2_32.dll_htons
mov ecx, dword [esp + 0x20]
push ecx
mov word [esp + 0xa], ax
call sub.WS2_32.dll_inet_addr
mov edx, dword [esp + 0x28]
push 0x33
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
push edx
push eax
push esi
call sub.WS2_32.dll_WSAAsyncSelect
push 0x10
lea ecx, [esp + 8]
push ecx
push esi
call sub.WS2_32.dll_connect
mov ecx, dword [esp + 0x14]
neg eax
sbb eax, eax
neg eax
pop esi
call fcn.00402837
add esp, 0x14
ret
Function at 0x401ac0
Capabilities:
Hash data using crc32b

Disassembly:
push ebx
push esi
xor ebx, ebx
xor ecx, ecx
test bl, 1
je 0x401ad0
mov ecx, 0x80
mov eax, ebx
shr eax, 1
test al, 1
je 0x401adb
or ecx, 0x40
shr eax, 1
test al, 1
je 0x401ae4
or ecx, 0x20
shr eax, 1
test al, 1
je 0x401aed
or ecx, 0x10
shr eax, 1
test al, 1
je 0x401af6
or ecx, 8
shr eax, 1
test al, 1
je 0x401aff
or ecx, 4
shr eax, 1
test al, 1
je 0x401b08
or ecx, 2
test al, 2
je 0x401b0f
or ecx, 1
shl ecx, 0x18
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
lea edx, [eax + eax]
xor ecx, edx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
lea edx, [eax + eax]
xor ecx, edx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
lea edx, [eax + eax]
xor ecx, edx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
lea edx, [eax + eax]
xor ecx, edx
mov dword [ebx*4 + 0x40a920], ecx
mov eax, ecx
xor edx, edx
mov ecx, 0x1f
mov edi, edi
test al, 1
je 0x401bdd
mov esi, 1
shl esi, cl
or edx, esi
shr eax, 1
dec ecx
cmp ecx, 0xffffffff
jg 0x401bd0
mov dword [ebx*4 + 0x40a920], edx
inc ebx
cmp ebx, 0xff
jle 0x401ac4
pop esi
pop ebx
ret

Function at 0x401c00
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
or eax, 0xffffffff
test edx, edx
je 0x401c30
push esi
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
mov edi, dword [esi*4 + 0x40a920]
shr eax, 8
xor eax, edi
inc ecx
dec edx
jne 0x401c11
pop edi
pop esi
not eax
ret

Function at 0x401c40
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x1c
mov eax, dword [0x40a054]
push edi
push 0
push 0x8000000
push 3
push 0
push 1
push connect
push 0x40afe0
mov dword [esp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x401ce9
push ebx
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
call fcn.0040284a
add esp, 4
push 0
mov ebx, eax
lea eax, [esp + 0x10]
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, dword [esp + 0xc]
je 0x401cbf
push ebx
call fcn.00402845
add esp, 4
pop esi
pop ebx
pop edi
mov ecx, dword [esp + 0x18]
call fcn.00402837
add esp, 0x1c
ret
push esi
push ebx
call fcn.00401c00
push ebx
mov dword [0x40afc8], eax
call fcn.00402845
mov edx, dword [0x40afc8]
push 0x10
lea ecx, [esp + 0x20]
push ecx
push edx
call fcn.00407224
add esp, 0x18
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
pop edi
call fcn.00402837
add esp, 0x1c
ret
Function at 0x4022d0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x40a054]
push ebx
push edi
mov dword [esp + 0x198], eax
mov eax, dword [0x40ae40]
push 0x66
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
push edi
push 1
push 0x80
push esi
call ebx
push edi
push 0
push 0x80
push esi
call ebx
push str.averyverylazydog
mov dword [0x40ae20], esi
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
push 0x40afd8
push esi
mov dword [0x40af74], eax
call fcn.00401d00
add esp, 8
call fcn.00401ac0
push 0x408374
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push esi
call fcn.004013f0
push esi
call fcn.00401120
add esp, 8
lea ecx, [esp + 8]
push ecx
push 0x101
call sub.WS2_32.dll_WSAStartup
cmp eax, 0xffffffff
jne 0x40237b
push 0
push 0x408368
push 0x408344
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push 0x1d
push 0xc5
push 0x3fb
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebx
push 0x40b1f0
push 0x40b0e8
push 0x40afe0
call fcn.00401210
call fcn.00401c40
mov edx, dword [0x40a038]
push 0x464
push edx
push str.202.103.64.206
push esi
call fcn.00401370
mov ecx, dword [esp + 0x1b4]
add esp, 0x1c
pop edi
mov eax, 1
pop ebx
call fcn.00402837
add esp, 0x194
ret

Function at 0x4023e0
Capabilities:
Create process on windows
Get graphical window text

Disassembly:
cmp eax, 0x3fa
push ebx
mov ebx, ecx
jne 0x402486
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0x40af94
push 0x1e
push 0xd
push 0x3fb
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
call edi
push 0x40afb4
push 0x10
push 0xd
push 0x409
push ebx
call esi
push eax
call edi
push 0x40afb4
call sub.WS2_32.dll_inet_addr
push 0x40af94
mov dword [0x40afc4], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jge 0x402469
push 0x30
push 0x4082b8
push 0x4083b0
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x3fb
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebx
ret
mov eax, dword [0x40af8c]
push 0x465
push eax
push str.202.103.64.206
push ebx
call fcn.00401370
add esp, 0x10
pop edi
pop esi
pop ebx
ret
cmp eax, 0x9c45
jg 0x4024bf
je 0x4024b4
cmp eax, 0x408
je 0x4024a4
cmp eax, 0x9c44
jne 0x402467
call fcn.00401a10
pop ebx
ret
push 0x40afd8
push ebx
call fcn.00401d00
add esp, 8
pop ebx
ret
push 1
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
ret
cmp eax, 0x9c46
jne 0x402467
push 5
push 0x40b1f0
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x1f
ja 0x402505
push 0x30
push 0x4082b8
push 0x408284
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push 0
push 0
push str.http:__www.bywg.com_xiazai.htm
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop ebx
ret
push 0
push 0
push 0x10
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
pop ebx
ret