joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a9c10
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ebp, edx
mov eax, dword [edi + 0x44]
cmp eax, dword [edi + 0x38]
jae 0x4a9d88
mov ecx, dword [edi + 0x2c]
lea eax, [esp + 0x10]
push eax
push 0
mov edx, 0x48
call fcn.0042ff40
mov edx, eax
add esp, 8
test edx, edx
je 0x4a9d9c
mov eax, dword [edi + 0x44]
xor ecx, ecx
mov esi, dword [esp + 0x10]
or ecx, 0xfffa0000
mov dword [eax], edx
mov dword [eax + 4], ecx
inc dword [edx + 4]
add dword [edi + 0x44], 8
test esi, esi
je 0x4a9db2
push 0x48
push 0
push esi
call fcn.00587250
add esp, 0xc
mov dword [esi], 0x38
mov dword [esi + 4], 0
lea ebx, [esi + 0x10]
mov eax, dword [0x624130]
mov edx, 0xfffffffe
mov ecx, edi
mov dword [esi + 8], eax
push 0x6233fc
mov dword [esi + 0xc], 2
call fcn.00410110
mov dword [ebx + 4], edi
add esp, 4
mov eax, dword [edi + 0x44]
mov ecx, dword [edi + 0x40]
sub eax, ecx
sar eax, 3
lea edx, [eax - 1]
cmp edx, eax
jae 0x4a9cc5
lea eax, [ecx + edx*8]
test eax, eax
jne 0x4a9cca
mov eax, 0x5ee574
mov ecx, 0xfff8
cmp word [eax + 6], cx
jae 0x4a9cd9
xor eax, eax
jmp 0x4a9cdb
mov eax, dword [eax]
mov dword [ebx + 8], eax
mov ecx, edi
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x1c], ebp
mov dword [ebx + 0x2c], eax
call fcn.00460410
mov esi, eax
mov edx, 0x623414
mov ecx, esi
call fcn.00461370
mov edx, 0x62341c
mov ecx, esi
call fcn.00461370
mov edx, str.drain
mov ecx, esi
call fcn.00461370
mov edx, str.finish
mov ecx, esi
call fcn.00461370
mov edx, str.error
mov ecx, esi
call fcn.00461370
push 0xffffffffffffffff
push 0x4a8c60
mov edx, str.write
mov ecx, edi
call fcn.00471d80
push 0x4a92e0
mov edx, 0x623444
mov ecx, edi
call fcn.00471150
add esp, 0xc
mov ecx, edi
push 0x4a96b0
push str.pipe
call fcn.00462e20
push 0x4a9300
push str.unpipe
mov ecx, edi
call fcn.00462e20
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push str.cannot_push_beyond_allocated_stack
push 0x3001475
mov edx, 0x605bf8
call fcn.0040d970
push str.alloc_failed
push 0x100147e
mov edx, 0x605c28
mov ecx, edi
call fcn.0040d970
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x46d
mov edx, 0x6240d4
xor ecx, ecx
call fcn.004b4f80
add esp, 0xc
push 0x46d
push 0x6240f0
push 0x62410c
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.005885bd
int3
Function at 0x4aa700
Capabilities:
Terminate process

Disassembly:
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [esp + 0x14]
mov edi, edx
mov edx, dword [esp + 0x2c]
mov ebx, ecx
push eax
lea eax, [esp + 0x14]
mov ecx, 0x1250
push eax
call fcn.004aeee0
mov esi, dword [esp + 0x18]
add esp, 8
mov eax, dword [esp + 0x14]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], str.ILibAsyncSocket
mov dword [esi + 0x28], 0x40
mov dword [esi + 0x18], 0x4aa6e0
mov dword [esi + 0x1c], fcn.004aaea0
mov dword [esi + 0x20], fcn.004ac740
mov dword [esi + 0xc], ebx
test edi, edi
je 0x4aa772
push edi
call fcn.0058db11
add esp, 4
mov dword [esi + 0x1f0], eax
test eax, eax
jne 0x4aa781
jmp 0x4aa836
mov edi, 0xffff
mov dword [esi + 0x1f0], 0x63d420
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x1b4], eax
mov eax, dword [esp + 0x20]
push 0
mov dword [esi + 0x1b8], eax
mov eax, dword [esp + 0x28]
push 0x40
mov dword [esi + 0x1bc], eax
mov eax, dword [esp + 0x30]
push 1
mov dword [esi], 0x4abc40
mov dword [esi + 4], 0x4abf50
mov dword [esi + 8], 0x4aa5f0
mov dword [esi + 0x2c], 0xffffffff
mov dword [esi + 0x1c0], eax
mov dword [esi + 0x1f8], edi
mov dword [esi + 0x1f4], edi
mov eax, dword [ebx + 0x2e4]
push 0
mov dword [esi + 0x1d0], eax
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov dword [esi + 0x204], eax
mov edi, dword [ebx + 0x2f0]
mov ecx, edi
call fcn.004b3590
mov ecx, eax
mov dword [ecx], esi
mov dword [ecx + 4], edi
mov dword [ecx + 8], 0
mov eax, dword [edi + 0x10]
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4aa81b
mov dword [eax + 8], ecx
cmp dword [edi + 0xc], 0
mov dword [edi + 0x10], ecx
jne 0x4aa827
mov dword [edi + 0xc], ecx
inc dword [edi + 4]
mov eax, esi
pop edi
mov dword [esi + 0xc], ebx
pop esi
pop ebx
add esp, 0xc
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x1c8
mov edx, 0x6235bc
xor ecx, ecx
call fcn.004b4f80
add esp, 0xc
push 0x1c8
push 0x6235dc
push 0x6235fc
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.005885bd
int3
Function at 0x4ab400
Capabilities:
Send data
Send data on socket
Terminate process

Disassembly:
push ecx
push esi
push edi
mov esi, ecx
mov edi, 0xfffffffc
push 0xffffffffffffffff
push dword [esi + 0x204]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x230]
cmp dword [eax], 0
jbe 0x4ab4e3
cmp dword [esi + 0x200], 0
jne 0x4ab4e3
cmp dword [esi + 0x1e4], 0
jne 0x4ab452
push 0x30
call fcn.0058db11
mov edi, eax
add esp, 4
test edi, edi
jne 0x4ab4a9
jmp 0x4ab4f9
push 0xf
push dword [esi + 0x228]
call fcn.004df5f0
mov eax, dword [esi + 0x230]
add esp, 8
push 0
push dword [eax]
push dword [eax + 4]
push dword [esi + 0x2c]
call dword [sym.imp.WS2_32.dll_send]
mov ecx, eax
test ecx, ecx
jle 0x4ab4e3
mov eax, dword [esi + 0x230]
mov edx, dword [eax]
cmp ecx, edx
jge 0x4ab4cd
add dword [eax + 4], ecx
mov eax, dword [esi + 0x230]
push 0x30
sub dword [eax], ecx
call fcn.0058db11
mov edi, eax
add esp, 4
test edi, edi
je 0x4ab53a
push 0x30
push 0
push edi
call fcn.00587250
mov dword [edi + 0x28], 3
add esp, 0xc
mov dword [esi + 0x200], edi
mov dword [esi + 0x1fc], edi
xor edi, edi
jmp 0x4ab4e3
jne 0x4ab4e3
mov dword [eax], 0
mov edi, 1
mov eax, dword [esi + 0x230]
add dword [eax + 4], ecx
push 0
push 1
push dword [esi + 0x204]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov eax, edi
pop edi
pop esi
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x4c4
mov edx, 0x624148
xor ecx, ecx
call fcn.004b4f80
add esp, 0xc
push 0x4c4
push 0x624164
push 0x624180
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.005885bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x4c4
mov edx, 0x624148
xor ecx, ecx
call fcn.004b4f80
add esp, 0xc
push 0x4c4
push 0x624164
push 0x624180
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.005885bd
int3
Function at 0x4ac8f0
Capabilities:
Set socket configuration
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov dword [esi + 0x1c4], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0x1d4], eax
mov eax, dword [esi + 0x1f0]
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x2c], edx
mov dword [esi + 0x1e4], 1
mov dword [esi + 0x1e0], 0
mov dword [esi + 0x218], 0
cmp eax, 0x63d420
je 0x4ac968
push dword [esi + 0x1f8]
push eax
call fcn.0059256f
add esp, 8
test eax, eax
je 0x4ac999
mov dword [esi + 0x1f0], eax
mov eax, dword [esi + 0x1f8]
mov dword [esi + 0x1f4], eax
lea eax, [esp + 8]
mov dword [esi + 0x1e8], 0
push eax
push 0x8004667e
push dword [esi + 0x2c]
mov dword [esi + 0x1ec], 0
mov dword [esp + 0x14], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x8a5
mov edx, 0x6239bc
xor ecx, ecx
call fcn.004b4f80
add esp, 0xc
push 0x8a5
push str...microstackILibAsyncSocket.c
push 0x6239dc
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.005885bd
int3

Function at 0x4aca30
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ecx
push ebx
movzx ebx, word [ecx + 0x54]
mov eax, edx
mov dword [esp + 4], 0x1c
push edi
lea edi, [ecx + 0x54]
test bx, bx
je 0x4aca78
push ebp
push esi
mov esi, 0x10
cmp ebx, 0x17
mov edx, esi
mov ebp, 0x1c
cmove edx, ebp
mov ecx, eax
push edx
push edi
call fcn.00401000
add esp, 8
cmp word [edi], 0x17
cmove esi, ebp
mov eax, esi
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret
lea edx, [esp + 8]
push edx
push eax
push dword [ecx + 0x2c]
call dword [sym.imp.WS2_32.dll_getsockname]
mov eax, dword [esp + 8]
pop edi
pop ebx
pop ecx
ret

Function at 0x4aca90
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x24
mov eax, dword [0x6019e4]
xor eax, esp
mov dword [esp + 0x20], eax
movzx eax, word [ecx + 0x54]
mov dword [esp], 0x1c
cmp eax, 0x17
jne 0x4acac8
movzx eax, word [ecx + 0x56]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.005852a8
add esp, 0x24
ret
cmp eax, 2
je 0x4acaae
lea eax, [esp]
push eax
lea eax, [esp + 8]
push eax
push dword [ecx + 0x2c]
call dword [sym.imp.WS2_32.dll_getsockname]
mov ax, word [esp + 4]
cmp ax, 0x17
jne 0x4acb03
push dword [esp + 6]
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.005852a8
add esp, 0x24
ret
cmp ax, 2
je 0x4acaea
mov ecx, dword [esp + 0x20]
xor eax, eax
xor ecx, esp
call fcn.005852a8
add esp, 0x24
ret
Function at 0x4acca0
Capabilities:
Create udp socket
Set socket configuration
Terminate process

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push esi
push edi
push 0x18
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x34], ebp
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.0058db11
mov esi, eax
add esp, 4
test esi, esi
je 0x4ace07
mov eax, dword [esp + 0x34]
xorps xmm0, xmm0
mov ebx, dword [esp + 0x2c]
movups xmmword [esi], xmm0
push 0x11
movq qword [esi + 0x10], xmm0
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esi], eax
movzx eax, word [ebx]
push 2
push eax
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
je 0x4acd80
cmp ebp, 1
mov ebp, dword [sym.imp.WS2_32.dll_setsockopt]
jne 0x4acd3f
push 4
lea eax, [esp + 0x34]
push eax
push 4
push 0xffff
push edi
call ebp
test eax, eax
jne 0x4ace48
cmp word [ebx], 0x17
jne 0x4acd5b
push 4
lea eax, [esp + 0x18]
push eax
push 0x1b
push 0x29
push edi
call ebp
test eax, eax
jne 0x4ace6c
cmp word [ebx], 0x17
mov ecx, 0x1c
mov eax, 0x10
cmove eax, ecx
push eax
push ebx
push edi
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x4acd93
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
push esi
call fcn.0058c812
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push 0
push 0
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 4
lea eax, [esp + 0x34]
push eax
push 0x9800000c
push edi
call dword [sym.imp.WS2_32.dll_WSAIoctl]
movzx eax, word [ebx + 2]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push 0
push 0x4acc80
push 0x40e5e0
push 0
push 0x4acbb0
mov word [esi + 0xc], ax
call fcn.004aa700
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x4acd79
push esi
push 0x40e5e0
mov edx, edi
mov ecx, ebx
call fcn.004ac8f0
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x4c4
mov edx, 0x624148
xor ecx, ecx
call fcn.004b4f80
add esp, 0xc
push 0x4c4
push 0x624164
push 0x624180
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.005885bd
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x7f
mov edx, 0x623a84
xor ecx, ecx
call fcn.004b4f80
add esp, 0xc
push 0xfd
call fcn.005885bd
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x83
mov edx, 0x623aa8
xor ecx, ecx
call fcn.004b4f80
add esp, 0xc
push 0xfd
call fcn.005885bd
int3

Function at 0x4acea0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [ecx + 0x2c]
lea eax, [edx + 4]
push 4
push eax
mov edx, 4
lea ecx, [esp + 0x10]
call fcn.004acb20
mov eax, dword [esp + 0x1c]
add esp, 8
mov eax, dword [eax + 4]
push 8
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push 0xc
push 0
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
pop esi
add esp, 0xc
ret
Function at 0x4acee0
Capabilities:
Set socket configuration
Terminate process

Disassembly:
push ecx
cmp word [edx], 0x17
mov ecx, dword [ecx + 0x2c]
push 4
jne 0x4acf01
lea eax, [edx + 0x18]
push eax
push 9
push 0x29
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x4acf14
jmp 0x4acf16
lea eax, [edx + 4]
push eax
push 9
push 0
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x4acf3d
pop ecx
ret
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10c
mov edx, 0x623acc
xor ecx, ecx
call fcn.004b4f80
add esp, 0xc
push 0xfd
call fcn.005885bd
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x110
mov edx, 0x623af0
xor ecx, ecx
call fcn.004b4f80
add esp, 0xc
push 0xfd
call fcn.005885bd
int3

Function at 0x4acf70
Capabilities:
Get local ipv4 addresses
Get socket information
Set socket configuration
Terminate process

Disassembly:
sub esp, 0x2c
mov eax, dword [0x6019e4]
xor eax, esp
mov dword [esp + 0x28], eax
movzx eax, word [ecx + 0x54]
push esi
mov esi, dword [ecx + 0x2c]
add ecx, 0x54
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x1c
push edi
test ax, ax
je 0x4acfbb
cmp eax, 0x17
mov edx, 0x10
mov edi, 0x1c
cmove edx, edi
push edx
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401000
add esp, 8
jmp 0x4acfcc
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
push 4
lea eax, [esp + 0x14]
mov ecx, 0x29
push eax
xor eax, eax
cmp word [esp + 0x1c], 0x17
push 0xa
cmove eax, ecx
push eax
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x4ad002
mov ecx, dword [esp + 0x30]
pop edi
pop esi
xor ecx, esp
call fcn.005852a8
add esp, 0x2c
ret
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x126
mov edx, 0x623b14
xor ecx, ecx
call fcn.004b4f80
add esp, 0xc
push 0xfd
call fcn.005885bd
int3

Function at 0x4ad030
Capabilities:
Get local ipv4 addresses
Get socket information
Set socket configuration
Terminate process

Disassembly:
sub esp, 0x2c
mov eax, dword [0x6019e4]
xor eax, esp
mov dword [esp + 0x28], eax
movzx eax, word [ecx + 0x54]
push esi
mov esi, dword [ecx + 0x2c]
add ecx, 0x54
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x1c
push edi
test ax, ax
je 0x4ad07b
cmp eax, 0x17
mov edx, 0x10
mov edi, 0x1c
cmove edx, edi
push edx
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401000
add esp, 8
jmp 0x4ad08c
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
push 4
lea eax, [esp + 0x14]
mov ecx, 0x29
push eax
xor eax, eax
cmp word [esp + 0x1c], 0x17
push 0xb
cmove eax, ecx
push eax
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x4ad0c2
mov ecx, dword [esp + 0x30]
pop edi
pop esi
xor ecx, esp
call fcn.005852a8
add esp, 0x2c
ret
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x134
mov edx, str...microstackILibAsyncUDPSocket.c
xor ecx, ecx
call fcn.004b4f80
add esp, 0xc
push 0xfd
call fcn.005885bd
int3
Function at 0x4ad3b0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
push 0x623b64
push ecx
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
mov esi, edx
call fcn.0058c7cb
mov eax, dword [esp + 0x10]
add esp, 0xc
test eax, eax
je 0x4ad3f9
push eax
push 1
push dword [esp + 0x14]
push esi
call fcn.0058c4f0
push dword [esp + 0x14]
mov esi, eax
call fcn.00588cf7
add esp, 0x14
mov eax, esi
pop esi
pop ecx
ret 4
xor eax, eax
pop esi
pop ecx
ret 4

Function at 0x4ad400
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push esi
xor esi, esi
mov dword [esp + 8], 0
mov ebx, edx
test ecx, ecx
jne 0x4ad41b
pop esi
xor eax, eax
pop ebx
pop ecx
ret 4
push edi
push 0x623b68
push ecx
lea eax, [esp + 0x14]
push eax
call fcn.0058c7cb
mov eax, dword [esp + 0x18]
add esp, 0xc
test eax, eax
je 0x4ad4cb
cmp dword [ebx], esi
jne 0x4ad492
push 2
push 0
push eax
call fcn.005890ed
push dword [esp + 0x18]
call fcn.00588b2a
mov edi, eax
mov eax, 0x400
push 0
cmp edi, eax
push 0
push dword [esp + 0x24]
cmova edi, eax
call fcn.005890ed
lea eax, [edi + 1]
push eax
call fcn.0058db11
add esp, 0x20
mov dword [ebx], eax
test eax, eax
jne 0x4ad4b3
push dword [esp + 0xc]
call fcn.00588cf7
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov edi, 0x3ff
cmp esi, edi
jae 0x4ad4b9
push eax
mov eax, edi
sub eax, esi
push eax
push 1
push dword [ebx]
call fcn.0058d9e0
add esp, 0x10
add esi, eax
test eax, eax
je 0x4ad4b9
mov eax, dword [esp + 0xc]
jmp 0x4ad497
mov ecx, dword [ebx]
mov byte [esi + ecx], 0
push dword [esp + 0xc]
call fcn.00588cf7
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
ret 4

Function at 0x4ad4e0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x13c
mov eax, dword [0x6019e4]
xor eax, esp
mov dword [esp + 0x138], eax
mov eax, dword [0x62b150]
inc eax
mov dword [0x62b150], eax
push esi
cmp eax, 1
jg 0x4ad5ab
push 0
push 0
push 0
call fcn.00566850
push 0
push 0
push 0x200002
call fcn.00566850
push 0
push 0
push 2
call fcn.004e1c80
push 0
push 0
push 0xc
call fcn.004e1c80
push 0
push 0
push 4
call fcn.004e1c80
push 0
push 0
push 8
call fcn.004e1c80
add esp, 0x48
push str.ADVAPI32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4ad5ab
push str.SystemFunction036
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4ad5a4
push 0x40
lea ecx, [esp + 0x3c]
push ecx
call eax
test al, al
je 0x4ad5a4
movsd xmm0, qword [0x5f1f08]
lea eax, [esp + 0x38]
sub esp, 8
movsd qword [esp], xmm0
push 0x40
push eax
call fcn.004e3100
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x13c]
pop esi
xor ecx, esp
call fcn.005852a8
mov esp, ebp
pop ebp
ret
Function at 0x4adda0
Capabilities:
Create udp socket
Terminate process

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, edx
lea eax, [esp + 0x10]
push edi
xor edx, edx
mov ebx, ecx
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [edx + 0x2c]
call fcn.004aeee0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push 0x24
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [edi + 0x14], str.ILibIPAddressMonitor
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], eax
call fcn.0058db11
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x4adea2
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
push 0
movups xmmword [ecx + 0x10], xmm0
mov dword [ecx + 0x20], 0
mov dword [ecx], 0x14
mov dword [ecx + 4], 0
mov eax, dword [0x624130]
mov dword [ecx + 8], eax
lea eax, [ecx + 0x10]
mov dword [ecx + 0xc], 0
push 2
mov dword [edi + 0x28], eax
push 2
mov dword [eax + 0x10], edi
call dword [sym.imp.WS2_32.dll_socket]
push 0x4adc80
push dword [edi + 0x28]
mov ecx, eax
lea eax, [edi + 0x24]
push eax
push 0
push 0
push 0
push 0
push 0x28000017
push ecx
mov dword [edi + 0x20], ecx
call dword [sym.imp.WS2_32.dll_WSAIoctl]
mov dword [edi + 8], 0x4add70
mov esi, dword [ebx + 0x2f0]
mov ecx, esi
call fcn.004b3590
mov ecx, eax
mov dword [ecx], edi
mov dword [ecx + 4], esi
mov dword [ecx + 8], 0
mov eax, dword [esi + 0x10]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4ade87
mov dword [eax + 8], ecx
cmp dword [esi + 0xc], 0
mov dword [esi + 0x10], ecx
jne 0x4ade93
mov dword [esi + 0xc], ecx
inc dword [esi + 4]
mov eax, edi
mov dword [edi + 0xc], ebx
pop edi
pop esi
pop ebx
add esp, 0xc
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x46d
mov edx, 0x6240d4
xor ecx, ecx
call fcn.004b4f80
add esp, 0xc
push 0x46d
push 0x6240f0
push 0x62410c
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.005885bd
int3
Function at 0x4ae460
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
push ecx
push ebx
mov ebx, ecx
mov dword [esp + 4], edx
push esi
xor esi, esi
cmp dword [ebx + 0x6c], esi
jle 0x4ae4cb
push ebp
push edi
xor ebp, ebp
mov eax, dword [ebx + 0x20]
cmp dword [eax + esi*4], 0
je 0x4ae4c0
mov eax, dword [ebx + 0x18]
push 4
mov edi, dword [eax + 0x2c]
mov eax, dword [ebx + 0x68]
add eax, 4
add eax, ebp
push eax
push 9
push 0
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea eax, [ebx + 0x2c]
push eax
push 0xa
push 0
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0x10
push dword [esp + 0x14]
push 0
push 0x60
push 0x62d420
push edi
call dword [sym.imp.WS2_32.dll_sendto]
inc esi
add ebp, 0x10
cmp esi, dword [ebx + 0x6c]
jl 0x4ae474
pop edi
pop ebp
pop esi
pop ebx
pop ecx
ret
Function at 0x4ae8f0
Capabilities:
Terminate process

Disassembly:
mov eax, 0x261c
call fcn.00585720
mov eax, dword [0x6019e4]
xor eax, esp
mov dword [esp + 0x2614], eax
push ebx
push ebp
push esi
push edi
xor esi, esi
mov dword [esp + 0x18], ecx
push esi
push 2
push 2
mov dword [ecx], esi
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
jne 0x4ae92f
xor eax, eax
jmp 0x4aea15
push 0
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0x2600
lea ecx, [esp + 0x30]
push ecx
push 0
push 0
push 0x4004747f
push eax
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x4ae95f
mov dword [esp + 0x14], esi
jmp 0x4aea09
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4aea09
mov eax, 0xaf286bcb
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 6
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x4ae998
lea eax, [esp + 0x28]
cmp dword [eax], 0x100007f
je 0x4ae990
inc esi
add eax, 0x4c
sub ecx, 1
jne 0x4ae987
shl esi, 4
push esi
call fcn.0058db11
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [ecx], eax
test eax, eax
je 0x4aea2e
mov eax, dword [esp + 0x14]
xor esi, esi
xor ebx, ebx
test eax, eax
je 0x4aea09
xor ebp, ebp
lea edi, [esp + 0x24]
cmp dword [edi + 4], 0x100007f
je 0x4aea01
mov eax, dword [ecx]
add eax, ebp
je 0x4ae9e5
test edi, edi
je 0x4ae9df
movups xmm0, xmmword [edi]
movups xmmword [eax], xmm0
jmp 0x4ae9f9
xorps xmm0, xmm0
movups xmmword [eax], xmm0
call fcn.0058c5c1
mov dword [eax], 0x16
call fcn.0058c19e
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
inc esi
add ebp, 0x10
inc ebx
add edi, 0x4c
cmp ebx, eax
jb 0x4ae9c4
push dword [esp + 0x1c]
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, esi
mov ecx, dword [esp + 0x2624]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005852a8
add esp, 0x261c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x1fa
mov edx, 0x623ea0
xor ecx, ecx
call fcn.004b4f80
add esp, 0xc
push 0x1fa
push 0x623ebc
push 0x623ed8
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.005885bd
int3