joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447c00
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4cbeb1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
xor ebx, ebx
lea eax, [esp + 0x2c]
push eax
push ebx
push ebx
push ebx
mov edi, ecx
push edi
mov dword [esp + 0x28], ebx
push ebp
mov dword [esp + 0x44], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0x2c]
mov esi, eax
cmp eax, ebx
jne 0x447c4a
xor esi, esi
jmp 0x447c61
add eax, 0xb
push eax
call fcn.0049e995
mov dword [eax + 4], esi
add esp, 4
mov dword [eax], 1
mov esi, eax
mov dword [esp + 0x20], 1
cmp esi, ebx
je 0x447c72
lea eax, [esi + 8]
jmp 0x447c74
xor eax, eax
lea ecx, [esp + 0x2c]
push ecx
push eax
push ebx
push ebx
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, dword [esp + 0x28]
test eax, eax
jne 0x447c9b
mov dword [edi], esi
cmp esi, ebx
je 0x447c99
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x447c9d
mov dword [edi], ebx
mov byte [esp + 0x20], bl
mov dword [esp + 0x14], 1
cmp esi, ebx
je 0x447cc1
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x447cc1
push esi
call fcn.0049e96f
add esp, 4
mov ecx, dword [esp + 0x18]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 8

Function at 0x447ce0
Capabilities:
Delete file
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push ebp
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x447d10
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 4
mov eax, dword [ebx]
mov dword [esp + 0x14], 0
test eax, eax
je 0x447d23
mov eax, dword [eax + 4]
jmp 0x447d25
xor eax, eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
mov dword [esp + 0x14], eax
lea eax, [esp + 0x1c]
push eax
push 4
lea ecx, [esp + 0x1c]
push ecx
push esi
call edi
test eax, eax
je 0x447d7b
cmp dword [esp + 0x18], 4
jne 0x447d7b
mov eax, dword [ebx]
test eax, eax
je 0x447d57
add eax, 8
jmp 0x447d59
xor eax, eax
mov ecx, dword [esp + 0x10]
push 0
lea edx, [esp + 0x1c]
push edx
push ecx
push eax
push esi
call edi
test eax, eax
je 0x447d7b
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0x10]
jne 0x447d7b
mov bl, 1
jmp 0x447d7d
xor bl, bl
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
test bl, bl
jne 0x447d90
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
pop ebp
mov al, bl
pop ebx
pop ecx
ret 4
Function at 0x447da0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4cbe78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push edi
push 0
push 0
push 3
push 0
push 0
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x34]
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x447dfe
mov eax, dword [esp + 0x1c]
mov dword [eax], 0
pop edi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 8
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
push 0
lea ecx, [esp + 0x2c]
push ecx
push 4
lea edx, [esp + 0x1c]
push edx
push edi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x24], 0
call ebp
test eax, eax
je 0x447ef2
cmp dword [esp + 0x28], 4
jne 0x447ef2
mov eax, dword [esp + 0x10]
mov esi, eax
test eax, eax
je 0x447e5f
add eax, 0xb
push eax
call fcn.0049e995
mov dword [eax + 4], esi
mov dword [eax], 1
mov esi, eax
mov eax, dword [esp + 0x14]
add esp, 4
test esi, esi
je 0x447e68
lea ecx, [esi + 8]
jmp 0x447e6a
xor ecx, ecx
push 0
lea edx, [esp + 0x2c]
push edx
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x447ed2
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x10]
jne 0x447ed2
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x24]
mov dword [edi], esi
test esi, esi
je 0x447e9c
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [esp + 0x1c], 0xffffffff
test esi, esi
je 0x447ebc
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x447ebc
push esi
call fcn.0049e96f
add esp, 4
pop esi
pop ebp
mov eax, edi
pop edi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 8
mov dword [esp + 0x1c], 0xffffffff
test esi, esi
je 0x447ef2
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x447ef2
push esi
call fcn.0049e96f
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
pop esi
pop ebp
mov dword [eax], 0
pop edi
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x448040
Capabilities:
Get common file path

Disassembly:
sub esp, 0x238
push ebx
mov ebx, eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x3a]
mov dword [esp + 0x10], 0
push ecx
mov word [esp + 0x3c], ax
call fcn.004a30a0
add esp, 0xc
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea eax, [esp + 8]
push eax
push 0x12
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jge 0x448098
mov dword [ebx], 0
mov eax, ebx
pop ebx
add esp, 0x238
ret
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
lea edx, [esp + 0x30]
push eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 0x4e63dc
mov dword [esp + 0x24], 0x1000
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
test eax, eax
je 0x4480e8
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x14]
push ecx
call eax
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
lea ecx, [esp + 0x30]
push ecx
call fcn.00402bd0
mov eax, ebx
pop ebx
add esp, 0x238
ret
Function at 0x448eb0
Capabilities:
Compare security identifiers

Disassembly:
sub esp, 0x14
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [esp + 0x14]
push eax
push 8
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], bl
mov byte [esp + 0x22], bl
mov byte [esp + 0x23], bl
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], 5
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea ecx, [esp + 0x10]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov ecx, dword [esp + 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [esp + 0xc]
push eax
push ebx
push ebx
push 2
push ecx
call edi
mov edx, dword [esp + 0xc]
push edx
call fcn.0049e767
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
add esp, 4
mov esi, eax
lea eax, [esp + 0xc]
push eax
push ecx
push esi
push 2
push edx
call edi
test eax, eax
je 0x448f7d
cmp ebx, dword [esi]
jae 0x448f7a
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_EqualSid]
lea edi, [esi + 8]
mov eax, dword [edi - 4]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call ebp
test eax, eax
je 0x448f6f
mov eax, dword [edi]
test al, 4
je 0x448f6f
test eax, 0xffffffef
jne 0x448f77
inc ebx
add edi, 8
cmp ebx, dword [esi]
jb 0x448f53
cmp ebx, dword [esi]
pop ebp
setne bl
push esi
call fcn.0049e610
mov edx, dword [esp + 0x14]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x14
ret
Function at 0x448fb0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4cd058
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x4fe48c]
push ebx
push esi
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x28], 0
mov ecx, dword [0x4ff53c]
mov edi, dword [ecx]
mov esi, dword [0x4ff524]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], esi
lea ebx, [ebx]
mov ebx, dword [0x4ff53c]
test esi, esi
je 0x449012
cmp esi, dword [0x4ff524]
je 0x449017
call fcn.0049f380
cmp edi, ebx
je 0x449099
test esi, esi
jne 0x449091
call fcn.0049f380
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x449030
call fcn.0049f380
lea edx, [edi + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
call fcn.00490640
mov ecx, 0x4e65cc
lea eax, [esp + 0x10]
call fcn.004905d0
test esi, esi
jne 0x449095
call fcn.0049f380
cmp edi, dword [esi + 0x18]
jne 0x44905f
call fcn.0049f380
add edi, 0x10
push edi
lea ecx, [esp + 0x14]
push ecx
call fcn.00490640
mov ecx, 0x4e65cc
lea eax, [esp + 0x10]
call fcn.004905d0
lea esi, [esp + 0x18]
call fcn.0044aeb0
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x449000
mov eax, dword [esi]
jmp 0x449026
mov esi, dword [esi]
jmp 0x449055
mov esi, dword [esp + 0x10]
test esi, esi
je 0x4490a6
mov eax, dword [esi + 4]
jmp 0x4490a8
xor eax, eax
test eax, eax
je 0x4490af
sub eax, 2
test esi, esi
je 0x4490ba
lea ecx, [esi + 8]
test ecx, ecx
jne 0x4490bf
mov ecx, 0x4d9064
shr eax, 1
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x14]
push edx
push ecx
push 1
push 0
push str.DeviceNameMap
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov dword [esp + 0x28], 0xffffffff
test esi, esi
je 0x449100
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x449100
push esi
call fcn.0049e96f
add esp, 4
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov al, bl
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret
Function at 0x449d80
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4ccfda
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push ebp
mov ebp, dword [esp + 0x224]
mov dword [esp + 8], 0
push esi
mov dword [esp + 8], 0
mov eax, dword [esp + 0x22c]
push eax
push ecx
mov dword [esp + 0x228], 1
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
jne 0x449ddc
mov dword [ebp], eax
jmp 0x449e93
cmp byte [esp + 0x230], 0
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowTextW]
je 0x449e29
push 3
push esi
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x449e29
push 0x104
lea ecx, [esp + 0x18]
push ecx
xor edx, edx
push eax
mov word [esp + 0x20], dx
call edi
lea ecx, [esp + 0x14]
lea eax, [esp + 0xc]
call fcn.004905d0
mov ecx, 0x4e0f04
lea eax, [esp + 0xc]
call fcn.004905d0
push 0x104
lea eax, [esp + 0x18]
push eax
xor edx, edx
push esi
mov word [esp + 0x20], dx
call edi
lea ecx, [esp + 0x14]
lea eax, [esp + 0xc]
call fcn.004905d0
mov ecx, 0x4e0f08
lea eax, [esp + 0xc]
call fcn.004905d0
mov esi, dword [esp + 0xc]
mov dword [ebp], esi
pop edi
test esi, esi
je 0x449e6b
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [esp + 0xc], 1
mov byte [esp + 0x220], 0
test esi, esi
je 0x449e93
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x449e93
push esi
call fcn.0049e96f
add esp, 4
mov ecx, dword [esp + 0x218]
pop esi
mov eax, ebp
pop ebp
mov dword fs:[0], ecx
add esp, 0x21c
ret 0xc

Function at 0x449eb0
Capabilities:
Write clipboard data

Disassembly:
mov eax, dword [edi]
test eax, eax
je 0x449ebb
mov eax, dword [eax + 4]
jmp 0x449ebd
xor eax, eax
test eax, eax
je 0x449ec4
sub eax, 2
shr eax, 1
push esi
lea eax, [eax + eax + 2]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, dword [edi]
test edx, edx
je 0x449eeb
mov ecx, dword [edx + 4]
jmp 0x449eed
xor ecx, ecx
test ecx, ecx
je 0x449ef4
sub ecx, 2
test edx, edx
je 0x449efd
add edx, 8
jne 0x449f02
mov edx, 0x4d9064
shr ecx, 1
lea ecx, [ecx + ecx + 2]
push ecx
push edx
push eax
call fcn.004a7df0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov al, 1
pop esi
ret
Function at 0x44e900
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + eax]
cmp esi, edi
jae 0x44e932
mov ebx, dword [sym.imp.WS2_32.dll_recv]
mov edx, dword [0x4fd488]
push 0
mov ecx, edi
sub ecx, esi
push ecx
push esi
push edx
call ebx
test eax, eax
je 0x44e938
cmp eax, 0xffffffff
je 0x44e938
add esi, eax
cmp esi, edi
jb 0x44e912
pop edi
pop esi
mov al, 1
pop ebx
ret
pop edi
pop esi
xor al, al
pop ebx
ret

Function at 0x44ec10
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4d2ee6
push eax
mov eax, 0x20070
mov dword fs:[0], esp
call fcn.004b12d0
mov eax, dword [esp + 0x20084]
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
mov dword [esp + 0x18], ebp
cmp ebp, 0xffffffff
jne 0x44ec61
xor al, al
jmp 0x44ee09
push 0x4fec00
mov dword [esp + 0x3c], 0x4fec00
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x2008c], ebx
push ebp
mov dword [0x4feb90], 4
mov byte [esp + 0x1f], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x17]
push edx
push ebx
push 0x3e8
push ecx
push eax
mov dword [esp + 0x30], eax
call fcn.004cb310
mov ecx, dword [esp + 0x20094]
push 0x4e6950
lea esi, [esp + 0x44]
call fcn.004116a0
mov byte [esp + 0x20088], 1
cmp byte [esp + 0x17], 0
mov dword [esp + 0x30], ebx
jne 0x44edda
jmp 0x44ece4
mov ebp, dword [esp + 0x18]
mov edx, dword [0x4fedc4]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x44edda
push 0
lea eax, [esp + 0x78]
push eax
push 0x20000
lea ecx, [esp + 0x84]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44edda
mov eax, dword [esp + 0x74]
test eax, eax
je 0x44edda
xor edi, edi
cmp eax, 0x34
jb 0x44edda
jmp 0x44ed40
movzx esi, word [esp + edi + 0xa0]
mov ebp, dword [esp + edi + 0xa4]
lea ecx, [esp + edi + 0x78]
lea esi, [ebp + esi*4]
sub esi, ecx
lea edx, [ecx + 0x34]
add esi, edx
lea ebp, [esi + edi]
cmp ebp, eax
ja 0x44ed99
push esi
call fcn.0044dfc0
mov eax, dword [esp + 0x30]
push 0
add ebx, esi
adc eax, 0
push 0x3e8
push eax
push ebx
mov dword [esp + 0x40], eax
call fcn.004cb310
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x74]
mov edi, ebp
mov edx, eax
sub edx, edi
cmp edx, 0x34
jae 0x44ed40
test edi, edi
je 0x44edd6
push 0
push 0x4fec00
call fcn.004124e0
mov eax, edi
sub eax, dword [esp + 0x74]
push 1
cdq
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x20]
push eax
push edx
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [esp + 0x17], 0
je 0x44ece0
mov ebp, dword [esp + 0x18]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x3c]
mov dword [0x4feb90], 0
mov byte [esp + 0x20088], 0
call fcn.00411790
push 0x4fec00
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
mov ecx, dword [esp + 0x20080]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2007c
ret 8
Function at 0x44f0b0
Capabilities:
Create tcp socket
Create udp socket
Get hostname
Get local ipv4 addresses
Get socket information
Resolve dns
Start tcp server

Disassembly:
sub esp, 0x124
push ebx
push esi
push 0
push 1
push 2
mov ebx, eax
mov dword [esp + 0x14], 0
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44f0ea
push 0x4e69bc
call fcn.00402bd0
mov eax, ebx
pop esi
pop ebx
add esp, 0x124
ret
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x24], 0x104
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
xor ecx, ecx
mov word [esp + 0xc], cx
mov dword [esp + 0xe], ecx
mov dword [esp + 0x12], ecx
mov dword [esp + 0x16], ecx
mov word [esp + 0x1a], cx
mov dx, word [eax + 8]
mov word [esp + 0xc], dx
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
push ecx
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.004a7df0
add esp, 0xc
push 0x5ab3
call sub.WS2_32.dll_htons
push 0x10
lea edx, [esp + 0x10]
push edx
push esi
mov word [esp + 0x1a], ax
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x44f17c
push 0x4e69ec
call fcn.00402bd0
mov eax, ebx
pop esi
pop ebx
add esp, 0x124
ret
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
push esi
mov dword [esp + 0x14], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x44f1ae
push 0x4e6a18
call fcn.00402bd0
mov eax, ebx
pop esi
pop ebx
add esp, 0x124
ret
push 0
push esi
call dword [sym.imp.WS2_32.dll_listen]
push 0
push 0
push esi
call dword [sym.imp.WS2_32.dll_accept]
mov dword [0x4fd488], eax
cmp eax, 0xffffffff
jne 0x44f1e1
push 0x4e6a4c
call fcn.00402bd0
mov eax, ebx
pop esi
pop ebx
add esp, 0x124
ret
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
pop esi
mov dword [ebx], 0
mov eax, ebx
pop ebx
add esp, 0x124
ret

Function at 0x44f200
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x18
push ebx
push esi
push 0
push 1
push 2
mov ebx, eax
mov dword [esp + 0x18], 0
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44f236
push 0x4e69bc
call fcn.00402bd0
mov eax, ebx
pop esi
pop ebx
add esp, 0x18
ret 4
mov ecx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x12], eax
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
mov word [esp + 0x1e], ax
mov eax, 2
push 0x5ab3
mov word [esp + 0x14], ax
mov dword [esp + 0x18], ecx
call sub.WS2_32.dll_htons
push 0x10
lea edx, [esp + 0x14]
push edx
push esi
mov word [esp + 0x1e], ax
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x44f297
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
push 0x4e6a68
call fcn.00402bd0
mov eax, ebx
pop esi
pop ebx
add esp, 0x18
ret 4
mov dword [0x4fd488], esi
pop esi
mov dword [ebx], 0
mov eax, ebx
pop ebx
add esp, 0x18
ret 4
Function at 0x44f2b0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4ccf78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push edi
push 0
call ebx
push 0
push 0x4fd484
call fcn.00406de0
test eax, eax
jne 0x44f2fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
push 0
lea eax, [esp + 0x10]
push eax
call fcn.00406c90
mov dword [esp + 0x18], 0
mov edi, dword [esp + 0xc]
test edi, edi
je 0x44f34e
mov eax, dword [edi]
test eax, eax
je 0x44f34e
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x44f34e
mov ecx, dword [edi]
push ecx
call fcn.00406e80
mov esi, eax
test esi, esi
je 0x44f373
mov edx, dword [edi]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp esi, 0x800704d6
jne 0x44f34b
push 4
jmp 0x44f34c
push esi
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [esp + 0xc]
mov esi, eax
call fcn.00401010
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edi, [esp + 0xc]
call fcn.00401010
mov ecx, dword [esp + 0x10]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret

Function at 0x44f3e0
Capabilities:
Create thread

Disassembly:
sub esp, 8
cmp byte [0x4fe8a8], 0
je 0x44f3f1
call fcn.0044e8a0
cmp byte [esp + 0xc], 0
je 0x44f44f
lea eax, [esp + 4]
push eax
push 0
push 0
push 0x44ee30
push 0
push 0
call fcn.004a18e7
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push 0x455f60
push 0
push 0
mov dword [0x4fe478], eax
call fcn.004a18e7
lea edx, [esp + 0x34]
push edx
push 0
push 0
push 0x44f020
push 0
push 0
mov dword [0x4fe46c], eax
call fcn.004a18e7
add esp, 0x48
mov dword [0x4fe470], eax
lea eax, [esp + 4]
push eax
push 0
push 0
push 0x44e5e0
push 0
push 0
call fcn.004a18e7
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push 0x44ea20
push 0
push 0
mov dword [0x4fe474], eax
call fcn.004a18e7
mov dword [0x4fe468], eax
add esp, 0x38
ret 4
Function at 0x44f4b0
Capabilities:
Check os version

Disassembly:
sub esp, 0x14
cmp byte [0x4feb96], 0
push ebx
push esi
push edi
mov edi, eax
je 0x44f4df
push 0x10
push 0x4d9784
push 0x4e6ab0
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
pop edi
pop esi
pop ebx
add esp, 0x14
ret 4
call fcn.0044dcb0
test al, al
jne 0x44f535
mov esi, 0x4e6af0
call dword [sym.imp.KERNEL32.dll_GetVersion]
shr eax, 8
movzx eax, al
sub eax, 0
je 0x44f516
sub eax, 1
je 0x44f50f
sub eax, 1
jne 0x44f51b
mov esi, 0x4e6c40
jmp 0x44f51b
mov esi, 0x4e6bd8
jmp 0x44f51b
mov esi, 0x4e6b40
push 0x10
push 0x4d9784
push esi
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
pop edi
pop esi
pop ebx
add esp, 0x14
ret 4
call fcn.0044f2b0
test eax, eax
je 0x44f5bb
cmp eax, 0x514
ja 0x44f58f
je 0x44f553
cmp eax, 4
je 0x44f571
jbe 0x44f596
cmp eax, 6
ja 0x44f596
push 0x10
push 0x4d9784
push 0x4e6d20
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
pop edi
pop esi
pop ebx
add esp, 0x14
ret 4
push 0x10
push 0x4d9784
push 0x4e6cb8
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
pop edi
pop esi
pop ebx
add esp, 0x14
ret 4
cmp eax, 0x522
je 0x44f553
push ecx
mov ebx, esp
mov dword [esp + 0x28], esp
push 0x4e6d88
xor esi, esi
call fcn.00402bd0
mov ecx, esi
call fcn.00442aa0
xor al, al
pop edi
pop esi
pop ebx
add esp, 0x14
ret 4
mov edi, 1
push 0x4fef50
mov dword [0x4feb90], edi
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push 0x4fef58
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push 0x4fef60
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov eax, dword [0x4fd484]
cmp eax, 0xffffffff
jne 0x44f5f8
mov esi, 0x80070006
jmp 0x44f646
mov ecx, dword [0x4fd46c]
lea edx, [esp + 0x14]
push edx
push 0
push 0
mov dword [esp + 0x28], ecx
push 8
lea ecx, [esp + 0x28]
push ecx
push eax
mov dword [esp + 0x30], 0
call dword [0x4feb9c]
mov esi, eax
test esi, esi
sete bl
mov byte [esp + 0x10], bl
cmp dword [esp + 0x24], edi
je 0x44f63c
mov edx, dword [esp + 0x10]
push edx
call fcn.004524b0
mov byte [0x4feb94], bl
test esi, esi
je 0x44f669
push ecx
mov ebx, esp
mov dword [esp + 0x28], esp
push 0x4e6de4
call fcn.00402bd0
mov ecx, esi
call fcn.00442aa0
xor al, al
pop edi
pop esi
pop ebx
add esp, 0x14
ret 4
push edi
call fcn.0044f3e0
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x14
ret 4