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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.03cb7e50
push 0
push 0
push 0xe
push ebx
call sub.user32.dll_SendMessageW
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, eax
call fcn.03cb504c
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x3ec649e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push 0xd
push ebx
call sub.user32.dll_SendMessageW
test eax, eax
jne 0x3ec6479
call fcn.03cb74c8
jmp 0x3ec64a5
mov eax, esi
mov edx, dword [ebp - 8]
call fcn.03cb8e00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3ec64a5
mov edx, dword [ebp - 4]
add edx, edx
mov eax, dword [ebp - 8]
call fcn.03cb5068
ret
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x3ec65b8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.03cb7f34
xor eax, eax
push ebp
push 0x3ec6619
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.03cd2604
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
je 0x3ec6603
push 0
push esi
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3ec6620
lea eax, [ebp - 4]
call fcn.03cb7e50
ret

Function at 0x3ec8b28
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.03cb7e50
push 0
push 0
push 0xe
mov eax, dword [0x3f370d0]
push eax
call sub.user32.dll_SendMessageW
mov ebx, eax
add ebx, ebx
test ebx, ebx
je 0x3ec8b75
mov edx, ebx
sar edx, 1
jns 0x3ec8b58
adc edx, 0
mov eax, esi
call fcn.03cb8f14
mov eax, esi
call fcn.03cb8408
push eax
push ebx
push 0xd
mov eax, dword [0x3f370d0]
push eax
call sub.user32.dll_SendMessageW
pop esi
pop ebx
pop ebp
ret

Function at 0x3ec8b7c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.03cb7e50
push 0
push 0
push 0xe
mov eax, dword [0x3f370cc]
push eax
call sub.user32.dll_SendMessageW
mov ebx, eax
add ebx, ebx
test ebx, ebx
je 0x3ec8bc9
mov edx, ebx
sar edx, 1
jns 0x3ec8bac
adc edx, 0
mov eax, esi
call fcn.03cb8f14
mov eax, esi
call fcn.03cb8408
push eax
push ebx
push 0xd
mov eax, dword [0x3f370cc]
push eax
call sub.user32.dll_SendMessageW
pop esi
pop ebx
pop ebp
ret
Function at 0x3ec91c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
lea ebx, [ebp - 0x28]
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], 0x3ec8bd0
xor eax, eax
mov dword [ebx + 8], eax
xor eax, eax
mov dword [ebx + 0xc], eax
mov eax, dword [0x3f31c54]
mov dword [ebx + 0x10], eax
xor eax, eax
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], 0x10
xor eax, eax
mov dword [ebx + 0x20], eax
mov eax, 0x3ec9268
mov dword [ebx + 0x24], eax
push ebx
call sub.user32.dll_RegisterClassW
push 0x10000000
push 0xfa
push 0x32
push 0x262
push 0x17c
push 0
push 0
mov eax, dword [0x3f31c54]
push eax
push 0
mov ecx, 0x3ec9274
mov edx, dword [ebx + 0x24]
mov eax, 0x101
call fcn.03cc02f4
mov edx, dword [0x3f2dbe4]
mov dword [edx], eax
push 0
mov eax, dword [0x3f2dbe4]
mov eax, dword [eax]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x3f2dbe4]
mov eax, dword [eax]
push eax
call sub.user32.dll_UpdateWindow
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x3ecc820
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd6c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x288], ebx
mov dword [ebp - 0x290], ebx
mov dword [ebp - 0x294], ebx
mov dword [ebp - 0x28c], ebx
mov dword [ebp - 0x27c], ebx
mov dword [ebp - 0x284], ebx
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x274], ebx
mov dword [ebp - 0x278], ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
lea eax, [ebp - 0x26c]
mov edx, dword [0x3e6cc60]
call fcn.03cb969c
xor eax, eax
push ebp
push 0x3ecca98
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x26d], 0
lea eax, [ebp - 4]
mov ecx, 0x3eccabc
mov edx, ebx
call fcn.03cb8fec
lea ecx, [ebp - 0x26c]
mov edx, 0x3f
mov eax, dword [ebp - 4]
call fcn.03e6ddec
test eax, eax
jne 0x3ecca61
xor eax, eax
push ebp
push 0x3ecca5a
push dword fs:[eax]
mov dword fs:[eax], esp
test byte [ebp - 0x264], 0x10
je 0x3ecc94d
mov eax, dword [ebp - 0x260]
mov edx, 0x3eccacc
call fcn.03cb8c10
je 0x3ecca2e
mov eax, dword [ebp - 0x260]
mov edx, 0x3eccad4
call fcn.03cb8c10
je 0x3ecca2e
push ebx
push 0x3eccae8
lea eax, [ebp - 0x278]
mov edx, dword [ebp - 0x260]
call fcn.03cb8e78
push dword [ebp - 0x278]
lea eax, [ebp - 0x274]
mov edx, 3
call fcn.03cb9074
mov eax, dword [ebp - 0x274]
mov ecx, esi
mov edx, edi
call fcn.03ecc820
or al, byte [ebp - 0x26d]
mov byte [ebp - 0x26d], al
jmp 0x3ecca2e
lea eax, [ebp - 0x280]
mov edx, dword [ebp - 0x260]
call fcn.03cb8e78
mov eax, dword [ebp - 0x280]
lea edx, [ebp - 0x27c]
call fcn.03cd17f8
mov eax, dword [ebp - 0x27c]
push eax
lea edx, [ebp - 0x284]
mov eax, edi
call fcn.03cd17f8
mov eax, dword [ebp - 0x284]
mov ecx, 1
pop edx
call fcn.03cb936c
test eax, eax
jle 0x3ecca2e
mov eax, esi
call fcn.03e6dfdc
test al, al
jne 0x3ecc9ae
mov eax, esi
call fcn.03cd3c28
push 0
push esi
push 0x3eccaf8
lea eax, [ebp - 0x28c]
mov edx, dword [ebp - 0x260]
call fcn.03cb8e78
push dword [ebp - 0x28c]
lea eax, [ebp - 0x288]
mov edx, 3
call fcn.03cb9074
mov eax, dword [ebp - 0x288]
call fcn.03cb8d98
push eax
push ebx
push 0x3eccb08
lea eax, [ebp - 0x294]
mov edx, dword [ebp - 0x260]
call fcn.03cb8e78
push dword [ebp - 0x294]
lea eax, [ebp - 0x290]
mov edx, 3
call fcn.03cb9074
mov eax, dword [ebp - 0x290]
call fcn.03cb8d98
push eax
call sub.kernel32.dll_CopyFileW
mov byte [ebp - 0x26d], 1
lea eax, [ebp - 0x26c]
call fcn.03e6de40
test eax, eax
je 0x3ecc8cb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3ecca61
lea eax, [ebp - 0x26c]
call fcn.03e6dd48
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3ecca9f
lea eax, [ebp - 0x294]
mov edx, 9
call fcn.03cb7eb0
lea eax, [ebp - 0x26c]
mov edx, dword [0x3e6cc60]
call fcn.03cb9774
lea eax, [ebp - 4]
call fcn.03cb7e50
ret
Function at 0x3eccb0c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x3eccc38
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
test ebx, ebx
je 0x3eccc1d
mov dl, 1
mov eax, dword [0x3d2a0b0]
call fcn.03d4ea44
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x3eccc16
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
mov eax, ebx
call fcn.03cb8d98
mov ecx, eax
mov edx, 0x3eccc4c
mov eax, 0x3eccc6c
call fcn.03d4a924
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x3eccc00
inc eax
mov dword [ebp - 0x10], eax
xor esi, esi
mov bx, 0x41
lea eax, [ebp - 0x14]
mov edx, ebx
call fcn.03cb8dc0
lea eax, [ebp - 0x14]
mov edx, 0x3eccc98
call fcn.03cb8f94
mov eax, dword [ebp - 0x14]
call fcn.03cb8d98
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 3
jne 0x3eccbf3
lea ecx, [ebp - 0x18]
mov edx, esi
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
mov edx, ebx
call fcn.03cb8dc0
lea eax, [ebp - 0x1c]
mov edx, 0x3ecccac
call fcn.03cb8f94
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
pop edx
call fcn.03ecc820
or al, byte [ebp - 5]
mov byte [ebp - 5], al
inc ebx
cmp bx, 0x5b
jne 0x3eccb8f
inc esi
dec dword [ebp - 0x10]
jne 0x3eccb8b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3eccc1d
mov eax, dword [ebp - 0xc]
call fcn.03cb60f0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3eccc3f
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.03cb7eb0
ret
Function at 0x3ed1fc8
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
mov ebx, eax
mov eax, ebx
mov edx, 0x3ed2020
call fcn.03cb8230
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x204]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x3ed200d
mov eax, ebx
lea edx, [ebp - 0x204]
mov ecx, pe_nt_image_headers32
call fcn.03cb8e3c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x3ed2030
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
mov ebx, eax
mov eax, ebx
mov edx, 0x3ed2088
call fcn.03cb8230
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x204]
push eax
call sub.advapi32.dll_GetUserNameW
test eax, eax
je 0x3ed2075
mov eax, ebx
lea edx, [ebp - 0x204]
mov ecx, pe_nt_image_headers32
call fcn.03cb8e3c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x3ed2098
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov ebx, eax
push 0xa
lea eax, [ebp - 0xa]
push eax
push 0x5a
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
mov eax, ebx
lea edx, [ebp - 0xa]
call fcn.03cb8e00
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x3ed263c
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
push edi
mov ebx, eax
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
xor esi, esi
push 0x3ed2724
call sub.kernel32.dll_LoadLibraryW
mov edi, eax
test edi, edi
je 0x3ed2682
push 0x3ed2740
push edi
call fcn.03cbf4e8
test eax, eax
jne 0x3ed2680
push edi
call sub.kernel32.dll_FreeLibrary_2
xor edi, edi
jmp 0x3ed2682
mov esi, eax
test esi, esi
je 0x3ed26cc
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x40
call fcn.03cb5b68
mov dword [ebp - 0x50], 0x40
lea eax, [ebp - 0x50]
push eax
call esi
mov eax, ebx
sub al, 1
jb 0x3ed26ac
je 0x3ed26ba
jmp 0x3ed26c6
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xc], eax
jmp 0x3ed26c6
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc], eax
push edi
call sub.kernel32.dll_FreeLibrary_2
cmp dword [ebp - 0xc], 0xffffffff
jne 0x3ed2709
cmp dword [ebp - 0x10], 0xffffffff
jne 0x3ed2709
mov dword [ebp - 0x70], 0x20
lea eax, [ebp - 0x70]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
sub bl, 1
jb 0x3ed26f1
je 0x3ed26fe
jmp 0x3ed2709
mov eax, dword [ebp - 0x68]
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
jmp 0x3ed2709
mov eax, dword [ebp - 0x64]
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x3ed2c94
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd3c
push ebx
mov ebx, eax
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
push 0
push 0x2c
lea eax, [ebp - 0x34]
push eax
push 0
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
jne 0x3ed2daa
push 0
push 0x20
lea eax, [ebp - 0x54]
push eax
push 3
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
jne 0x3ed2daa
push 0
push 0x264
lea eax, [ebp - 0x2b8]
push eax
push 2
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
jne 0x3ed2daa
cmp dword [ebx + 4], 0
jne 0x3ed2cfc
cmp dword [ebx], 0
je 0x3ed2d8d
lea eax, [ebp - 0x2b8]
call fcn.03ed2c58
fstp qword [ebp - 0x2c0]
wait
mov eax, ebx
call fcn.03ed2c58
fsubr qword [ebp - 0x2c0]
fstp qword [ebx + 0x18]
wait
lea eax, [ebp - 0x4c]
call fcn.03ed2c58
fstp qword [ebp - 0x2c0]
wait
lea eax, [ebx + 8]
call fcn.03ed2c58
fsubr qword [ebp - 0x2c0]
fstp qword [ebx + 0x10]
wait
fld qword [ebx + 0x18]
fdiv qword [ebx + 0x10]
fstp qword [ebx + 0x18]
wait
fld qword [ebx + 0x18]
fmul dword [0x3ed2db4]
movzx eax, byte [ebp - 0xc]
mov dword [ebp - 0x2c4], eax
fild dword [ebp - 0x2c4]
fdivp st(1)
fsubr dword [0x3ed2db4]
fadd dword [0x3ed2db8]
fstp qword [ebx + 0x18]
wait
mov eax, dword [0x3f37118]
mov dword [ebp - 8], eax
mov eax, dword [0x3f3711c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x2b8]
mov dword [ebx], eax
mov eax, dword [ebp - 0x2b4]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x48]
mov dword [ebx + 0xc], eax
fld qword [ebp - 8]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x3ed35e8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
mov ebx, edx
push 0xff
lea edx, [ebp - 0x200]
push edx
push eax
call sub.user32.dll_GetWindowTextW
mov eax, ebx
lea edx, [ebp - 0x200]
mov ecx, pe_nt_image_headers32
call fcn.03cb8e3c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x3ed3634
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
mov ebx, eax
push 0x20a
lea eax, [ebp - 0x20a]
push eax
call sub.user32.dll_GetForegroundWindow
push eax
call sub.user32.dll_GetWindowTextW
mov eax, ebx
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.03cb8e3c
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x3ed4340
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x3ed4454
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 1
mov eax, ebx
call fcn.03cb7e98
push esi
call sub.user32.dll_OpenClipboard
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x3ed4383
mov byte [ebp - 5], 0
jmp 0x3ed4438
xor eax, eax
push ebp
push 0x3ed4431
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xd
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x3ed441a
xor eax, eax
push ebp
push 0x3ed4413
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalSize
xor edx, edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x3ed4314]
call fcn.03cba318
add esp, 4
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [ebp - 0x18]
call fcn.03cb5330
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.03cb82a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3ed441e
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3ed4438
call sub.user32.dll_CloseClipboard
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3ed445b
lea eax, [ebp - 4]
mov edx, dword [0x3ed4314]
call fcn.03cba43c
ret

Function at 0x3ed4468
Capabilities:
List drag and drop files
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x420], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x3ed4566
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov eax, ebx
call fcn.03cb7e98
push 0
call sub.user32.dll_OpenClipboard
xor eax, eax
push ebp
push 0x3ed4546
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf
call sub.user32.dll_GetClipboardData
mov edi, eax
test edi, edi
je 0x3ed4533
push 0
push 0
push 0xffffffffffffffff
push edi
call sub.shell32.dll_DragQueryFileW
mov esi, eax
mov eax, ebx
call fcn.03cb7e98
dec esi
test esi, esi
jl 0x3ed452f
inc esi
mov dword [ebp - 8], 0
mov word [ebp - 0x41a], 0
push 0x412
lea eax, [ebp - 0x41a]
push eax
mov eax, dword [ebp - 8]
push eax
push edi
call sub.shell32.dll_DragQueryFileW
push dword [ebx]
lea eax, [ebp - 0x420]
lea edx, [ebp - 0x41a]
mov ecx, 0x209
call fcn.03cb8a80
push dword [ebp - 0x420]
push 0x3ed457c
mov eax, ebx
mov edx, 3
call fcn.03cb8b44
inc dword [ebp - 8]
dec esi
jne 0x3ed44db
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3ed454d
call sub.user32.dll_CloseClipboard
ret
Function at 0x3ed4580
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, eax
mov eax, esi
test eax, eax
je 0x3ed4596
sub eax, 4
mov eax, dword [eax]
shr eax, 1
mov ebx, eax
push 0
call sub.user32.dll_OpenClipboard
xor eax, eax
push ebp
push 0x3ed4659
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
add eax, eax
add eax, 2
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x3ed462e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GlobalLock
mov edi, eax
xor eax, eax
push ebp
push 0x3ed461d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.03cb8abc
mov ecx, ebx
add ecx, ecx
mov edx, edi
call fcn.03cb5330
mov eax, dword [ebp - 4]
push eax
push 0xd
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3ed4624
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GlobalUnlock
ret

Function at 0x3ed4668
Capabilities:
Create directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
xor eax, eax
push ebp
push 0x3ed4777
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x3f2dff0]
mov eax, dword [eax]
mov dl, 1
call fcn.03cd3068
test al, al
jne 0x3ed46b1
push 0
mov eax, dword [0x3f2dff0]
mov eax, dword [eax]
call fcn.03cb8d98
push eax
call sub.kernel32.dll_CreateDirectoryW
mov eax, dword [0x3f2dff0]
mov eax, dword [eax]
call fcn.03e6dcd4
mov eax, dword [0x3f2dff0]
push dword [eax]
push 0x3ed4790
lea edx, [ebp - 8]
mov eax, 0x3ed47a0
call fcn.03e6e130
push dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, 3
call fcn.03cb9074
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.03cd3068
test al, al
jne 0x3ed4700
push 0
mov eax, dword [ebp - 4]
call fcn.03cb8d98
push eax
call sub.kernel32.dll_CreateDirectoryW
mov eax, dword [ebp - 4]
call fcn.03e6dcd4
push dword [ebp - 4]
push 0x3ed47b0
lea edx, [ebp - 0xc]
mov eax, 0x3ed47c0
call fcn.03e6e130
push dword [ebp - 0xc]
mov eax, 0x3f37128
mov edx, 3
call fcn.03cb9074
mov dl, 1
mov eax, dword [0x3f37128]
call fcn.03cd2fd0
test al, al
jne 0x3ed475c
call fcn.03cdcc6c
mov ecx, eax
xor edx, edx
mov eax, dword [0x3f37128]
call fcn.03e6e858
push 2
mov eax, dword [0x3f37128]
call fcn.03cb8d98
push eax
call sub.kernel32.dll_SetFileAttributesW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3ed477e
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.03cb7eb0
ret
Function at 0x3ed56f0
Capabilities:
Connect to http server
Create http request
Send file using ftp

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.03cb7f34
mov eax, dword [ebp - 8]
call fcn.03cb7f34
mov eax, dword [ebp - 0xc]
call fcn.03cb7f34
mov eax, dword [ebp + 0x14]
call fcn.03cb7f34
mov eax, dword [ebp + 0x10]
call fcn.03cb7f34
mov eax, dword [ebp + 0xc]
call fcn.03cb7f34
xor eax, eax
push ebp
push 0x3ed57f8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 1
push 0
call sub.wininet.dll_InternetOpenW_1
mov esi, eax
push 0
push 0x8000000
push 1
mov eax, dword [ebp - 0xc]
call fcn.03cb8d98
push eax
mov eax, dword [ebp - 8]
call fcn.03cb8d98
push eax
movzx eax, word [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.03cb8d98
push eax
push esi
call sub.wininet.dll_InternetConnectW
mov edi, eax
mov eax, dword [ebp + 0x14]
call fcn.03cb8d98
push eax
push edi
call sub.wininet.dll_FtpSetCurrentDirectoryW
cmp eax, 1
sbb eax, eax
inc eax
push 0xffffffffffffffff
and eax, 0x7f
push eax
call sub.kernel32.dll_WaitForSingleObject
push 0
push 2
mov eax, dword [ebp + 0xc]
call fcn.03cb8d98
push eax
mov eax, dword [ebp + 0x10]
call fcn.03cb8d98
push eax
push edi
call sub.wininet.dll_FtpPutFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.wininet.dll_InternetCloseHandle_1
push edi
call sub.wininet.dll_InternetCloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3ed57ff
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.03cb7eb0
lea eax, [ebp + 0xc]
mov edx, 3
call fcn.03cb7eb0
ret

Function at 0x3ed72bc
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe6c
push ebx
push esi
mov esi, edx
mov ebx, eax
mov eax, esi
mov edx, ebx
call fcn.03cb82cc
mov eax, ebx
mov edx, 0x3ed7390
call fcn.03cb8808
jne 0x3ed72f3
mov eax, esi
mov edx, 0x3ed73a8
call fcn.03cb82cc
jmp 0x3ed737b
lea eax, [ebp - 0x194]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x3ed737b
xor eax, eax
push ebp
push 0x3ed7374
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.03cb8888
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cdq
cmp edx, 0
jne 0x3ed7340
cmp eax, 0xffffffff
jne 0x3ed7340
call sub.wsock32.dll_WSACleanup
call fcn.03cb74c8
jmp 0x3ed737b
push 2
push 4
lea eax, [ebp - 4]
push eax
call sub.wsock32.dll_gethostbyaddr
mov ebx, eax
test ebx, ebx
je 0x3ed7361
mov eax, esi
mov edx, dword [ebx]
mov ecx, 0
call fcn.03cb85a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3ed737b
call sub.wsock32.dll_WSACleanup
ret
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x3ed7700
Capabilities:
List tcp connections and listeners

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x3f37184], 0
je 0x3ed777b
cmp byte [0x3f37186], 0
je 0x3ed775b
xor eax, eax
mov dword [ebp - 4], eax
push 0
push 5
push 2
push 0xffffffffffffffff
lea eax, [ebp - 4]
push eax
push 0
call dword [sym.imp.IPHLPAPI.DLL_GetExtendedTcpTable]
cmp eax, 0x7a
jne 0x3ed777b
mov eax, dword [ebp - 4]
call fcn.03cb504c
mov dword [0x3f3719c], eax
push 0
push 5
push 2
push 0xffffffffffffffff
lea eax, [ebp - 4]
push eax
mov eax, dword [0x3f3719c]
push eax
call dword [sym.imp.IPHLPAPI.DLL_GetExtendedTcpTable]
jmp 0x3ed777b
cmp byte [0x3f37185], 0
je 0x3ed777b
push 2
push 2
call sub.kernel32.dll_GetProcessHeap
push eax
push 0xffffffffffffffff
push 0x3f3719c
call dword [0x3f37188]
pop ecx
pop ebp
ret

Function at 0x3ed7780
Capabilities:
List udp connections and listeners

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x3f37184], 0
je 0x3ed77fb
cmp byte [0x3f37186], 0
je 0x3ed77db
xor eax, eax
mov dword [ebp - 4], eax
push 0
push 1
push 2
push 0xffffffffffffffff
lea eax, [ebp - 4]
push eax
push 0
call dword [sym.imp.IPHLPAPI.DLL_GetExtendedUdpTable]
cmp eax, 0x7a
jne 0x3ed77fb
mov eax, dword [ebp - 4]
call fcn.03cb504c
mov dword [0x3f371a0], eax
push 0
push 1
push 2
push 0xffffffffffffffff
lea eax, [ebp - 4]
push eax
mov eax, dword [0x3f371a0]
push eax
call dword [sym.imp.IPHLPAPI.DLL_GetExtendedUdpTable]
jmp 0x3ed77fb
cmp byte [0x3f37185], 0
je 0x3ed77fb
push 2
push 2
call sub.kernel32.dll_GetProcessHeap
push eax
push 0xffffffffffffffff
push 0x3f371a0
call dword [0x3f37188]
pop ecx
pop ebp
ret