joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008db6
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get common file path
Send data
Send data on socket
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x56c
push ebx
push esi
lea eax, [ebp - 0x348]
push edi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [ebp - 0x140]
push eax
push 0x10094540
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp + 0xc], eax
je 0x10008ecd
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
mov ebx, 0x10094538
test byte [ebp - 0x140], 0x10
je 0x10008e5a
cmp byte [ebp - 0x114], 0x2e
je 0x10008eb5
push edi
call sub.MSVCRT.dll_strlen
cmp byte [eax + edi - 1], 0x5c
pop ecx
lea eax, [ebp - 0x114]
push eax
push edi
jne 0x10008e3a
push 0x10094530
jmp 0x10008e3b
push ebx
lea eax, [ebp - 0x244]
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x244]
push eax
push dword [ebp + 8]
call fcn.10008db6
pop ecx
pop ecx
jmp 0x10008eb5
push 0x200
lea eax, [ebp - 0x56c]
push 0
push eax
call sub.MSVCRT.dll_memset
push edi
call sub.MSVCRT.dll_strlen
add esp, 0x10
cmp byte [eax + edi - 1], 0x5c
lea eax, [ebp - 0x114]
push eax
push edi
jne 0x10008e8c
push 0x10094530
jmp 0x10008e8d
push ebx
lea eax, [ebp - 0x56c]
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x56c]
push 0
push 0x224
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x10008ee3
lea eax, [ebp - 0x140]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10008e07
lea eax, [ebp - 0x348]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10008ee8
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push esi
mov esi, 0x224
push 0
lea eax, [ebp - 0x224]
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x10008f5d
cmp eax, esi
jne 0x10008f5d
cmp dword [ebp - 4], 0
je 0x10008f5d
lea eax, [ebp - 0x224]
push eax
push dword [ebp + 8]
call fcn.10008db6
lea eax, [ebp - 0x224]
push 0x10094544
push eax
mov dword [ebp - 0xc], 0x3039
call sub.MSVCRT.dll_strcpy
add esp, 0x10
lea eax, [ebp - 0x224]
push 0
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
setne al
jmp 0x10008f5f
xor al, al
pop esi
leave
ret
Function at 0x10008f62
Capabilities:
Create directory
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push esi
mov esi, 0x224
push 0
lea eax, [ebp - 0x22c]
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x10008fbd
cmp eax, esi
jne 0x10008fbd
lea eax, [ebp - 0x22c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
neg eax
sbb eax, eax
push 0
add eax, 0x23
push 8
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
setne al
jmp 0x10008fbf
xor al, al
pop esi
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
push ebx
push esi
xor ebx, ebx
mov esi, 0x224
push ebx
lea eax, [ebp - 0x328]
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, ebx
je 0x100090ea
cmp eax, esi
jne 0x100090ea
mov eax, dword [ebp + 0xc]
push edi
cmp eax, 0x1f
jne 0x10009016
push 1
lea eax, [ebp - 0x328]
push ebx
push eax
call fcn.10004a81
add esp, 0xc
jmp 0x100090e5
cmp eax, 0x25
jne 0x1000901e
push ebx
jmp 0x10009001
cmp eax, 0x26
jne 0x10009027
push 3
jmp 0x10009001
cmp eax, 0x27
jne 0x10009030
push 2
jmp 0x10009001
cmp eax, 0x28
jne 0x10009086
lea eax, [ebp - 0x328]
push 0x5e
push eax
call dword [sym.imp.MSVCRT.dll_strrchr]
mov edx, eax
pop ecx
cmp edx, ebx
pop ecx
je 0x100090e5
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x103]
mov byte [ebp - 0x104], bl
mov byte [edx], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
inc edx
stosb byte es:[edi], al
push edx
lea eax, [ebp - 0x104]
push 0x10094550
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
push 1
lea eax, [ebp - 0x104]
jmp 0x100090d5
cmp eax, 0x30
jne 0x100090e5
lea eax, [ebp - 0x328]
push 0x5e
push eax
call dword [sym.imp.MSVCRT.dll_strrchr]
mov edx, eax
pop ecx
cmp edx, ebx
pop ecx
je 0x100090e5
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x103]
mov byte [ebp - 0x104], bl
mov byte [edx], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
inc edx
stosb byte es:[edi], al
push edx
lea eax, [ebp - 0x104]
push 0x10094550
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
push ebx
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x328]
push eax
call fcn.10004a81
add esp, 0x18
mov al, 1
pop edi
jmp 0x100090ec
xor al, al
pop esi
pop ebx
leave
ret
Function at 0x100090f0
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively
Get common file path
Get file attributes
Set current directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x56c
lea eax, [ebp - 0x56c]
push edi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [ebp - 0x140]
push eax
push 0x10094540
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp + 0xc], eax
je 0x1000921d
push ebx
push esi
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
mov ebx, 0x10094538
test byte [ebp - 0x140], 0x10
je 0x10009194
cmp byte [ebp - 0x114], 0x2e
je 0x10009203
push edi
call sub.MSVCRT.dll_strlen
cmp byte [eax + edi - 1], 0x5c
pop ecx
lea eax, [ebp - 0x114]
push eax
push edi
jne 0x10009174
push 0x10094530
jmp 0x10009175
push ebx
lea eax, [ebp - 0x244]
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x244]
push eax
push dword [ebp + 8]
call fcn.100090f0
pop ecx
pop ecx
jmp 0x10009203
push 0x200
lea eax, [ebp - 0x468]
push 0
push eax
call sub.MSVCRT.dll_memset
push edi
call sub.MSVCRT.dll_strlen
add esp, 0x10
cmp byte [eax + edi - 1], 0x5c
lea eax, [ebp - 0x114]
push eax
push edi
jne 0x100091c6
push 0x10094530
jmp 0x100091c7
push ebx
lea eax, [ebp - 0x468]
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x468]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x100091f6
lea eax, [ebp - 0x468]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x468]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x140]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10009141
pop esi
pop ebx
lea eax, [ebp - 0x56c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
leave
ret
Function at 0x10009236
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x348
push ebx
lea eax, [ebp - 0x348]
push edi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ebx, dword [ebp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push ebx
call edi
lea eax, [ebp - 0x140]
push eax
push 0x10094540
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp + 0xc], eax
je 0x100092f3
push esi
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
test byte [ebp - 0x140], 0x10
je 0x100092de
cmp byte [ebp - 0x114], 0x2e
je 0x100092de
push ebx
call sub.MSVCRT.dll_strlen
cmp byte [eax + ebx - 1], 0x5c
pop ecx
lea eax, [ebp - 0x114]
push eax
push ebx
jne 0x100092af
push 0x10094530
jmp 0x100092b4
push 0x10094538
lea eax, [ebp - 0x244]
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x244]
push eax
push dword [ebp + 8]
call fcn.10009236
pop ecx
lea eax, [ebp - 0x244]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea eax, [ebp - 0x140]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10009280
pop esi
lea eax, [ebp - 0x348]
push eax
call edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop ebx
leave
ret

Function at 0x10009309
Capabilities:
Delete directory
Delete file
Get file attributes
Receive data
Receive data on socket
Send data
Send data on socket
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x224
push 0
lea eax, [ebp - 0x22c]
push esi
push eax
push edi
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x100093b0
cmp eax, esi
jne 0x100093b0
cmp dword [ebp - 0xc], 0
lea eax, [ebp - 0x22c]
push eax
je 0x10009367
push edi
call fcn.100090f0
lea eax, [ebp - 0x22c]
push eax
push edi
call fcn.10009236
add esp, 0x10
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x10009390
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x10009383
lea eax, [ebp - 0x22c]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
push 0
add eax, 0x23
push 8
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
setne al
jmp 0x100093b2
xor al, al
pop edi
pop esi
leave
ret
Function at 0x100093b6
Capabilities:
Copy file
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push esi
mov esi, 0x400
push 0
lea eax, [ebp - 0x408]
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x10009418
cmp eax, esi
jne 0x10009418
lea eax, [ebp - 0x208]
push 0
push eax
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
neg eax
sbb eax, eax
push 0
add eax, 0x23
push 8
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
setne al
jmp 0x1000941a
xor al, al
pop esi
leave
ret

Function at 0x1000941d
Capabilities:
Move file
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push esi
mov esi, 0x400
push 0
lea eax, [ebp - 0x408]
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x1000947d
cmp eax, esi
jne 0x1000947d
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
neg eax
sbb eax, eax
push 0
add eax, 0x23
push 8
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
setne al
jmp 0x1000947f
xor al, al
pop esi
leave
ret
Function at 0x10009482
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get common file path
Send data
Send data on socket
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x548
push ebx
push esi
lea eax, [ebp - 0x548]
push edi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [ebp - 0x140]
push eax
push 0x10094540
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp + 0xc], eax
je 0x100095b1
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
mov esi, 0x200
test byte [ebp - 0x140], 0x10
je 0x10009546
cmp byte [ebp - 0x114], 0x2e
je 0x10009599
push edi
call sub.MSVCRT.dll_strlen
cmp byte [eax + edi - 1], 0x5c
pop ecx
lea eax, [ebp - 0x114]
push eax
push edi
jne 0x10009506
push 0x10094530
jmp 0x1000950b
push 0x10094538
lea eax, [ebp - 0x444]
push eax
call ebx
add esp, 0x10
lea eax, [ebp - 0x114]
push 0x10094554
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
test eax, eax
pop ecx
jne 0x10009599
push dword [ebp + 0x10]
lea eax, [ebp - 0x444]
push eax
push dword [ebp + 8]
call fcn.10009482
add esp, 0xc
jmp 0x10009599
push dword [ebp + 0x10]
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
test eax, eax
pop ecx
je 0x10009599
push esi
lea eax, [ebp - 0x340]
push 0
push eax
call sub.MSVCRT.dll_memset
push esi
lea eax, [ebp - 0x340]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0x18
lea eax, [ebp - 0x340]
push 0
push 0x340
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x100095c7
lea eax, [ebp - 0x140]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100094d3
lea eax, [ebp - 0x548]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100095cc
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x740
push esi
mov esi, 0x400
push 0
lea eax, [ebp - 0x740]
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x10009663
cmp eax, esi
jne 0x10009663
lea eax, [ebp - 0x540]
push eax
lea eax, [ebp - 0x740]
push eax
push dword [ebp + 8]
call fcn.10009482
mov esi, 0x340
lea eax, [ebp - 0x340]
push esi
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
and dword [ebp - 0x11c], 0
lea eax, [ebp - 0x340]
mov dword [ebp - 0x118], 1
push 0
push esi
push eax
mov dword [ebp - 0x124], 2
push dword [ebp + 8]
mov dword [ebp - 0x120], 3
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
setne al
jmp 0x10009665
xor al, al
pop esi
leave
ret
Function at 0x10009668
Capabilities:
Get disk information
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc90
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x88f]
mov byte [ebp - 0x890], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, 0x400
push ebx
lea eax, [ebp - 0xc90]
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, ebx
je 0x100097a2
cmp eax, esi
jne 0x100097a2
xor eax, eax
lea edi, [ebp - 0xf]
mov byte [ebp - 0x10], bl
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
cmp edi, ebx
je 0x100097a2
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 4]
mov eax, edi
sar eax, cl
cmp eax, ebx
je 0x1000974e
test al, 1
je 0x10009745
mov al, cl
mov byte [ebp - 0xf], 0x3a
add al, 0x41
mov byte [ebp - 0xe], 0x5c
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x890]
push 0x10094570
push eax
mov byte [ebp - 0xd], bl
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x490]
push eax
lea eax, [ebp - 0x890]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000973e
lea eax, [ebp - 0xa90]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.10009482
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x1a
jl 0x100096d3
mov esi, 0x340
lea eax, [ebp - 0x350]
push esi
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x350]
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x128], 1
push ebx
push esi
push eax
mov dword [ebp - 0x134], 2
push dword [ebp + 8]
mov dword [ebp - 0x130], 3
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
setne al
jmp 0x100097a4
xor al, al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100097a9
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x36c
push 0
lea eax, [ebp - 0x36c]
push 0x400
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x10009816
cmp eax, 0x224
jne 0x10009816
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x36c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor ecx, ecx
cmp eax, 0xffffffff
sete cl
add ecx, 0x22
push eax
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
lea eax, [ebp - 8]
push 8
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
setne al
leave
ret
xor al, al
leave
ret
Function at 0x1000981a
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push esi
mov esi, 0x220
push 0
lea eax, [ebp - 0x220]
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x10009845
xor al, al
jmp 0x100098a6
push ebx
push 0
push 0x80
push 3
push 0
push 1
lea eax, [ebp - 0x220]
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10009889
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
neg eax
sbb eax, eax
add eax, 0x23
mov dword [ebp - 8], eax
push 0
lea eax, [ebp - 0x220]
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ebx
pop esi
leave
ret

Function at 0x100098a9
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
push 0
lea eax, [ebp - 0x228]
push 0x220
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x100098d2
xor al, al
leave
ret
push edi
push 0
push 0x80
push 3
push 0
push 2
lea eax, [ebp - 0x228]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10009916
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
neg eax
sbb eax, eax
add eax, 0x23
mov dword [ebp - 8], eax
push 0
lea eax, [ebp - 8]
push 8
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop edi
leave
ret
Function at 0x10009dea
Capabilities:
Query or enumerate registry key
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x638
push ebx
push esi
xor ebx, ebx
push edi
mov esi, 0x52c
push ebx
lea eax, [ebp - 0x538]
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, ebx
je 0x10009f6c
cmp eax, esi
jne 0x10009f6c
lea eax, [ebp - 0x538]
push eax
call fcn.10009b13
cmp eax, ebx
pop ecx
je 0x10009f6c
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0x518]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov edi, dword [sym.imp.WS2_32.dll_send]
test eax, eax
je 0x10009e7e
push ebx
lea eax, [ebp - 0x538]
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 0x318], 0x3039
mov dword [ebp - 0x14], 0xd431
call edi
cmp eax, ebx
je 0x10009e77
cmp eax, esi
je 0x10009e7e
xor bl, bl
jmp 0x10009f5f
push esi
lea eax, [ebp - 0x538]
push ebx
push eax
mov dword [ebp - 8], ebx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x518]
push 0x100
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push dword [ebp - 4]
call ebx
cmp eax, 0x103
je 0x10009f35
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x518]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10009eea
lea eax, [ebp - 0x638]
push 0x100
push eax
push 0
push dword [ebp - 0xc]
call ebx
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x10], eax
jmp 0x10009eee
and dword [ebp - 0x10], 0
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
lea eax, [ebp - 0x538]
push esi
push eax
push dword [ebp + 8]
call edi
test eax, eax
je 0x10009f6c
cmp eax, esi
jne 0x10009f6c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xf5555555
je 0x10009f35
inc dword [ebp - 8]
lea eax, [ebp - 0x518]
push 0x100
push eax
push dword [ebp - 8]
push dword [ebp - 4]
jmp 0x10009ea8
push 0
lea eax, [ebp - 0x538]
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 0x318], 0x3039
mov dword [ebp - 0x14], 0xd431
call edi
test eax, eax
je 0x10009f6c
cmp eax, esi
jne 0x10009f6c
mov bl, 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
jmp 0x10009f6e
xor al, al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10009f73
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x538
push ebx
push esi
xor ebx, ebx
push 8
lea eax, [ebp - 8]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov esi, 0x52c
lea eax, [ebp - 0x538]
push ebx
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, ebx
je 0x1000a019
cmp eax, esi
jne 0x1000a019
lea eax, [ebp - 0x538]
push eax
call fcn.10009b13
cmp eax, ebx
pop ecx
je 0x1000a019
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x518]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x1000a004
push ebx
lea eax, [ebp - 8]
push 8
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 1
call dword [sym.imp.WS2_32.dll_send]
cmp eax, ebx
je 0x10009ff7
cmp eax, 8
jne 0x10009ff7
mov bl, 1
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
jmp 0x1000a01b
push ebx
lea eax, [ebp - 8]
push 8
push eax
push dword [ebp + 8]
mov dword [ebp - 8], ebx
call dword [sym.imp.WS2_32.dll_send]
jmp 0x10009ff7
xor al, al
pop esi
pop ebx
leave
ret

Function at 0x1000a01f
Capabilities:
Delete registry key
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x534
push esi
push edi
xor edi, edi
push 8
lea eax, [ebp - 8]
push edi
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov esi, 0x52c
lea eax, [ebp - 0x534]
push edi
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, edi
je 0x1000a0b4
cmp eax, esi
jne 0x1000a0b4
lea eax, [ebp - 0x534]
push eax
call fcn.10009b13
cmp eax, edi
pop ecx
je 0x1000a0b4
lea ecx, [ebp - 0x514]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x1000a0a1
push edi
lea eax, [ebp - 8]
push 8
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 1
call dword [sym.imp.WS2_32.dll_send]
cmp eax, edi
je 0x1000a0b4
cmp eax, 8
jne 0x1000a0b4
mov al, 1
jmp 0x1000a0b6
push edi
lea eax, [ebp - 8]
push 8
push eax
push dword [ebp + 8]
mov dword [ebp - 8], edi
call dword [sym.imp.WS2_32.dll_send]
xor al, al
pop edi
pop esi
leave
ret