joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45df00
Capabilities:
Check if file exists

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 0x509d8d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], esi
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0
call fcn.00456880
mov edi, eax
cmp esi, edi
je 0x45dfd7
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x45dfa5
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x45df9b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45e093
mov eax, edx
push ecx
push eax
call fcn.004dafca
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x45e00b
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45e001
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45e093
push edx
push ecx
call fcn.004dafca
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.00456550
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45e03d
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x45e073
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45e069
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45e098
push edx
push ecx
call fcn.004dafca
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004e002c
call fcn.004e002c
int3
Function at 0x461470
Capabilities:
Check if file exists
Copy file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ebx
call edi
test eax, eax
jne 0x46167f
push esi
call edi
test eax, eax
je 0x46167f
xorps xmm0, xmm0
mov byte [ebp - 8], 0
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.004639a0
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 0x461534
push eax
call fcn.004e488f
add esp, 4
push 3
lea eax, [ebp - 0x114]
push esi
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x118], eax
call fcn.004639a0
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 0x461581
push eax
call fcn.004e488f
add esp, 4
push 3
lea eax, [ebp - 0x114]
push esi
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x118], eax
call fcn.004639a0
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 0x4615ce
push eax
call fcn.004e488f
add esp, 4
push 3
lea eax, [ebp - 0x114]
push esi
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x118], eax
call fcn.004639a0
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]
cmp eax, ecx
je 0x46161e
push eax
call fcn.004e488f
add esp, 4
lea ecx, [ebp - 0x28]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x461624
sub ecx, edx
cmp ecx, 0x20
jne 0x46167f
lea ecx, [ebp - 0x4c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x461638
sub ecx, edx
cmp ecx, 0x20
jne 0x46167f
lea ecx, [ebp - 0x70]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x461650
sub ecx, edx
cmp ecx, 0x20
jne 0x46167f
lea ecx, [ebp - 0x94]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x461667
sub ecx, edx
cmp ecx, 0x20
jne 0x46167f
push 1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004dafe6
mov esp, ebp
pop ebp
ret 8
Function at 0x462850
Capabilities:
Copy file
Delete file
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a1dd
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x40]
xor dl, dl
mov dword [ebp - 0x48], eax
xor bl, bl
call fcn.00462bb0
push 0
push 0
push 3
push 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push 1
cmovae eax, dword [ebp - 0x40]
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x46298d
mov dl, 1
lea ecx, [ebp - 0x28]
call fcn.00462bb0
lea ecx, [ebp - 0x40]
call fcn.00463670
test al, al
jne 0x462917
lea ecx, [ebp - 0x28]
call fcn.00463670
test al, al
je 0x462917
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push 0
cmovae ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x462917
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, dword [ebp - 0x14]
mov esi, eax
cmp edx, 8
jb 0x462974
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46296a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462a23
push edx
push ecx
call fcn.004dafca
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp esi, 0xffffffff
je 0x4629ce
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x10
jb 0x4629c7
push 0
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push eax
push 0x10
push dword [ebp - 0x48]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4629c7
cmp dword [ebp - 0x44], 0x10
mov eax, 1
movzx ebx, bl
cmove ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x462a04
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4629fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462a28
push edx
push ecx
call fcn.004dafca
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret 4
call fcn.004e002c
call fcn.004e002c
int3
Function at 0x462a30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a1dd
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x40]
xor dl, dl
mov dword [ebp - 0x44], eax
xor bl, bl
call fcn.00462bb0
push 0
push 0
push 2
push 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push 1
cmovae eax, dword [ebp - 0x40]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x462b1f
mov dl, 1
lea ecx, [ebp - 0x28]
call fcn.00462bb0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0
push 2
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, dword [ebp - 0x14]
mov esi, eax
cmp edx, 8
jb 0x462b06
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x462afc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462ba0
push edx
push ecx
call fcn.004dafca
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp esi, 0xffffffff
je 0x462b4b
push 0
lea eax, [ebp - 0x48]
push eax
push 0x10
push dword [ebp - 0x44]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x462b44
cmp dword [ebp - 0x48], 0x10
mov eax, 1
movzx ebx, bl
cmove ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x462b81
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x462b77
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462ba5
push edx
push ecx
call fcn.004dafca
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret 4
call fcn.004e002c
call fcn.004e002c
int3
Function at 0x462bb0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a242
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bl, dl
mov esi, ecx
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x23c], esi
xor eax, eax
mov dword [ebp - 0x234], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x208
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x234], 1
push eax
call fcn.004dcc10
add esp, 0xc
mov ecx, 0x1a
test bl, bl
mov eax, 0x23
cmovne eax, ecx
push 1
push eax
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x462d56
xor eax, eax
mov dword [ebp - 0x230], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x230], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x462c90
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.0044a750
mov dword [ebp - 4], 1
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
mov ecx, esi
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.0044ae60
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x462d1b
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x462d11
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462d73
push edx
push ecx
call fcn.004dafca
add esp, 8
mov ecx, esi
test bl, bl
je 0x462d2a
push 0x13
push str.TencentDeskUpdate
jmp 0x462d31
push 0x10
push str.TencentDesktop
call fcn.0044ae60
mov ecx, esi
call fcn.00462d80
test al, al
jne 0x462d48
mov ecx, esi
call fcn.00462ec0
push 0xa
push str.Global.db
mov ecx, esi
call fcn.0044ae60
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret
call fcn.004e002c
int3
Function at 0x4646e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a3c7
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x54b144]
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 - 0x828], esi
mov dword [ebp - 0x820], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 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 0x46482a
push ebx
push 0x532acc
push 0xffffffffffffffff
lea eax, [ebp - 0x810]
push 0x800
push eax
call fcn.0044aac0
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 0x46482a
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 0x46482a
lea ecx, [ebp - 0x810]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x464812
sub ecx, edx
lea eax, [ebp - 0x810]
push ecx
push eax
mov ecx, esi
call fcn.0044c030
mov eax, dword [ebp - 0x814]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x464847
push eax
call edi
mov dword [ebp - 0x814], 0
mov eax, dword [ebp - 0x818]
test eax, eax
je 0x464854
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.004dafe6
mov esp, ebp
pop ebp
ret
Function at 0x4663c0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a6ad
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x54b144]
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 0x522b04
push 1
push 0
push 0x522af4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x466480
mov edi, dword [ebp - 0x14]
push str.._rootcimv2
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x46654e
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 4
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push edi
call dword [ebp - 0x18]
push esi
mov edi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
jns 0x4664be
mov byte [ebp - 4], 5
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x466480
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], 0xe
test eax, eax
je 0x466499
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xf
test ecx, ecx
je 0x4664aa
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 0x466480
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x10]
cmp ecx, eax
je 0x46650a
mov esi, eax
mov byte [ebp - 4], 0xa
test esi, esi
je 0x4664f7
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x10]
mov dword [ebx], esi
mov byte [ebp - 4], 0xb
test ecx, ecx
je 0x46650a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebx + 4]
mov ecx, dword [ebp - 0x14]
cmp edx, ecx
je 0x466544
mov esi, ecx
mov byte [ebp - 4], 0xc
test esi, esi
je 0x46652d
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov edx, dword [ebx + 4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov dword [ebx + 4], esi
mov byte [ebp - 4], 0xd
test edx, edx
je 0x466544
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov esi, 1
jmp 0x466488
push 0x8007000e
call fcn.00450130
int3
Function at 0x466560
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 0x50a6fd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
push esi
push edi
mov eax, dword [0x54b144]
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 0x46671d
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov eax, dword [eax]
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str.SELECT__FROM_Win32_NetworkAdapter_WHERE__PNPDeviceID_IS_NOT_NULL_
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x24], eax
call esi
mov edi, eax
mov dword [ebp - 0x28], edi
test edi, edi
je 0x466740
push 0x532bb0
mov byte [ebp - 4], 1
call esi
mov esi, eax
mov dword [ebp - 0x2c], esi
test esi, esi
je 0x46674a
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push 0
push 0x30
push edi
push esi
push dword [ebp - 0x20]
call dword [ebp - 0x24]
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x24], eax
call esi
push edi
call esi
cmp dword [ebp - 0x24], 0
jge 0x466620
xor esi, esi
jmp 0x466707
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 5
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 0x4666f4
mov esi, dword [ebx + 8]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
nop dword [eax + eax]
cmp dword [ebp - 0x1c], 1
jne 0x4666f4
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0
push 0
mov byte [ebp - 4], 6
lea edx, [ebp - 0x40]
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 - 0x40], 8
jne 0x4666b2
push dword [ebp - 0x38]
push esi
call fcn.004e0469
add esp, 8
test eax, eax
je 0x466733
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4666ca
mov dword [ebp - 0x14], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
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 0x466660
xor esi, esi
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x466707
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xb
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x46671b
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 - 0x40]
push eax
call edi
mov esi, 1
jmp 0x4666f6
push 0x8007000e
call fcn.00450130
push 0x8007000e
call fcn.00450130
int3
Function at 0x4688e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx + 0x20], 0x10
push ebx
push edi
lea edi, [ecx + 0xc]
mov eax, edi
jb 0x4688ff
mov eax, dword [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 0x46891d
cmp ebx, 0x64
jl 0x46891f
xor ebx, ebx
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x14]
push 0x532990
push eax
call fcn.00457010
add esp, 0xc
mov eax, edi
cmp dword [edi + 0x14], 0x10
jb 0x46893e
mov eax, dword [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 0x468969
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret 4
push esi
push 0
call fcn.004e4810
mov esi, eax
xor edx, edx
mov ecx, 5
mov eax, ebx
div ecx
lea eax, [ebp - 0x24]
push edx
push str.Report_d
push eax
call fcn.00457010
push esi
lea eax, [ebp - 0x14]
push 0x532978
push eax
call fcn.00457010
add esp, 0x1c
mov eax, edi
cmp dword [edi + 0x14], 0x10
jb 0x4689a9
mov eax, dword [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]
cmp esi, eax
je 0x468a35
cmp dword [edi + 0x14], 0x10
mov edx, edi
jb 0x4689d2
mov edx, dword [edi]
cmp dword [esi + 0x3c], 0x10
lea eax, [esi + 0x28]
jb 0x4689dd
mov eax, dword [eax]
cmp dword [esi + 0x24], 0x10
lea ecx, [esi + 0x10]
jb 0x4689e8
mov ecx, dword [ecx]
push edx
push eax
push ecx
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x468a1b
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x468a17
cmp esi, dword [eax + 8]
jne 0x468a17
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x468a07
mov esi, eax
jmp 0x468a31
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x468a31
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x468a25
cmp esi, dword [ebx]
jne 0x4689c8
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.004dafe6
mov esp, ebp
pop ebp
ret 4
Function at 0x469d90
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x54b144]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, edx
xorps xmm0, xmm0
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0x67452301
mov dword [esp + 0x14], 0xefcdab89
movups xmmword [ebx], xmm0
mov dword [esp + 0x18], 0x98badcfe
movups xmmword [edi], xmm0
mov dword [esp + 0x1c], 0x10325476
movups xmmword [edi + 0x10], xmm0
mov byte [edi + 0x20], 0
cmp dword [ecx + 0x14], 0x10
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
jb 0x469dfc
mov ecx, dword [ecx]
mov edx, ecx
lea ecx, [esp + 0x10]
push eax
call fcn.00466760
add esp, 4
lea edx, [esp + 0x10]
mov ecx, ebx
call fcn.00466840
xor esi, esi
nop dword [eax + eax]
movzx eax, byte [ebx + esi]
push eax
push str._02x
push 2
push 3
push edi
call fcn.0044aac0
inc esi
add esp, 0x14
add edi, 2
cmp esi, 0x10
jb 0x469e20
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov byte [eax + 0x20], 0
call fcn.004dafe6
mov esp, ebp
pop ebp
ret