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

Disassembly:
push 0x44
mov eax, 0x6e0886
call fcn.00648b50
mov dword [ebp - 0x30], ecx
call fcn.00515e26
push eax
lea ecx, [ebp - 0x2c]
call fcn.00515c3a
and dword [ebp - 4], 0
and dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 0x41
pop ebx
mov byte [ebp - 4], 1
mov eax, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
push eax
lea eax, [ebp - 0x2c]
push str._c:_
push eax
call fcn.0051647b
mov edi, dword [ebp - 0x2c]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
jne 0x5daf8b
push dword [ebp - 0x38]
lea eax, [ebp - 0x2c]
push 0x765a60
push eax
call fcn.0051647b
mov edi, dword [ebp - 0x2c]
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x50], esi
mov byte [ebp - 4], 2
cmp esi, 0xffffffff
jne 0x5daeec
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x5daf8b
and dword [ebp - 0x40], 0
lea edx, [ebp - 0x40]
and dword [ebp - 0x3c], 0
mov ecx, esi
call fcn.005dafdb
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.005db878
push 0x3a
push 1
lea ecx, [ebp - 0x28]
call fcn.0055afb1
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.005b0f86
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x44]
cmp ebx, dword [eax]
je 0x5daf45
lea eax, [ebx + 0x10]
push eax
lea ecx, [ebp - 0x28]
call fcn.0054fb66
shr eax, 0x1f
test al, al
je 0x5daf6d
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
push ecx
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0x48]
push ecx
push ecx
mov ecx, eax
call fcn.005db477
mov ecx, dword [ebp - 0x30]
push eax
add eax, 0x10
push eax
push ebx
lea eax, [ebp - 0x4c]
push eax
call fcn.005db4dc
mov ebx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x40]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebx + 0x2c], eax
mov byte [ebp - 4], 1
test esi, esi
je 0x5daf88
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
inc ebx
inc eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], eax
cmp bx, 0x5a
jbe 0x5dae79
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00529114
lea ecx, [edi - 0x10]
call fcn.00515ed6
call fcn.00648afa
ret
Function at 0x5e8ccb
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x4a0
mov eax, 0x6e2fba
call fcn.00648b50
mov edi, dword [ebp + 8]
xor eax, eax
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x47c], eax
mov dword [ebp - 0x478], eax
mov dword [ebp - 0x474], eax
push 0x208
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x424]
push eax
call fcn.0066f220
and dword [ebp - 0x48c], 0
lea ecx, [ebp - 0x47c]
add esp, 0xc
mov eax, 0x104
mov dword [ebp - 0x490], eax
mov dword [ebp - 0x480], eax
push 0x20019
push esi
push edi
call fcn.0051e4ac
test eax, eax
jne 0x5e8eea
lea eax, [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x494]
push eax
lea eax, [ebp - 0x498]
push eax
lea eax, [ebp - 0x49c]
push eax
lea eax, [ebp - 0x488]
push eax
lea eax, [ebp - 0x4a0]
push eax
lea eax, [ebp - 0x4a4]
push eax
lea eax, [ebp - 0x48c]
push eax
push 0
lea eax, [ebp - 0x490]
push eax
lea eax, [ebp - 0x424]
push eax
push dword [ebp - 0x47c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x5e8eea
mov eax, dword [ebp - 0x488]
test eax, eax
je 0x5e8edf
xor edi, edi
test eax, eax
je 0x5e8edf
xor eax, eax
mov dword [ebp - 0x480], 0x104
push eax
push eax
push eax
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x480]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push dword [ebp - 0x47c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x5e8ed2
call fcn.00515e26
push eax
lea ecx, [ebp - 0x470]
call fcn.00515c3a
lea eax, [ebp - 0x484]
mov byte [ebp - 4], 1
push eax
push 0
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x47c]
call fcn.0051e3d6
push dword [ebp - 0x484]
lea ecx, [ebp - 0x470]
call fcn.005159ef
lea ecx, [ebp - 0x484]
push ecx
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x47c]
call fcn.0051e3d6
push 0xffffffffffffffff
lea ecx, [ebp - 0x470]
mov byte [ebp - 4], 2
call fcn.0051d5f9
lea edx, [ebp - 0x470]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x43c]
call fcn.00590d8b
mov esi, eax
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x46c]
call fcn.00538a60
push esi
lea ecx, [ebp - 0x454]
call fcn.0054fad6
lea eax, [ebp - 0x46c]
mov byte [ebp - 4], 4
push eax
mov ecx, ebx
call fcn.005c8d51
lea ecx, [ebp - 0x46c]
call fcn.0054fbf8
push 0
push 1
lea ecx, [ebp - 0x43c]
call fcn.00529114
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x470]
lea ecx, [ecx - 0x10]
call fcn.00515ed6
inc edi
cmp edi, dword [ebp - 0x488]
jb 0x5e8db5
lea ecx, [ebp - 0x47c]
call fcn.0051e50a
lea ecx, [ebp - 0x47c]
call fcn.0051e50a
call fcn.00648afa
ret 0xc
Function at 0x5e9d3c
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
push ecx
push str.PowrProf.dll
mov esi, ecx
call fcn.005a1d73
cmp dword [esi + 4], 0
je 0x5e9db1
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.PowerGetActiveScheme
push dword [esi + 4]
call edi
mov dword [esi + 0xc], eax
test eax, eax
je 0x5e9db1
push str.PowerReadFriendlyName
push dword [esi + 4]
call edi
mov dword [esi + 0x10], eax
test eax, eax
je 0x5e9db1
push str.PowerReadDescription
push dword [esi + 4]
call edi
mov dword [esi + 0x14], eax
test eax, eax
je 0x5e9db1
push str.PowerReadACValue
push dword [esi + 4]
call edi
mov dword [esi + 0x18], eax
test eax, eax
je 0x5e9db1
push str.PowerReadDCValue
push dword [esi + 4]
call edi
mov dword [esi + 0x1c], eax
test eax, eax
je 0x5e9db1
xor eax, eax
inc eax
jmp 0x5e9db3
xor eax, eax
mov byte [esi + 8], al
mov eax, esi
pop edi
pop esi
ret
Function at 0x5ef406
Capabilities:
Get geographical location

Disassembly:
push 0x18
mov eax, 0x6e4278
call fcn.00648b1c
mov dword [ebp - 0x18], ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
push 0x20019
push str.Control_PanelInternational_
push SysReAllocStringLen
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.0051e4ac
test eax, eax
jne 0x5ef5b2
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push ebx
push ebx
push 2
push 0x400
call edi
mov ecx, dword [ebp + 0xc]
mov esi, eax
push esi
mov dword [ebp - 0x10], esi
call fcn.005159ef
push esi
push eax
push 2
push 0x400
call edi
mov ecx, dword [ebp + 0xc]
or esi, 0xffffffff
push esi
mov byte [ebp - 4], 1
call fcn.0051d5f9
lea eax, [ebp - 0x10]
mov byte [ebp - 4], bl
push eax
push ebx
mov edi, str.sCurrency
lea ecx, [ebp - 0x24]
push edi
call fcn.0051e3d6
test eax, eax
jne 0x5ef5b2
push dword [ebp - 0x10]
mov ecx, dword [ebp + 0x10]
call fcn.005159ef
lea ecx, [ebp - 0x10]
push ecx
push eax
push edi
lea ecx, [ebp - 0x24]
call fcn.0051e3d6
mov ecx, dword [ebp + 0x10]
push esi
mov byte [ebp - 4], 2
call fcn.0051d5f9
lea eax, [ebp - 0x10]
mov byte [ebp - 4], bl
push eax
push ebx
mov edi, str.sShortDate
lea ecx, [ebp - 0x24]
push edi
call fcn.0051e3d6
test eax, eax
jne 0x5ef5b2
push dword [ebp - 0x10]
mov ecx, dword [ebp + 0x14]
call fcn.005159ef
lea ecx, [ebp - 0x10]
push ecx
push eax
push edi
lea ecx, [ebp - 0x24]
call fcn.0051e3d6
mov ecx, dword [ebp + 0x14]
push esi
mov byte [ebp - 4], 3
call fcn.0051d5f9
lea eax, [ebp - 0x10]
mov byte [ebp - 4], bl
push eax
push ebx
mov edi, str.sTimeFormat
lea ecx, [ebp - 0x24]
push edi
call fcn.0051e3d6
test eax, eax
jne 0x5ef5b2
push dword [ebp - 0x10]
mov ecx, dword [ebp + 0x18]
call fcn.005159ef
lea ecx, [ebp - 0x10]
push ecx
push eax
push edi
lea ecx, [ebp - 0x24]
call fcn.0051e3d6
mov ecx, dword [ebp + 0x18]
push esi
mov byte [ebp - 4], 4
call fcn.0051d5f9
push 0x10
mov byte [ebp - 4], bl
call dword [sym.imp.KERNEL32.dll_GetUserGeoID]
mov edi, dword [sym.imp.KERNEL32.dll_GetGeoInfoW]
mov ebx, eax
xor eax, eax
push eax
push eax
push eax
push 8
push ebx
call edi
mov ecx, dword [ebp + 8]
mov esi, eax
push esi
call fcn.005159ef
push 0
push esi
push eax
push 8
push ebx
call edi
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
mov byte [ebp - 4], 5
call fcn.0051d5f9
mov esi, dword [ebp - 0x18]
push dword [ebp + 0x14]
mov byte [ebp - 4], 0
mov ecx, dword [esi + 0xdc]
add ecx, 8
call fcn.005154cf
push dword [ebp + 0x18]
mov ecx, dword [esi + 0xdc]
call fcn.005154cf
jmp 0x5ef5b5
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x24]
call fcn.0051e50a
mov eax, dword [ebp - 0x14]
call fcn.00648ae5
ret 0x14
Function at 0x5efe9a
Capabilities:
Get geographical location

Disassembly:
push 4
mov eax, 0x6e4551
call fcn.00648b1c
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.00515e26
push eax
lea ecx, [ebp - 0x10]
call fcn.00515c3a
push ebx
push ebx
push 1
mov ebx, 0x400
mov byte [ebp - 4], 1
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push ebx
call edi
mov esi, eax
lea ecx, [ebp - 0x10]
push esi
call fcn.005159ef
push esi
push eax
push 1
push ebx
call edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0051d5f9
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.005ef32c
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov byte [ebp - 4], bl
mov dword [ecx + 0x14], eax
mov byte [ecx + 0x10], 1
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00515ed6
call fcn.00515e26
push eax
lea ecx, [ebp - 0x10]
call fcn.00515c3a
push ebx
push ebx
push 1
mov ebx, 0x800
mov byte [ebp - 4], 3
push ebx
call edi
mov esi, eax
lea ecx, [ebp - 0x10]
push esi
call fcn.005159ef
push esi
push eax
push 1
push ebx
call edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0051d5f9
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.005ef32c
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 0
mov dword [ecx + 0xc], eax
mov byte [ecx + 8], 1
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00515ed6
call fcn.00515e26
push eax
lea ecx, [ebp - 0x10]
call fcn.00515c3a
push 0x10
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetUserGeoID]
mov edi, dword [sym.imp.KERNEL32.dll_GetGeoInfoW]
mov ebx, eax
xor eax, eax
push eax
push eax
push eax
push 7
push ebx
call edi
mov esi, eax
lea ecx, [ebp - 0x10]
push esi
call fcn.005159ef
push 0
push esi
push eax
push 7
pop esi
push esi
push ebx
call edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.0051d5f9
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.005ef32c
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov byte [ecx], 1
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00515ed6
mov dword [ebp - 4], esi
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x5efff7
call fcn.0051578b
call fcn.00648ae5
ret 8
Function at 0x5f86c1
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x81c5a8]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x14]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x18], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push str.SeDebugPrivilege
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x5f872c
mov eax, dword [ebp - 0x20]
push ebx
push ebx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
push 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push ebx
push esi
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00647fba
mov esp, ebp
pop ebp
ret

Function at 0x6012b2
Capabilities:
Get storage device properties

Disassembly:
push 0x24
mov eax, 0x6e68f4
call fcn.00648b50
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
push 0x1000
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], eax
mov byte [ecx], bl
call fcn.006484f2
mov esi, eax
pop ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], ebx
test esi, esi
jne 0x6012fc
mov eax, dword [ebp - 0x20]
mov dword [eax], 4
jmp 0x6013bc
push 0x1000
push ebx
push esi
call fcn.0066f220
add esp, 0xc
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x30]
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x14], bl
push ebx
push eax
push 0x1000
push esi
push 0xc
lea eax, [ebp - 0x1c]
push eax
push 0x2d1400
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x601342
mov eax, dword [ebp - 0x20]
mov dword [eax], 5
jmp 0x6013bc
mov eax, dword [esi + 0x10]
test eax, eax
je 0x601357
add eax, esi
lea ecx, [edi + 0xa84]
push eax
call fcn.00519e64
mov eax, dword [esi + 0x14]
test eax, eax
je 0x60136c
add eax, esi
lea ecx, [edi + 0xa88]
push eax
call fcn.00519e64
push ebx
lea ecx, [edi + 0xa84]
push 0x76a5f0
call fcn.00514fc9
test eax, eax
je 0x601396
push ebx
push 0x76a5bc
lea ecx, [edi + 0xa84]
call fcn.00514fc9
test eax, eax
jne 0x6013b1
push ebx
push 0x76a5dc
lea ecx, [edi + 0xa88]
call fcn.00514fc9
test eax, eax
je 0x6013b1
mov eax, dword [ebp - 0x28]
mov byte [eax], 1
mov eax, dword [esi + 0x1c]
mov bl, 1
mov dword [edi + 0xa80], eax
push esi
call fcn.006484ed
pop ecx
mov al, bl
call fcn.00648afa
ret 0x10
Function at 0x6045c1
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x81c5a8]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push edi
push 0xc
xor edi, edi
push edi
push eax
call fcn.0066f220
push 0x20
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.0066f220
add esp, 0x18
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x40]
push edi
push eax
push 0x28
lea eax, [ebp - 0x3c]
push eax
push 0xc
lea eax, [ebp - 0x14]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x20]
xor ecx, ebp
pop edi
pop esi
call fcn.00647fba
mov esp, ebp
pop ebp
ret 4

Function at 0x606842
Capabilities:
Get geographical location

Disassembly:
push 0x4c
mov eax, 0x6e6b6c
call fcn.00648b50
mov esi, ecx
mov dword [ebp - 0x38], esi
and dword [ebp - 4], 0
lea edi, [ebp - 0x58]
and dword [ebp - 0x3c], 0
xor eax, eax
push 6
pop ecx
rep stosd dword es:[edi], eax
push 0x10
lea eax, [ebp - 0x34]
mov dword [ebp - 0x40], esi
push eax
push 0xf
push 0x400
mov dword [ebp - 0x50], 3
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp - 0x34]
mov dword [ebp - 0x4c], 0x741504
mov dword [ebp - 0x48], eax
call fcn.00515e26
push eax
mov ecx, esi
call fcn.00515c3a
push dword [ebp + 0xc]
and dword [ebp - 4], 0
xor edi, edi
push dword [ebp + 8]
inc edi
push str._lld
push esi
mov dword [ebp - 0x3c], edi
call fcn.0051647b
add esp, 0x10
lea eax, [ebp - 0x58]
push eax
push dword [esi]
push ecx
lea ecx, [ebp - 0x38]
call fcn.006b52d4
add esp, 0xc
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.005154cf
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.00515ed6
mov eax, esi
call fcn.00648afa
ret

Function at 0x6068ea
Capabilities:
Get geographical location

Disassembly:
push 0x48
mov eax, 0x6e6bb2
call fcn.00648b50
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x34], esi
xor edx, edx
lea edi, [ebp - 0x50]
mov dword [ebp - 4], edx
xor eax, eax
push 6
pop ecx
mov dword [ebp - 0x38], edx
rep stosd dword es:[edi], eax
mov edi, 0x741504
mov dword [ebp - 0x54], esi
cmp dword [ebp + 8], eax
je 0x60693e
push 0x10
lea eax, [ebp - 0x30]
mov dword [ebp - 0x48], 3
push eax
push 0xf
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x40], eax
jmp 0x606944
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], edi
call fcn.00515e26
push eax
mov ecx, esi
call fcn.00515c3a
and dword [ebp - 4], 0
xor edi, edi
push ebx
push 0x76dfa4
inc edi
push esi
mov dword [ebp - 0x38], edi
call fcn.0051647b
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
push dword [esi]
push ecx
lea ecx, [ebp - 0x34]
call fcn.006b52d4
add esp, 0xc
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.005154cf
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.00515ed6
mov eax, esi
call fcn.00648afa
ret
Function at 0x60699d
Capabilities:
Get geographical location

Disassembly:
push 0x50
mov eax, 0x6e6bf8
call fcn.00648b50
mov esi, edx
movss dword [ebp - 0x38], xmm1
mov ebx, ecx
mov dword [ebp - 0x58], ebx
push 6
xor edx, edx
lea edi, [ebp - 0x54]
mov dword [ebp - 4], edx
xor eax, eax
pop ecx
mov dword [ebp - 0x3c], edx
rep stosd dword es:[edi], eax
push 0x10
lea eax, [ebp - 0x34]
mov dword [ebp - 0x5c], ebx
push eax
push 0xe
push 0x400
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x44], 0x741504
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edi, edi
mov dword [ebp - 0x54], esi
lea eax, [ebp - 0x34]
inc edi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x50], edi
call fcn.00515e26
push eax
mov ecx, ebx
call fcn.00515c3a
and dword [ebp - 4], 0
movss xmm0, dword [ebp - 0x38]
cvtps2pd xmm0, xmm0
push ecx
push ecx
mov dword [ebp - 0x3c], edi
movsd qword [esp], xmm0
push esi
push str._.f
push ebx
call fcn.0051647b
add esp, 0x14
lea eax, [ebp - 0x54]
push eax
push dword [ebx]
push ecx
lea ecx, [ebp - 0x38]
call fcn.006b52d4
add esp, 0xc
push eax
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.005154cf
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.00515ed6
mov eax, ebx
call fcn.00648afa
ret

Function at 0x606a58
Capabilities:
Get geographical location

Disassembly:
push 0x58
mov eax, 0x6e6c3e
call fcn.00648b50
movsd qword [ebp - 0x64], xmm3
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0x38], ebx
push 6
xor edx, edx
lea edi, [ebp - 0x54]
mov dword [ebp - 4], edx
xor eax, eax
pop ecx
mov dword [ebp - 0x3c], edx
rep stosd dword es:[edi], eax
push 0x10
lea eax, [ebp - 0x34]
mov dword [ebp - 0x58], ebx
push eax
push 0xe
push 0x400
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x44], 0x741504
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edi, edi
mov dword [ebp - 0x54], esi
lea eax, [ebp - 0x34]
inc edi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x50], edi
call fcn.00515e26
push eax
mov ecx, ebx
call fcn.00515c3a
and dword [ebp - 4], 0
movsd xmm0, qword [ebp - 0x64]
push ecx
push ecx
movsd qword [esp], xmm0
push esi
push str._.lf
push ebx
mov dword [ebp - 0x3c], edi
call fcn.0051647b
add esp, 0x14
lea eax, [ebp - 0x54]
push eax
push dword [ebx]
push ecx
lea ecx, [ebp - 0x38]
call fcn.006b52d4
add esp, 0xc
push eax
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.005154cf
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.00515ed6
mov eax, ebx
call fcn.00648afa
ret
Function at 0x6071e9
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x81c5a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x24]
push ebx
push esi
push edi
push eax
call fcn.00515719
xor edi, edi
push edi
push edi
push 3
push edi
push 3
push 0xc0000000
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
push 2
pop ebx
cmp esi, 0xffffffff
je 0x60727d
push edi
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], 8
push eax
push 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], edi
push eax
push 0xc
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], edi
push eax
push 0x2d1400
push esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x607270
cmp dword [ebp - 0x20], 0xc
jne 0x607270
xor ebx, ebx
cmp byte [ebp - 8], bl
setne bl
jmp 0x60727d
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec eax
neg eax
sbb eax, eax
and ebx, eax
test esi, esi
je 0x607288
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00515ed6
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00647fba
mov esp, ebp
pop ebp
ret 4
Function at 0x6076d3
Capabilities:
Get storage device properties

Disassembly:
push 0x28
mov eax, 0x6e6e18
call fcn.00648b50
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push 0x1000
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], ecx
mov byte [eax], bl
call fcn.006484f2
mov esi, eax
pop ecx
mov dword [ebp - 0x30], esi
test esi, esi
mov dword [ebp - 4], ebx
sete al
test al, al
je 0x60771c
mov dword [edi], 5
jmp 0x607807
push 0x1000
push ebx
push esi
call fcn.0066f220
add esp, 0xc
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x34]
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x14], bl
push ebx
push eax
push 0x1000
push esi
push 0xc
lea eax, [ebp - 0x1c]
push eax
push 0x2d1400
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x607762
mov dword [edi], 6
jmp 0x607807
call fcn.00515e26
push eax
lea ecx, [ebp - 0x24]
call fcn.00515c3a
mov byte [ebp - 4], 1
call fcn.00515e26
push eax
lea ecx, [ebp - 0x20]
call fcn.00515c3a
mov byte [ebp - 4], 2
mov eax, dword [esi + 0x10]
test eax, eax
je 0x607798
add eax, esi
lea ecx, [ebp - 0x24]
push eax
call fcn.00519e64
mov eax, dword [esi + 0x14]
test eax, eax
je 0x6077aa
add eax, esi
lea ecx, [ebp - 0x20]
push eax
call fcn.00519e64
push ebx
push 0x76a5f0
lea ecx, [ebp - 0x24]
call fcn.00514fc9
test eax, eax
je 0x6077ce
push ebx
push 0x76a5bc
lea ecx, [ebp - 0x24]
call fcn.00514fc9
test eax, eax
jne 0x6077e6
push ebx
push 0x76a5dc
lea ecx, [ebp - 0x20]
call fcn.00514fc9
test eax, eax
je 0x6077e6
mov eax, dword [ebp - 0x28]
mov byte [eax], 1
mov ecx, dword [ebp - 0x2c]
mov bl, 1
mov eax, dword [esi + 0x1c]
mov dword [ecx + 0x18], eax
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00515ed6
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00515ed6
push esi
call fcn.006484ed
pop ecx
mov al, bl
call fcn.00648afa
ret 0xc
Function at 0x61840d
Capabilities:
Get file version info

Disassembly:
push 0x14
mov eax, 0x6e9a65
call fcn.00648b1c
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
call fcn.00515e26
mov ecx, dword [ebp + 8]
push eax
call fcn.00515c3a
lea eax, [ebp - 0x14]
mov dword [ebp - 4], esi
push eax
push dword [ebp + 0xc]
xor ebx, ebx
inc ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x6184a9
push edi
call fcn.006484f2
mov esi, eax
pop ecx
mov dword [ebp - 0x1c], esi
push esi
push edi
mov dword [ebp - 4], ebx
push dword [ebp - 0x14]
push dword [ebp + 0xc]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x741508
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push 0x76f5d8
push dword [ebp + 8]
call fcn.0051647b
push esi
call fcn.006484ed
add esp, 0x1c
mov eax, dword [ebp + 8]
call fcn.00648ae5
ret 8