joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10043830
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dd198
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1010f16c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
lea esi, [edi + 0x80]
push esi
mov dword [ebp - 0x1c], esi
call fcn.10079ba3
add esp, 4
test eax, eax
je 0x1004387c
push eax
call fcn.10079c5b
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov edx, dword [edi + 0xbc]
mov dword [ebp + 8], edx
mov ebx, dword [eax]
movzx eax, bl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x10
movzx eax, al
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edi + 0xc8]
mov edi, dword [edi + 0xb4]
and ecx, eax
mov dword [ebp - 0x10], ecx
mov eax, dword [edx + ecx*8]
mov ecx, eax
cmp eax, edi
jne 0x100438ea
mov edx, edi
jmp 0x100438f6
mov esi, dword [ebp - 0x10]
mov edx, dword [edx + esi*8 + 4]
mov esi, dword [ebp - 0x1c]
mov edx, dword [edx]
cmp ecx, edx
je 0x1004390e
cmp dword [ecx + 8], ebx
je 0x10043906
mov ecx, dword [ecx]
mov edx, dword [ebp + 8]
jmp 0x100438e2
cmp ecx, edi
jne 0x100439a2
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
add ecx, 0xb0
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], ebx
mov ecx, dword [ebp - 0x10]
cmp dword [edx + ecx*8], edi
jne 0x1004392c
mov ecx, edi
jmp 0x10043932
mov ecx, dword [edx + ecx*8 + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x10043943
cmp dword [eax + 8], ebx
je 0x1004393f
mov eax, dword [eax]
jmp 0x10043920
cmp eax, edi
jne 0x1004399c
mov edi, dword [edi]
push 0x10
mov ebx, dword [edi + 4]
call fcn.10090929
mov edx, eax
add esp, 4
mov eax, 0xffffffe
mov dword [edx], edi
mov dword [edx + 4], ebx
mov ecx, dword [ebp - 0x20]
mov dword [edx + 8], ecx
mov ecx, dword [ebp - 0x14]
mov dword [edx + 0xc], 0
mov ecx, dword [ecx + 8]
sub eax, ecx
cmp eax, 1
jb 0x100439d3
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 8], eax
mov dword [edi + 4], edx
mov dword [ebx], edx
mov eax, dword [ecx + 4]
mov eax, dword [eax]
push eax
lea edx, [eax + 8]
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.100362b0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0xc], ecx
mov dword [ebp - 4], 0xffffffff
push esi
call fcn.10079bc8
add esp, 4
test eax, eax
je 0x100439bf
push eax
call fcn.10079c5b
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.list_T__too_long
call fcn.100796fe
int3
Function at 0x10043db0
Capabilities:
Encrypt data using curve25519
Generate random numbers via rtlgenrandom
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dd26b
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x1010f16c]
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 edi, ecx
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.100a8dc0
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x210]
add esp, 0xc
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x10043e01
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x210]
call fcn.10056300
mov eax, dword [ebp - 0x218]
add esp, 4
mov esi, dword [ebp - 0x21c]
sub eax, esi
and eax, 0xfffffffc
cmp eax, 0x14
je 0x10043e65
xor bl, bl
jmp 0x10043f66
push dword [esi + 0x10]
call fcn.100b2554
push dword [esi + 0xc]
mov dword [ebp - 0x22c], eax
call fcn.100b2554
mov edx, dword [esi]
add esp, 8
movzx eax, ax
mov ecx, edx
mov dword [ebp - 0x228], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x224], eax
mov eax, dword [esi + 4]
lea ebx, [ecx + 1]
mov dword [ebp - 0x220], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10043ea0
sub ecx, ebx
push ecx
push edx
lea ecx, [edi + 0x5c]
call fcn.100057f0
mov ebx, dword [ebp - 0x220]
mov ecx, ebx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10043ec0
sub ecx, edx
push ecx
push ebx
lea ecx, [edi + 0x74]
call fcn.100057f0
mov ebx, dword [ebp - 0x224]
mov ecx, ebx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10043ee0
sub ecx, edx
push ecx
push ebx
lea ecx, [edi + 0x8c]
call fcn.100057f0
mov eax, dword [ebp - 0x228]
mov word [edi + 0xa4], ax
mov eax, dword [ebp - 0x22c]
mov dword [edi + 0xc8], eax
mov eax, dword [0x101160c8]
test eax, eax
jne 0x10043f40
push str.SystemFunction036
push str.ADVAPI32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x101160c8], eax
test eax, eax
jne 0x10043f40
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x20
add edi, 0xa6
push edi
call eax
test al, al
jne 0x10043f57
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov al, byte [edi + 0x1f]
mov bl, 1
and byte [edi], 0xf8
and al, 0x3f
or al, 0x40
mov byte [edi + 0x1f], al
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x10043fbe
mov ecx, dword [ebp - 0x214]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10043f96
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10043fde
push ecx
push esi
call fcn.1009091b
add esp, 8
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
mov al, bl
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.100908e7
mov esp, ebp
pop ebp
ret 4
call fcn.100abcda
int3
Function at 0x10045490
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov eax, dword [edi]
cmp eax, 0x270
jne 0x100454ee
lea edx, [edi + 8]
mov esi, eax
nop dword [eax]
mov ecx, dword [edx - 4]
lea edx, [edx + 4]
xor ecx, dword [edx - 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x100454b0
mov eax, dword [edi]
jmp 0x100455d9
cmp eax, 0x4e0
jb 0x100455d9
mov eax, dword [edi + 0x9c4]
push ebx
lea ebx, [edi + 0x9c4]
mov edi, 0xe3
nop dword [eax + eax]
mov ecx, dword [ebx + 4]
lea edx, [ebx + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x10045510
mov ebx, dword [ebp - 4]
mov edi, 0x18c
add ebx, 0xd50
mov eax, dword [ebx]
nop dword [eax]
mov ecx, eax
lea edx, [ebx + 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x10045560
mov edi, dword [ebp - 4]
pop ebx
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi + 0x9c0], eax
xor eax, eax
mov dword [edi], 0
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10047080
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx edx, byte [eax + 8]
movzx ecx, byte [eax + 0xb]
xor edx, 0x811c9dc5
imul esi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor esi, edx
movzx edx, byte [eax + 0xa]
imul esi, esi, 0x1000193
xor esi, edx
imul edx, esi, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [edi + 0x18]
and edx, ecx
mov ecx, dword [edi + 0xc]
lea esi, [edx*8]
mov edx, dword [ecx + esi]
add ecx, esi
cmp dword [ecx + 4], eax
jne 0x100470f4
cmp edx, eax
jne 0x100470ec
mov eax, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 4]
mov dword [esi + ecx + 4], eax
jmp 0x100470fc
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
jmp 0x100470fc
cmp edx, eax
jne 0x100470ff
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
lea ecx, [edi + 4]
push eax
push esi
call fcn.10047190
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x100492a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx edx, byte [eax + 8]
movzx ecx, byte [eax + 0xa]
xor edx, 0x811c9dc5
imul esi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor esi, edx
imul edx, esi, 0x1000193
xor edx, ecx
movzx ecx, byte [eax + 0xb]
imul edx, edx, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [edi + 0x18]
and edx, ecx
lea esi, [edx*8]
mov edx, dword [edi + 0xc]
add edx, esi
mov ecx, dword [edx]
cmp dword [edx + 4], eax
jne 0x10049313
cmp ecx, eax
jne 0x1004930b
mov ecx, dword [edi + 4]
mov dword [edx], ecx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov dword [esi + edx + 4], ecx
jmp 0x1004931b
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x1004931b
cmp ecx, eax
jne 0x1004931b
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov esi, dword [eax]
push 0x10
push eax
mov dword [ecx], esi
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
dec dword [edi + 8]
call fcn.1009091b
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebp
ret 8

Function at 0x1004b740
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100de8f2
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x1010f16c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [edi], 0x100f5fa0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [ebp - 4], 0
lea eax, [edi + 0x10]
push 2
push eax
mov dword [ebp - 0x18], eax
call fcn.10079b82
mov byte [ebp - 4], 2
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov byte [ebp - 4], 3
lea eax, [edi + 0x48]
push 2
push eax
mov dword [ebp - 0x18], eax
call fcn.10079b82
add esp, 0x10
mov byte [ebp - 4], 5
call fcn.1007b2fb
mov esi, eax
mov dword [ebp - 0x18], edx
mov dword [edi + 0x13fc], 0xffffffff
lea edx, [edi + 0x80]
mov dword [edi + 0x7c], esi
mov ecx, 1
nop word [eax + eax]
mov eax, esi
lea edx, [edx + 4]
shr eax, 0x1e
xor eax, esi
imul esi, eax, 0x6c078965
add esi, ecx
inc ecx
mov dword [edx - 4], esi
cmp ecx, 0x270
jl 0x1004b7f0
lea edx, [ebp - 0xd]
mov dword [edi + 0x78], 0x270
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0xd], 0
call fcn.10047fc0
mov byte [ebp - 4], 6
lea ecx, [edi + 0x40]
push eax
call fcn.10045a20
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x1004b85d
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x1004b85d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x1004b85d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], 7
lea eax, [edi + 0x1400]
mov dword [ebp - 0x18], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov byte [ebp - 4], 9
mov dword [edi], 0x100f5d78
mov dword [ebp - 4], 0xffffffff
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
Function at 0x10050440
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [ebp - 4]
mov esi, dword [edx + 4]
mov ebx, dword [edx + 0x18]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edx + 0xc]
and ebx, eax
lea eax, [edx + 4]
mov dword [ebp + 0xc], eax
mov ecx, dword [ecx + ebx*8]
cmp esi, ecx
je 0x100504bc
mov esi, dword [edx + 0xc]
mov esi, dword [esi + ebx*8 + 4]
mov esi, dword [esi]
cmp esi, ecx
je 0x100504bc
mov edi, dword [edi]
nop dword [eax + eax]
mov esi, dword [esi + 4]
cmp edi, dword [esi + 8]
je 0x10050503
cmp esi, ecx
jne 0x100504b0
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], edi
mov eax, dword [edi]
cmp esi, eax
je 0x100504ec
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0xc]
mov eax, dword [ecx + ebx*8]
cmp eax, dword [edx + 4]
jne 0x10050523
mov dword [ecx + ebx*8], edi
mov eax, dword [edx + 0xc]
mov dword [eax + ebx*8 + 4], edi
jmp 0x10050548
push dword [ebp + 0x10]
lea ecx, [ebp + 0xc]
push ecx
mov ecx, eax
call fcn.10047190
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x1005052c
mov dword [ecx + ebx*8], edi
jmp 0x10050548
mov eax, dword [ecx + ebx*8 + 4]
mov eax, dword [eax]
mov dword [ecx + ebx*8 + 4], eax
cmp eax, edi
je 0x10050548
mov ecx, dword [edx + 0xc]
mov eax, dword [ecx + ebx*8 + 4]
mov eax, dword [eax + 4]
mov dword [ecx + ebx*8 + 4], eax
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0x1c]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100f83f0]
mov eax, ecx
shr eax, 0x1f
cvtpd2ps xmm1, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x100f83f0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [edx]
jbe 0x100505de
cmp ecx, 0x200
jae 0x10050596
shl ecx, 3
jmp 0x100505a0
cmp ecx, 0x1fffffff
jae 0x100505a0
add ecx, ecx
push ecx
mov ecx, edx
call fcn.10019f20
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
cmp dword [eax], eax
je 0x100505de
mov eax, dword [eax + 4]
mov edi, eax
mov ebx, dword [ebp - 4]
nop dword [eax]
mov esi, dword [ecx]
mov ecx, ebx
mov esi, dword [esi]
push esi
lea eax, [esi + 8]
push eax
lea eax, [ebp - 8]
push eax
call fcn.10050440
lea ecx, [ebx + 4]
cmp esi, edi
jne 0x100505c0
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10052ce0
Capabilities:
Register network filter via wfp api

Disassembly:
push ebp
mov ebp, esp
movups xmm0, xmmword [0x100e48b0]
sub esp, 8
lea eax, [ebp - 8]
push esi
push edi
push eax
mov esi, edx
mov edi, ecx
push 0
push esi
push edi
movups xmmword [esi + 0x28], xmm0
call dword [sym.imp.fwpuclnt.dll_FwpmFilterAdd0]
test eax, eax
je 0x10052d27
push eax
push str.ipv4
push dword [ebp + 0xc]
push str.FwpmFilterAdd0__d_failed___s_:__d
call fcn.10056110
add esp, 0x10
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 8], 0
je 0x10052d52
movups xmm0, xmmword [str._9rJ]
lea eax, [ebp - 8]
push eax
push 0
push esi
push edi
movups xmmword [esi + 0x28], xmm0
call dword [sym.imp.fwpuclnt.dll_FwpmFilterAdd0]
test eax, eax
je 0x10052d52
push eax
push str.ipv6
jmp 0x10052d0f
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100530e0
Capabilities:
Delete network filter via wfp api
Enumerate network filters via wfp api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x1010f16c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov byte [ebp - 0x35], dl
push esi
mov esi, dword [sym.imp.fwpuclnt.dll_FwpmFilterDestroyEnumHandle0]
xorps xmm0, xmm0
xor ecx, ecx
mov dword [ebp - 0x40], ebx
push edi
mov dword [ebp - 0x34], 0
mov edx, str._9rJ
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x4c], ecx
nop dword [eax + eax]
test ecx, ecx
mov dword [ebp - 0xc], 0xffffffff
mov eax, 0x100e48b0
cmovne eax, edx
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
push ebx
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.fwpuclnt.dll_FwpmFilterCreateEnumHandle0]
test eax, eax
jne 0x1005327a
nop
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x100
push dword [ebp - 0x3c]
push ebx
call dword [sym.imp.fwpuclnt.dll_FwpmFilterEnum0]
test eax, eax
jne 0x10053267
xor edi, edi
cmp dword [ebp - 0x48], edi
jbe 0x10053203
nop word [eax + eax]
mov eax, dword [ebp - 0x44]
mov esi, 0xc
mov ebx, dword [eax + edi*4]
mov eax, 0x100f3184
lea edx, [ebx + 0x38]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x100531fa
add edx, 4
add eax, 4
sub esi, 4
jae 0x100531b3
cmp byte [ebp - 0x35], 0
jne 0x100531d0
cmp dword [ebx + 0x50], 0
je 0x100531fa
push dword [ebx + 0x8c]
push dword [ebx + 0x88]
mov ebx, dword [ebp - 0x40]
push ebx
call dword [sym.imp.fwpuclnt.dll_FwpmFilterDeleteById0]
test eax, eax
je 0x100531fd
push eax
push str.FwpmFilterDeleteById0_failed:__d
call fcn.10056110
add esp, 8
jmp 0x100531fd
mov ebx, dword [ebp - 0x40]
inc edi
cmp edi, dword [ebp - 0x48]
jb 0x100531a0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.fwpuclnt.dll_FwpmFreeMemory0]
cmp dword [ebp - 0x48], 0x100
je 0x10053170
push dword [ebp - 0x3c]
mov esi, dword [sym.imp.fwpuclnt.dll_FwpmFilterDestroyEnumHandle0]
push ebx
call esi
mov ecx, dword [ebp - 0x4c]
mov edx, str._9rJ
inc ecx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x4c], ecx
cmp ecx, 2
jl 0x10053140
cmp byte [ebp - 0x35], 0
je 0x10053293
push 0x100f3184
push ebx
call dword [sym.imp.fwpuclnt.dll_FwpmSubLayerDeleteByKey0]
test eax, eax
je 0x10053288
cmp eax, 0x80320007
je 0x10053288
push eax
push str.FwpmSubLayerDeleteByKey0_failed:__d
jmp 0x10053280
push eax
push str.FwpmFilterEnum0_failed:__d
call fcn.10056110
mov esi, dword [sym.imp.fwpuclnt.dll_FwpmFilterDestroyEnumHandle0]
jmp 0x10053285
push eax
push str.FwpmFilterCreateEnumHandle0_failed:__d
call fcn.10056110
add esp, 8
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x10053293
push eax
push ebx
call esi
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100908e7
mov esp, ebp
pop ebp
ret
Function at 0x10053890
Capabilities:
Convert ip address from string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1010f16c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
push 0x2f
push ebx
call fcn.100a7af0
add esp, 8
mov dword [ebp - 8], eax
test eax, eax
je 0x10053955
mov esi, eax
sub esi, ebx
lea eax, [esi + 1]
call fcn.10091880
mov eax, esp
push esi
push ebx
push eax
mov dword [ebp - 0xc], eax
mov byte [eax + esi], 0
call fcn.100a82c0
mov eax, dword [ebp - 8]
inc eax
push eax
call fcn.100b2554
mov ebx, eax
add esp, 0x10
test ebx, ebx
js 0x10053955
mov esi, dword [ebp - 0xc]
push edi
push esi
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x10053921
cmp ebx, 0x20
jg 0x10053955
mov byte [edi + 0x11], bl
mov al, al
mov byte [edi + 0x10], 0x20
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100908e7
mov esp, ebp
pop ebp
ret
push edi
push esi
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x10053955
cmp ebx, 0x80
jg 0x10053955
mov byte [edi + 0x11], bl
mov al, al
mov byte [edi + 0x10], 0x80
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100908e7
mov esp, ebp
pop ebp
ret
xor al, al
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100908e7
mov esp, ebp
pop ebp
ret
Function at 0x100540a0
Capabilities:
Convert ip address from string

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1010f16c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, ecx
push esi
mov esi, eax
mov dword [ebp - 8], eax
push edi
mov edi, edx
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x100540c0
sub esi, ecx
inc esi
mov eax, esi
call fcn.10091880
mov ebx, esp
push esi
push dword [ebp - 8]
push ebx
call fcn.100a82c0
xorps xmm0, xmm0
add esp, 0xc
movups xmmword [edi], xmm0
movq qword [edi + 0x10], xmm0
mov dword [edi + 0x18], 0
cmp byte [ebx], 0x5b
jne 0x10054171
push 0x5d
push ebx
call fcn.100a7af0
mov esi, eax
add esp, 8
test esi, esi
je 0x100541ec
lea ecx, [edi + 8]
mov byte [esi], 0
push ecx
lea ecx, [ebx + 1]
push ecx
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x100541ec
lea eax, [esi + 1]
push 0x3a
push eax
call fcn.100a7af0
add esp, 8
test eax, eax
je 0x100541ec
inc eax
mov ecx, 0x17
push eax
mov word [edi], cx
call fcn.100b2554
add esp, 4
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [edi + 2], ax
mov al, 1
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100908e7
mov esp, ebp
pop ebp
ret
push 0x3a
push ebx
call fcn.100a7af0
mov esi, eax
add esp, 8
test esi, esi
je 0x100541ec
lea ecx, [edi + 4]
mov byte [esi], 0
push ecx
push ebx
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x100541cc
mov eax, 2
mov word [edi], ax
lea eax, [esi + 1]
push eax
call fcn.100b2554
add esp, 4
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [edi + 2], ax
mov al, 1
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100908e7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x100541ec
push edi
push ebx
call fcn.10053cc0
test al, al
jne 0x1005419f
push ebx
push str.Unable_to_resolve__s
call fcn.10056110
add esp, 8
xor al, al
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100908e7
mov esp, ebp
pop ebp
ret