joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430120
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46bca8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.0042aa20
test eax, eax
je 0x430228
lea ecx, [esp + 0xc]
call fcn.00404120
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.0042aa20
mov ecx, eax
call fcn.004280e0
test eax, eax
je 0x43020f
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x43020f
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x43020f
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.00404320
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x4301f1
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x43020f
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x49fe48]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x474930
call fcn.00404320
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x430270
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.0042aa20
test eax, eax
je 0x43035f
mov ecx, edi
call fcn.0042aa20
mov ecx, eax
call fcn.00427f90
test eax, eax
jne 0x43035f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43035f
mov eax, dword [0x49fe48]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x4302d2
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.0042aa20
mov ecx, eax
call fcn.004281c0
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 0x43035f
cmp ebx, eax
jne 0x43035f
cmp dword [esp + 0x10], eax
jne 0x430345
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 0x432f90
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46bf38
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 0x432fc9
inc eax
mov dword [esi + 0x10], eax
jmp 0x4330dc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x432fdd
mov eax, 0xffffffc7
jmp 0x4330de
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x432fee
cmp dword [esi + 8], eax
jne 0x432fdd
cmp dword [esi + 8], eax
jne 0x433007
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x433007
mov eax, 0xffffffc7
jmp 0x4330de
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43301b
push eax
mov ecx, ebx
call fcn.004327c0
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.00404120
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43304c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00404140
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00431f30
test eax, eax
mov dword [esp + 0x38], eax
je 0x43307f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x474930
call fcn.00404320
mov eax, dword [esp + 0x38]
jmp 0x4330de
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00432df0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4330c3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00432e10
mov esi, eax
test esi, esi
jne 0x4330f3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00432df0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x433095
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x474930
call fcn.00404320
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], 0x474930
call fcn.00404320
mov eax, esi
jmp 0x4330de

Function at 0x436200
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x436260
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x436260
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x436260
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x436260
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 0x4362a0
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 0x43c3d0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46c568
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.004653b0
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043bd70
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.004652de
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.00461ba7
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.00461ba7
push 1
push 0
push 0
mov ecx, esi
call fcn.00461b4f
push 1
push 0
push 1
mov ecx, esi
call fcn.00461b4f
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00465422
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43c550
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46c588
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.004653b0
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043bd70
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.004652de
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 0x43c614
cmp dword [esp + 0x40], 1
jne 0x43c612
cmp ecx, eax
jge 0x43c614
mov eax, ecx
cmp eax, 0xc8
jge 0x43c620
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043c3d0
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.00465422
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43cd90
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46c5f3
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.0045ffc2
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.00465658
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00466b74
test eax, eax
je 0x43ceac
mov ecx, dword [esp + 0x3c]
call fcn.00465685
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 0x43ce70
push edi
mov ecx, esi
call fcn.00462cf2
mov ecx, esi
call fcn.0043d010
cmp dword [esp + 0x38], 1
jne 0x43cea5
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.00462e2d
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 0x43f8e0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43f913
push esi
call fcn.004429d0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43f90c
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 0x43f999
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43f982
mov eax, dword [esi + 8]
test eax, eax
je 0x43f937
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 0x43f97e
cmp eax, 2
je 0x43f982
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43f92a
cmp eax, 3
je 0x43f95d
cmp eax, 1
jne 0x43f92a
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 0x43f92a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43f92a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043f9c0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43f9a8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043f9c0
add esp, 4
pop esi
ret

Function at 0x460db8
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x460df0
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.0045ee6c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045ee44
jmp 0x460dfc
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4624af
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 0x4624f1
call fcn.00467f5f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4624f1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4624e8
xor eax, eax
jmp 0x4624f9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004624ff
pop edi
pop esi
pop ebx
ret 4

Function at 0x46848f
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 0x4684bd
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4684db
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004683f5
jmp 0x4684db
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4684db
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004683f5
test edi, edi
mov eax, edi
jne 0x4684c5
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4010e0
Capabilities:
Connect socket
Get socket status
Resolve dns
Set socket configuration

Disassembly:
sub esp, 0x12c
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x90c], 0xffffffff
jne 0x401100
pop edi
xor eax, eax
pop esi
add esp, 0x12c
ret 8
mov edi, dword [esp + 0x138]
test edi, edi
jne 0x401118
pop edi
xor eax, eax
pop esi
add esp, 0x12c
ret 8
mov eax, dword [esi + 0x908]
test eax, eax
je 0x401129
mov ecx, esi
call fcn.004013a0
mov eax, dword [esp + 0x13c]
push edi
mov dword [esi + 0x804], eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
mov dword [esi + 0x910], eax
jne 0x401152
pop edi
pop esi
add esp, 0x12c
ret 8
mov ecx, dword [eax + 0xc]
xor eax, eax
push 0x50
mov edx, dword [ecx]
mov edi, dword [edx]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x20], eax
mov word [esp + 0x18], 2
mov dword [esp + 0x24], eax
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [esp + 0xb]
mov edx, dword [esp + 0xa]
mov word [esp + 0x16], ax
mov eax, dword [esp + 9]
and ecx, 0xff
and edx, 0xff
mov dword [esp + 0x18], edi
push ecx
and eax, 0xff
push edx
and edi, 0xff
push eax
push edi
lea ecx, [esi + 0x808]
push str._d._d._d._d
push ecx
call fcn.0040181b
mov eax, dword [esi + 0x90c]
mov edi, dword [sym.imp.WS2_32.dll_ioctlsocket]
add esp, 0x18
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 1
push edx
push 0x8004667e
push eax
call edi
cmp eax, 0xffffffff
jne 0x4011f5
pop edi
xor eax, eax
pop esi
add esp, 0x12c
ret 8
mov edx, dword [esi + 0x90c]
lea ecx, [esp + 0x14]
push 0x10
push ecx
push edx
call dword [sym.imp.WS2_32.dll_connect]
mov eax, dword [esi + 0x90c]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x34]
push 0
push edx
push 0
push 0
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], 1
mov dword [esp + 0x3c], 5
mov dword [esp + 0x40], 0
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jg 0x401252
pop edi
xor eax, eax
pop esi
add esp, 0x12c
ret 8
mov ecx, dword [esi + 0x90c]
lea eax, [esp + 0x24]
push eax
push 0x8004667e
push ecx
mov dword [esp + 0x30], 0
call edi
cmp eax, 0xffffffff
jne 0x40127f
pop edi
xor eax, eax
pop esi
add esp, 0x12c
ret 8
mov dword [esi + 0x908], 1
pop edi
mov eax, 1
pop esi
add esp, 0x12c
ret 8

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

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, dword [esi + 0x90c]
cmp ebx, 0xffffffff
jne 0x4012e6
pop esi
xor eax, eax
pop ebx
ret 8
mov eax, dword [esi + 0x908]
test eax, eax
jne 0x4012f7
pop esi
xor eax, eax
pop ebx
ret 8
mov edx, dword [esp + 0xc]
test edx, edx
jne 0x401302
lea edx, [esi + 4]
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x401319
push edi
lea edi, [esi + 4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
push 0
push ecx
push edx
push ebx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x401330
pop esi
xor eax, eax
pop ebx
ret 8
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.00401420
pop esi
mov eax, 1
pop ebx
ret 8
Function at 0x401350
Capabilities:
Receive data
Receive data on socket

Disassembly:
push edi
mov edi, ecx
mov eax, dword [edi + 0x90c]
cmp eax, 0xffffffff
jne 0x401364
xor eax, eax
pop edi
ret 8
mov ecx, dword [edi + 0x908]
test ecx, ecx
jne 0x401374
xor eax, eax
pop edi
ret 8
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push esi
push 0
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
test esi, esi
jg 0x401395
mov ecx, edi
call fcn.004013a0
mov eax, esi
pop esi
pop edi
ret 8

Function at 0x4013e0
Capabilities:
Set socket configuration

Disassembly:
mov ecx, dword [ecx + 0x90c]
cmp ecx, 0xffffffff
jne 0x4013f0
xor eax, eax
ret 8
mov eax, dword [esp + 8]
lea edx, [esp + 4]
neg eax
sbb eax, eax
push 4
add eax, 0x1006
push edx
push eax
push 0xffff
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
neg eax
sbb eax, eax
inc eax
ret 8

Function at 0x401420
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x918]
test eax, eax
jne 0x4014a4
push ebx
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_recv]
push esi
mov byte [esp + 0x13], 0
xor esi, esi
mov bl, 0xa
cmp esi, 0x400
jge 0x401491
mov ecx, dword [edi + 0x90c]
push 0
lea eax, [esp + 0x17]
push 1
push eax
push ecx
call ebp
mov dl, byte [esp + 0x13]
mov byte [esi + edi + 0x404], dl
inc esi
cmp esi, 4
jl 0x401440
cmp byte [esi + edi + 0x400], 0xd
jne 0x401440
cmp byte [esi + edi + 0x401], bl
jne 0x401440
cmp byte [esi + edi + 0x402], 0xd
jne 0x401440
cmp byte [esi + edi + 0x403], bl
jne 0x401440
mov dword [edi + 0x91c], esi
pop esi
pop ebp
mov dword [edi + 0x918], 1
pop ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [edi + 0x91c]
mov dword [ecx], eax
lea eax, [edi + 0x404]
pop edi
pop ecx
ret 4
Function at 0x401570
Capabilities:
Create thread
Initialize winsock library
Terminate process

Disassembly:
sub esp, 0x194
mov dword [0x40bb64], 0x409224
mov dword [0x40bb60], 0x409210
mov dword [0x40bb68], 0x4090e0
push 1
push 0x4014c0
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
lea eax, [esp + 4]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4015c6
push str.Cannot_load_socket._n
call fcn.004019f0
add esp, 4
push 1
call fcn.00401a4e
cmp byte [esp + 4], 2
je 0x4015da
call dword [sym.imp.WS2_32.dll_WSACleanup]
push 1
call fcn.00401a4e
push esi
push 0x40bb48
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [0x40bb6c]
cmp eax, 0x64
jge 0x40164e
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x40bb48
call esi
mov ecx, dword [0x40bb6c]
push 0x40bb48
inc ecx
mov dword [0x40bb6c], ecx
call edi
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 0x401690
push 0
push 0
call ebx
test eax, eax
je 0x401641
push eax
call ebp
mov eax, dword [0x40bb6c]
cmp eax, 0x64
jl 0x40160b
pop edi
pop ebp
pop ebx
test eax, eax
jle 0x401668
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call esi
mov eax, dword [0x40bb6c]
test eax, eax
jg 0x401658
push 0x40bb48
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call dword [sym.imp.WS2_32.dll_WSACleanup]
push str.Task_Over__n
call fcn.004019f0
add esp, 4
pop esi
add esp, 0x194
ret
Function at 0x404f32
Capabilities:
Encode data using base64

Disassembly:
mov eax, 0x43b221
call fcn.00439f7c
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], esi
push edi
xor eax, eax
mov byte [ebp - 0x1c], 0
lea edi, [ebp - 0x1b]
stosd dword es:[edi], eax
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], esi
push 0x440234
mov ecx, ebx
mov byte [ebx], al
call fcn.004027a6
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], 1
cmp eax, esi
jle 0x40502b
mov esi, dword [ebp + 0xc]
add esi, 2
mov dword [ebp - 0x10], eax
push 3
dec eax
xor edx, edx
pop ecx
div ecx
lea edi, [eax + 1]
mov eax, dword [ebp - 0x10]
push 3
pop ecx
mov dword [ebp + 0x10], ecx
cmp eax, ecx
jg 0x404fa8
mov dword [ebp + 0x10], eax
movzx eax, byte [esi - 2]
mov ecx, eax
shr ecx, 2
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0x1c], cl
movzx ecx, byte [esi - 1]
and eax, 3
mov edx, ecx
shl eax, 4
shr edx, 4
or edx, eax
cmp dword [ebp + 0x10], 1
mov al, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0x1b], al
jle 0x404ff3
movzx eax, byte [esi]
and ecx, 0xf
shr eax, 6
shl ecx, 2
or eax, ecx
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0x1a], al
jmp 0x404ff7
mov byte [ebp - 0x1a], 0x3d
cmp dword [ebp + 0x10], 2
jle 0x40500e
movzx eax, byte [esi]
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0x19], al
jmp 0x405012
mov byte [ebp - 0x19], 0x3d
lea eax, [ebp - 0x1c]
push eax
mov ecx, ebx
call fcn.0040561b
sub dword [ebp - 0x10], 3
add esi, 3
dec edi
jne 0x404f98
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x405310
Capabilities:
Hash data with md5

Disassembly:
mov eax, 0x43b6fe
call fcn.00439f7c
sub esp, 0x128
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
mov dword [ebp + 0xc], ebx
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
push esi
push edi
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x74], 0x67452301
mov dword [ebp - 0x70], 0xefcdab89
mov dword [ebp - 0x6c], 0x98badcfe
mov dword [ebp - 0x68], 0x10325476
jb 0x40535a
mov ecx, dword [eax]
jmp 0x40535c
mov ecx, eax
mov eax, edx
shl eax, 3
cmp edx, ebx
jle 0x405375
push edx
push ecx
lea ecx, [ebp - 0x7c]
push ecx
xor ecx, ecx
call fcn.00405f0d
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea esi, [ebp - 0x7c]
call fcn.00405fb4
pop ecx
xor edi, edi
inc edi
push edi
push 3
lea ecx, [ebp - 0x134]
call fcn.00401fff
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x124]
mov eax, dword [eax + 4]
lea eax, [ebp + eax - 0x124]
mov ecx, dword [eax + 0x14]
and ecx, 0xfffff9ff
or ecx, 0x800
mov dword [eax + 0x14], ecx
mov eax, dword [ebp - 0x124]
mov eax, dword [eax + 4]
lea eax, [ebp + eax - 0x124]
mov byte [eax + 0x40], 0x30
xor esi, esi
push ebx
lea eax, [ebp - 0x8c]
push 2
push eax
call fcn.00420ee2
mov ecx, dword [ebp - 0x124]
mov ecx, dword [ecx + 4]
add esp, 0xc
push dword [eax + 0xc]
lea ecx, [ebp + ecx - 0x124]
push dword [eax + 8]
push ecx
call dword [eax]
movzx eax, byte [ebp + esi - 0x20]
add esp, 0xc
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.0040563e
inc esi
cmp esi, 0x10
jl 0x4053ce
push dword [ebp + 8]
lea ecx, [ebp - 0x134]
call fcn.004020b1
lea ecx, [ebp - 0x134]
mov dword [ebp + 0xc], edi
mov byte [ebp - 4], bl
call fcn.004019cf
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8