joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10070b50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x84]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
push 0x80
push eax
push 0x100d1e22
push str.config1
push str.Profile
call edi
xor ecx, ecx
mov al, byte [ebp + ecx - 0x84]
inc ecx
cmp al, 0x30
jl 0x10070ba2
cmp al, 0x39
jle 0x10070bb4
cmp al, 0x61
jl 0x10070baa
cmp al, 0x66
jle 0x10070bb4
sub al, 0x41
cmp al, 5
ja 0x10070cb1
cmp ecx, 0x20
jl 0x10070b92
xor eax, eax
cmp byte [ebp + ecx - 0x84], al
sete al
test eax, eax
je 0x10070cb1
cmp byte [ebp - 0x84], 0
jne 0x10070bda
xor ecx, ecx
jmp 0x10070bec
lea ecx, [ebp - 0x84]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10070be3
sub ecx, edx
push ecx
lea eax, [ebp - 0x84]
mov ecx, ebx
push eax
call fcn.10005859
push esi
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0x100d1e22
push str.config2
push str.Profile
call edi
cmp byte [ebp - 0x84], 0
jne 0x10070c26
xor ecx, ecx
jmp 0x10070c39
lea ecx, [ebp - 0x84]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10070c30
sub ecx, edx
push ecx
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebx + 0x48]
call fcn.10005859
push esi
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0x100d1e22
push str.config3
push str.Profile
call edi
cmp byte [ebp - 0x84], 0
jne 0x10070c74
xor ecx, ecx
jmp 0x10070c89
lea ecx, [ebp - 0x84]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10070c80
sub ecx, edx
push ecx
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebx + 0x18]
call fcn.10005859
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008a777
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008a777
mov esp, ebp
pop ebp
ret 8

Function at 0x10074160
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x210], esi
call fcn.1008dc90
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x8023
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.TencentDeskUpdate
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10095d66
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
add esp, 0xc
mov word [esi], ax
cmp word [ebp - 0x20c], ax
jne 0x100741ed
xor ecx, ecx
jmp 0x10074205
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100741f6
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.10001ddf
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1008a777
mov esp, ebp
pop ebp
ret
Function at 0x10074300
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x210], esi
call fcn.1008dc90
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x801a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.TencentDeskUpdate
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10095d66
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
add esp, 0xc
mov word [esi], ax
cmp word [ebp - 0x20c], ax
jne 0x1007438d
xor ecx, ecx
jmp 0x100743a5
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10074396
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.10001ddf
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1008a777
mov esp, ebp
pop ebp
ret
Function at 0x10076070
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c29a6
mov eax, dword fs:[0]
push eax
mov eax, 0x1094
call fcn.1008bb10
mov eax, dword [0x1010b070]
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
mov ebx, dword [edi]
mov ecx, ebx
call fcn.10075fe0
mov dword [ebp - 0x109c], 0xffffffff
push 3
push 0
push ebx
lea ecx, [ebp - 0x109c]
mov dword [ebp - 4], 0
call fcn.1007ef40
mov esi, dword [ebp - 0x109c]
test eax, eax
jne 0x100760e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edi, edi
jmp 0x10076298
push 0x1004
xorps xmm0, xmm0
mov dword [ebp - 0x101c], 0
lea eax, [ebp - 0x1018]
movq qword [ebp - 0x1024], xmm0
push 0
push eax
mov dword [ebp - 0x1024], 0
mov dword [ebp - 0x1020], 0
mov dword [ebp - 0x10a0], 0
call fcn.1008dc90
add esp, 0xc
lea eax, [ebp - 0x10a0]
push 0
push eax
push 0x1000
lea eax, [ebp - 0x1018]
push eax
push 0xc
lea eax, [ebp - 0x1024]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x10076163
xor edi, edi
jmp 0x10076298
mov eax, dword [ebp - 0x1008]
test eax, eax
je 0x10076184
cmp eax, 0x1000
jae 0x10076184
lea ecx, [ebp - 0x1018]
add eax, ecx
mov ecx, edi
push eax
call fcn.10075ec0
mov eax, dword [ebp - 0x1004]
test eax, eax
je 0x100761a5
cmp eax, 0x1000
jae 0x100761a5
lea ecx, [ebp - 0x1018]
add eax, ecx
mov ecx, edi
push eax
call fcn.10075f00
mov eax, dword [ebp - 0x1000]
test eax, eax
je 0x100761c6
cmp eax, 0x1000
jae 0x100761c6
lea ecx, [ebp - 0x1018]
add eax, ecx
mov ecx, edi
push eax
call fcn.10075f40
mov eax, dword [ebp - 0x100c]
test eax, eax
je 0x100761e7
cmp eax, 0x1000
jae 0x100761e7
lea ecx, [ebp - 0x1018]
add eax, ecx
mov ecx, edi
push eax
call fcn.10075f80
cmp byte [ebp - 0x100e], 0
mov eax, dword [ebp - 0xffc]
mov dword [edi + 0x64], eax
je 0x100761ff
or dword [edi + 0x68], 1
jmp 0x10076203
and dword [edi + 0x68], 0xfffffffe
mov ecx, edi
call fcn.100753d0
cmp esi, 0xffffffff
je 0x1007621f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or esi, 0xffffffff
mov dword [ebp - 0x109c], esi
cmp dword [edi + 0x44], 0
jne 0x10076293
push ebx
lea ecx, [ebp - 0x1098]
call fcn.1006f4d0
mov byte [ebp - 4], 1
call fcn.1007efe0
cmp dword [ebp - 0x1054], 0
je 0x10076288
lea ecx, [edi + 4]
lea eax, [ebp - 0x1094]
cmp ecx, eax
je 0x1007625a
push 0xffffffffffffffff
push 0
push eax
call fcn.100058d2
lea ecx, [edi + 0x1c]
lea eax, [ebp - 0x107c]
cmp ecx, eax
je 0x10076271
push 0xffffffffffffffff
push 0
push eax
call fcn.100058d2
lea ecx, [edi + 0x34]
lea eax, [ebp - 0x1064]
cmp ecx, eax
je 0x10076288
push 0xffffffffffffffff
push 0
push eax
call fcn.100058d2
lea ecx, [ebp - 0x1098]
call fcn.1006e280
mov edi, 1
cmp esi, 0xffffffff
je 0x100762a4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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.1008a777
mov esp, ebp
pop ebp
ret
Function at 0x10077180
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c2b2e
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x44], esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x48], esi
mov dword [esi + 0x10], 0
jb 0x100771d8
mov eax, dword [esi]
jmp 0x100771da
mov eax, esi
mov byte [eax], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.10074600
mov edi, eax
mov byte [ebp - 4], 1
cmp esi, edi
je 0x10077265
cmp dword [esi + 0x14], 0x10
jb 0x10077240
mov eax, dword [esi + 0x14]
mov ecx, dword [esi]
inc eax
cmp eax, 0x1000
jb 0x10077237
test cl, 0x1f
je 0x10077213
call fcn.100906d1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1007721f
call fcn.100906d1
sub ecx, eax
cmp ecx, 4
jae 0x1007722b
call fcn.100906d1
cmp ecx, 0x23
jbe 0x10077235
call fcn.100906d1
mov ecx, eax
push ecx
call fcn.1008a772
add esp, 4
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x10077258
mov eax, dword [esi]
jmp 0x1007725a
mov eax, esi
push edi
mov ecx, esi
mov byte [eax], 0
call fcn.10007941
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x100772b3
mov ecx, dword [ebp - 0x40]
inc eax
cmp eax, 0x1000
jb 0x100772aa
test cl, 0x1f
je 0x10077286
call fcn.100906d1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x10077292
call fcn.100906d1
sub ecx, eax
cmp ecx, 4
jae 0x1007729e
call fcn.100906d1
cmp ecx, 0x23
jbe 0x100772a8
call fcn.100906d1
mov ecx, eax
push ecx
call fcn.1008a772
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.10074160
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100772e5
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x1007733d
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x7fffffff
jbe 0x100772fd
call fcn.100906d1
add eax, eax
cmp eax, 0x1000
jb 0x10077334
test cl, 0x1f
je 0x10077310
call fcn.100906d1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1007731c
call fcn.100906d1
sub ecx, eax
cmp ecx, 4
jae 0x10077328
call fcn.100906d1
cmp ecx, 0x23
jbe 0x10077332
call fcn.100906d1
mov ecx, eax
push ecx
call fcn.1008a772
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008a777
mov esp, ebp
pop ebp
ret
Function at 0x10078cc0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c2cab
mov eax, dword fs:[0]
push eax
sub esp, 0x4b4
mov eax, dword [0x1010b070]
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 dword [ebp - 0x4c0], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4bc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4b8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x4b4], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x4b0], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x4ac], eax
mov eax, dword [ebp + 0x28]
push 0x208
mov dword [ebp - 0x4a8], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1008dc90
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x8023
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
js 0x10078da2
push str.TencentDeskUpdate_
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call edi
test eax, eax
jne 0x10078d94
lea eax, [ebp - 0x218]
push eax
push 0
call ebx
push str.GlobalMgr.db
lea eax, [ebp - 0x218]
push eax
call esi
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1008dc90
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push 0
push 0
push 0x801a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x10078e08
push str.TencentDeskUpdate_
lea eax, [ebp - 0x420]
push eax
call esi
lea eax, [ebp - 0x420]
push eax
call edi
test eax, eax
jne 0x10078dfa
lea eax, [ebp - 0x420]
push eax
push 0
call ebx
push str.GlobalMgr.db
lea eax, [ebp - 0x420]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call edi
test eax, eax
jne 0x10078e27
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x218]
call fcn.10079d00
lea eax, [ebp - 0x4a0]
mov dword [ebp - 0x4a4], eax
lea ecx, [ebp - 0x4a4]
push 3
lea eax, [ebp - 0x218]
push eax
call fcn.10025cb9
push dword [ebp - 0x4a8]
mov ecx, dword [ebp - 0x4c0]
push dword [ebp - 0x4ac]
mov dword [ebp - 4], 0
push dword [ebp - 0x4b0]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp - 0x4b4]
push dword [ebp - 0x4b8]
push dword [ebp - 0x4bc]
push dword [ebp - 0x4a4]
call fcn.100789b0
mov bl, al
lea ecx, [ebp - 0x4a0]
mov eax, dword [ebp - 0x4a4]
cmp eax, ecx
je 0x10078ea7
push eax
call fcn.100956fc
add esp, 4
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.1008a777
mov esp, ebp
pop ebp
ret 0x24
Function at 0x10079d00
Capabilities:
Check if file exists
Copy file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10079f08
xorps xmm0, xmm0
mov byte [ebp - 8], 0
push edi
push 3
lea eax, [ebp - 0x114]
mov byte [ebp - 0x2c], 0
push esi
lea ecx, [ebp - 0x118]
mov byte [ebp - 0x50], 0
movups xmmword [ebp - 0x28], xmm0
mov byte [ebp - 0x74], 0
movups xmmword [ebp - 0x18], xmm0
mov dword [ebp - 0x118], eax
movups xmmword [ebp - 0x4c], xmm0
movups xmmword [ebp - 0x3c], xmm0
movups xmmword [ebp - 0x70], xmm0
movups xmmword [ebp - 0x60], xmm0
movups xmmword [ebp - 0x94], xmm0
movups xmmword [ebp - 0x84], xmm0
call fcn.10025cb9
push dword [ebp - 0x118]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x28]
push 0x21
push eax
push 0
push str.config1
push str.Profile
call edi
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x114]
cmp eax, ecx
je 0x10079db6
push eax
call fcn.100956fc
add esp, 4
push 3
lea eax, [ebp - 0x114]
push esi
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x118], eax
call fcn.10025cb9
push dword [ebp - 0x118]
lea eax, [ebp - 0x4c]
push 0x21
push eax
push 0
push str.config2
push str.Profile
call edi
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x114]
cmp eax, ecx
je 0x10079e03
push eax
call fcn.100956fc
add esp, 4
push 3
lea eax, [ebp - 0x114]
push esi
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x118], eax
call fcn.10025cb9
push dword [ebp - 0x118]
lea eax, [ebp - 0x70]
push 0x21
push eax
push 0
push str.config3
push str.Profile
call edi
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x114]
cmp eax, ecx
je 0x10079e50
push eax
call fcn.100956fc
add esp, 4
push 3
lea eax, [ebp - 0x114]
push esi
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x118], eax
call fcn.10025cb9
push dword [ebp - 0x118]
lea eax, [ebp - 0x94]
push 0x21
push eax
push 0
push str.config4
push str.Profile
call edi
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x114]
pop edi
cmp eax, ecx
je 0x10079ea1
push eax
call fcn.100956fc
add esp, 4
lea ecx, [ebp - 0x28]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10079ea7
sub ecx, edx
cmp ecx, 0x20
jne 0x10079f08
lea ecx, [ebp - 0x4c]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10079ec0
sub ecx, edx
cmp ecx, 0x20
jne 0x10079f08
lea ecx, [ebp - 0x70]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10079ed4
sub ecx, edx
cmp ecx, 0x20
jne 0x10079f08
lea ecx, [ebp - 0x94]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10079ef0
sub ecx, edx
cmp ecx, 0x20
jne 0x10079f08
push 1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1008a777
mov esp, ebp
pop ebp
ret 4
Function at 0x1007b350
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c3022
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x1010b070]
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 ebx, edx
mov esi, ecx
mov dword [ebp - 0x81c], esi
mov dword [ebp - 0x820], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x828], esi
mov dword [esi + 0x10], 0
jb 0x1007b3be
mov eax, dword [esi]
jmp 0x1007b3c0
mov eax, esi
mov byte [eax], 0
lea eax, [ebp - 0x818]
mov dword [ebp - 4], 0
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x820], 1
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 0
mov dword [ebp - 0x824], 0x800
mov dword [ebp - 0x81c], 1
call edi
test eax, eax
jne 0x1007b4ba
push ebx
push 0x100f7f8c
push 0xffffffffffffffff
lea eax, [ebp - 0x810]
push 0x800
push eax
call fcn.1006a037
add esp, 0x14
lea eax, [ebp - 0x814]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x810]
push eax
push dword [ebp - 0x818]
call edi
test eax, eax
jne 0x1007b4ba
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x81c]
push eax
push 0
push str.PnpInstanceID
push dword [ebp - 0x814]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1007b4ba
cmp byte [ebp - 0x810], al
jne 0x1007b499
xor ecx, ecx
jmp 0x1007b4ab
lea ecx, [ebp - 0x810]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007b4a2
sub ecx, edx
push ecx
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.10005859
mov eax, dword [ebp - 0x814]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x1007b4d7
push eax
call edi
mov dword [ebp - 0x814], 0
mov eax, dword [ebp - 0x818]
test eax, eax
je 0x1007b4e4
push eax
call edi
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.1008a777
mov esp, ebp
pop ebp
ret
Function at 0x1007cf90
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c3288
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1010b070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
push 0x100c7968
push 1
push 0
push 0x100c7a38
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1007d050
mov edi, dword [ebp - 0x14]
push str.._rootcimv2
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
jne 0x1007d010
push 0x8007000e
call fcn.10001e58
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
mov eax, dword [edi]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push edi
call dword [eax + 0xc]
push esi
mov edi, eax
mov byte [ebp - 4], 1
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
jns 0x1007d08e
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x1007d050
mov dword [ebx + 4], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x14]
xor esi, esi
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0
test eax, eax
je 0x1007d069
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x1007d07a
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x1007d050
mov eax, dword [ebp - 0x10]
cmp dword [ebx], eax
je 0x1007d0d0
mov esi, eax
test eax, eax
je 0x1007d0bf
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebx]
mov dword [ebx], esi
test ecx, ecx
je 0x1007d0d0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
cmp dword [ebx + 4], ecx
je 0x1007d100
mov esi, ecx
test ecx, ecx
je 0x1007d0ea
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebx + 4]
mov dword [ebx + 4], esi
test edx, edx
je 0x1007d100
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov esi, 1
jmp 0x1007d058
Function at 0x1007d280
Capabilities:
Reference sql statements
Reference wmi statements

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c3328
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
push esi
push edi
mov eax, dword [0x1010b070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1007d437
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str.SELECT__FROM_Win32_NetworkAdapter_WHERE__PNPDeviceID_IS_NOT_NULL_
call esi
mov edi, eax
mov dword [ebp - 0x24], edi
test edi, edi
jne 0x1007d2f6
push 0x8007000e
call fcn.10001e58
push 0x100f804c
mov byte [ebp - 4], 1
call esi
mov esi, eax
mov dword [ebp - 0x28], esi
test esi, esi
jne 0x1007d314
push 0x8007000e
call fcn.10001e58
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x18]
push edx
push 0
push 0x30
push edi
mov byte [ebp - 4], 2
mov eax, dword [ecx]
push esi
push ecx
call dword [eax + 0x50]
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x20], eax
call esi
push edi
call esi
cmp dword [ebp - 0x20], 0
jge 0x1007d347
xor esi, esi
jmp 0x1007d421
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
push edx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x1c], 0
push edx
mov ecx, dword [eax]
push 1
push 0x2710
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x1007d40e
mov esi, dword [ebx + 8]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [ebp - 0x1c], 1
jne 0x1007d40e
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x38], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0
push 0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x14]
push edx
push 0
push str.PNPDeviceID
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
cmp word [ebp - 0x38], 8
jne 0x1007d3d0
push dword [ebp - 0x30]
push esi
call fcn.10095ba5
add esp, 8
test eax, eax
je 0x1007d44d
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1007d3e4
mov dword [ebp - 0x14], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 3
push eax
call edi
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [eax]
push 1
push 0x2710
push eax
call dword [ecx + 0x10]
test eax, eax
jns 0x1007d382
xor esi, esi
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1007d421
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1007d435
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
lea eax, [ebp - 0x38]
push eax
call edi
mov esi, 1
jmp 0x1007d410
Function at 0x1007db90
Capabilities:
Hash data with md5

Disassembly:
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
ret

Function at 0x1007dd60
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edx
mov edx, ecx
mov dword [ebp - 0xa0], 0x67452301
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x9c], 0xefcdab89
mov dword [ebp - 0x98], 0x98badcfe
mov dword [ebp - 0x94], 0x10325476
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
call fcn.1007dbd0
add esp, 4
lea ecx, [ebp - 0xa0]
mov edx, esi
call fcn.1007dcb0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1008a777
mov esp, ebp
pop ebp
ret