joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a9490
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 0x4a9607
mov ecx, dword [edi + 0x2c]
lea eax, [esp + 0x10]
push eax
push 0
mov edx, 0x48
call fcn.0042f6e0
mov edx, eax
add esp, 8
test edx, edx
je 0x4a961b
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 0x4a9631
push 0x48
push 0
push esi
call fcn.005869c0
add esp, 0xc
mov dword [esi], 0x38
mov dword [esi + 4], 0
lea ebx, [esi + 0x10]
mov eax, dword [0x61c4d0]
mov edx, 0xfffffffe
mov ecx, edi
mov dword [esi + 8], eax
push 0x61b79c
mov dword [esi + 0xc], 2
call fcn.0040f8b0
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 0x4a9545
lea eax, [ecx + edx*8]
test eax, eax
jne 0x4a954a
mov eax, 0x5ed574
mov ecx, 0xfff8
cmp word [eax + 6], cx
jae 0x4a9559
xor eax, eax
jmp 0x4a955b
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.0045f800
mov esi, eax
mov edx, 0x61b7b4
mov ecx, esi
call fcn.004606c0
mov edx, 0x61b7bc
mov ecx, esi
call fcn.004606c0
mov edx, str.drain
mov ecx, esi
call fcn.004606c0
mov edx, str.finish
mov ecx, esi
call fcn.004606c0
mov edx, str.error
mov ecx, esi
call fcn.004606c0
push ecx
push 0x4a8650
mov edx, str.write
mov ecx, edi
call fcn.00471000
push 0x4a8b90
mov edx, 0x61b7e4
mov ecx, edi
call fcn.004702c0
add esp, 0xc
mov ecx, edi
push 0x4a8f50
push str.pipe
call fcn.00462140
push 0x4a8bb0
push str.unpipe
mov ecx, edi
call fcn.00462140
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, 0x6045c0
call fcn.0040d110
push str.alloc_failed
push 0x100147e
mov edx, 0x6045f0
mov ecx, edi
call fcn.0040d110
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x46d
mov edx, 0x61c474
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0x46d
push 0x61c490
push 0x61c4ac
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.00587d2d
int3
Function at 0x4a9f90
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.004ae770
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], 0x4a9f60
mov dword [esi + 0x1c], fcn.004aa730
mov dword [esi + 0x20], fcn.004abfd0
mov dword [esi + 0xc], ebx
test edi, edi
je 0x4aa002
push edi
call fcn.0058d200
add esp, 4
mov dword [esi + 0x1f0], eax
test eax, eax
jne 0x4aa011
jmp 0x4aa0c6
mov edi, 0xffff
mov dword [esi + 0x1f0], 0x6357a0
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], 0x4ab4d0
mov dword [esi + 4], 0x4ab7e0
mov dword [esi + 8], 0x4a9e70
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.004b2df0
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 0x4aa0ab
mov dword [eax + 8], ecx
cmp dword [edi + 0xc], 0
mov dword [edi + 0x10], ecx
jne 0x4aa0b7
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, 0x61b95c
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0x1c8
push 0x61b97c
push 0x61b99c
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.00587d2d
int3
Function at 0x4aac90
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 0x4aad73
cmp dword [esi + 0x200], 0
jne 0x4aad73
cmp dword [esi + 0x1e4], 0
jne 0x4aace2
push 0x30
call fcn.0058d200
mov edi, eax
add esp, 4
test edi, edi
jne 0x4aad39
jmp 0x4aad89
push 0xf
push dword [esi + 0x228]
call fcn.004ded20
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 0x4aad73
mov eax, dword [esi + 0x230]
mov edx, dword [eax]
cmp ecx, edx
jge 0x4aad5d
add dword [eax + 4], ecx
mov eax, dword [esi + 0x230]
push 0x30
sub dword [eax], ecx
call fcn.0058d200
mov edi, eax
add esp, 4
test edi, edi
je 0x4aadca
push 0x30
push 0
push edi
call fcn.005869c0
mov dword [edi + 0x28], 3
add esp, 0xc
mov dword [esi + 0x200], edi
mov dword [esi + 0x1fc], edi
xor edi, edi
jmp 0x4aad73
jne 0x4aad73
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, 0x61c4e8
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0x4c4
push 0x61c504
push 0x61c520
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.00587d2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x4c4
mov edx, 0x61c4e8
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0x4c4
push 0x61c504
push 0x61c520
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.00587d2d
int3
Function at 0x4ac180
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, 0x6357a0
je 0x4ac1f8
push dword [esi + 0x1f8]
push eax
call fcn.00591c5f
add esp, 8
test eax, eax
je 0x4ac229
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, 0x61bd5c
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0x8a5
push str...microstackILibAsyncSocket.c
push 0x61bd7c
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.00587d2d
int3

Function at 0x4ac2c0
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 0x4ac308
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 0x4ac320
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x24
mov eax, dword [0x6009e4]
xor eax, esp
mov dword [esp + 0x20], eax
movzx eax, word [ecx + 0x54]
mov dword [esp], 0x1c
cmp eax, 0x17
jne 0x4ac358
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.00584a28
add esp, 0x24
ret
cmp eax, 2
je 0x4ac33e
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 0x4ac393
push dword [esp + 6]
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00584a28
add esp, 0x24
ret
cmp ax, 2
je 0x4ac37a
mov ecx, dword [esp + 0x20]
xor eax, eax
xor ecx, esp
call fcn.00584a28
add esp, 0x24
ret
Function at 0x4ac530
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.0058d200
mov esi, eax
add esp, 4
test esi, esi
je 0x4ac697
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 0x4ac610
cmp ebp, 1
mov ebp, dword [sym.imp.WS2_32.dll_setsockopt]
jne 0x4ac5cf
push 4
lea eax, [esp + 0x34]
push eax
push 4
push 0xffff
push edi
call ebp
test eax, eax
jne 0x4ac6d8
cmp word [ebx], 0x17
jne 0x4ac5eb
push 4
lea eax, [esp + 0x18]
push eax
push 0x1b
push 0x29
push edi
call ebp
test eax, eax
jne 0x4ac6fc
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 0x4ac623
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
push esi
call fcn.0058bf82
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 0x4ac510
push 0x40dd80
push 0
push 0x4ac440
mov word [esi + 0xc], ax
call fcn.004a9f90
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x4ac609
push esi
push 0x40dd80
mov edx, edi
mov ecx, ebx
call fcn.004ac180
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, 0x61c4e8
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0x4c4
push 0x61c504
push 0x61c520
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.00587d2d
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x7f
mov edx, 0x61be24
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0xfd
call fcn.00587d2d
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x83
mov edx, 0x61be48
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0xfd
call fcn.00587d2d
int3

Function at 0x4ac730
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.004ac3b0
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 0x4ac770
Capabilities:
Set socket configuration
Terminate process

Disassembly:
push ecx
cmp word [edx], 0x17
mov ecx, dword [ecx + 0x2c]
push 4
jne 0x4ac791
lea eax, [edx + 0x18]
push eax
push 9
push 0x29
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x4ac7a4
jmp 0x4ac7a6
lea eax, [edx + 4]
push eax
push 9
push 0
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x4ac7cd
pop ecx
ret
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10c
mov edx, 0x61be6c
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0xfd
call fcn.00587d2d
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x110
mov edx, 0x61be90
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0xfd
call fcn.00587d2d
int3

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

Disassembly:
sub esp, 0x2c
mov eax, dword [0x6009e4]
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 0x4ac84b
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 0x4ac85c
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 0x4ac892
mov ecx, dword [esp + 0x30]
pop edi
pop esi
xor ecx, esp
call fcn.00584a28
add esp, 0x2c
ret
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x126
mov edx, 0x61beb4
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0xfd
call fcn.00587d2d
int3

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

Disassembly:
sub esp, 0x2c
mov eax, dword [0x6009e4]
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 0x4ac90b
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 0x4ac91c
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 0x4ac952
mov ecx, dword [esp + 0x30]
pop edi
pop esi
xor ecx, esp
call fcn.00584a28
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.004b47e0
add esp, 0xc
push 0xfd
call fcn.00587d2d
int3
Function at 0x4acc40
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
push 0x61bf04
push ecx
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
mov esi, edx
call fcn.0058bf3b
mov eax, dword [esp + 0x10]
add esp, 0xc
test eax, eax
je 0x4acc89
push eax
push 1
push dword [esp + 0x14]
push esi
call fcn.0058bc60
push dword [esp + 0x14]
mov esi, eax
call fcn.00588467
add esp, 0x14
mov eax, esi
pop esi
pop ecx
ret 4
xor eax, eax
pop esi
pop ecx
ret 4

Function at 0x4acc90
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 0x4accab
pop esi
xor eax, eax
pop ebx
pop ecx
ret 4
push edi
push 0x61bf08
push ecx
lea eax, [esp + 0x14]
push eax
call fcn.0058bf3b
mov eax, dword [esp + 0x18]
add esp, 0xc
test eax, eax
je 0x4acd5b
cmp dword [ebx], esi
jne 0x4acd22
push 2
push 0
push eax
call fcn.0058885d
push dword [esp + 0x18]
call fcn.0058829a
mov edi, eax
mov eax, 0x400
push 0
cmp edi, eax
push 0
push dword [esp + 0x24]
cmova edi, eax
call fcn.0058885d
lea eax, [edi + 1]
push eax
call fcn.0058d200
add esp, 0x20
mov dword [ebx], eax
test eax, eax
jne 0x4acd43
push dword [esp + 0xc]
call fcn.00588467
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov edi, 0x3ff
cmp esi, edi
jae 0x4acd49
push eax
mov eax, edi
sub eax, esi
push eax
push 1
push dword [ebx]
call fcn.0058d150
add esp, 0x10
add esi, eax
test eax, eax
je 0x4acd49
mov eax, dword [esp + 0xc]
jmp 0x4acd27
mov ecx, dword [ebx]
mov byte [esi + ecx], 0
push dword [esp + 0xc]
call fcn.00588467
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
ret 4

Function at 0x4acd70
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x13c
mov eax, dword [0x6009e4]
xor eax, esp
mov dword [esp + 0x138], eax
mov eax, dword [0x6234d0]
inc eax
mov dword [0x6234d0], eax
push esi
cmp eax, 1
jg 0x4ace3b
push 0
push 0
push 0
call fcn.00565fe0
push 0
push 0
push 0x200002
call fcn.00565fe0
push 0
push 0
push 2
call fcn.004e13b0
push 0
push 0
push 0xc
call fcn.004e13b0
push 0
push 0
push 4
call fcn.004e13b0
push 0
push 0
push 8
call fcn.004e13b0
add esp, 0x48
push str.ADVAPI32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4ace3b
push str.SystemFunction036
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4ace34
push 0x40
lea ecx, [esp + 0x3c]
push ecx
call eax
test al, al
je 0x4ace34
movsd xmm0, qword [0x5f0f08]
lea eax, [esp + 0x38]
sub esp, 8
movsd qword [esp], xmm0
push 0x40
push eax
call fcn.004e2830
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x13c]
pop esi
xor ecx, esp
call fcn.00584a28
mov esp, ebp
pop ebp
ret
Function at 0x4ad630
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.004ae770
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.0058d200
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x4ad732
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 [0x61c4d0]
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 0x4ad510
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], 0x4ad600
mov esi, dword [ebx + 0x2f0]
mov ecx, esi
call fcn.004b2df0
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 0x4ad717
mov dword [eax + 8], ecx
cmp dword [esi + 0xc], 0
mov dword [esi + 0x10], ecx
jne 0x4ad723
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, 0x61c474
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0x46d
push 0x61c490
push 0x61c4ac
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.00587d2d
int3
Function at 0x4adcf0
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 0x4add5b
push ebp
push edi
xor ebp, ebp
mov eax, dword [ebx + 0x20]
cmp dword [eax + esi*4], 0
je 0x4add50
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 0x6257a0
push edi
call dword [sym.imp.WS2_32.dll_sendto]
inc esi
add ebp, 0x10
cmp esi, dword [ebx + 0x6c]
jl 0x4add04
pop edi
pop ebp
pop esi
pop ebx
pop ecx
ret
Function at 0x4ae180
Capabilities:
Terminate process

Disassembly:
mov eax, 0x261c
call fcn.00584ea0
mov eax, dword [0x6009e4]
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 0x4ae1bf
xor eax, eax
jmp 0x4ae2a5
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 0x4ae1ef
mov dword [esp + 0x14], esi
jmp 0x4ae299
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4ae299
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 0x4ae228
lea eax, [esp + 0x28]
cmp dword [eax], 0x100007f
je 0x4ae220
inc esi
add eax, 0x4c
sub ecx, 1
jne 0x4ae217
shl esi, 4
push esi
call fcn.0058d200
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [ecx], eax
test eax, eax
je 0x4ae2be
mov eax, dword [esp + 0x14]
xor esi, esi
xor ebx, ebx
test eax, eax
je 0x4ae299
xor ebp, ebp
lea edi, [esp + 0x24]
cmp dword [edi + 4], 0x100007f
je 0x4ae291
mov eax, dword [ecx]
add eax, ebp
je 0x4ae275
test edi, edi
je 0x4ae26f
movups xmm0, xmmword [edi]
movups xmmword [eax], xmm0
jmp 0x4ae289
xorps xmm0, xmm0
movups xmmword [eax], xmm0
call fcn.0058bd31
mov dword [eax], 0x16
call fcn.0058b90e
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
inc esi
add ebp, 0x10
inc ebx
add edi, 0x4c
cmp ebx, eax
jb 0x4ae254
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.00584a28
add esp, 0x261c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x1fa
mov edx, 0x61c240
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0x1fa
push 0x61c25c
push 0x61c278
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.00587d2d
int3