joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440e70
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc40
mov eax, dword [0x4e412c]
xor eax, ebp
mov dword [ebp - 0xc], eax
push esi
push edi
mov ecx, 0xd
mov esi, 0x4c0c80
lea edi, [ebp - 0x410]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push 0x3cb
push 0
lea eax, [ebp - 0x3db]
push eax
call fcn.004886d0
add esp, 0xc
mov dword [ebp - 8], 1
mov cx, word [0x4c0cb8]
mov word [ebp - 0xc40], cx
push 0x403
push 0
lea edx, [ebp - 0xc3e]
push edx
call fcn.004886d0
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
push 0x4c0cbc
lea ecx, [ebp - 0x42c]
push ecx
call fcn.00489bd8
add esp, 0xc
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0xc40]
push eax
call fcn.00489af0
add esp, 8
lea ecx, [ebp - 0x42c]
push ecx
lea edx, [ebp - 0xc40]
push edx
call fcn.00489af0
add esp, 8
mov dword [ebp - 0x838], 0
lea eax, [ebp - 0x838]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
lea edx, [ebp - 0xc40]
push edx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x440f62
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x441035
cmp dword [ebp - 0x838], 2
jne 0x440f79
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x440f7b
jmp 0x440f91
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x3e8
jl 0x440eb5
mov edx, dword [0x4c0d20]
mov dword [ebp - 0x420], edx
mov eax, dword [0x4c0d24]
mov dword [ebp - 0x41c], eax
mov ecx, dword [0x4c0d28]
mov dword [ebp - 0x418], ecx
mov dx, word [0x4c0d2c]
mov word [ebp - 0x414], dx
mov al, byte [0x4c0d2e]
mov byte [ebp - 0x412], al
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x834], 0x400
mov ecx, dword [ebp + 8]
push ecx
call fcn.00489c70
add esp, 4
add eax, 1
push eax
mov edx, dword [ebp + 8]
push edx
push 1
push 0
lea eax, [ebp - 0x420]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
je 0x44101f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [ebp - 0x424], 0
sete al
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00488550
mov esp, ebp
pop ebp
ret
Function at 0x449440
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0xc], eax
call fcn.00448ea0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
and eax, 0x100
je 0x4494d4
lea ecx, [ebp - 4]
push ecx
push 0x28
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4494c8
lea eax, [ebp - 0x18]
push eax
push 0x4c24d4
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x449494
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x4494ff
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
push 0
push 0
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x4494c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x4494ff
jmp 0x4494d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x4494ff
jmp 0x4494e2
mov eax, dword [ebp - 8]
and eax, 1
je 0x4494de
jmp 0x4494e2
xor eax, eax
jmp 0x4494ff
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x4494fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x4494ff
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x44f920
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4e412c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x17], 0
mov byte [ebp - 0x16], 0
mov byte [ebp - 0x15], 0
mov byte [ebp - 0x14], 0
mov byte [ebp - 0x13], 5
lea eax, [ebp - 0x24]
push eax
push 0
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x44f99c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
jne 0x44f995
lea ecx, [ebp - 0x24]
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x44f993
xor eax, eax
jmp 0x44fa89
jmp 0x44f99c
xor eax, eax
jmp 0x44fa89
lea edx, [ebp - 0xc]
push edx
push 0
push 0
push 2
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x44f9bb
xor eax, eax
jmp 0x44fa89
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x44f9cd
xor eax, eax
jmp 0x44fa89
mov eax, dword [ebp - 0xc]
call fcn.0048bed0
mov dword [ebp - 0x28], esp
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x44f9eb
xor eax, eax
jmp 0x44fa89
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 2
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x44fa0b
xor eax, eax
jmp 0x44fa89
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x20
push 2
lea edx, [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x44fa35
xor eax, eax
jmp 0x44fa89
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
jmp 0x44fa4e
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ecx]
jae 0x44fa7c
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx*8 + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x44fa7a
mov dword [ebp - 0x20], 1
jmp 0x44fa7c
jmp 0x44fa45
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x20]
lea esp, [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00488550
mov esp, ebp
pop ebp
ret
Function at 0x451ec0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x86c
mov eax, dword [0x4e412c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x44
push 0
lea eax, [ebp - 0x868]
push eax
call fcn.004886d0
add esp, 0xc
mov dword [ebp - 0x868], 0x44
mov dword [ebp - 0x83c], 1
mov word [ebp - 0x838], 0
lea ecx, [ebp - 0x86c]
push ecx
push 0x4c3427
push 0x400
lea edx, [ebp - 0x408]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [0x4e571c]
cmp dword [ebp + 0xc], 0
je 0x451f5b
lea ecx, [ebp - 0x86c]
push ecx
push 0x4c3442
push 0x400
lea edx, [ebp - 0x808]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0
call dword [0x4e571c]
jmp 0x451f62
mov byte [ebp - 0x808], 0
lea ecx, [ebp - 0x81c]
push ecx
lea edx, [ebp - 0x868]
push edx
lea eax, [ebp - 0x808]
push eax
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x408]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x451f99
or eax, 0xffffffff
jmp 0x451fdc
mov edx, dword [ebp - 0x818]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
mov eax, dword [ebp - 0x81c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x80c]
push ecx
mov edx, dword [ebp - 0x81c]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x81c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x80c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00488550
mov esp, ebp
pop ebp
ret
Function at 0x458909
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x52c
mov eax, dword [0x4e412c]
mov dword [ebp - 4], eax
mov eax, dword [0x543b64]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x458938
call eax
cmp eax, ebx
mov dword [ebp - 0x528], eax
jne 0x458ac5
push dword [0x4e2fc8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [ebp - 0x528], eax
je 0x458ac5
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x458970
mov byte [ebp - 0x41c], bl
push esi
lea eax, [ebp - 0x524]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x458988
mov byte [ebp - 0x524], bl
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 0x528]
call edi
test eax, eax
jne 0x4589a9
mov byte [ebp - 0x10c], bl
push esi
lea eax, [ebp - 0x214]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call edi
test eax, eax
pop edi
jne 0x4589c6
mov byte [ebp - 0x214], bl
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x52c]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.0045886c
lea eax, [ebp - 0x52c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4589e9
sub eax, edx
mov ecx, eax
lea eax, [ebp - 0x314]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4589fd
sub eax, esi
add eax, ecx
mov byte [ebp + eax - 0x213], bl
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x52c]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.0045886c
lea eax, [ebp - 0x52c]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x458a32
sub eax, ecx
lea ecx, [ebp - 0x314]
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x458a44
sub ecx, esi
add ecx, eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x524]
push eax
mov byte [ebp + ecx - 0x10b], bl
call fcn.0045879d
test eax, eax
pop esi
jne 0x458a85
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x524]
push eax
call fcn.0045879d
test eax, eax
jne 0x458ab3
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x41c]
push eax
call fcn.0045879d
test eax, eax
jne 0x458ac5
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x41c]
push eax
call fcn.0045879d
test eax, eax
je 0x458ac5
push dword [ebp - 0x528]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x528], ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x528]
pop ebx
call fcn.00488550
leave
ret
Function at 0x45904f
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4e412c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x10c]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x459124
push edi
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push esi
push dword [ebp - 0x10c]
mov edi, 0x104
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x114], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x459113
cmp dword [ebp - 0x114], 2
mov byte [ebp - 5], al
lea eax, [ebp - 0x108]
jne 0x4590fd
push edi
push dword [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
dec eax
lea ecx, [edi - 1]
cmp ecx, eax
sbb esi, esi
inc esi
jmp 0x459113
push eax
push edi
push dword [ebp - 0x110]
call fcn.00458fec
xor ecx, ecx
test eax, eax
setge cl
mov esi, ecx
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
jmp 0x459126
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00488550
leave
ret 4
Function at 0x45af80
Capabilities:
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1e8
mov eax, dword [0x4e412c]
xor eax, ebp
mov dword [ebp - 8], eax
lea eax, [ebp - 0x198]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0
push 2
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jae 0x45afc8
mov eax, 0xfffffffd
jmp 0x45b199
mov dword [ebp - 0x1a0], 0
cmp dword [ebp + 8], 0x17
jne 0x45b110
push str.WS2_32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x1a4], eax
cmp dword [ebp - 0x1a4], 0xffffffff
je 0x45b051
push str.freeaddrinfo
mov edx, dword [ebp - 0x1a4]
push edx
call dword [0x4e56bc]
mov dword [ebp - 0x1a8], eax
push str.getaddrinfo
mov eax, dword [ebp - 0x1a4]
push eax
call dword [0x4e56bc]
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x1a8], 0
je 0x45b038
cmp dword [ebp - 0x1ac], 0
jne 0x45b04f
mov ecx, dword [ebp - 0x1a4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 0xfffffffc
jmp 0x45b199
jmp 0x45b05b
mov eax, 0xfffffffc
jmp 0x45b199
cmp dword [ebp + 0xc], 0
jl 0x45b0d5
push 0x20
push 0
lea edx, [ebp - 0x1d8]
push edx
call fcn.004886d0
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
push 0x4e3190
lea ecx, [ebp - 0x1b8]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0x1d8], 1
mov edx, dword [ebp + 8]
mov dword [ebp - 0x1d4], edx
mov dword [ebp - 0x1d0], 2
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x1d8]
push ecx
lea edx, [ebp - 0x1b8]
push edx
push 0
call dword [ebp - 0x1ac]
test eax, eax
je 0x45b0d5
mov dword [ebp - 0x19c], 0xffffffff
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x1a0]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
jne 0x45b101
mov dword [ebp - 0x19c], 0
mov edx, dword [ebp - 0x1a0]
push edx
call dword [ebp - 0x1a8]
jmp 0x45b185
cmp dword [ebp + 8], 2
jne 0x45b17b
push 0x10
push 0
lea eax, [ebp - 0x1e8]
push eax
call fcn.004886d0
add esp, 0xc
mov word [ebp - 0x1e8], 2
mov dword [ebp - 0x19c], 0xfffffffd
mov dword [ebp - 0x1e4], 0
mov cx, word [ebp + 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e6], ax
push 0x10
lea edx, [ebp - 0x1e8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
jne 0x45b179
mov dword [ebp - 0x19c], 0
jmp 0x45b185
mov dword [ebp - 0x19c], 0xfffffffc
cmp dword [ebp - 0x19c], 0
jge 0x45b196
mov eax, dword [ebp - 0x19c]
jmp 0x45b199
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00488550
mov esp, ebp
pop ebp
ret
Function at 0x45b1e0
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x114c
call fcn.004894c0
mov eax, dword [0x4e412c]
xor eax, ebp
mov dword [ebp - 0x124], eax
mov eax, dword [ebp + 8]
push eax
call fcn.00459e30
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x45b217
mov eax, dword [ebp - 4]
jmp 0x45b430
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.004592f0
add esp, 8
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x11c], 0
jmp 0x45b24a
mov edx, dword [ebp - 0x11c]
add edx, 1
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp - 0x11c]
cmp eax, dword [ebp - 0x110]
jae 0x45b26e
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ebp + ecx*4 - 0x10c]
cmp edx, dword [ebp - 4]
jne 0x45b26c
jmp 0x45b26e
jmp 0x45b23b
mov eax, dword [ebp - 0x11c]
cmp eax, dword [ebp - 0x110]
jne 0x45b2a4
cmp dword [ebp - 0x110], 0x40
jae 0x45b2a4
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x10c], edx
mov eax, dword [ebp - 0x110]
add eax, 1
mov dword [ebp - 0x110], eax
xor ecx, ecx
jne 0x45b22f
mov dword [ebp - 0x118], 1
mov dword [ebp - 0x114], 0
lea edx, [ebp - 0x118]
push edx
push 0
push 0
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp - 4]
add ecx, 1
push ecx
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x45b2ee
jmp 0x45b416
cmp dword [ebp - 8], 0
jne 0x45b311
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0045a2a0
add esp, 0x10
jmp 0x45b402
cmp dword [ebp - 8], 0
jle 0x45b402
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x45b402
mov byte [ebp - 0x1128], 0
push 0xfff
push 0
lea edx, [ebp - 0x1127]
push edx
call fcn.004886d0
add esp, 0xc
mov dword [ebp - 0x120], 0x1c
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x1148]
push ecx
push 0
push 0x1000
lea edx, [ebp - 0x1128]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WS2_32.dll_recvfrom]
mov dword [ebp - 0x112c], eax
cmp dword [ebp - 0x112c], 0
jge 0x45b3bb
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x114c], eax
cmp dword [ebp - 0x114c], 0x2746
jne 0x45b3ab
jmp 0x45b402
cmp dword [ebp - 0x114c], 0x2738
jne 0x45b3b9
jmp 0x45b402
jmp 0x45b416
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x1148]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x112c]
push edx
lea eax, [ebp - 0x1128]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0045a300
add esp, 0x20
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0045a2a0
add esp, 0x10
mov eax, dword [ebp + 8]
push eax
call fcn.00459330
add esp, 4
test eax, eax
je 0x45b225
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00459570
add esp, 8
mov edx, dword [ebp + 8]
push edx
call fcn.00459330
add esp, 4
mov ecx, dword [ebp - 0x124]
xor ecx, ebp
call fcn.00488550
mov esp, ebp
pop ebp
ret
Function at 0x45b450
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.00459e30
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x45b470
mov eax, dword [ebp - 4]
jmp 0x45b4dc
mov ecx, dword [ebp + 0x14]
movzx edx, word [ecx]
cmp edx, 2
jne 0x45b484
mov dword [ebp - 0xc], 0x10
jmp 0x45b49a
mov eax, dword [ebp + 0x14]
movzx ecx, word [eax]
sub ecx, 0x17
neg ecx
sbb ecx, ecx
and ecx, 0xffffffe4
add ecx, 0x1c
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
jne 0x45b4ad
mov eax, 0xfffffff8
jmp 0x45b4dc
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x45b4d9
mov eax, 0xfffffff4
jmp 0x45b4dc
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4611d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x578
mov eax, dword [0x4e412c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov ecx, 0x10
mov esi, str.SYSTEMCurrentControlSetControlPrintMonitorsCrown_PortPorts
lea edi, [ebp - 0x458]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, dword [0x4c8664]
mov dword [ebp - 0x464], eax
mov ecx, dword [0x4c8668]
mov dword [ebp - 0x460], ecx
mov dx, word [0x4c866c]
mov word [ebp - 0x45c], dx
mov dword [ebp - 0x410], 0
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x458]
push edx
push 0x4c8670
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [ebp - 0x40c]
push ecx
push 0xf003f
push 0
lea edx, [ebp - 0x408]
push edx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4612df
mov dword [ebp - 0x468], 1
mov dword [ebp - 0x574], 0x104
lea eax, [ebp - 0x574]
push eax
lea ecx, [ebp - 0x570]
push ecx
lea edx, [ebp - 0x468]
push edx
push 0
lea eax, [ebp - 0x464]
push eax
mov ecx, dword [ebp - 0x40c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4612d2
lea edx, [ebp - 0x570]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00489ae0
add esp, 8
mov dword [ebp - 0x410], 1
mov ecx, dword [ebp - 0x40c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x410], 0
je 0x4612f4
mov dword [ebp - 0x578], 0x4c8678
jmp 0x4612fe
mov dword [ebp - 0x578], 0x4c8680
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp - 0x578]
push eax
push str.LTconnectedAddrCrown___returns__s__err:_d____s__n
push 0
call fcn.00461a70
add esp, 0x14
mov eax, dword [ebp - 0x410]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00488550
mov esp, ebp
pop ebp
ret
Function at 0x461420
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa34
mov eax, dword [0x4e412c]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.00473800
and eax, 1
jne 0x461444
xor eax, eax
jmp 0x46166e
mov dword [ebp - 0xa24], 0
push 0x104
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x4c8364
lea ecx, [ebp - 0x220]
push ecx
call fcn.00489af0
add esp, 8
cmp dword [ebp + 8], 0
je 0x461485
mov edx, dword [ebp + 8]
mov dword [ebp - 0xa30], edx
jmp 0x46148f
mov dword [ebp - 0xa30], 0x4c8368
mov eax, dword [ebp - 0xa30]
push eax
lea ecx, [ebp - 0x220]
push ecx
call fcn.00489af0
add esp, 8
lea edx, [ebp - 0x220]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4614cc
push str.LTconnectedAddr98___setting_ini_file_not_found_n
push 0
call fcn.00461a70
add esp, 8
xor eax, eax
jmp 0x46166e
push 0x4c83a4
lea eax, [ebp - 0x220]
push eax
call fcn.0048dd3f
add esp, 8
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x461505
push str.LTconnectedAddr98___cant_open_setting_ini_file_n
push 0
call fcn.00461a70
add esp, 8
xor eax, eax
jmp 0x46166e
mov ecx, dword [ebp + 0xc]
push ecx
push str.LTconnectedAddr98___search___s_n
push 0
call fcn.00461a70
add esp, 0xc
mov edx, dword [ebp - 0x114]
push edx
push 0x400
lea eax, [ebp - 0xa20]
push eax
call fcn.0048daf4
add esp, 0xc
test eax, eax
je 0x461606
mov ecx, dword [ebp + 0xc]
push ecx
push str.IP____s
lea edx, [ebp - 0x620]
push edx
call fcn.00489bd8
add esp, 0xc
lea eax, [ebp - 0x620]
push eax
call fcn.00489c70
add esp, 4
push eax
lea ecx, [ebp - 0x620]
push ecx
lea edx, [ebp - 0xa20]
push edx
call fcn.00489fce
add esp, 0xc
test eax, eax
jne 0x461601
push 0x4c8408
call fcn.00489c70
add esp, 4
lea eax, [ebp + eax - 0xa20]
mov dword [ebp - 0xa28], eax
push 0x3a
lea ecx, [ebp - 0xa20]
push ecx
call fcn.00418740
add esp, 8
mov dword [ebp - 0xa2c], eax
mov edx, dword [ebp - 0xa2c]
cmp edx, dword [ebp - 0xa28]
jbe 0x461601
mov eax, dword [ebp - 0xa2c]
sub eax, dword [ebp - 0xa28]
push eax
mov ecx, dword [ebp - 0xa28]
push ecx
lea edx, [ebp - 0x110]
push edx
call fcn.00489d00
add esp, 0xc
mov eax, dword [ebp - 0xa2c]
sub eax, dword [ebp - 0xa28]
mov byte [ebp + eax - 0x110], 0
mov dword [ebp - 0xa24], 1
jmp 0x461518
mov ecx, dword [ebp - 0x114]
push ecx
call fcn.0048da78
add esp, 4
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.00489ae0
add esp, 8
cmp dword [ebp - 0xa24], 0
je 0x46163d
mov dword [ebp - 0xa34], 0x4c8410
jmp 0x461647
mov dword [ebp - 0xa34], 0x4c8418
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp - 0xa34]
push edx
push str.LTconnectedAddr98___returns__s__err:_d____s__n
push 0
call fcn.00461a70
add esp, 0x14
mov eax, dword [ebp - 0xa24]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00488550
mov esp, ebp
pop ebp
ret