joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10076800
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c3356
mov eax, dword fs:[0]
push eax
mov eax, 0x1094
call fcn.1008c2a0
mov eax, dword [0x1010c070]
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.10076770
mov dword [ebp - 0x109c], 0xffffffff
push 3
push 0
push ebx
lea ecx, [ebp - 0x109c]
mov dword [ebp - 4], 0
call fcn.1007f6d0
mov esi, dword [ebp - 0x109c]
test eax, eax
jne 0x10076875
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edi, edi
jmp 0x10076a28
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.1008e420
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 0x100768f3
xor edi, edi
jmp 0x10076a28
mov eax, dword [ebp - 0x1008]
test eax, eax
je 0x10076914
cmp eax, 0x1000
jae 0x10076914
lea ecx, [ebp - 0x1018]
add eax, ecx
mov ecx, edi
push eax
call fcn.10076650
mov eax, dword [ebp - 0x1004]
test eax, eax
je 0x10076935
cmp eax, 0x1000
jae 0x10076935
lea ecx, [ebp - 0x1018]
add eax, ecx
mov ecx, edi
push eax
call fcn.10076690
mov eax, dword [ebp - 0x1000]
test eax, eax
je 0x10076956
cmp eax, 0x1000
jae 0x10076956
lea ecx, [ebp - 0x1018]
add eax, ecx
mov ecx, edi
push eax
call fcn.100766d0
mov eax, dword [ebp - 0x100c]
test eax, eax
je 0x10076977
cmp eax, 0x1000
jae 0x10076977
lea ecx, [ebp - 0x1018]
add eax, ecx
mov ecx, edi
push eax
call fcn.10076710
cmp byte [ebp - 0x100e], 0
mov eax, dword [ebp - 0xffc]
mov dword [edi + 0x64], eax
je 0x1007698f
or dword [edi + 0x68], 1
jmp 0x10076993
and dword [edi + 0x68], 0xfffffffe
mov ecx, edi
call fcn.10075b60
cmp esi, 0xffffffff
je 0x100769af
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or esi, 0xffffffff
mov dword [ebp - 0x109c], esi
cmp dword [edi + 0x44], 0
jne 0x10076a23
push ebx
lea ecx, [ebp - 0x1098]
call fcn.1006fc50
mov byte [ebp - 4], 1
call fcn.1007f770
cmp dword [ebp - 0x1054], 0
je 0x10076a18
lea ecx, [edi + 4]
lea eax, [ebp - 0x1094]
cmp ecx, eax
je 0x100769ea
push 0xffffffffffffffff
push 0
push eax
call fcn.100058bd
lea ecx, [edi + 0x1c]
lea eax, [ebp - 0x107c]
cmp ecx, eax
je 0x10076a01
push 0xffffffffffffffff
push 0
push eax
call fcn.100058bd
lea ecx, [edi + 0x34]
lea eax, [ebp - 0x1064]
cmp ecx, eax
je 0x10076a18
push 0xffffffffffffffff
push 0
push eax
call fcn.100058bd
lea ecx, [ebp - 0x1098]
call fcn.1006ea00
mov edi, 1
cmp esi, 0xffffffff
je 0x10076a34
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.1008aeea
mov esp, ebp
pop ebp
ret
Function at 0x10077910
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c34de
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x1010c070]
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 0x10077968
mov eax, dword [esi]
jmp 0x1007796a
mov eax, esi
mov byte [eax], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.10074d90
mov edi, eax
mov byte [ebp - 4], 1
cmp esi, edi
je 0x100779f5
cmp dword [esi + 0x14], 0x10
jb 0x100779d0
mov eax, dword [esi + 0x14]
mov ecx, dword [esi]
inc eax
cmp eax, 0x1000
jb 0x100779c7
test cl, 0x1f
je 0x100779a3
call fcn.10090e61
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x100779af
call fcn.10090e61
sub ecx, eax
cmp ecx, 4
jae 0x100779bb
call fcn.10090e61
cmp ecx, 0x23
jbe 0x100779c5
call fcn.10090e61
mov ecx, eax
push ecx
call fcn.1008aee5
add esp, 4
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x100779e8
mov eax, dword [esi]
jmp 0x100779ea
mov eax, esi
push edi
mov ecx, esi
mov byte [eax], 0
call fcn.10007921
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x10077a43
mov ecx, dword [ebp - 0x40]
inc eax
cmp eax, 0x1000
jb 0x10077a3a
test cl, 0x1f
je 0x10077a16
call fcn.10090e61
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x10077a22
call fcn.10090e61
sub ecx, eax
cmp ecx, 4
jae 0x10077a2e
call fcn.10090e61
cmp ecx, 0x23
jbe 0x10077a38
call fcn.10090e61
mov ecx, eax
push ecx
call fcn.1008aee5
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.100748f0
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 0x10077a75
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 0x10077acd
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x7fffffff
jbe 0x10077a8d
call fcn.10090e61
add eax, eax
cmp eax, 0x1000
jb 0x10077ac4
test cl, 0x1f
je 0x10077aa0
call fcn.10090e61
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x10077aac
call fcn.10090e61
sub ecx, eax
cmp ecx, 4
jae 0x10077ab8
call fcn.10090e61
cmp ecx, 0x23
jbe 0x10077ac2
call fcn.10090e61
mov ecx, eax
push ecx
call fcn.1008aee5
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.1008aeea
mov esp, ebp
pop ebp
ret
Function at 0x10079450
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c365b
mov eax, dword fs:[0]
push eax
sub esp, 0x4b4
mov eax, dword [0x1010c070]
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.1008e420
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 0x10079532
push str.TencentDeskUpdate_
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call edi
test eax, eax
jne 0x10079524
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.1008e420
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 0x10079598
push str.TencentDeskUpdate_
lea eax, [ebp - 0x420]
push eax
call esi
lea eax, [ebp - 0x420]
push eax
call edi
test eax, eax
jne 0x1007958a
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 0x100795b7
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x218]
call fcn.1007a490
lea eax, [ebp - 0x4a0]
mov dword [ebp - 0x4a4], eax
lea ecx, [ebp - 0x4a4]
push 3
lea eax, [ebp - 0x218]
push eax
call fcn.10026cb1
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.10079140
mov bl, al
lea ecx, [ebp - 0x4a0]
mov eax, dword [ebp - 0x4a4]
cmp eax, ecx
je 0x10079637
push eax
call fcn.10095ea7
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.1008aeea
mov esp, ebp
pop ebp
ret 0x24
Function at 0x1007a490
Capabilities:
Check if file exists
Copy file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x1010c070]
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 0x1007a698
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.10026cb1
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 0x1007a546
push eax
call fcn.10095ea7
add esp, 4
push 3
lea eax, [ebp - 0x114]
push esi
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x118], eax
call fcn.10026cb1
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 0x1007a593
push eax
call fcn.10095ea7
add esp, 4
push 3
lea eax, [ebp - 0x114]
push esi
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x118], eax
call fcn.10026cb1
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 0x1007a5e0
push eax
call fcn.10095ea7
add esp, 4
push 3
lea eax, [ebp - 0x114]
push esi
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x118], eax
call fcn.10026cb1
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 0x1007a631
push eax
call fcn.10095ea7
add esp, 4
lea ecx, [ebp - 0x28]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007a637
sub ecx, edx
cmp ecx, 0x20
jne 0x1007a698
lea ecx, [ebp - 0x4c]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007a650
sub ecx, edx
cmp ecx, 0x20
jne 0x1007a698
lea ecx, [ebp - 0x70]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007a664
sub ecx, edx
cmp ecx, 0x20
jne 0x1007a698
lea ecx, [ebp - 0x94]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007a680
sub ecx, edx
cmp ecx, 0x20
jne 0x1007a698
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.1008aeea
mov esp, ebp
pop ebp
ret 4
Function at 0x1007bae0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c39d2
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x1010c070]
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 0x1007bb4e
mov eax, dword [esi]
jmp 0x1007bb50
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 0x1007bc4a
push ebx
push 0x100f98a8
push 0xffffffffffffffff
lea eax, [ebp - 0x810]
push 0x800
push eax
call fcn.1006a7b7
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 0x1007bc4a
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 0x1007bc4a
cmp byte [ebp - 0x810], al
jne 0x1007bc29
xor ecx, ecx
jmp 0x1007bc3b
lea ecx, [ebp - 0x810]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007bc32
sub ecx, edx
push ecx
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.10005844
mov eax, dword [ebp - 0x814]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x1007bc67
push eax
call edi
mov dword [ebp - 0x814], 0
mov eax, dword [ebp - 0x818]
test eax, eax
je 0x1007bc74
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.1008aeea
mov esp, ebp
pop ebp
ret
Function at 0x1007d720
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c3c38
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1010c070]
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 0x100c8948
push 1
push 0
push 0x100c8a18
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1007d7e0
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 0x1007d7a0
push 0x8007000e
call fcn.10001e48
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 0x1007d81e
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x1007d7e0
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 0x1007d7f9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x1007d80a
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 0x1007d7e0
mov eax, dword [ebp - 0x10]
cmp dword [ebx], eax
je 0x1007d860
mov esi, eax
test eax, eax
je 0x1007d84f
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 0x1007d860
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 0x1007d890
mov esi, ecx
test ecx, ecx
je 0x1007d87a
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 0x1007d890
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov esi, 1
jmp 0x1007d7e8
Function at 0x1007da10
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 0x100c3cd8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
push esi
push edi
mov eax, dword [0x1010c070]
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 0x1007dbc7
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 0x1007da86
push 0x8007000e
call fcn.10001e48
push 0x100f9928
mov byte [ebp - 4], 1
call esi
mov esi, eax
mov dword [ebp - 0x28], esi
test esi, esi
jne 0x1007daa4
push 0x8007000e
call fcn.10001e48
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 0x1007dad7
xor esi, esi
jmp 0x1007dbb1
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 0x1007db9e
mov esi, dword [ebx + 8]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [ebp - 0x1c], 1
jne 0x1007db9e
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 0x1007db60
push dword [ebp - 0x30]
push esi
call fcn.10096350
add esp, 8
test eax, eax
je 0x1007dbdd
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1007db74
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 0x1007db12
xor esi, esi
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1007dbb1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1007dbc5
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 0x1007dba0
Function at 0x1007e320
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 0x1007e4f0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x1010c070]
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.1007e360
add esp, 4
lea ecx, [ebp - 0xa0]
mov edx, esi
call fcn.1007e440
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1008aeea
mov esp, ebp
pop ebp
ret
Function at 0x1007f460
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1010c070]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx + 0x20], 0x10
push ebx
push edi
lea edi, [ecx + 0xc]
jb 0x1007f47f
mov eax, dword [edi]
jmp 0x1007f481
mov eax, edi
push eax
push 0
push str.Count
push str.Desc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ebx, eax
test ebx, ebx
js 0x1007f49f
cmp ebx, 0x64
jl 0x1007f4a1
xor ebx, ebx
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x14]
push 0x100f9730
push eax
call fcn.10075830
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x1007f4c0
mov eax, dword [edi]
jmp 0x1007f4c2
mov eax, edi
push eax
lea eax, [ebp - 0x14]
push eax
push str.Count
push str.Desc
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
test eax, eax
jne 0x1007f4ed
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008aeea
mov esp, ebp
pop ebp
ret 4
push esi
push 0
call fcn.100a04f1
mov esi, eax
mov ecx, 5
mov eax, ebx
cdq
idiv ecx
lea eax, [ebp - 0x24]
push edx
push str.Report_d
push eax
call fcn.10075830
push esi
lea eax, [ebp - 0x14]
push 0x100f9708
push eax
call fcn.10075830
add esp, 0x1c
cmp dword [edi + 0x14], 0x10
jb 0x1007f52c
mov eax, dword [edi]
jmp 0x1007f52e
mov eax, edi
push eax
lea eax, [ebp - 0x14]
push eax
push str.ReportTime
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov esi, dword [eax]
mov dword [ebp - 0x28], esi
cmp esi, eax
je 0x1007f5ce
cmp dword [edi + 0x14], 0x10
jb 0x1007f55a
mov edx, dword [edi]
jmp 0x1007f55c
mov edx, edi
lea ecx, [ebp - 0x28]
call fcn.1004a5a0
cmp dword [eax + 0x2c], 0x10
lea ecx, [eax + 0x18]
jb 0x1007f56f
mov ecx, dword [ecx]
cmp dword [eax + 0x14], 0x10
jb 0x1007f577
mov eax, dword [eax]
push edx
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp byte [esi + 0xd], 0
jne 0x1007f5ca
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x1007f5ac
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x1007f5c7
nop dword [eax]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x1007f5a0
jmp 0x1007f5c7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1007f5c5
cmp esi, dword [eax + 8]
jne 0x1007f5c5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1007f5b5
mov esi, eax
mov dword [ebp - 0x28], esi
cmp esi, dword [ebx]
jne 0x1007f550
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.1008aeea
mov esp, ebp
pop ebp
ret 4