joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4625c0
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46276b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46274c
mov dl, 1
mov eax, dword [0x41444c]
call fcn.00403788
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004045a8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46273b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044fa44
test al, al
je 0x46272e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x46277c
lea eax, [ebp - 0x254]
call fcn.0040988c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46272e
xor eax, eax
push ebp
push 0x462727
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4627b4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x462710
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404810
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x462710
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404810
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46272e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x462631
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00418e74
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462772
lea eax, [ebp - 0x260]
call fcn.004045a8
ret

Function at 0x4630a0
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4fbc38]
cmp byte [eax + 0xa5], 0
jne 0x463111
cmp dword [0x4fbc50], 0
jne 0x4630d2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46305c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4fbc50], eax
cmp dword [0x4fbc4c], 0
jne 0x4630ed
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4fbc4c], eax
cmp dword [0x4fbc54], 0
jne 0x463111
push esp
push 0
push 0
push 0x463000
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4fbc54], eax
pop edx
ret
Function at 0x463238
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46324f
add esp, 0xfffffff0
call fcn.00403b1c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041eddc
mov eax, dword [0x4f9d64]
cmp word [eax + 2], 0
jne 0x463277
mov eax, dword [0x4f9d64]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00464914
mov eax, dword [0x4f9e64]
cmp word [eax + 2], 0
jne 0x463291
mov eax, dword [0x4f9e64]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00464b0c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x413dc8]
call fcn.00403788
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x413dc8]
call fcn.00403788
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x42131c]
call fcn.00428e9c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x463418
mov eax, dword [0x4f9c44]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042926c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46508c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4f9c44]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040cf84
test eax, eax
je 0x463386
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004091d4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cfac
test eax, eax
je 0x46339a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404810
mov eax, dword [0x4f9a80]
cmp byte [eax], 0
jne 0x4633ce
mov eax, ebx
call fcn.00463540
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00465268
mov eax, ebx
call fcn.00465ba8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46340e
call fcn.00403b74
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4637b4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4fbc38]
cmp dword [eax + 0x30], 0
je 0x46385e
cmp dword [ebx + 0x94], 0
jne 0x463858
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x463744
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x463858
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x46381e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x463858
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004166a8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46382d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46433c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x464371
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404698
jmp 0x46437e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004045fc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x465444
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x465485
mov eax, esi
call fcn.0044b138
test al, al
je 0x465485
mov eax, dword [ebx + 0x84]
call fcn.0044ae34
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x465485
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044ae34
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x467310
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov edi, dword [ebp + 8]
mov byte [ebp - 5], 0
push 0
mov eax, dword [ebx + 0x34]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
jne 0x46737f
mov eax, dword [ebp - 4]
push eax
push edi
mov eax, dword [ebp + 0xc]
push eax
push esi
mov eax, dword [ebx + 0x30]
push eax
call sub.kernel32.dll_ReadFile_1
test eax, eax
je 0x467361
mov ecx, dword [edi]
mov edx, esi
mov eax, ebx
call fcn.0046738c
test al, al
je 0x46737f
jmp 0x467327
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x3e5
jne 0x467373
mov byte [ebp - 5], 1
jmp 0x46737f
cmp eax, 6
je 0x46737f
mov eax, ebx
call fcn.00467604
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x467754
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov ebx, dword [ebp + 8]
mov byte [ebp - 9], 0
xor eax, eax
mov dword [ebp - 0x10], eax
xor esi, esi
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 8]
add eax, esi
push eax
mov eax, dword [edi + 0x30]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x467810
call sub.kernel32.dll_GetLastError_1
cmp eax, 6
je 0x467822
cmp eax, 0x3e5
je 0x4677b8
mov eax, edi
call fcn.00467830
jmp 0x467822
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x18]
push eax
push 2
call sub.kernel32.dll_WaitForMultipleObjects
sub eax, 0xffffffff
je 0x4677fe
dec eax
je 0x467822
dec eax
je 0x4677d4
jmp 0x467807
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [edi + 0x30]
push eax
call sub.kernel32.dll_GetOverlappedResult
test eax, eax
jne 0x467810
call sub.kernel32.dll_GetLastError_1
cmp eax, 6
je 0x467822
mov eax, edi
call fcn.00467830
jmp 0x467822
mov eax, edi
call fcn.00467830
jmp 0x467822
mov eax, edi
call fcn.00467830
jmp 0x467822
sub ebx, dword [ebp - 0x10]
add esi, dword [ebp - 0x10]
test ebx, ebx
ja 0x467782
mov byte [ebp - 9], 1
mov al, byte [ebp - 9]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x46816c
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4681f5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4fbc70
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x4681df
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040ba98
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x46820c
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x4f9f04]
mov dl, 1
mov eax, dword [0x467a20]
call fcn.0040c3e4
call fcn.00403f84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4681fc
lea eax, [ebp - 0x1c]
call fcn.004045a8
ret

Function at 0x46889c
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.004687c0
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.004039b4
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x468900
call fcn.004680b4
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x4688f2
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.004039b4
pop esi
pop ebx
ret
Function at 0x4689cc
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00404a58
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00403024
test ebx, ebx
je 0x468a17
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret

Function at 0x468af4
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x468b25
mov ecx, dword [0x4f9dec]
mov dl, 1
mov eax, dword [0x467a20]
call fcn.0040c3a8
call fcn.00403f84
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x468b52
mov ecx, dword [0x4f9d58]
mov dl, 1
mov eax, dword [0x467a20]
call fcn.0040c3a8
call fcn.00403f84
xor eax, eax
push ebp
push 0x468bce
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.004039b4
cmp byte [ebp + 8], 0
je 0x468baa
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00468a5c
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.0046889c
jmp 0x468bc4
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.004683a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x468beb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x468dcc
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0046865c
xor eax, eax
push ebp
push 0x468f3e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x468f28
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x468e17
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x468e21
call fcn.00404030
jmp 0x468f45
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00418f24
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 8]
mov ebx, eax
test ebx, ebx
jle 0x468f1d
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x468ecf
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x468ebc
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004039b4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.00468d84
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x468f50]
cmp dl, byte [eax + 0x28]
je 0x468f24
call fcn.0040c290
jmp 0x468f24
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00418f44
jmp 0x468f24
cmp ecx, ebx
jge 0x468eeb
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00418f44
jmp 0x468e21
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00418f24
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00418f58
cmp edx, dword [esp + 4]
jne 0x468f0c
cmp eax, dword [esp]
pop edx
pop eax
jne 0x468e21
push ebp
call fcn.00468d84
pop ecx
jmp 0x468f24
push ebp
call fcn.00468d84
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468f45
mov eax, dword [ebp - 4]
call fcn.00468668
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x468f54
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x469076
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0046865c
xor eax, eax
push ebp
push 0x469059
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x468fa4
call fcn.00404030
jmp 0x469060
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x469043
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x469043
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004039b4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x469043
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040ba98
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x469090
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4f9f04]
mov dl, 1
mov eax, dword [0x467a20]
call fcn.0040c3e4
call fcn.00403f84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469060
mov eax, dword [ebp - 4]
call fcn.00468668
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46907d
lea eax, [ebp - 0x28]
call fcn.004045a8
ret
Function at 0x4690dc
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x469226
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0046865c
xor eax, eax
push ebp
push 0x469209
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x469141
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x469141
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x4691f3
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x469154
call fcn.00404030
jmp 0x469210
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4691f3
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4691f3
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004039b4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x4691f3
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040ba98
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x469240
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4f9f04]
mov dl, 1
mov eax, dword [0x467a20]
call fcn.0040c3e4
call fcn.00403f84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469210
mov eax, dword [ebp - 4]
call fcn.00468668
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46922d
lea eax, [ebp - 0x28]
call fcn.004045a8
ret
Function at 0x469eb8
Capabilities:
Create udp socket
Initialize winsock library
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x469ed0
add esp, 0xfffffff0
call fcn.00403b1c
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x469ffd
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, ebx
call fcn.0041eddc
mov byte [ebx + 0x2158], 0
mov eax, 0x400
call fcn.00402754
mov dword [ebx + 0x1fac], eax
push ebx
push 0x46a764
call fcn.0045ba10
mov dword [ebx + 0x1fa4], eax
mov dword [ebx + 0x2150], 1
mov byte [ebx + 0x1fb0], 0
push 0x46a024
push 0
push 0xffffffffffffffff
push 0
call sub.kernel32.dll_CreateEventA
mov dword [ebx + 0x2190], eax
mov ecx, 0x46a030
mov dl, 8
mov eax, ebx
call fcn.0046a6e4
lea eax, [ebx + 0x1fb4]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x469fcd
xor eax, eax
push ebp
push 0x469fb7
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 2
push 2
call sub.wsock32.dll_socket
mov esi, eax
mov dword [ebx + 0x2194], esi
inc esi
jne 0x469f90
lea ecx, [ebp - 8]
mov dx, 0x2733
mov eax, ebx
call fcn.0046a530
push 4
push 0x46a044
push 0xff7f
push 0xffff
mov eax, dword [ebx + 0x2194]
push eax
call sub.wsock32.dll_setsockopt
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x469fdb
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, ebx
call fcn.0046a530
mov byte [ebx + 0x2158], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a004
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004045cc
ret

Function at 0x46a098
Capabilities:
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46a16c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x2194]
test eax, eax
je 0x46a0c7
push eax
call sub.wsock32.dll_closesocket
call sub.wsock32.dll_WSACleanup
lea eax, [ebx + 0x1fb4]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x46a133
xor eax, eax
push ebp
push 0x46a11d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 2
push 2
call sub.wsock32.dll_socket
mov esi, eax
mov dword [ebx + 0x2194], esi
inc esi
jne 0x46a113
lea ecx, [ebp - 8]
mov dx, 0x2733
mov eax, ebx
call fcn.0046a530
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46a141
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, ebx
call fcn.0046a530
mov eax, dword [ebp - 4]
mov dword [ebx + 0x1f80], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a173
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004045cc
ret