joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007d210
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c3628
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 0x100c7948
push 1
push 0
push 0x100c7a18
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1007d2d0
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 0x1007d290
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 0x1007d30e
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x1007d2d0
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 0x1007d2e9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x1007d2fa
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 0x1007d2d0
mov eax, dword [ebp - 0x10]
cmp dword [ebx], eax
je 0x1007d350
mov esi, eax
test eax, eax
je 0x1007d33f
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 0x1007d350
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 0x1007d380
mov esi, ecx
test ecx, ecx
je 0x1007d36a
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 0x1007d380
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov esi, 1
jmp 0x1007d2d8
Function at 0x1007d500
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 0x100c36c8
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 0x1007d6b7
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 0x1007d576
push 0x8007000e
call fcn.10001e48
push 0x100f8964
mov byte [ebp - 4], 1
call esi
mov esi, eax
mov dword [ebp - 0x28], esi
test esi, esi
jne 0x1007d594
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 0x1007d5c7
xor esi, esi
jmp 0x1007d6a1
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 0x1007d68e
mov esi, dword [ebx + 8]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [ebp - 0x1c], 1
jne 0x1007d68e
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 0x1007d650
push dword [ebp - 0x30]
push esi
call fcn.10095e49
add esp, 8
test eax, eax
je 0x1007d6cd
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1007d664
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 0x1007d602
xor esi, esi
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1007d6a1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1007d6b5
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 0x1007d690
Function at 0x1007de10
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 0x1007dfe0
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.1007de50
add esp, 4
lea ecx, [ebp - 0xa0]
mov edx, esi
call fcn.1007df30
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret
Function at 0x1007ef50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx + 0x20], 0x10
push ebx
push edi
lea edi, [ecx + 0xc]
jb 0x1007ef6f
mov eax, dword [edi]
jmp 0x1007ef71
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 0x1007ef8f
cmp ebx, 0x64
jl 0x1007ef91
xor ebx, ebx
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x14]
push 0x100f86c8
push eax
call fcn.10075320
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x1007efb0
mov eax, dword [edi]
jmp 0x1007efb2
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 0x1007efdd
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret 4
push esi
push 0
call fcn.1009ffdc
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.10075320
push esi
lea eax, [ebp - 0x14]
push 0x100f86c4
push eax
call fcn.10075320
add esp, 0x1c
cmp dword [edi + 0x14], 0x10
jb 0x1007f01c
mov eax, dword [edi]
jmp 0x1007f01e
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 0x1007f0be
cmp dword [edi + 0x14], 0x10
jb 0x1007f04a
mov edx, dword [edi]
jmp 0x1007f04c
mov edx, edi
lea ecx, [ebp - 0x28]
call fcn.1004a090
cmp dword [eax + 0x2c], 0x10
lea ecx, [eax + 0x18]
jb 0x1007f05f
mov ecx, dword [ecx]
cmp dword [eax + 0x14], 0x10
jb 0x1007f067
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 0x1007f0ba
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x1007f09c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x1007f0b7
nop dword [eax]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x1007f090
jmp 0x1007f0b7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1007f0b5
cmp esi, dword [eax + 8]
jne 0x1007f0b5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1007f0a5
mov esi, eax
mov dword [ebp - 0x28], esi
cmp esi, dword [ebx]
jne 0x1007f040
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret 4
Function at 0x1007f620
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x1007f69e
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.1008df10
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x100f8b7c
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.1009600a
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
test eax, eax
jne 0x1007f69e
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret
cmp dword [esi + 4], 0
jne 0x1007f6b4
push str.GetAdaptersInfo
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 4], eax
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [esi + 4], eax
pop esi
setne al
xor ecx, ebp
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret

Function at 0x1007fbc0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, edx
xorps xmm0, xmm0
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa0], 0x67452301
mov dword [ebp - 0x9c], 0xefcdab89
movups xmmword [ebx], xmm0
mov dword [ebp - 0x98], 0x98badcfe
movups xmmword [edi], xmm0
mov dword [ebp - 0x94], 0x10325476
movups xmmword [edi + 0x10], xmm0
mov byte [edi + 0x20], 0
cmp dword [ecx + 0x14], 0x10
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
jb 0x1007fc43
mov ecx, dword [ecx]
mov edx, ecx
lea ecx, [ebp - 0xa0]
push eax
call fcn.1007de50
add esp, 4
lea ecx, [ebp - 0xa0]
mov edx, ebx
call fcn.1007df30
xor esi, esi
movzx eax, byte [ebx + esi]
push eax
push str._02x
push 2
push 3
push edi
call fcn.1006a2b7
inc esi
add esp, 0x14
add edi, 2
cmp esi, 0x10
jb 0x1007fc63
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov byte [eax + 0x20], 0
pop ebx
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret
Function at 0x10083300
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx + 0x18], 0x10
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x10]
push esi
lea esi, [ecx + 4]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xa0], eax
movups xmmword [ebp - 0x28], xmm0
mov byte [ebp - 8], 0
movups xmmword [ebp - 0x18], xmm0
mov byte [ebp - 0x2c], 0
movups xmmword [ebp - 0x4c], xmm0
mov byte [ebp - 0x50], 0
movups xmmword [ebp - 0x3c], xmm0
mov byte [ebp - 0x74], 0
movups xmmword [ebp - 0x70], xmm0
movups xmmword [ebp - 0x60], xmm0
movups xmmword [ebp - 0x94], xmm0
movups xmmword [ebp - 0x84], xmm0
jb 0x10083379
mov eax, dword [esi]
jmp 0x1008337b
mov eax, esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push 0x21
lea eax, [ebp - 0x28]
push eax
push 0
push str.config1
push str.Profile
call edi
cmp dword [esi + 0x14], 0x10
jb 0x100833a1
mov eax, dword [esi]
jmp 0x100833a3
mov eax, esi
push eax
push 0x21
lea eax, [ebp - 0x4c]
push eax
push 0
push str.config2
push str.Profile
call edi
cmp dword [esi + 0x14], 0x10
jb 0x100833c2
mov eax, dword [esi]
jmp 0x100833c4
mov eax, esi
push eax
push 0x21
lea eax, [ebp - 0x70]
push eax
push 0
push str.config3
push str.Profile
call edi
cmp dword [esi + 0x14], 0x10
jb 0x100833e1
mov esi, dword [esi]
push esi
push 0x21
lea eax, [ebp - 0x94]
push eax
push 0
push str.config4
push str.Profile
call edi
cmp byte [ebp - 0x28], 0
pop edi
jne 0x10083404
xor ecx, ecx
jmp 0x10083419
lea ecx, [ebp - 0x28]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10083410
sub ecx, edx
push ecx
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.100057f3
cmp byte [ebp - 0x4c], 0
pop esi
pop ebx
jne 0x10083431
xor ecx, ecx
jmp 0x10083440
lea ecx, [ebp - 0x4c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10083437
sub ecx, edx
push ecx
mov ecx, dword [ebp - 0x98]
lea eax, [ebp - 0x4c]
push eax
call fcn.100057f3
cmp byte [ebp - 0x70], 0
jne 0x1008345a
xor ecx, ecx
jmp 0x10083469
lea ecx, [ebp - 0x70]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10083460
sub ecx, edx
push ecx
mov ecx, dword [ebp - 0x9c]
lea eax, [ebp - 0x70]
push eax
call fcn.100057f3
cmp byte [ebp - 0x94], 0
jne 0x10083486
xor ecx, ecx
jmp 0x10083499
lea ecx, [ebp - 0x94]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10083490
sub ecx, edx
push ecx
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x94]
push eax
call fcn.100057f3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100839e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x1010b070]
xor eax, esp
mov dword [esp + 0x40], eax
add ecx, 0x1c
mov byte [esp + 0x3c], 0
xorps xmm0, xmm0
push ebx
movups xmmword [esp + 0x20], xmm0
cmp dword [ecx + 0x14], 0x10
movups xmmword [esp + 0x30], xmm0
jb 0x10083a12
mov ecx, dword [ecx]
push ecx
push 0x21
lea eax, [esp + 0x28]
push eax
push 0
push str.Guid
push str.CurGuid
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x20], 0
mov dword [esp + 0x1c], 0xf
mov dword [esp + 0x18], 0
mov byte [esp + 8], 0
jne 0x10083a4c
xor ecx, ecx
jmp 0x10083a5c
lea ecx, [esp + 0x20]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10083a53
sub ecx, edx
push ecx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.100057f3
mov eax, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [esp + 0x18], ebx
setne bl
cmp eax, 0x10
jb 0x10083aac
mov ecx, dword [esp + 8]
inc eax
cmp eax, 0x1000
jb 0x10083aa3
test cl, 0x1f
jne 0x10083abe
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x10083ac3
sub ecx, eax
cmp ecx, 4
jb 0x10083ac8
cmp ecx, 0x23
ja 0x10083acd
mov ecx, eax
push ecx
call fcn.1008a9f2
add esp, 4
mov ecx, dword [esp + 0x44]
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret
call fcn.10090951
call fcn.10090951
call fcn.10090951
call fcn.10090951
int3
Function at 0x10087fc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x11c]
push edi
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.OLEAUT32.dll_SysReAllocString
mov edi, ecx
mov dword [ebp - 0x10c], 0x104
mov ebx, 3
mov dword [ebp - 0x110], 1
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
call esi
test eax, eax
jne 0x1008818e
push edi
push str._sConnection
push 0xffffffffffffffff
lea eax, [ebp - 0x108]
push 0x103
push eax
call fcn.1006a2b7
add esp, 0x14
lea eax, [ebp - 0x118]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x11c]
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x10088186
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x110], 4
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x10c], 4
push eax
push 0
push str.MediaSubType
push dword [ebp - 0x118]
call edi
test eax, eax
jne 0x1008817e
push 0x104
push eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x110], 1
push eax
mov dword [ebp - 0x10c], 0x103
call fcn.1008df10
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push str.PnpInstanceID
push dword [ebp - 0x118]
call edi
test eax, eax
jne 0x1008817e
mov eax, dword [ebp - 0x114]
cmp eax, 1
jne 0x1008816f
push ebx
lea eax, [ebp - 0x108]
push 0x100f8cb4
push eax
call fcn.100a0850
add esp, 0xc
test eax, eax
jne 0x1008813d
xor ebx, ebx
jmp 0x1008817e
mov eax, dword [ebp - 0x114]
cmp eax, 1
jne 0x1008816f
push 3
lea eax, [ebp - 0x108]
push 0x100f8cb4
push eax
call fcn.100a0850
add esp, 0xc
test eax, eax
je 0x10088169
mov ebx, 2
jmp 0x1008817e
mov eax, dword [ebp - 0x114]
xor ebx, ebx
cmp eax, 2
setne bl
lea ebx, [ebx*2 + 1]
push dword [ebp - 0x118]
call esi
push dword [ebp - 0x11c]
call esi
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret

Function at 0x10088810
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x34], 0x10
lea eax, [esi + 0x20]
jb 0x10088831
mov eax, dword [eax]
push eax
push 0x100
lea eax, [ebp - 0x114]
push eax
push 0x100d1e02
push str.Guid
push str.ActiveGuid
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x114]
call fcn.10074340
test eax, eax
je 0x1008888c
movups xmm0, xmmword [ebp - 0x14]
mov al, byte [ebp - 0xf4]
movups xmmword [esi + 0x38], xmm0
movups xmm0, xmmword [ebp - 0x114]
movups xmmword [esi + 0x48], xmm0
movups xmm0, xmmword [ebp - 0x104]
movups xmmword [esi + 0x58], xmm0
mov byte [esi + 0x68], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret
Function at 0x100888a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x1010b070]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, ecx
call edi
mov esi, eax
add esi, dword [ebp + 8]
mov dword [esp + 0x18], esi
call edi
cmp esi, eax
jae 0x100889ad
lea eax, [ebx + 0x48]
test eax, eax
jne 0x100889ca
cmp dword [ebx + 0x34], 0x10
lea edi, [ebx + 0x20]
jb 0x100888ec
mov eax, dword [edi]
jmp 0x100888ee
mov eax, edi
lea ecx, [esp + 0x1c]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
test eax, eax
jne 0x10088913
xorps xmm0, xmm0
movlpd qword [esp + 0x10], xmm0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x1008891b
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov eax, dword [ebx + 0x70]
mov esi, dword [ebx + 0x74]
cmp edx, eax
jne 0x10088929
cmp ecx, esi
je 0x10088992
lea esi, [ebx + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [edi + 0x14], 0x10
jb 0x1008893b
mov edi, dword [edi]
lea eax, [esp + 0x40]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
test eax, eax
jne 0x10088960
xorps xmm0, xmm0
movlpd qword [esp + 0x10], xmm0
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
jmp 0x10088968
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x58]
mov eax, dword [ebx + 0x70]
mov edx, dword [ebx + 0x74]
mov dword [esp + 0x10], ecx
cmp ecx, eax
jne 0x1008897a
cmp edi, edx
je 0x1008898b
mov ecx, ebx
call fcn.10088810
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x74], edi
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esp + 0x18], eax
lea eax, [ebx + 0x48]
jb 0x100888d7
lea eax, [ebx + 0x48]
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x64]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret 4

Function at 0x100a7600
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100a747f
Function at 0x100b1b70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x41c], 0
xor eax, eax
mov word [ebp - 0x414], ax
push 0x206
push 0
lea ecx, [ebp - 0x412]
push ecx
call fcn.1008df10
add esp, 0xc
lea edx, [ebp - 0x414]
push edx
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
je 0x100b1d03
mov dword [ebp - 0x420], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x424], eax
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.1008df10
add esp, 0xc
mov ecx, dword [ebp - 0x428]
add ecx, 0x24
call fcn.10001e60
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov dword [ebp - 0x418], eax
lea edx, [ebp - 0x20c]
push edx
push 0
push 0x100d4b6c
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x100b1cca
cmp dword [ebp - 0x418], 0
je 0x100b1c9c
mov ecx, dword [ebp - 0x418]
movzx edx, word [ecx]
test edx, edx
je 0x100b1c9c
mov eax, dword [ebp - 0x418]
push eax
mov ecx, dword [ebp - 0x424]
push ecx
lea edx, [ebp - 0x414]
push edx
push str._sQX_d._s
push 0x102
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.10001ea4
add esp, 0x1c
jmp 0x100b1cc8
mov ecx, dword [ebp - 0x424]
push ecx
lea edx, [ebp - 0x414]
push edx
push str._sQX_d.tmp
push 0x102
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.10001ea4
add esp, 0x18
jmp 0x100b1cf4
cmp dword [ebp - 0x418], 0
je 0x100b1cf4
mov ecx, dword [ebp - 0x418]
movzx edx, word [ecx]
test edx, edx
je 0x100b1cf4
mov eax, dword [ebp - 0x418]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
lea edx, [ebp - 0x20c]
push edx
mov ecx, dword [ebp + 8]
call fcn.10001432
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret 4