joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464002
Capabilities:
Get disk information

Disassembly:
push 0x58
mov eax, 0x4adf3e
call fcn.00471258
mov dword [ebp - 0x54], ecx
mov esi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
xor edi, edi
push edi
push edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
call esi
push 0x4f3a74
xor ecx, ecx
push 2
pop edx
mov ebx, eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004727e5
pop ecx
pop ecx
mov dword [ebp - 0x58], eax
cmp eax, edi
jne 0x464050
xor eax, eax
xor edx, edx
jmp 0x46410b
push eax
push ebx
call esi
test eax, eax
je 0x4640fc
mov esi, dword [ebp - 0x58]
xor eax, eax
cmp ax, word [esi]
je 0x4640fc
push esi
lea ecx, [ebp - 0x48]
call fcn.00461e2e
mov ecx, dword [ebp - 0x54]
push esi
mov dword [ebp - 4], edi
call fcn.00463bfb
test eax, eax
je 0x4640cc
push 2
push edi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00461de7
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], edi
jae 0x4640a4
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x64]
push ecx
mov ecx, dword [ebp - 0x54]
push eax
call fcn.00460b14
test eax, eax
je 0x4640c1
mov eax, dword [ebp - 0x64]
add dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x60]
adc dword [ebp - 0x4c], eax
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00461712
lea eax, [ebp - 0x5c]
push eax
push 0x104
push esi
mov dword [ebp - 0x5c], edi
call fcn.00460e68
mov eax, dword [ebp - 0x5c]
or dword [ebp - 4], 0xffffffff
push edi
push 1
lea ecx, [ebp - 0x48]
lea esi, [esi + eax*2 + 2]
call fcn.00461712
cmp esi, edi
jne 0x46405f
push dword [ebp - 0x58]
call fcn.00471864
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
pop ecx
call fcn.004712db
ret

Function at 0x464111
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov edi, ecx
call fcn.004701a0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push esi
push dword [ebp - 0x20c]
mov ecx, edi
call fcn.00463db0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0047021a
leave
ret 4
Function at 0x464179
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebx + 0x10], eax
test eax, eax
je 0x4641cd
push 0xe
pop ecx
mov esi, str.SOFTWARE360Safe_softmgrdg
lea edi, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
mov esi, str.sotm
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x10]
push eax
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x48]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
movsw word es:[edi], word [esi]
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov dword [ebp - 0x4c], 0xb
jmp 0x4641d4
mov dword [ebp - 0x4c], 0xa
push 4
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.solid
lea esi, [ebx + 0x1c]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push 0x4bd228
push dword [esi]
mov dword [ebp - 0x4c], 0x2718
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea edi, [ebx + 0x44]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jne 0x46422e
mov ecx, ebx
call fcn.00464002
push edx
push eax
push 0x4bb6e0
push edi
call fcn.00403ac2
add esp, 0x10
push 1
mov ecx, edi
call fcn.00414b85
push eax
push 0x4bd230
mov ecx, esi
call fcn.0043a43d
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047021a
leave
ret 4
Function at 0x4642f6
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x14
mov eax, 0x4adf6b
call fcn.004711ef
mov esi, ecx
lea eax, [esi + 0x24]
xor ebx, ebx
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.00460cd7
test eax, eax
je 0x46435c
cmp dword [ebp - 0x10], ebx
jne 0x46434d
mov ecx, esi
call fcn.00460d32
test eax, eax
je 0x46435c
mov ecx, esi
call fcn.00464255
test eax, eax
jne 0x46446a
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
call fcn.00464111
push 0x208
mov edi, eax
lea eax, [ebp]
push ebx
push eax
call fcn.004701a0
add esp, 0xc
push 0x104
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x464460
cmp edi, ebx
je 0x464460
push 0x4f39f8
lea ecx, [ebp - 0x14]
call fcn.004028e9
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.0046192f
mov edi, dword [ebp - 0x14]
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
cmp eax, ebx
jne 0x464454
cmp dword [edi - 0xc], ebx
je 0x4643e3
push edi
push str.RPM_Model___s
call fcn.00404d3e
pop ecx
pop ecx
cmp dword [edi - 0xc], ebx
jne 0x4643f9
lea eax, [ebp - 0x14]
push eax
push dword [ebp]
mov ecx, esi
call fcn.0046351a
mov edi, dword [ebp - 0x14]
cmp dword [edi - 0xc], ebx
je 0x464410
push edi
call fcn.0046265a
push edi
push str.Disk_Model___s
mov dword [ebp - 0x10], eax
call fcn.00404d3e
add esp, 0xc
cmp dword [ebp - 0x10], ebx
jne 0x464454
lea eax, [esi + 0xc]
push eax
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
push dword [ebp - 0x18]
mov ecx, esi
mov dword [ebp - 0x1c], ebx
call fcn.004616e1
test eax, eax
je 0x46443c
mov dword [ebp - 0x10], 1
jmp 0x464454
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.00461ab7
test eax, eax
je 0x464454
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [edi - 0x10]
call fcn.0040290e
push dword [ebp - 0x10]
mov ecx, esi
call fcn.00464179
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0047021a
add ebp, 0x20c
leave
ret
Function at 0x464499
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
xor esi, esi
push 4
pop edi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], edi
cmp dword [ebp + 8], esi
je 0x464578
push ebx
mov ebx, dword [sym.imp.WININET.dll_HttpSendRequestW]
mov eax, dword [ebp + 0xc]
dec dword [ebp + 0xc]
test eax, eax
jle 0x464577
push esi
push esi
push esi
push esi
push dword [ebp + 8]
call ebx
mov dword [ebp - 4], eax
cmp eax, esi
jne 0x464539
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f0d
je 0x4644f1
cmp eax, 0x2f19
jne 0x46452a
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x1f
push dword [ebp + 8]
mov dword [ebp - 4], edi
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
or dword [ebp - 0xc], 0x3180
push edi
lea eax, [ebp - 0xc]
push eax
push 0x1f
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push esi
push esi
push esi
push esi
push dword [ebp + 8]
call ebx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], esi
jne 0x4644bf
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4644bf
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x20000013
push dword [ebp + 8]
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], edi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov dword [ebp - 4], eax
cmp eax, esi
je 0x46452f
cmp dword [ebp - 8], 0xc8
je 0x464577
cmp dword [ebp - 8], 0xce
je 0x464577
mov dword [ebp - 4], esi
jmp 0x4644bf
pop ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 8

Function at 0x46465f
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
xor eax, eax
cmp esi, eax
jne 0x46466e
xor eax, eax
pop esi
ret
push eax
push eax
push eax
push dword [esi + 0x10]
call fcn.00401ed4
test eax, eax
je 0x46466a
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop esi
ret
Function at 0x466091
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4ae164
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ed820]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x6c]
cmp eax, 0x65
jne 0x4661a6
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, 0x2853
push ebx
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4661fb
lea ebp, [ebx + 1]
push ebp
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4661fb
cmp dword [esi + 0x114], 0
je 0x466181
inc dword [esi + 0x110]
mov eax, dword [esi + 0x110]
cmp eax, 8
jae 0x46616c
push ebx
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x46614b
push ebx
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
push ebp
push dword [esi + 4]
call edi
push 5
push eax
call ebx
jmp 0x4661fb
push ebp
push dword [esi + 4]
call edi
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebp
push ebx
push dword [esi + 4]
call edi
push 5
push eax
call ebp
jmp 0x4661fb
cmp eax, 0x17
jbe 0x4661fb
mov dword [esi + 0x110], 1
jmp 0x4661fb
push ebx
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
push ebp
push dword [esi + 4]
call edi
push 0
push eax
call ebx
and dword [esi + 0x110], 0
jmp 0x4661fb
cmp eax, 0x66
jne 0x4661be
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, esi
call fcn.00465c94
jmp 0x4661fb
cmp eax, 0x67
jne 0x4661fb
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
lea ecx, [esp + 0x14]
call fcn.0044cbca
and dword [esp + 0x64], 0
push 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [esp + 0x1c]
call fcn.004649f8
or dword [esp + 0x64], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.0044cb6f
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 4

Function at 0x466826
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 3
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x46684c
cmp dword [ebp - 4], 0
je 0x466861
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret
Function at 0x466a6d
Capabilities:
Delete file
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3a8]
sub esp, 0x428
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp + 0x3a4], eax
push edi
xor edi, edi
push edi
push 1
push 0x4f26b8
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x466aa5
xor eax, eax
inc eax
jmp 0x466c4d
push esi
push str.DRIVERDLL
push 0x1389
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x466ac4
xor eax, eax
jmp 0x466c4c
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov dword [ebp - 0x70], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
cmp ebx, edi
jne 0x466ae5
xor eax, eax
jmp 0x466c4b
mov esi, 0x208
push esi
lea eax, [ebp + 0x19c]
push edi
push eax
mov dword [ebp - 0x74], edi
call fcn.004701a0
push esi
lea eax, [ebp - 0x6c]
push edi
push eax
call fcn.004701a0
add esp, 0x18
lea eax, [ebp - 0x6c]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jbe 0x466b34
lea eax, [ebp + 0x19c]
push eax
push edi
push 0x4bf5fc
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp word [ebp + 0x19c], di
jne 0x466b52
push str.LoadDriverDll.dll
lea eax, [ebp + 0x19c]
push esi
push eax
call fcn.00472f25
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
cmp ebx, edi
je 0x466c48
push edi
push edi
push 2
push edi
push 1
push 0x40000000
lea eax, [ebp + 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x466c48
push edi
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x70]
mov dword [ebp - 0x80], edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x466c3b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp + 0x19c]
push edi
push eax
call fcn.00402346
pop ecx
pop ecx
test eax, eax
je 0x466c3b
lea eax, [ebp + 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
cmp ebx, edi
je 0x466c3b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Init
push ebx
call esi
push 0x4bf5cc
push ebx
mov dword [ebp - 0x7c], eax
call esi
push 0x4bf5c8
push ebx
mov dword [ebp - 0x78], eax
call esi
push str.Uninit
push ebx
mov dword [ebp - 0x70], eax
call esi
mov esi, eax
cmp dword [ebp - 0x7c], edi
je 0x466c34
cmp dword [ebp - 0x78], edi
je 0x466c34
cmp dword [ebp - 0x70], edi
je 0x466c34
cmp esi, edi
je 0x466c34
call dword [ebp - 0x7c]
test al, al
je 0x466c34
xor edi, edi
inc edi
push edi
push 0x4bf5ac
call dword [ebp - 0x78]
pop ecx
pop ecx
call dword [ebp - 0x70]
test al, al
je 0x466c32
mov dword [ebp - 0x74], edi
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp + 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x74]
pop ebx
pop esi
mov ecx, dword [ebp + 0x3a4]
xor ecx, ebp
pop edi
call fcn.0047021a
add ebp, 0x3a8
leave
ret
Function at 0x46735e
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
test eax, eax
je 0x46736c
cmp eax, 0xffffffff
jne 0x467386
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x4672dd
push 0
push 0
call fcn.00470d59
add esp, 0x18
mov dword [esi], eax
mov esi, dword [esi]
test esi, esi
je 0x467396
cmp esi, 0xffffffff
je 0x467396
xor eax, eax
inc eax
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x467b64
Capabilities:
Get common file path
Get disk information
Get disk size

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x4ae3e2
call fcn.004711ef
xor eax, eax
push 0x206
mov word [ebp], ax
xor edi, edi
lea eax, [ebp + 2]
push edi
push eax
mov esi, ecx
call fcn.004701a0
add esp, 0xc
push 0x104
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
movzx ebx, word [ebp]
push 0x4f39f8
lea ecx, [ebp - 0x10]
call fcn.004028e9
movzx eax, bx
push eax
lea eax, [ebp - 0x10]
push str._c:_
push eax
mov dword [ebp - 4], edi
call fcn.00403ac2
mov ebx, dword [ebp - 0x10]
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x467c1e
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
lea ecx, [ebx - 0x10]
call fcn.0040290e
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 + 0x208]
xor ecx, ebp
call fcn.0047021a
add ebp, 0x20c
leave
ret
push 8
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.004701a0
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push edi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x467c46
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
jmp 0x467c59
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
shrd eax, ecx, 0x14
shr ecx, 0x14
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
xor edi, edi
inc edi
jmp 0x467bf1

Function at 0x467d65
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xd4
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
xor eax, eax
push 0xc6
push eax
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x52]
push eax
mov esi, ecx
call fcn.004701a0
add esp, 0xc
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
push eax
push str.ipartner
push str.SOFTWARE360SafeCoop
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x5c], 0x64
mov dword [ebp - 0x58], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x54]
push eax
lea ecx, [esi + 0x30]
call fcn.0040285e
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
pop esi
call fcn.0047021a
add ebp, 0x78
leave
ret
Function at 0x467e58
Capabilities:
Read .ini file

Disassembly:
push 4
mov eax, 0x4ae1ee
call fcn.004711ef
mov edi, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x10], eax
mov ebx, edi
mov dword [ebp + 0x1c], eax
push edi
lea ecx, [ebp + 0x1c]
mov dword [ebp - 4], eax
call fcn.00467961
test al, al
jne 0x467e90
mov ecx, dword [ebp + 8]
push 0x4f39f8
call fcn.004028e9
jmp 0x467ee0
push dword [ebp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edi
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call esi
lea ecx, [edi - 1]
jmp 0x467ed1
add ebx, edi
push ebx
lea ecx, [ebp + 0x1c]
call fcn.00467994
test al, al
je 0x467e81
push dword [ebp + 0x18]
push ebx
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call esi
lea ecx, [ebx - 1]
cmp eax, ecx
je 0x467ead
push dword [ebp + 0x1c]
mov ecx, dword [ebp + 8]
call fcn.004025d8
push dword [ebp + 0x1c]
call fcn.00471e3c
mov eax, dword [ebp + 8]
pop ecx
call fcn.004712c7
ret 0x18
Function at 0x467fca
Capabilities:
Check if file exists
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x14
mov eax, 0x4ae254
call fcn.004711ef
mov eax, dword [ebp + 0x214]
push eax
mov esi, ecx
mov dword [ebp - 0x18], eax
call fcn.00467f81
push dword [esi + 0x14]
xor eax, eax
push dword [esi + 8]
xor edi, edi
push dword [esi + 0x30]
cmp dword [esi], edi
push dword [esi + 4]
sete al
push dword [esi + 0x2c]
lea ebx, [esi + 0x38]
push dword [esi + 0x28]
push dword [esi + 0x1c]
push dword [esi + 0x18]
push eax
push dword [esi + 0x10]
push dword [esi + 0xc]
push dword [esi + 0x34]
push str.V_sOV_d__dOW_dS_I64dM_I64dC_dipartner_sDT_dOAV_d
push ebx
call fcn.00403ac2
add esp, 0x38
xor eax, eax
cmp dword [esi + 0xc], 6
jae 0x4680bd
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call fcn.004701a0
add esp, 0xc
push 0x104
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.oeminfo.ini
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46812c
push 0x100
lea eax, [ebp]
push eax
push 0x4cdf90
push str.Manufacturer
push str.General
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.00467e58
lea ecx, [esi + 0x3c]
push eax
mov dword [ebp - 4], edi
call fcn.00401d9d
mov ecx, dword [ebp - 0x10]
jmp 0x468120
push 0x1fe
mov word [ebp + 8], ax
lea eax, [ebp + 0xa]
push edi
push eax
call fcn.004701a0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x20]
push eax
push str.Manufacturer
xor edi, edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionOEMInformation
inc edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x10], 0x200
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x46812c
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.004025d8
lea ecx, [esi + 0x3c]
push eax
mov dword [ebp - 4], edi
call fcn.00401d9d
mov ecx, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.0040290e
lea eax, [esi + 0x3c]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.00467c5e
push dword [eax]
mov dword [ebp - 4], 2
push str.oeminfo_s
push ebx
call fcn.0041f5f6
mov ecx, dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040290e
mov ecx, dword [ebp - 0x18]
push 0
push ebx
call fcn.0045ef9f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0047021a
add ebp, 0x20c
leave
ret 4
Function at 0x468191
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call edi
test eax, eax
je 0x4681a9
xor eax, eax
inc eax
jmp 0x4681d8
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4681a4
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x4681cb
push esi
call edi
test eax, eax
jne 0x4681a4
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor eax, eax
pop edi
pop esi
ret

Function at 0x4681db
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
sub esp, 0x874
lea ebp, [esp - 4]
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp + 0x874], eax
push 4
mov eax, 0x4ae28c
call fcn.004711ef
mov esi, dword [ebp + 0x880]
xor ebx, ebx
cmp esi, ebx
jne 0x468212
xor eax, eax
jmp 0x46830d
cmp word [esi], bx
je 0x46820b
push esi
call fcn.00470c3e
cmp eax, 0x104
pop ecx
jge 0x46820b
push 0x410
lea eax, [ebp + 0x464]
push ebx
push eax
call fcn.004701a0
add esp, 0xc
push 0x4ce208
push esi
lea eax, [ebp + 0x464]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x468268
test al, 1
je 0x468268
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x5c
pop eax
mov word [ebp + 0x458], ax
mov dword [ebp + 0x45c], ebx
mov dword [ebp + 0x460], ebx
lea eax, [ebp + 0x464]
push eax
lea ecx, [ebp]
mov dword [ebp - 4], ebx
call fcn.0043a089
cmp eax, ebx
je 0x4682f3
lea ecx, [ebp]
call fcn.0043a04c
lea ecx, [ebp]
test eax, eax
je 0x4682ac
call fcn.00439f80
mov edi, eax
jmp 0x4682ef
lea eax, [ebp - 0x10]
push eax
call fcn.0043c30f
push 0x10
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.00439f64
push dword [ebp - 0x10]
test eax, eax
je 0x4682d1
call fcn.004681db
jmp 0x4682d6
call fcn.00468191
pop ecx
lea ecx, [ebp]
call fcn.00439f80
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov edi, eax
mov byte [ebp - 4], bl
call fcn.0040290e
cmp edi, ebx
jne 0x468294
lea ecx, [ebp]
call fcn.00439fa7
push esi
call fcn.00430998
pop ecx
lea ecx, [ebp]
call fcn.00439fa7
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x874]
xor ecx, ebp
call fcn.0047021a
add ebp, 0x878
leave
ret