joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100087b0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x1014bb94]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
test edi, edi
je 0x10008820
call fcn.100a31a0
test al, al
je 0x10008820
mov eax, 0x80
push 0x7e
mov word [ebp - 0x90], ax
lea eax, [ebp - 0x8e]
push 0
push eax
call fcn.100e5000
add esp, 0xc
mov dword [ebp - 8], 0x80
lea eax, [ebp - 8]
mov ecx, esi
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.100a3250
cmp dword [ebp + 8], 0
push eax
je 0x10008834
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x1000883e
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e3d0f
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x10008820
xorps xmm0, xmm0
lea ecx, [ebp - 0x10]
movlpd qword [ebp - 0x10], xmm0
call fcn.100a1ae0
push dword [ebp - 8]
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x10]
call fcn.100a2300
lea ecx, [ebp - 0x10]
test eax, eax
jne 0x10008880
call fcn.100a1af0
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e3d0f
mov esp, ebp
pop ebp
ret 8
push edi
call fcn.100a2ca0
lea ecx, [ebp - 0x10]
call fcn.100a1af0
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.100e3d0f
mov esp, ebp
pop ebp
ret 8
Function at 0x1000aea0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10106ec2
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1014bb94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
cmp dword [ebp + 0x18], 0
mov dword [ebp - 0x10], 0
je 0x1000aefc
mov dword [edi + 0x84], 0x10115360
mov dword [edi + 0x448], 0x10114a48
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov ebx, dword [ebp + 8]
mov ecx, edi
push 0
push str.ENETConnector
push str.RvEnetConnect.dll
push 2
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push ebx
call fcn.100062e0
mov eax, dword [edi + 0x84]
mov dword [edi], vtable.RolClient::CENETConnector.0
mov dword [edi + 8], vtable.RolClient::CENETConnector.1.0
mov dword [edi + 0x18], vtable.RolClient::CENETConnector.2.0
mov dword [edi + 0x68], vtable.RolClient::CENETConnector.3.0
mov dword [edi + 0x70], vtable.RolClient::CENETConnector.4.0
mov dword [edi + 0x78], vtable.RolClient::CENETConnector.5.0
mov dword [edi + 0x88], vtable.RolClient::CENETConnector.6.0
mov eax, dword [eax + 4]
mov dword [ebp - 4], 1
mov dword [eax + edi + 0x84], 0x10115358
mov eax, dword [edi + 0x84]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x3c4]
mov dword [ecx + edi + 0x80], eax
test ebx, ebx
je 0x1000afaf
mov edx, dword [ebx + 0xc0]
test edx, edx
je 0x1000afaf
lea ebx, [edi + 0x318]
mov esi, ebx
add edx, 8
je 0x1000afb7
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov eax, dword [edx + 8]
mov dword [esi + 8], eax
mov eax, dword [edx + 0xc]
jmp 0x1000afd4
lea ebx, [edi + 0x318]
mov esi, ebx
mov eax, dword [0x10115258]
lea edx, [esi]
mov ecx, dword [0x1011525c]
mov dword [esi], eax
xor eax, eax
mov dword [esi + 4], ecx
mov esi, ebx
mov dword [edx + 8], 0
push edi
push dword [ebp + 0xc]
mov dword [esi + 0xc], eax
lea ecx, [edi + 0x328]
mov eax, dword [ebp + 8]
push dword [ebp + 0x14]
push dword [eax + 0x74]
call fcn.10010480
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
push 0
push eax
lea ecx, [edi + 0x390]
call fcn.100a2f70
mov dword [edi + 0x3dc], 0
push 0
push 0
push 1
push 0
lea ecx, [edi + 0x3e0]
call fcn.100a0af0
xor eax, eax
lea ecx, [edi + 0x3ec]
push eax
push eax
push 1
push eax
mov word [edi + 0x3e8], ax
call fcn.100a0af0
push 0
lea ecx, [edi + 0x400]
call fcn.1000add0
push 1
push 0x10113470
lea ecx, [edi + 0x408]
call fcn.10079260
mov dword [edi + 0x3f8], 0x101152b0
mov ecx, dword [edi + 0x74]
xor eax, eax
mov byte [ebp - 4], 6
mov word [edi + 0x430], ax
mov dword [edi + 0x434], eax
mov dword [edi + 0x438], eax
test ecx, ecx
je 0x1000b0b0
cmp dword [edi + 0x9c], eax
je 0x1000b0b0
call fcn.10003720
test al, al
je 0x1000b0a5
mov eax, dword [edi + 0x9c]
cmp dword [eax + 0x4c], 0x1d
jb 0x1000b0b0
lea ecx, [edi + 0x3e0]
call fcn.100a0dc0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x1000fc40
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010730d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x1014bb94]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1000fd12
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
push edi
push dword [ebp + 0xc]
call fcn.1000e3f0
mov esi, dword [ebp - 0x14]
test eax, eax
je 0x1000fcf2
test esi, esi
je 0x1000fcf2
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x1000fcf2
test edi, edi
je 0x1000fceb
mov ecx, edi
call fcn.100a1e50
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x1000fce8
mov ecx, edi
call fcn.100a22f0
mov ecx, dword [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
push 0
push ebx
push esi
call fcn.100a3250
push eax
call dword [sym.imp.WS2_32.dll_sendto]
mov esi, dword [ebp - 0x14]
mov edi, 1
jmp 0x1000fcf4
xor edi, edi
mov dword [ebp - 4], 3
mov dword [ebp - 0x18], 0
test esi, esi
je 0x1000fd10
push esi
call dword [0x10143130]
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100e3d0f
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1000fd30
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010734d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x1014bb94]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov esi, dword [ebp + 0x10]
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
push esi
push dword [ebp + 0xc]
call fcn.1000e380
test eax, eax
jne 0x1000fd96
xor esi, esi
jmp 0x1000fddc
mov ebx, dword [ebp - 0x14]
add esi, 0x18
test ebx, ebx
je 0x1000fdd7
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x1000fdd7
test esi, esi
je 0x1000fdd7
mov ecx, esi
call fcn.100a1e50
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x1000fdd7
mov ecx, esi
call fcn.100a22f0
mov ecx, dword [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
push 0
push edi
push ebx
call fcn.100a3250
push eax
call dword [sym.imp.WS2_32.dll_sendto]
mov esi, 1
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 2
mov dword [ebp - 0x18], 0
test ecx, ecx
je 0x1000fdfb
push ecx
call dword [0x10143130]
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100e3d0f
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10017ef0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1014bb94]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
test eax, eax
je 0x10018080
cmp dword [edi + 0x74], 0
je 0x10018080
cmp dword [edi + 0x1c8], 0
je 0x10018080
add ebx, 4
cmp dword [ebx], ebx
je 0x100180e0
cmp byte [edi + 0x31d], 0
je 0x100180e0
push 6
push 1
push 2
lea ecx, [edi + 0x324]
call fcn.100168d0
test al, al
je 0x10018080
lea ecx, [edi + 0x324]
mov dword [ebp - 0x14], 1
call fcn.100a31a0
test al, al
je 0x10018080
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push 0xffff
lea ecx, [edi + 0x324]
call fcn.100a3250
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x10018080
lea ecx, [edi + 0x324]
call fcn.10016630
test eax, eax
je 0x10018080
xorps xmm0, xmm0
lea ecx, [ebp - 0xc]
movlpd qword [ebp - 0xc], xmm0
call fcn.100a1ae0
lea eax, [ebp - 0xc]
push eax
push 0
lea ecx, [edi + 0x324]
call fcn.100087b0
test eax, eax
je 0x10018078
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
lea ecx, [ebp - 0xc]
call fcn.100a22b0
test eax, eax
je 0x10018078
mov esi, dword [ebx]
test esi, esi
je 0x10018020
cmp esi, ebx
je 0x10018020
push dword [ebp - 0x10]
lea ecx, [esi + 8]
call fcn.1009d020
mov ecx, dword [ebp - 0x18]
push eax
call fcn.100139e0
test al, al
je 0x10018078
test esi, esi
je 0x10018020
mov esi, dword [esi]
jmp 0x10017ff8
mov eax, dword [edi + 0x320]
test eax, eax
je 0x10018078
mov ecx, dword [ebp - 0x18]
push eax
call fcn.10016550
test al, al
je 0x10018078
movzx eax, byte [edi + 0x31d]
mov ecx, dword [edi + 0x1c8]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
call fcn.10016ea0
test al, al
jne 0x100180d8
mov ecx, dword [edi + 0x1c8]
lea edi, [edi + 0x78]
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
je 0x10018095
mov eax, dword [ecx]
call dword [eax]
push eax
mov ecx, edi
call fcn.1000ac00
lea ecx, [ebp - 0xc]
call fcn.100a1af0
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e3d0f
mov esp, ebp
pop ebp
ret 8
lea edx, [edi + 4]
mov ecx, 0xf423f
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x100180b8
mov ecx, 5
lea eax, [edx + 4]
xchg dword [eax], ecx
mov eax, 1
xchg dword [edx], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi + 0xc]
mov esi, eax
mov ecx, dword [ecx + 4]
add ecx, 0xc
add ecx, edi
mov edx, dword [ecx]
call dword [edx]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x10018078
lea ecx, [ebp - 0xc]
call fcn.100a1af0
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100e3d0f
mov esp, ebp
pop ebp
ret 8
Function at 0x10018100
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1014bb94]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 8]
test eax, eax
je 0x10018261
cmp dword [ebx + 0x1c8], 0
je 0x10018261
add edi, 4
cmp dword [edi], edi
je 0x100182c1
cmp byte [ebx + 0x31d], 0
je 0x100182c1
push 6
push 1
lea esi, [ebx + 0x374]
push 0x17
mov ecx, esi
call fcn.100a3090
test al, al
je 0x10018261
lea eax, [esi + 0x4c]
push 0
push eax
call fcn.100062d0
add esp, 8
mov dword [ebp - 0x14], 1
mov ecx, esi
call fcn.100a31a0
test al, al
je 0x10018261
push 4
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
push 4
push 0xffff
call fcn.100a3250
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x10018261
mov ecx, esi
call fcn.10016630
test eax, eax
je 0x10018261
xorps xmm0, xmm0
lea ecx, [ebp - 0xc]
movlpd qword [ebp - 0xc], xmm0
call fcn.100a1ae0
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
push 0
call fcn.100087b0
test eax, eax
je 0x10018259
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
lea ecx, [ebp - 0xc]
call fcn.100a22b0
test eax, eax
je 0x10018259
mov esi, dword [edi]
test esi, esi
je 0x1001821e
cmp esi, edi
je 0x1001821e
push dword [ebp - 0x10]
lea ecx, [esi + 8]
call fcn.1009d020
mov ecx, dword [ebp - 0x18]
push eax
call fcn.100139e0
test al, al
je 0x10018259
test esi, esi
je 0x1001821e
mov esi, dword [esi]
jmp 0x100181f6
mov ecx, dword [ebx + 0x1c8]
lea eax, [ebp - 0xc]
push 1
push 0
push eax
call fcn.10016ea0
test al, al
jne 0x100182b9
mov ecx, dword [ebx + 0x1c8]
lea ebx, [ebx + 0x78]
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
je 0x10018276
mov eax, dword [ecx]
call dword [eax]
push eax
mov ecx, ebx
call fcn.1000ac00
lea ecx, [ebp - 0xc]
call fcn.100a1af0
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e3d0f
mov esp, ebp
pop ebp
ret 8
lea edx, [ebx + 4]
mov ecx, 0xf423f
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x10018299
mov ecx, 5
lea eax, [edx + 4]
xchg dword [eax], ecx
mov eax, 1
xchg dword [edx], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 0xc]
mov esi, eax
mov ecx, dword [ecx + 4]
add ecx, 0xc
add ecx, ebx
mov edx, dword [ecx]
call dword [edx]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x10018259
lea ecx, [ebp - 0xc]
call fcn.100a1af0
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100e3d0f
mov esp, ebp
pop ebp
ret 8
Function at 0x10035cf0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push ebx
push esi
push edi
test eax, eax
je 0x10035e08
mov dword [eax], 0
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x10035d1a
mov dword [eax], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10035d2e
mov dword [eax + 4], 0
mov dword [eax], 0
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x10035d39
xor edi, edi
jmp 0x10035d71
mov edx, ebx
mov edi, 0x811c9dc5
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10035d43
sub edx, ecx
mov esi, 0
sar edx, 1
je 0x10035d71
nop dword [eax]
movzx ecx, word [ebx + esi*2]
inc esi
imul edi, edi, 0x1000193
xor edi, ecx
cmp esi, edx
jb 0x10035d60
mov eax, dword [ebp + 0xc]
and edi, 0x7f
mov ecx, dword [ebp - 4]
mov dword [eax], 0
lea eax, [edi + edi*2]
lea eax, [ecx + eax*4]
mov dword [ebp - 8], eax
add eax, 0xc
mov esi, dword [eax]
test esi, esi
je 0x10035e13
cmp esi, eax
je 0x10035e13
lea edi, [esi + 8]
test edi, edi
je 0x10035e13
mov ecx, edi
call fcn.1009d040
test ebx, ebx
je 0x10035ddd
test eax, eax
je 0x10035de1
mov ecx, ebx
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10035dd8
test dx, dx
je 0x10035dd4
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10035dd8
add ecx, 4
add eax, 4
test dx, dx
jne 0x10035db2
xor eax, eax
jmp 0x10035ddd
sbb eax, eax
or eax, 1
test eax, eax
je 0x10035df3
test esi, esi
je 0x10035e13
mov esi, dword [esi]
test esi, esi
je 0x10035e13
mov eax, dword [ebp - 8]
add eax, 0xc
jmp 0x10035d96
mov ecx, dword [ebp + 0xc]
lea eax, [edi + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x10035e08
mov dword [eax], 1
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push ebx
call fcn.10035f60
mov edi, eax
mov eax, dword [ebp - 4]
and edi, 0x7f
push 0x1012266c
push 0x20
lea ecx, [edi + edi*2]
lea ebx, [eax + ecx*4]
call fcn.100e3d2b
mov esi, eax
add esp, 0xc
test esi, esi
je 0x10035e08
lea ecx, [esi + 8]
mov dword [esi], esi
mov dword [esi + 4], esi
call fcn.1009caa0
lea ecx, [esi + 0x14]
call fcn.1009caa0
lea edx, [ebx + 0xc]
cmp esi, dword [esi + 4]
jne 0x10035e69
mov dword [esi], edx
mov eax, dword [edx + 4]
mov dword [esi + 4], eax
mov eax, dword [edx + 4]
mov dword [eax], esi
mov dword [edx + 4], esi
lea eax, [esi + 8]
test eax, eax
je 0x10035e08
push dword [ebp + 8]
mov ecx, eax
call fcn.1009ced0
test eax, eax
jne 0x10035e93
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
push esi
call dword [eax + 4]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10035e9f
mov dword [eax + 4], edi
mov dword [eax], esi
mov ecx, dword [ebp + 0xc]
lea eax, [esi + 0x14]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, dword [ebp - 4]
inc dword [eax + 0x608]
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10035f60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x10035f70
xor eax, eax
pop ebx
pop ebp
ret
mov edx, ebx
push esi
push edi
mov edi, 0x811c9dc5
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10035f80
sub edx, ecx
mov esi, 0
sar edx, 1
je 0x10035fb1
nop word [eax + eax]
movzx ecx, word [ebx + esi*2]
inc esi
imul edi, edi, 0x1000193
xor edi, ecx
cmp esi, edx
jb 0x10035fa0
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x100365f0
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x1014bb94]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x402
lea eax, [ebp - 0x408]
mov dword [ebp - 0x41c], ecx
push 0
push eax
call fcn.100e5000
add esp, 0xc
lea eax, [ebp - 0x408]
push 0x402
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x10036751
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
je 0x10036751
cmp word [edi + 8], 2
jne 0x10036751
mov ecx, dword [edi + 0xc]
cmp dword [ecx], 0
je 0x10036720
xor ebx, ebx
mov ecx, 4
xor esi, esi
mov dword [ebp - 0x418], esi
cmp cx, word [edi + 0xa]
jne 0x10036751
xorps xmm0, xmm0
mov dword [ebp - 0x40c], esi
lea ecx, [ebp - 0x414]
movq qword [ebp - 0x414], xmm0
call fcn.1009caa0
mov eax, dword [edi + 0xc]
movsx ecx, word [edi + 0xa]
mov eax, dword [ebx + eax]
test ecx, ecx
je 0x100366d1
test eax, eax
je 0x10036764
cmp ecx, 4
ja 0x10036736
push ecx
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.100e56f0
mov esi, dword [ebp - 0x418]
add esp, 0xc
push 0xffffffffffffffff
push esi
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x414]
call fcn.1009cda0
test eax, eax
je 0x10036746
lea ecx, [ebp - 0x414]
call fcn.1009cbc0
mov ecx, dword [ebp - 0x41c]
push eax
call fcn.10035b20
lea ecx, [ebp - 0x414]
test eax, eax
je 0x10036771
call fcn.1009cac0
mov eax, dword [edi + 0xc]
add ebx, 4
cmp dword [ebx + eax], 0
jne 0x1003666c
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e3d0f
mov esp, ebp
pop ebp
ret
call fcn.100e8b95
mov dword [eax], 0x22
call fcn.100e8ad8
lea ecx, [ebp - 0x414]
call fcn.1009cac0
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100e3d0f
mov esp, ebp
pop ebp
ret
call fcn.100e8b95
mov dword [eax], 0x16
jmp 0x10036741
call fcn.1009cac0
jmp 0x10036720
Function at 0x10037590
Capabilities:
Monitor local ipv4 address changes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1014bb94]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0
push 0
push 1
mov esi, ecx
xorps xmm0, xmm0
push 0
lea ecx, [ebp - 0xc]
movlpd qword [ebp - 0xc], xmm0
call fcn.100a0af0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x10], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0xc]
push eax
movups xmmword [ebp - 0x20], xmm0
call fcn.100a0c10
test al, al
je 0x10037628
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], 0
push eax
lea eax, [ebp - 0x24]
push eax
call sub.IPHLPAPI.DLL_NotifyAddrChange
test eax, eax
je 0x100375ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x10037628
push dword [0x10117464]
lea eax, [esi + 4]
push dword [0x10117460]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.10006200
add esp, 0x10
test eax, eax
jne 0x10037644
lea eax, [ebp - 0x20]
push eax
call sub.IPHLPAPI.DLL_CancelIPChangeNotify
xor bl, bl
lea ecx, [ebp - 0xc]
call fcn.100a0b40
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.100e3d0f
mov esp, ebp
pop ebp
ret
mov bl, 1
jmp 0x1003762a

Function at 0x1004ccc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010ab5c
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x1014bb94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x10], 0
je 0x1004cd14
mov dword [edi], 0x101183a0
mov dword [edi + 0x3c], vtable.RolClient::IWorkerNotifier.0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, dword [edi]
mov esi, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.RolClient::CWorkerNotifier.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x3c]
mov dword [ecx + edi - 4], eax
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 4]
push eax
lea ecx, [edi + 8]
call fcn.1004c690
mov eax, dword [esi]
mov ecx, esi
mov dword [ebp - 4], 1
call dword [eax + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0xc], ecx
mov ecx, esi
mov dword [edi + 0x10], eax
mov eax, dword [esi]
call dword [eax + 0x18]
mov dword [edi + 0x14], eax
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x1c]
call eax
mov dword [edi + 0x18], eax
mov ecx, esi
mov dword [edi + 0x1c], edx
mov eax, dword [esi]
call dword [eax + 0x20]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x20], ecx
mov ecx, esi
mov dword [edi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x24]
call eax
mov byte [edi + 0x28], al
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x28]
mov dword [edi + 0x2c], eax
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x30]
mov dword [edi + 0x30], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x1004cdc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010abac
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x1014bb94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
cmp dword [ebp + 0x18], 0
mov dword [ebp - 0x10], 0
je 0x1004ce0d
mov dword [edi], 0x101183a0
mov dword [edi + 0x3c], vtable.RolClient::IWorkerNotifier.0
mov dword [ebp - 0x10], 1
mov eax, dword [edi]
push dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.RolClient::CWorkerNotifier.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x3c]
mov dword [ecx + edi - 4], eax
lea ecx, [edi + 8]
call fcn.1004c690
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.10003c30
mov ecx, esi
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0xc], edx
mov dword [edi + 0x10], eax
call fcn.10003bd0
mov edx, dword [ebp + 0x14]
mov ecx, esi
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], edx
call fcn.10003010
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x24], eax
mov eax, edi
mov dword [edi + 0x20], ecx
mov byte [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x10058be0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
test edx, edx
je case.0x10058c00.2
mov eax, dword [edx + 0x48]
test eax, eax
je case.0x10058c00.0
mov eax, dword [eax + 0x14]
cmp eax, 0x2e
ja case.0x10058c00.2
movzx eax, byte [eax + 0x10058c58]
jmp dword [eax*4 + 0x10058c40]
mov dword [ebp + 8], edx
pop ebp
jmp fcn.10058c90
mov dword [ebp + 8], edx
pop ebp
jmp fcn.10059150
mov dword [ebp + 8], edx
pop ebp
jmp 0x100592f0
push 1
push 0
push edx
call fcn.10059d50
pop ebp
ret 4
mov eax, 1
pop ebp
ret 4
xor eax, eax
pop ebp
ret 4
add ecx, 0x98
call fcn.10044790
mov eax, 1
ret 4

Function at 0x1006e1d0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010c9d0
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x1014bb94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebx], vtable.RolClient::CWorkers.0
mov dword [ebx + 8], vtable.RolClient::CWorkers.1.0
mov dword [ebp - 4], 0
lea esi, [ebx + 0x27c]
mov edi, 0x64
push 1
mov ecx, esi
call fcn.1006ebc0
add esi, 0xc
sub edi, 1
jne 0x1006e216
push 0x1006e190
push 0x64
push 0xc
lea eax, [ebx + 0x27c]
mov dword [ebx + 0x72c], edi
push eax
call fcn.100e407d
lea ecx, [ebx + 0x250]
call fcn.10068ea0
lea ecx, [ebx + 0xa4]
call fcn.1006e0c0
lea ecx, [ebx + 0x78]
call fcn.100792a0
lea ecx, [ebx + 0x30]
call fcn.1004f300
lea ecx, [ebx + 0xc]
mov dword [ebx + 8], vtable.RolClient::CConfigOwner.0
call fcn.10007130
mov dword [ebx + 8], vtable.RolClient::IConfigOwner.0
mov dword [ebx], vtable.FamRT::IZombie.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret