joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4564fd
Capabilities:
Delete file
Set file attributes

Disassembly:
push 0x48
mov eax, 0x5ce339
call fcn.0058ecca
lea esi, [ebp + 0xc]
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp + 0x1c]
lea edi, [ebp - 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
mov dword [ebp - 4], esi
push dword [ebp - 0x1c]
lea eax, [ebp - 0x3c]
push eax
call fcn.004085b5
mov byte [ebp - 4], 1
push dword [ebp - 0x4c]
lea eax, [ebp - 0x38]
push eax
call fcn.004085b5
mov byte [ebp - 4], 2
cmp dword [ebp + 0x34], esi
jne 0x456606
push ecx
mov eax, esp
mov dword [ebp - 0x40], esp
lea ecx, [ebp - 0x38]
push ecx
push eax
call fcn.00408586
mov byte [ebp - 4], 3
mov byte [ebp - 4], 2
call fcn.00466dad
push dword [ebp - 0x38]
call fcn.00421f7e
pop ecx
pop ecx
mov edi, 0x80
push edi
push dword [ebp - 0x38]
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
call ebx
push edi
push dword [ebp - 0x38]
call fcn.00424fac
pop ecx
pop ecx
push 1
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x40], esp
push dword [ebp - 0x3c]
call fcn.0040820f
mov byte [ebp - 4], 4
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x44], esp
push dword [ebp - 0x38]
call fcn.0040820f
mov byte [ebp - 4], 5
mov byte [ebp - 4], 2
call fcn.0046711c
add esp, 0x3c
push dword [ebp - 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
push 0x68bbbc
lea eax, [ebp - 0x3c]
push eax
call fcn.00408696
test eax, eax
jne 0x4565ea
push dword [ebp - 0x38]
call fcn.00424c67
pop ecx
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push dword [ebp - 0x38]
call fcn.00421f7e
pop ecx
push edi
push dword [ebp - 0x38]
call ebx
push dword [ebp - 0x38]
call esi
jmp 0x45662a
cmp dword [ebp + 0x34], 1
jne 0x456615
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x45662a
cmp dword [ebp + 0x34], 2
jne 0x45662a
call fcn.0046a19a
lea edx, [ebp - 0x38]
mov ecx, eax
call fcn.004774eb
lea eax, [ebp - 0x34]
push eax
call fcn.00410c73
mov byte [ebp - 4], 6
push 0
lea ecx, [ebp - 0x34]
call fcn.00411be7
test al, al
je 0x456652
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004142dc
mov byte [ebp - 4], 2
lea eax, [ebp - 0x34]
push eax
call fcn.00410c9f
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004085f6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004085f6
or dword [ebp - 4], 0xffffffff
xor eax, eax
call fcn.0058ed26
ret 0x34
Function at 0x45668f
Capabilities:
Delete file

Disassembly:
push 0x80
mov eax, 0x5ce2df
call fcn.0058ecca
xor edi, edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x54]
push eax
call fcn.0040fdb0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x6c]
push eax
call fcn.0040fdb0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x88]
push eax
call fcn.00416bd4
mov byte [ebp - 4], 3
lea eax, [ebp - 0x6c]
push eax
lea esi, [ebp + 0xc]
call fcn.0042570a
lea eax, [ebp - 0x54]
push eax
lea esi, [ebp + 0x1c]
call fcn.0042570a
lea eax, [ebp - 0x88]
push eax
lea esi, [ebp + 0x2c]
call fcn.00425925
add esp, 0xc
mov dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x48]
sar eax, 2
cmp edi, eax
jae 0x4567e9
lea esi, [ebp - 0x88]
call fcn.0041e10a
cmp dword [eax], 0
jne 0x4567a1
push 1
lea esi, [ebp - 0x6c]
call fcn.0041e10a
mov eax, dword [eax]
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x8c], esp
push eax
call fcn.0040820f
mov byte [ebp - 4], 4
lea esi, [ebp - 0x54]
call fcn.0041e10a
mov eax, dword [eax]
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x70], esp
push eax
call fcn.0040820f
mov byte [ebp - 4], 5
mov byte [ebp - 4], 3
call fcn.0046711c
add esp, 0x3c
lea esi, [ebp - 0x54]
call fcn.0041e10a
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x68bbbc
lea esi, [ebp - 0x6c]
call fcn.0041e10a
push eax
call fcn.00408696
test eax, eax
jne 0x4567e3
lea esi, [ebp - 0x54]
call fcn.0041e10a
push dword [eax]
call fcn.00424c67
pop ecx
jmp 0x4567e3
lea esi, [ebp - 0x88]
call fcn.0041e10a
cmp dword [eax], 1
jne 0x4567bb
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4567e3
lea esi, [ebp - 0x88]
call fcn.0041e10a
cmp dword [eax], 2
jne 0x4567e3
call fcn.0046a19a
mov ebx, eax
lea esi, [ebp - 0x54]
call fcn.0041e10a
mov edx, eax
mov ecx, ebx
call fcn.004774eb
inc edi
jmp 0x4566f7
lea eax, [ebp - 0x34]
push eax
call fcn.00410c73
mov byte [ebp - 4], 6
xor edi, edi
push edi
lea ecx, [ebp - 0x34]
call fcn.00411be7
test al, al
je 0x45682a
mov dword [ebp - 0x3c], edi
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x60]
sar eax, 2
cmp edi, eax
jae 0x45682a
lea esi, [ebp - 0x6c]
call fcn.0041e10a
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004142dc
inc edi
jmp 0x456805
mov byte [ebp - 4], 3
lea eax, [ebp - 0x34]
push eax
call fcn.00410c9f
mov byte [ebp - 4], 2
lea eax, [ebp - 0x88]
push eax
call fcn.00416d1e
mov byte [ebp - 4], 1
lea eax, [ebp - 0x6c]
push eax
call fcn.0041e0e0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x54]
push eax
call fcn.0041e0e0
or dword [ebp - 4], 0xffffffff
xor eax, eax
call fcn.0058ed26
ret 0x34
Function at 0x456879
Capabilities:
Delete registry key

Disassembly:
push 8
mov eax, 0x5b5ba9
call fcn.0058ec5e
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x14], 1
jne 0x4568ce
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 1
push ebx
lea esi, [ebp - 0x14]
call fcn.00409590
push eax
push ebx
push 0x20006
push 1
push ebx
push ebx
push str.SOFTWAREClasses_avhnoralert
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov byte [ebp - 4], bl
cmp dword [ebp - 0x14], ebx
je 0x4568de
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4568de
push str.SOFTWAREClasses_avhnoralert
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
or dword [ebp - 4], 0xffffffff
xor eax, eax
call fcn.0058ed03
ret 0x14
Function at 0x4581bc
Capabilities:
Delete file
Set file attributes

Disassembly:
push 8
mov eax, 0x5bc750
call fcn.0058ec5e
xor ebx, ebx
mov dword [ebp - 4], ebx
push dword [ebp + 0x14]
lea eax, [ebp - 0x14]
push eax
call fcn.004085b5
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
call fcn.00408807
mov esi, dword [ebp - 0x14]
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x45820e
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.004085f6
xor eax, eax
jmp 0x458222
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.004085f6
or dword [ebp - 4], 0xffffffff
mov eax, 0x80004005
call fcn.0058ed03
ret 0x14
Function at 0x4596c0
Capabilities:
Terminate process

Disassembly:
push 4
mov eax, 0x5b3880
call fcn.0058ec5e
xor edi, edi
mov dword [ebp - 4], edi
push dword [ebp + 0x14]
push edi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, edi
je 0x4596f2
push edi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
xor eax, eax
call fcn.0058ed03
ret 0x14

Function at 0x45974f
Capabilities:
Copy file

Disassembly:
push 0xc
mov eax, 0x5bc70a
call fcn.0058ec5e
xor ebx, ebx
mov dword [ebp - 4], ebx
push dword [ebp + 0x24]
lea eax, [ebp - 0x18]
push eax
call fcn.004085b5
mov esi, eax
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
lea eax, [ebp - 0x14]
push eax
call fcn.004085b5
mov byte [ebp - 4], 2
mov esi, dword [esi]
mov eax, dword [eax]
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004085f6
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
call fcn.004085f6
or dword [ebp - 4], 0xffffffff
xor eax, eax
call fcn.0058ed03
ret 0x24

Function at 0x459cd6
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0xc
mov eax, 0x5b9cda
call fcn.0058ec5e
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x5c
mov esi, dword [ebp + 8]
call fcn.0042b71b
mov esi, eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040855f
mov byte [ebp - 4], 1
cmp esi, 0xffffffff
je 0x459d55
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.0042b91b
mov byte [ebp - 4], 2
lea edi, [ebp - 0x14]
call fcn.00408619
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.004085f6
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], ebx
je 0x459d55
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x459d55
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x5c
mov esi, edi
call fcn.0042b71b
mov esi, eax
jmp 0x459d00
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.004085f6
or dword [ebp - 4], 0xffffffff
call fcn.0058ed03
ret
Function at 0x45ac7d
Capabilities:
Shutdown system

Disassembly:
push 0x18
mov eax, 0x5b382f
call fcn.0058ec5e
xor esi, esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x14]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x45acac
mov eax, 0x80004005
jmp 0x45acf8
lea eax, [ebp - 0x20]
push eax
push str.SeShutdownPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x18], 2
push esi
push esi
push esi
lea eax, [ebp - 0x24]
push eax
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x45acf6
push 0x80020013
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
or dword [ebp - 4], 0xffffffff
xor eax, eax
call fcn.0058ed03
ret 4
Function at 0x45b6e5
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x5b4340
call fcn.0058ec5e
xor esi, esi
mov dword [ebp - 4], esi
push dword [0x6de70c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
push esi
push esi
push 0x4541a1
push esi
push esi
call fcn.00583186
add esp, 0x18
or dword [ebp - 4], 0xffffffff
xor eax, eax
call fcn.0058ed03
ret 0x14

Function at 0x45b773
Capabilities:
Set registry value

Disassembly:
push 8
mov eax, 0x5bd989
call fcn.0058ec2b
push dword [ebp + 0x14]
lea eax, [ebp - 0x14]
push eax
call fcn.004085b5
and dword [ebp - 4], 0
push str.SoftwareSMRHomeGlobal
lea eax, [ebp - 0x10]
push eax
call fcn.004085b5
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx - 0xc]
add eax, eax
push eax
push ecx
push 1
push str.Renewed
push dword [ebp - 0x10]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004085f6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004085f6
xor eax, eax
call fcn.0058ed03
ret 0x14

Function at 0x45c562
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x6c56f8]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x30
mov eax, 0x5bc5d8
call fcn.0058ec2b
mov eax, dword [ebp + 0x80c]
mov dword [ebp - 0x18], eax
push 0x400
lea eax, [ebp]
xor ebx, ebx
push eax
push ebx
mov edi, ecx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x45c673
cmp dword [edi + 0x78], ebx
jne 0x45c5c8
mov dword [ebp - 0x10], ebx
jmp 0x45c5d9
cmp dword [edi + 0x7c], 8
jb 0x45c5d3
mov eax, dword [edi + 0x68]
jmp 0x45c5d6
lea eax, [edi + 0x68]
mov dword [ebp - 0x10], eax
lea eax, [ebp]
push eax
lea esi, [ebp - 0x3c]
call fcn.0040820f
mov dword [ebp - 4], 1
lea ecx, [edi + 0x80]
cmp dword [ecx + 0x18], 8
jb 0x45c5fd
mov esi, dword [ecx + 4]
jmp 0x45c600
lea esi, [ecx + 4]
cmp dword [eax + 0x18], 8
jb 0x45c60b
mov ecx, dword [eax + 4]
jmp 0x45c60e
lea ecx, [eax + 4]
cmp dword [edi + 0x60], 8
jb 0x45c619
mov edx, dword [edi + 0x4c]
jmp 0x45c61c
lea edx, [edi + 0x4c]
cmp dword [edi + 0x44], 8
jb 0x45c627
mov eax, dword [edi + 0x30]
jmp 0x45c62a
lea eax, [edi + 0x30]
push ebx
push dword [ebp - 0x10]
push esi
push ebx
push str.UIGroup
push ecx
push 1
push 2
push 0x10
push 0xf01ff
push edx
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], bl
push ebx
push 1
lea esi, [ebp - 0x3c]
call fcn.00409da6
lea eax, [ebp - 0x1c]
push eax
push 7
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], 0x493e0
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push str._installed.
add edi, 0x48
push edi
push dword [ebp - 0x18]
call fcn.0045ca67
add esp, 0xc
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.00581268
add ebp, 0x804
leave
ret 4
Function at 0x45c736
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x6c56f8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [esi + 0x24], 0
je 0x45c756
mov al, 1
jmp 0x45c800
cmp dword [ebp + 8], 2
jne 0x45c762
and dword [esi + 0xc], 0
jmp 0x45c7c0
push edi
xor edi, edi
push edi
push dword [0x6de1b8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x45c777
inc edi
push 0x114
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00586790
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x45c7b9
cmp dword [ebp - 0x114], 6
jb 0x45c7b9
or edi, 0x104
jmp 0x45c7bc
or edi, 4
mov dword [esi + 0xc], edi
pop edi
mov eax, dword [ebp + 8]
and dword [esi + 0x10], 0
mov ecx, dword [ebp + 0xc]
mov dword [esi + 8], eax
mov dword [esi + 0x1c], ecx
cmp eax, 4
je 0x45c7ea
cmp eax, 1
je 0x45c7ea
inc dword [0x6ca704]
mov eax, dword [0x6ca704]
mov dword [esi + 0x18], eax
jmp 0x45c7ee
and dword [esi + 0x18], 0
lea eax, [esi + 4]
push eax
push dword [esi + 0x20]
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
test eax, eax
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00581268
leave
ret 8

Function at 0x45c80e
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push 0xc
mov eax, 0x5b430a
call fcn.0058ec5e
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
push 0xf003f
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, edi
je 0x45c8c8
cmp dword [esi + 0x44], 8
jb 0x45c844
mov ecx, dword [esi + 0x30]
jmp 0x45c847
lea ecx, [esi + 0x30]
push 0xf01ff
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x45c8c8
lea ebx, [esi + 4]
push ebx
push eax
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
call edi
test eax, eax
je 0x45c8b7
cmp dword [esi + 8], 1
je 0x45c8b0
push ebx
push 1
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x45c8b7
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push dword [ebp - 0x18]
call edi
test eax, eax
je 0x45c8b7
cmp dword [esi + 8], 3
jne 0x45c8a4
push 0x1f4
jmp 0x45c887
cmp dword [esi + 8], 1
jne 0x45c8b7
or dword [ebp - 0x14], 2
jmp 0x45c8b7
mov dword [ebp - 0x14], 2
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x45c8c8
or dword [ebp - 0x14], 4
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
call fcn.0058ed03
ret
Function at 0x45d4b5
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c44bd
mov eax, dword fs:[0]
push eax
sub esp, 0x840
mov eax, dword [0x6c56f8]
xor eax, esp
mov dword [esp + 0x838], eax
push ebx
push esi
push edi
mov eax, dword [0x6c56f8]
xor eax, esp
push eax
lea eax, [esp + 0x850]
mov dword fs:[0], eax
lea eax, [esp + 0x2c]
push eax
mov esi, ecx
call fcn.0040fdb0
and dword [esp + 0x858], 0
lea ebx, [esp + 0x2c]
call fcn.0042174d
lea eax, [esi + 0xbc]
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x858], 1
lea eax, [esi + 0x34]
mov dword [esp + 0x24], eax
call fcn.00462437
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x38]
xor ebx, ebx
sar eax, 2
test eax, eax
jbe 0x45d63d
lea eax, [esp + 0x20]
push eax
mov edi, ebx
lea esi, [esp + 0x30]
call fcn.0041e10a
push eax
push 2
pop ecx
call fcn.0042b91b
mov dword [esp + 0x28], eax
mov byte [esp + 0x858], 2
call fcn.0041e10a
mov edi, eax
mov eax, dword [esp + 0x28]
call fcn.00408619
mov byte [esp + 0x858], 1
lea ecx, [esp + 0x20]
call fcn.004085f6
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x4c], ax
lea eax, [esp + 0x4e]
push eax
call fcn.00586790
add esp, 0xc
mov edi, ebx
call fcn.0041e10a
mov eax, dword [eax]
push 0x400
lea ecx, [esp + 0x48]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x45d629
lea eax, [esp + 0x10]
push eax
call fcn.0045cab5
mov byte [esp + 0x858], 3
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0040865a
call fcn.0041e10a
lea edi, [esp + 0x14]
call fcn.00408619
lea eax, [esp + 0x10]
call fcn.00408807
mov eax, edi
call fcn.00408807
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x28]
call fcn.004623d0
mov byte [esp + 0x858], 1
lea eax, [esp + 0x10]
push eax
call fcn.004096a9
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x38]
inc ebx
sar eax, 2
cmp ebx, eax
jb 0x45d54c
mov byte [esp + 0x858], 0
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
or dword [esp + 0x858], 0xffffffff
lea eax, [esp + 0x2c]
push eax
call fcn.0041e0e0
mov ecx, dword [esp + 0x850]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x838]
xor ecx, esp
call fcn.00581268
mov esp, ebp
pop ebp
ret
Function at 0x464da1
Capabilities:
Get geographical location

Disassembly:
push 0x2c
mov eax, 0x5bc379
call fcn.0058ec94
mov esi, ecx
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebp + 8]
push eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edi
call fcn.0040855f
mov dword [ebp - 4], edi
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x2c], 0x37
mov dword [ebp - 0x28], 0x31
mov dword [ebp - 0x24], 0x32
mov dword [ebp - 0x20], 0x33
mov dword [ebp - 0x1c], 0x34
mov dword [ebp - 0x18], 0x35
mov dword [ebp - 0x14], 0x36
cmp esi, 7
jae 0x464e97
mov esi, dword [ebp + esi*4 - 0x2c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push edi
push edi
push esi
mov dword [ebp - 0x38], esi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, edi
jle 0x464e97
push eax
lea esi, [ebp - 0x2c]
call fcn.0042b233
mov dword [ebp - 4], 1
push dword [ebp - 0x18]
mov eax, esi
call fcn.0042b255
push eax
push dword [ebp - 0x38]
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x464e57
lea eax, [ebp - 0x28]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x464e5a
sub eax, edx
sar eax, 1
mov ecx, eax
lea eax, [ebp - 0x2c]
call fcn.0042b275
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x464e7e
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x30]
call fcn.0040865a
mov byte [ebp - 4], 0
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.00409da6
mov eax, dword [ebp - 0x30]
call fcn.0058ed17
ret
Function at 0x464ea0
Capabilities:
Get geographical location

Disassembly:
push 0x44
mov eax, 0x5bc333
call fcn.0058ec94
mov ebx, ecx
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ebp + 8]
push eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], esi
call fcn.0040855f
mov dword [ebp - 4], esi
xor edi, edi
inc edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], 0x44
mov dword [ebp - 0x3c], 0x45
mov dword [ebp - 0x38], 0x46
mov dword [ebp - 0x34], 0x47
mov dword [ebp - 0x30], 0x48
mov dword [ebp - 0x2c], 0x49
mov dword [ebp - 0x28], 0x4a
mov dword [ebp - 0x24], 0x4b
mov dword [ebp - 0x20], 0x4c
mov dword [ebp - 0x1c], 0x4d
mov dword [ebp - 0x18], 0x4e
mov dword [ebp - 0x14], 0x4f
cmp ebx, 0xd
jae 0x464fb9
mov ebx, dword [ebp + ebx*4 - 0x44]
push esi
push esi
push ebx
mov dword [ebp - 0x50], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, esi
jle 0x464fb9
push eax
lea esi, [ebp - 0x2c]
call fcn.0042b233
mov dword [ebp - 4], edi
push dword [ebp - 0x18]
xor edi, edi
mov eax, esi
call fcn.0042b255
push eax
push dword [ebp - 0x50]
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x464f79
lea eax, [ebp - 0x28]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x464f7c
sub eax, edx
sar eax, 1
mov ecx, eax
lea eax, [ebp - 0x2c]
call fcn.0042b275
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x464fa0
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x48]
call fcn.0040865a
mov byte [ebp - 4], 0
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.00409da6
mov eax, dword [ebp - 0x48]
call fcn.0058ed17
ret
Function at 0x464fc2
Capabilities:
Get geographical location

Disassembly:
push 0x44
mov eax, 0x5bc333
call fcn.0058ec94
mov ebx, ecx
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ebp + 8]
push eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], esi
call fcn.0040855f
mov dword [ebp - 4], esi
xor edi, edi
inc edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], 0x38
mov dword [ebp - 0x3c], 0x39
mov dword [ebp - 0x38], 0x3a
mov dword [ebp - 0x34], 0x3b
mov dword [ebp - 0x30], 0x3c
mov dword [ebp - 0x2c], 0x3d
mov dword [ebp - 0x28], 0x3e
mov dword [ebp - 0x24], 0x3f
mov dword [ebp - 0x20], 0x40
mov dword [ebp - 0x1c], 0x41
mov dword [ebp - 0x18], 0x42
mov dword [ebp - 0x14], 0x43
cmp ebx, 0xd
jae 0x4650db
mov ebx, dword [ebp + ebx*4 - 0x44]
push esi
push esi
push ebx
mov dword [ebp - 0x50], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, esi
jle 0x4650db
push eax
lea esi, [ebp - 0x2c]
call fcn.0042b233
mov dword [ebp - 4], edi
push dword [ebp - 0x18]
xor edi, edi
mov eax, esi
call fcn.0042b255
push eax
push dword [ebp - 0x50]
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x46509b
lea eax, [ebp - 0x28]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x46509e
sub eax, edx
sar eax, 1
mov ecx, eax
lea eax, [ebp - 0x2c]
call fcn.0042b275
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4650c2
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x48]
call fcn.0040865a
mov byte [ebp - 4], 0
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.00409da6
mov eax, dword [ebp - 0x48]
call fcn.0058ed17
ret