joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46e178
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x46e28e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov edx, dword [esi]
mov eax, 0x46e2a4
call fcn.00404bc8
mov ebx, eax
test ebx, ebx
je 0x46e26d
cmp ebx, dword [ebp - 8]
je 0x46e26d
mov dword [ebp - 8], ebx
mov eax, esi
mov ecx, 1
mov edx, ebx
call fcn.00404b24
mov edx, dword [esi]
mov eax, 0x46e2a4
call fcn.00404bc8
mov edi, eax
test edi, edi
je 0x46e26d
lea eax, [ebp - 4]
push eax
mov ecx, edi
sub ecx, ebx
mov eax, dword [esi]
mov edx, ebx
call fcn.00404ae4
mov ecx, edi
sub ecx, ebx
inc ecx
mov eax, esi
mov edx, ebx
call fcn.00404b24
cmp dword [ebp - 4], 0
je 0x46e1a4
push 0x46e2a4
push dword [ebp - 4]
push 0x46e2a4
lea eax, [ebp - 4]
mov edx, 3
call fcn.0040494c
push 0x104
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 4]
call fcn.00404adc
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x10c]
mov ecx, 0x104
call fcn.00404820
mov eax, dword [ebp - 0x110]
mov edx, esi
mov ecx, ebx
call fcn.00404b6c
jmp 0x46e1a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e295
lea eax, [ebp - 0x110]
call fcn.004045b8
lea eax, [ebp - 4]
call fcn.004045b8
ret
Function at 0x46f530
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x46f538
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a74
xor eax, eax
push ebp
push 0x46f6df
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x414ba8]
call fcn.0040377c
mov esi, eax
lea edx, [ebp - 8]
mov eax, 0x46f6f8
call fcn.0040e420
mov al, byte [0x46f700]
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x46f70c
mov edx, 0x46f718
mov eax, dword [ebp - 8]
call fcn.0040d9c8
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 8]
call fcn.00404650
mov al, byte [0x46f700]
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x46f70c
mov edx, 0x46f718
mov eax, dword [ebp - 8]
call fcn.0040d9c8
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 8]
call fcn.00404650
mov al, byte [0x46f700]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x46f70c
mov edx, 0x46f718
mov eax, dword [ebp - 8]
call fcn.0040d9c8
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.00404650
mov al, byte [0x46f700]
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x46f724
mov edx, 0x46f70c
mov eax, dword [ebp - 8]
call fcn.0040d9c8
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 8]
call fcn.00404650
mov edx, dword [ebp - 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov byte [ebp - 0xd], 0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x46f65c
inc ebx
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0xc]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.004049d0
jne 0x46f656
mov byte [ebp - 0xd], 1
jmp 0x46f65c
inc dword [ebp - 0xc]
dec ebx
jne 0x46f636
cmp byte [ebp - 0xd], 0
jne 0x46f6b0
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov al, byte [0x46f700]
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x46f70c
mov edx, 0x46f724
mov eax, dword [ebp - 8]
call fcn.0040d9c8
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 8]
call fcn.00404650
lea eax, [ebp - 8]
call fcn.00404adc
push eax
push 0x46f728
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, esi
call fcn.004037ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f6e6
lea eax, [ebp - 0x28]
mov edx, 6
call fcn.004045dc
lea eax, [ebp - 8]
mov edx, 2
call fcn.004045dc
ret

Function at 0x46f980
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x46fc10
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.00403098
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x47116c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa4
mov ebp, edx
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
mov dl, 1
mov eax, dword [0x414544]
call fcn.0040377c
mov esi, eax
push esi
push 0x471154
call sub.user32.dll_EnumWindows
mov edi, dword [esi + 8]
dec edi
test edi, edi
jl 0x4711ec
inc edi
xor ebx, ebx
mov edx, ebx
mov eax, esi
call fcn.00416e60
cmp ebp, eax
je 0x4711e8
push 0x50
lea eax, [esp + 0xc]
push eax
mov edx, ebx
mov eax, esi
call fcn.00416e60
push eax
call sub.user32.dll_GetClassNameA
test eax, eax
jle 0x4711e8
lea eax, [esp + 8]
mov edx, dword [esp]
call fcn.00409e14
test eax, eax
jne 0x4711e8
mov edx, ebx
mov eax, esi
call fcn.00416e60
mov dword [esp + 4], eax
jmp 0x4711ec
inc ebx
dec edi
jne 0x4711a2
mov eax, esi
call fcn.004037ac
mov eax, dword [esp + 4]
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x471268
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff78
push ebx
xor edx, edx
mov dword [ebp - 0x88], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4712ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x21
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x83]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4712d4
lea eax, [ebp - 0x83]
call fcn.00409d14
mov byte [ebp - 0x84], al
lea eax, [ebp - 0x88]
lea edx, [ebp - 0x84]
call fcn.00404814
mov eax, dword [ebp - 0x88]
mov edx, ebx
call fcn.00408e1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4712f4
lea eax, [ebp - 0x88]
call fcn.004045b8
ret

Function at 0x4712fc
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor edx, edx
mov dword [ebp - 0x28], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x471366
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x1e
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x23]
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x471350
lea eax, [ebp - 0x23]
call fcn.00409d14
mov byte [ebp - 0x24], al
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.00404814
mov eax, dword [ebp - 0x28]
mov edx, ebx
call fcn.00408e1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47136d
lea eax, [ebp - 0x28]
call fcn.004045b8
ret
Function at 0x471be4
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a74
xor eax, eax
push ebp
push 0x471c71
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
call fcn.00404adc
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
test eax, eax
je 0x471c4d
mov eax, dword [ebp - 0x14]
imul dword [ebp - 0x18]
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x1c]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00405944
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
jmp 0x471c5b
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471c78
lea eax, [ebp - 4]
call fcn.004045b8
ret

Function at 0x471c84
Capabilities:
Get disk information
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x471d83
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x471d9c
lea eax, [ebp - 0x40]
mov edx, ebx
call fcn.00404798
push dword [ebp - 0x40]
push 0x471dac
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040494c
push 0
push 0
push 3
push 0
push 0
push 0
lea eax, [ebp - 8]
call fcn.00404adc
push eax
call sub.kernel32.dll_CreateFileA_1
mov esi, eax
cmp esi, 0xffffffff
je 0x471d5e
lea eax, [ebp - 0x14]
xor ecx, ecx
mov edx, 0xc
call fcn.00403098
push 0
lea eax, [ebp - 4]
push eax
push 0x28
lea eax, [ebp - 0x3c]
push eax
push 0xc
lea eax, [ebp - 0x14]
push eax
push 0x2d1400
push esi
call sub.kernel32.dll_DeviceIoControl
test eax, eax
je 0x471d58
cmp dword [ebp - 0x20], 7
jne 0x471d58
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404798
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 8]
mov ecx, 0x471db8
call fcn.004048d8
lea eax, [ebp - 8]
call fcn.00404adc
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
je 0x471d54
cmp eax, 2
jne 0x471d58
mov bl, 1
jmp 0x471d60
push esi
call sub.kernel32.dll_CloseHandle_1
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471d8a
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004045dc
lea eax, [ebp - 8]
call fcn.004045b8
ret
Function at 0x473660
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test bl, bl
je 0x47367d
test byte [esi + 0x1c], 0x10
je 0x47367d
mov eax, 0x4736ec
call fcn.0043ba98
jmp 0x4736de
cmp bl, byte [esi + 0x34]
je 0x4736de
test bl, bl
je 0x4736b6
test byte [esi + 0x1c], 0x10
jne 0x4736db
mov cl, 1
mov dl, 1
mov eax, dword [0x4733d4]
call fcn.0041f2c8
mov edi, eax
mov dword [esi + 0x50], edi
mov dword [edi + 0x30], esi
mov byte [edi + 0xf], 1
mov eax, edi
call fcn.0041f614
mov eax, esi
call fcn.00473710
jmp 0x4736db
test byte [esi + 0x1c], 0x10
jne 0x4736db
mov eax, dword [esi + 0x30]
push eax
call sub.winmm.dll_timeKillEvent
push 0
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, dword [esi + 0x50]
call fcn.004037ac
mov byte [esi + 0x34], bl
pop edi
pop esi
pop ebx
ret
Function at 0x478e74
Capabilities:
Open clipboard

Disassembly:
push ebx
push esi
mov esi, eax
cmp dword [esi + 4], 0
jne 0x478eb6
mov eax, dword [0x53eb10]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [esi + 8], eax
test eax, eax
jne 0x478ea1
push esi
push 0x479594
call fcn.0042081c
mov dword [esi + 8], eax
mov byte [esi + 0xc], 1
mov eax, dword [esi + 8]
push eax
call sub.user32.dll_OpenClipboard
cmp eax, 1
sbb ebx, ebx
inc ebx
mov byte [esi + 0xd], 0
jmp 0x478eb8
mov bl, 1
inc dword [esi + 4]
test bl, bl
jne 0x478ed9
dec dword [esi + 4]
cmp byte [esi + 0xc], 0
je 0x478ed4
mov eax, dword [esi + 8]
call fcn.004208d0
mov byte [esi + 0xc], 0
xor eax, eax
mov dword [esi + 8], eax
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x478f00
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00478e74
test al, al
jne 0x478f26
xor eax, eax
jmp 0x478fe6
xor edx, edx
push ebp
push 0x478fdd
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x478faf
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
xor edx, edx
push ebp
push 0x478f9e
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.00402974
mov eax, dword [ebp - 4]
call fcn.00478e28
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478fa5
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x478ff0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00404cf0
mov eax, dword [ebp - 4]
call fcn.00478e74
test al, al
je 0x47906b
push 0xd
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x479064
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x47903f
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00404e38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47906b
cmp dword [ebp - 8], 0
je 0x47905b
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.00478e44
ret
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x47909c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00478e74
test al, al
je 0x47914d
xor edx, edx
push ebp
push 0x479146
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x479119
mov edx, ebx
mov eax, dword [0x421f4c]
call fcn.00426534
test al, al
je 0x479109
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.00426444
call fcn.00404024
jmp 0x47914d
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x4790d4
mov ecx, dword [0x53e60c]
mov dl, 1
mov eax, dword [0x408150]
call fcn.0040c674
call fcn.00403f78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47914d
mov eax, dword [ebp - 4]
call fcn.00478e44
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x479154
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00478e74
test al, al
je 0x4791b7
xor eax, eax
push ebp
push 0x4791b0
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4791b7
mov eax, dword [ebp - 4]
call fcn.00478e44
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4791c0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00478e74
test al, al
je 0x479220
xor edx, edx
push ebp
push 0x479219
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479220
mov eax, dword [ebp - 4]
call fcn.00478e44
ret
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x479290
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00478e74
test al, al
je 0x479310
xor eax, eax
push ebp
push 0x479309
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00478e28
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.00426508
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x4792f3
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479310
mov eax, dword [ebp - 4]
call fcn.00478e44
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x479318
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00478e74
test al, al
je 0x479398
xor eax, eax
push ebp
push 0x479391
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00478e28
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x47937b
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479398
mov eax, dword [ebp - 4]
call fcn.00478e44
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4793ec
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.00478e74
test al, al
je 0x479440
xor eax, eax
push ebp
push 0x479439
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479440
mov eax, dword [ebp - 4]
call fcn.00478e44
ret
mov eax, dword [ebp - 8]
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x479448
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.00478e74
test al, al
je 0x4794a8
xor eax, eax
push ebp
push 0x4794a1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00478e28
push esi
movzx eax, bx
push eax
call sub.user32.dll_SetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4794a8
mov eax, dword [ebp - 4]
call fcn.00478e44
ret
mov eax, dword [ebp - 8]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x47a604
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x47a68d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x53fd38
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x47a677
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040bd58
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x47a6a4
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x53ec80]
mov dl, 1
mov eax, dword [0x479684]
call fcn.0040c6b0
call fcn.00403f78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a694
lea eax, [ebp - 0x1c]
call fcn.004045b8
ret

Function at 0x47ad70
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.0047ac94
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.004039a8
cmp byte [ebx + 4], 0
jne 0x47ad98
mov word [ebx + 0x1c], 2
jmp 0x47ad9e
mov word [ebx + 0x1c], 0x17
push 0x1c
lea eax, [ebx + 0x1c]
push eax
mov eax, dword [ebx + 8]
push eax
call sub.wsock32.dll_connect
mov edx, 0x47ade8
call fcn.0047a54c
mov byte [ebx + 0x39], 0
test byte [ebx + 0x38], 0x10
jne 0x47adda
cmp dword [ebx + 8], 0xffffffff
setne al
mov byte [ebx + 0xc], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.004039a8
pop esi
pop ebx
ret

Function at 0x47ae0c
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0047ab14
xor eax, eax
push ebp
push 0x47aeae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004045b8
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0xffffffff
jne 0x47ae45
call fcn.00404024
jmp 0x47aeb5
mov dword [ebp - 8], 0x1c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.wsock32.dll_getsockname
test eax, eax
jne 0x47ae98
mov eax, dword [ebp - 4]
cmp byte [eax + 4], 0
jne 0x47ae7c
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x20]
push eax
call sub.Ntdll.dll_RtlIpv4AddressToStringA
jmp 0x47ae89
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.Ntdll.dll_RtlIpv6AddressToStringA
mov eax, ebx
lea edx, [ebp - 0x54]
mov ecx, 0x30
call fcn.00404820
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47aeb5
mov eax, dword [ebp - 4]
call fcn.0047ab20
ret
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47af8c
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
je 0x47afbc
mov ecx, dword [0x53ee9c]
mov dl, 1
mov eax, dword [0x479684]
call fcn.0040c674
call fcn.00403f78
mov eax, dword [ebp - 4]
cmp byte [eax + 4], 0
jne 0x47afd8
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
jmp 0x47afe9
push 0
push 1
push 0x17
call sub.wsock32.dll_socket
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0xffffffff
jne 0x47b009
mov ecx, dword [0x53e99c]
mov dl, 1
mov eax, dword [0x479684]
call fcn.0040c674
call fcn.00403f78
xor eax, eax
push ebp
push 0x47b08b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.004039a8
cmp byte [ebp + 8], 0
je 0x47b066
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
push 0
lea eax, [ebp - 0x20]
push eax
mov ecx, edi
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0047aebc
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x20]
lea edi, [eax + 0x1c]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0047acf0
jmp 0x47b081
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, edi
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0047a844
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47b0a8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x47b0b4
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
je 0x47b0e4
mov ecx, dword [0x53ea70]
mov dl, 1
mov eax, dword [0x479684]
call fcn.0040c674
call fcn.00403f78
mov eax, dword [ebp - 4]
cmp byte [eax + 4], 0
jne 0x47b100
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
jmp 0x47b111
push 0
push 1
push 0x17
call sub.wsock32.dll_socket
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0xffffffff
jne 0x47b131
mov ecx, dword [0x53e99c]
mov dl, 1
mov eax, dword [0x479684]
call fcn.0040c674
call fcn.00403f78
xor eax, eax
push ebp
push 0x47b1ae
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.004039a8
cmp byte [ebp + 8], 0
je 0x47b18b
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
mov ecx, edi
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0047aebc
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x20]
lea edi, [eax + 0x1c]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.0047ad70
jmp 0x47b1a4
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, edi
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0047a844
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47b1cb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc