joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10026410
Capabilities:
Connect socket
Connect udp socket
Create udp socket
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x28
mov eax, dword [0x1007c00c]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], 0x10
xorps xmm0, xmm0
mov eax, 2
movaps xmmword [esp + 0x10], xmm0
push 0
mov dword [edi + 4], 0xffffffff
mov dword [edi], 0xffffffff
mov word [esp + 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
push 0x7f000001
mov word [esp + 0x16], ax
call dword [sym.imp.WS2_32.dll_htonl]
push 0
push 2
push 2
mov dword [esp + 0x20], eax
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x1002652e
push dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
jne 0x1002652e
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x1002652e
push eax
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [edi], eax
cmp eax, 0xffffffff
je 0x1002652e
push dword [esp + 0xc]
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x1002652e
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
push dword [edi]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x1002652e
push dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x1002652e
push eax
push 1
push dword [edi]
mov dword [edi + 4], esi
mov esi, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
call esi
push 0
push 1
push dword [edi + 4]
call esi
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.10027b68
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi]
mov eax, dword [sym.imp.WS2_32.dll_closesocket]
cmp ecx, 0xffffffff
je 0x10026542
push ecx
call eax
mov eax, dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [edi + 4]
cmp ecx, 0xffffffff
je 0x1002654d
push ecx
call eax
cmp esi, 0xffffffff
je 0x10026559
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 0x2c]
xor eax, eax
mov dword [edi + 4], 0xffffffff
mov dword [edi], 0xffffffff
pop edi
pop esi
xor ecx, esp
call fcn.10027b68
mov esp, ebp
pop ebp
ret
Function at 0x100277f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x1007c00c]
xor eax, esp
mov dword [esp + 0xa4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
lea eax, [edi + 0x14]
mov dword [esp + 0xc], ecx
lea eax, [eax + eax*4]
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
mov ecx, 0x1006d08c
mov eax, edx
mov dl, byte [eax]
cmp dl, byte [ecx]
mov byte [esp + 0xb], dl
mov edx, dword [esp + 0x10]
jne 0x1002786c
cmp byte [esp + 0xb], 0
je 0x10027868
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
mov byte [esp + 0xb], dl
mov edx, dword [esp + 0x10]
jne 0x1002786c
add eax, 2
add ecx, 2
cmp byte [esp + 0xb], 0
jne 0x10027836
xor eax, eax
jmp 0x10027871
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10027879
push 1
jmp 0x100278af
mov eax, 0x1006ecdc
nop
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x100278a0
test cl, cl
je 0x1002789c
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x100278a0
add edx, 2
add eax, 2
test cl, cl
jne 0x10027880
xor eax, eax
jmp 0x100278a5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100279f5
push 2
call fcn.1003af45
mov esi, eax
add esp, 4
test esi, esi
je 0x100279f5
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x20]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
push edx
mov eax, dword [ecx + 0x78]
push 0
push ecx
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x3c]
call eax
add esp, 0xc
lea edx, [esp + 0x70]
push 3
push ecx
lea ecx, [esp + 0x28]
call fcn.10027580
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x28]
xorps xmm0, xmm0
movaps xmmword [esp + 0x28], xmm0
push edx
mov eax, dword [ecx + 0x78]
push 4
push ecx
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x3c]
call eax
add esp, 0x14
lea edx, [esp + 0x34]
push 7
push ecx
lea ecx, [esp + 0x28]
call fcn.10027580
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp ecx, 3
jne 0x10027938
mov eax, 0x1006ece0
jmp 0x10027960
cmp ecx, 4
jne 0x10027944
mov eax, 0x1006ece4
jmp 0x10027960
cmp ecx, 1
jne 0x10027950
mov eax, 0x1006ece8
jmp 0x10027960
cmp ecx, 2
mov eax, 0x1006ecec
mov edx, 0x1006ecf0
cmovne eax, edx
push edi
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x14]
push eax
lea eax, [esp + 0x7c]
push eax
push ecx
call fcn.10024670
call fcn.1005f0c1
push eax
push str._lu__p__s__s__s__d_n
push esi
call fcn.100245c0
add esp, 0x20
test edi, edi
jle 0x100279d0
add edi, 0x14
lea eax, [edi + edi*4]
push eax
call fcn.100335fb
mov edi, eax
add esp, 4
test edi, edi
je 0x100279d0
mov edx, dword [ebp + 0xc]
push ecx
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
push edi
call fcn.10027640
add esp, 0xc
push edi
push 0x1006ec98
push esi
call fcn.100245c0
add esp, 0xc
push edi
call fcn.100335f6
add esp, 4
push 0
call fcn.1003af45
add esp, 4
cmp esi, eax
je 0x100279f5
push 1
call fcn.1003af45
add esp, 4
cmp esi, eax
je 0x100279f5
push esi
call fcn.10034290
add esp, 4
mov ecx, dword [esp + 0xac]
pop edi
pop esi
xor ecx, esp
call fcn.10027b68
mov esp, ebp
pop ebp
ret
Function at 0x10040d11
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10040b90

Function at 0x10048dce
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0xf36709e
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
nop
mov ecx, 0x638000d3
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401058
Capabilities:
Allocate or change rwx memory
Terminate process

Disassembly:
push ebx
push esi
push edi
push 4
push 0x3000
mov esi, 0x1e5d70
push esi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
push eax
cmp eax, 0x11
je 0x401025
mov eax, eax
cld
test ecx, ecx
or eax, eax
clc
pop eax
test edi, edi
je 0x401054
nop
mov al, al
push 0xf1b30
push 0
push edi
call sub.msvcrt.dll_memset
add esp, 0xc
push ebx
mov cl, cl
mov cl, cl
cld
pop ebx
push 0x8000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
pop ebx
ret
push 0
push 0x40
push 0x3000
push 0x7d0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocExNuma]
test eax, eax
jne 0x401080
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
jmp section..text

Function at 0x40117e
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x41cbe7
call sub.msvcrt.dll__EH_prolog
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0040e65b
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.0040e65b
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
lea eax, [edi + 0x20]
push eax
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 1
call fcn.0040e65b
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x48]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4046a3
Capabilities:
Check http status code

Disassembly:
mov eax, 0x41d003
call sub.msvcrt.dll__EH_prolog
sub esp, 0x598
push ebx
push esi
push edi
sub esp, 0xc
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
mov dword [ebp - 4], 1
call fcn.0040e65b
lea eax, [ebp - 0xa4]
push eax
call fcn.00403f45
add esp, 0x10
push 0xf
pop ecx
push 0x5f5e0ff
mov esi, eax
xor ebx, ebx
lea edi, [ebp - 0x68]
push ebx
rep movsd dword es:[edi], dword [esi]
call dword [0x63d15c]
push eax
call dword [0x63d0f4]
push ebx
push ebx
xor edi, edi
push ebx
inc edi
push ebx
lea ecx, [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], edi
call fcn.0040e85b
push eax
call dword [0x63d058]
push dword [0x62c334]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x64]
xor esi, esi
call dword [0x63d134]
test eax, eax
jne 0x404735
mov esi, edi
cmp dword [ebp - 0x18], ebx
je 0x404869
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x50]
push dword [ebp - 0x58]
push dword [ebp - 0x18]
call dword [0x63d158]
mov dword [ebp - 0x24], eax
cmp eax, ebx
je 0x404860
mov eax, esi
neg eax
push ebx
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push ebx
push ebx
push dword [0x62c188]
push dword [ebp - 0x3c]
push 0x4234b4
push dword [ebp - 0x24]
call dword [0x63d18c]
mov edi, eax
cmp edi, ebx
je 0x404859
cmp esi, ebx
je 0x4047ad
or dword [ebp - 0x20], 0x10300
push 4
lea eax, [ebp - 0x20]
push eax
push 0x1f
push edi
call dword [0x63cf60]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [0x63d120]
push ebx
mov esi, eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1a4]
push eax
push 0x13
push edi
mov dword [ebp - 0x28], 0x100
call dword [0x63d1a4]
test eax, eax
jne 0x4047fd
lea ecx, [ebp + 8]
xor esi, esi
mov byte [ebp - 4], bl
call fcn.0040e68f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.0040e68f
mov eax, dword [ebp - 0x2c]
mov edx, esi
jmp 0x40488f
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040f82e
pop ecx
cmp eax, 0xc8
jne 0x4047da
cmp esi, ebx
je 0x404859
jmp 0x404854
lea eax, [ebp - 0x10]
push eax
push 0x400
lea eax, [ebp - 0x5a4]
push eax
push edi
call dword [0x63d080]
xor esi, esi
cmp dword [ebp - 0x10], ebx
jbe 0x404859
push 1
lea eax, [ebp + esi - 0x5a4]
push eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x1c]
push eax
call fcn.0040f87f
inc dword [ebp - 0x14]
inc esi
cmp esi, dword [ebp - 0x10]
jb 0x404835
cmp dword [ebp - 0x10], ebx
ja 0x404817
push edi
call dword [0x63d054]
push dword [ebp - 0x24]
call dword [0x63d054]
push dword [ebp - 0x18]
call dword [0x63d054]
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.0040e68f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.0040e68f
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x4053f7
Capabilities:
Check http status code

Disassembly:
mov eax, 0x41d211
call sub.msvcrt.dll__EH_prolog
sub esp, 0x978
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x14], ebx
sub esp, 0xc
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
mov dword [ebp - 4], 2
call fcn.0040e65b
lea eax, [ebp - 0xb4]
push eax
call fcn.00403f45
add esp, 0x10
push 0xf
pop ecx
mov esi, eax
lea edi, [ebp - 0x78]
rep movsd dword es:[edi], dword [esi]
push 0x42348e
lea ecx, [ebp - 0x30]
call fcn.0040e624
push ebx
push ebx
push ebx
push 1
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 3
call fcn.0040e85b
push eax
call dword [0x63d058]
push dword [0x62c334]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x74]
xor esi, esi
call dword [0x63d134]
test eax, eax
jne 0x40547e
inc esi
cmp dword [ebp - 0x10], ebx
je 0x4055c2
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x60]
push dword [ebp - 0x68]
push dword [ebp - 0x10]
call dword [0x63d158]
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x4055b9
mov eax, esi
neg eax
push ebx
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push ebx
push ebx
push dword [0x62c188]
push dword [ebp - 0x4c]
push 0x4235bc
push dword [ebp - 0x1c]
call dword [0x63d18c]
mov edi, eax
cmp edi, ebx
je 0x4055b0
cmp esi, ebx
je 0x4054f6
or dword [ebp - 0x20], 0x10300
push 4
lea eax, [ebp - 0x20]
push eax
push 0x1f
push edi
call dword [0x63cf60]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [0x63d120]
push ebx
mov esi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1b4]
push eax
push 0x13
push edi
mov dword [ebp - 0x18], 0x100
call dword [0x63d1a4]
test eax, eax
jne 0x405535
mov ecx, dword [ebp + 8]
push 0x4235c0
call fcn.0040e624
jmp 0x4055ce
lea eax, [ebp - 0x1b4]
push eax
call fcn.0040f82e
pop ecx
cmp eax, 0xc8
jne 0x40560a
cmp esi, ebx
je 0x4055a9
mov esi, 0x7cf
jmp 0x405592
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x4055a9
mov byte [ebp + eax - 0x984], bl
lea eax, [ebp - 0x984]
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040e79d
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.0040e6e2
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.0040e68f
lea eax, [ebp - 0x24]
push eax
push esi
lea eax, [ebp - 0x984]
push eax
push edi
call dword [0x63d080]
cmp eax, ebx
jne 0x405558
push edi
call dword [0x63d054]
push dword [ebp - 0x1c]
call dword [0x63d054]
push dword [ebp - 0x10]
call dword [0x63d054]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x30]
push eax
call fcn.0040e65b
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 2
call fcn.0040e68f
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0040e68f
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], bl
call fcn.0040e68f
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
mov ecx, dword [ebp + 8]
push 0x4235c8
call fcn.0040e624
jmp 0x4055ce
Function at 0x405e82
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 0xc]
push 0x40
push 0
push esi
call dword [ebp + 8]
add esp, 0x10
test eax, eax
jne 0x405ea0
xor eax, eax
inc eax
jmp 0x405f32
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x405f2f
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x405f2f
push dword [ebp + 0xc]
lea edi, [esi + 0x40]
push 0xf8
push eax
push edi
call dword [ebp + 8]
add esp, 0x10
test eax, eax
je 0x405e98
cmp dword [edi], 0x4550
jne 0x405f2f
mov eax, 0x10b
cmp word [esi + 0x58], ax
jne 0x405f2f
movzx eax, word [esi + 0x46]
test ax, ax
je 0x405f2f
imul eax, eax, 0x28
push eax
mov dword [esi + 0x140], eax
call fcn.0040f8b2
pop ecx
mov dword [esi + 0x138], eax
test eax, eax
jne 0x405f06
push 3
jmp 0x405f31
push dword [ebp + 0xc]
movzx ecx, word [esi + 0x54]
mov edx, dword [esi + 0x3c]
push dword [esi + 0x140]
lea ecx, [ecx + edx + 0x18]
push ecx
push eax
mov dword [esi + 0x13c], ecx
call dword [ebp + 8]
add esp, 0x10
neg eax
sbb eax, eax
inc eax
jmp 0x405f32
push 2
pop eax
pop edi
pop ebp
ret

Function at 0x406518
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x406552
mov eax, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x406552
mov edx, 0x10b
cmp word [eax + ecx + 0x18], dx
jne 0x406552
push dword [ebp + 0xc]
push ecx
push dword [eax + ecx + 0x78]
call fcn.0040647c
add esp, 0xc
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40f577
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov eax, 0x41e88a
call sub.msvcrt.dll__EH_prolog
sub esp, 0x3c
push esi
xor esi, esi
push esi
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
push esi
push esi
push esi
push 3
push esi
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x14]
push eax
push 0x424730
push 1
push esi
push 0x424800
mov dword [ebp - 0x14], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
push str.ROOTCIMV2
mov dword [ebp - 0x10], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x40f6e3
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
push edx
push esi
push 0x20
push str.Select__From_Win32_OperatingSystem
push 0x423d50
mov dword [ebp - 0x18], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
test eax, eax
js 0x40f6dc
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
cmp eax, esi
je 0x40f6f3
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x20]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x1c], esi
je 0x40f6f3
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push esi
push esi
lea edx, [ebp - 0x48]
push edx
push esi
push str.InstallDate
push eax
mov dword [ebp - 4], esi
call dword [ecx + 0x10]
push 1
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x40]
call fcn.0040f4dd
add esp, 0xc
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push 0x104
push esi
call dword [0x63d15c]
push eax
call dword [0x63d0f4]
mov esi, eax
movzx eax, word [ebp - 0x2c]
push eax
movzx eax, word [ebp - 0x2e]
push eax
movzx eax, word [ebp - 0x30]
push eax
movzx eax, word [ebp - 0x38]
push eax
movzx eax, word [ebp - 0x36]
push eax
movzx eax, word [ebp - 0x32]
push eax
push str._d__d__d__d:_d:_d
push esi
call dword [0x63cf84]
mov ecx, dword [ebp + 8]
add esp, 0x20
push esi
call fcn.0040e624
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x40f6f0
push 0x423d84
jmp 0x40f6e8
push 0x423d8c
mov ecx, dword [ebp + 8]
call fcn.0040e624
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x40f700
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov eax, 0x41e89c
call sub.msvcrt.dll__EH_prolog
sub esp, 0x24
push esi
xor esi, esi
push esi
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
push esi
push esi
push esi
push 3
push esi
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x14]
push eax
push 0x424730
push 1
push esi
push 0x424800
mov dword [ebp - 0x14], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
push str.rootSecurityCenter2
mov dword [ebp - 0x10], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x40f808
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
push edx
push esi
push 0x20
push str.Select__From_AntiVirusProduct
push 0x423e00
mov dword [ebp - 0x18], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
test eax, eax
js 0x40f801
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
cmp eax, esi
je 0x40f818
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x20]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x1c], esi
je 0x40f818
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push esi
push esi
lea edx, [ebp - 0x30]
push edx
push esi
push str.displayName
push eax
mov dword [ebp - 4], esi
call dword [ecx + 0x10]
push dword [ebp - 0x28]
call fcn.0040fa44
pop ecx
mov ecx, dword [ebp + 8]
push eax
call fcn.0040e624
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x40f815
push 0x423e20
jmp 0x40f80d
push str.Unknown
mov ecx, dword [ebp + 8]
call fcn.0040e624
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4116d2
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x41ebd8
call sub.msvcrt.dll__EH_prolog
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0040e65b
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.0040e65b
lea eax, [edi + 0x18]
push eax
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.0040e65b
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
add edi, 0x34
push edi
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
mov dword [esi + 0x30], eax
call fcn.0040e65b
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x412d5f
Capabilities:
Create thread

Disassembly:
mov eax, 0x41f05b
call sub.msvcrt.dll__EH_prolog
sub esp, 0x48
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 2
call fcn.00411dcd
test byte [0x63cf20], 1
mov eax, dword [ebp + 0x24]
mov byte [ebp - 4], 3
je 0x412d95
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x54], eax
lea eax, [ebp + 0x5c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040e6e2
mov eax, dword [ebp + 0x68]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x6c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.0040e6e2
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040e6e2
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040e6e2
mov esi, 0x3e8
jmp 0x412de8
push esi
call dword [0x63cf9c]
cmp dword [0x63cf20], 2
jae 0x412de1
inc dword [0x63cf20]
push ebx
push ebx
lea eax, [ebp - 0x54]
push eax
push 0x411c93
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp + 8]
push 0x423f4a
call fcn.0040e624
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 2
call fcn.00411e19
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0040113a
lea ecx, [ebp + 0x5c]
mov byte [ebp - 4], bl
call fcn.0040e68f
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret