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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4d6080]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00465a60
add esp, 0xc
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.0044170f
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
pop esi
test eax, eax
je 0x4417b4
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
je 0x4417af
cmp eax, 5
jne 0x4417b4
xor eax, eax
inc eax
jmp 0x4417b6
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004646c1
leave
ret 4

Function at 0x441895
Capabilities:
Create directory

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push dword [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esp + 0x14], 1
call edi
inc eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004447d5
pop ecx
push dword [esp + 0x18]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x4ae4fc
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
mov ebx, esi
call edi
mov edi, eax
xor ebp, ebp
test edi, edi
jbe 0x441923
cmp word [ebx], 0x5c
jne 0x441915
xor eax, eax
push eax
push esi
mov word [ebx], ax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x44190f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x44191e
push 0x5c
pop eax
mov word [ebx], ax
inc ebx
inc ebx
inc ebp
cmp ebp, edi
jb 0x4418eb
jmp 0x441923
and dword [esp + 0x10], 0
push esi
call fcn.00464106
mov eax, dword [esp + 0x14]
pop ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x4419ca
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x4d6080]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
cmp dword [0x4db74c], esi
jne 0x4419f0
mov eax, dword [0x4d5878]
cmp eax, 0xffffffff
jne 0x441a30
push 0x14
lea eax, [ebp - 0x2c]
push eax
push 0x1004
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jle 0x441a2a
lea eax, [ebp - 0x2c]
push eax
call fcn.00466d4b
pop ecx
push 2
lea ecx, [ebp - 0x4c]
push ecx
push eax
call dword [sym.imp.GDI32.dll_TranslateCharsetInfo]
test eax, eax
je 0x441a3d
movsx eax, word [ebp - 0x4c]
mov dword [0x4d5878], eax
mov ax, word [0x4d5878]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004646c1
leave
ret
push 1
push esi
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x441a2a
xor eax, eax
jmp 0x441a30
Function at 0x441dbb
Capabilities:
Compare security identifiers

Disassembly:
push 0x20
mov eax, 0x4a721f
call fcn.00464739
xor ebx, ebx
lea eax, [ebp - 0x1c]
push eax
push ebx
push 8
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], bl
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x13], 5
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x441e29
call esi
cmp eax, 0x3f0
jne 0x441e18
lea eax, [ebp - 0x1c]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call esi
cmp eax, 0x78
jne 0x441e25
xor eax, eax
call fcn.004647bc
ret
cmp eax, ebx
je 0x441e1d
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push 2
push dword [ebp - 0x1c]
call edi
test eax, eax
jne 0x441e1d
call esi
cmp eax, 0x7a
jne 0x441e1d
push dword [ebp - 0x20]
call fcn.00465977
mov esi, eax
pop ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x20]
push esi
push 2
push dword [ebp - 0x1c]
call edi
test eax, eax
jne 0x441e78
or dword [ebp - 4], 0xffffffff
push esi
call fcn.00463f2b
pop ecx
jmp 0x441e1d
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x441eab
or dword [ebp - 4], 0xffffffff
push esi
call fcn.00463f2b
pop ecx
mov eax, ebx
jmp 0x441e1f
xor edi, edi
mov dword [ebp - 0x28], ebx
cmp dword [esi], ebx
jbe 0x441ed7
lea ebx, [esi + 4]
push dword [ebp - 0x24]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x441ed0
inc edi
add ebx, 8
cmp edi, dword [esi]
jb 0x441eb7
jmp 0x441ed7
mov dword [ebp - 0x28], 1
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ebx, dword [ebp - 0x28]
jmp 0x441e99
Function at 0x441f61
Capabilities:
Get disk size

Disassembly:
push ebp
lea ebp, [esp - 0xfb4]
mov eax, 0x1034
call fcn.00465b20
mov eax, dword [0x4d6080]
xor eax, ebp
mov dword [ebp + 0xfb0], eax
push ebx
push esi
mov esi, dword [ebp + 0xfc0]
push edi
mov edi, dword [ebp + 0xfbc]
xor ebx, ebx
push 0x4b27fc
mov dword [ebp - 0x58], ebx
mov dword [esi], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x64], eax
cmp eax, ebx
je 0x44207c
push str.GetDiskFreeSpaceExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x54], eax
cmp eax, ebx
je 0x442006
push edi
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x50]
push eax
call fcn.00441823
test eax, eax
je 0x441fe0
lea eax, [ebp - 0x50]
push eax
call fcn.00441d16
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x50]
push eax
call dword [ebp - 0x54]
test eax, eax
je 0x442073
mov eax, dword [ebp - 0x70]
cmp dword [ebp - 0x6c], ebx
je 0x44206a
mov eax, SysReAllocString
jmp 0x44206a
mov ax, word [edi]
mov word [ebp + 0x7b0], ax
mov ax, word [edi + 2]
mov word [ebp + 0x7b2], ax
mov ax, word [edi + 4]
mov word [ebp + 0x7b4], ax
xor eax, eax
mov word [ebp + 0x7b6], ax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp + 0x7b0]
push eax
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x68], ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x442073
mov eax, dword [ebp - 0x60]
imul eax, dword [ebp - 0x5c]
imul eax, dword [ebp - 0x54]
shr eax, 0xa
mov dword [ebp - 0x58], 1
mov dword [esi], eax
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp + 0xfb0]
mov eax, dword [ebp - 0x58]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004646c1
add ebp, 0xfb4
leave
ret

Function at 0x442097
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x4d6080]
xor eax, ebp
mov dword [ebp - 4], eax
push dword [0x4d5874]
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x804]
push eax
call fcn.00441d63
xor eax, eax
push eax
push 0x80
push 2
push eax
push eax
push 0xc0000000
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x4420e7
xor eax, eax
jmp 0x4420fe
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004646c1
leave
ret
Function at 0x4421fe
Capabilities:
Delete directory

Disassembly:
push 4
mov eax, 0x4a724c
call fcn.004646d0
push 8
sub esp, 0x34
mov ecx, esp
mov dword [ebp - 0x10], esp
push 1
lea eax, [ebp + 0xb]
push eax
push dword [ebp + 8]
xor edi, edi
call fcn.004096ba
and dword [ebp - 4], edi
or dword [ebp - 4], 0xffffffff
call fcn.0044cef2
add esp, 0x38
test al, al
je 0x442256
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x8001
call esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x442252
inc edi
push 0
call esi
mov eax, edi
call fcn.004647a8
ret 4

Function at 0x442260
Capabilities:
Delete file
Set file attributes

Disassembly:
push 4
mov eax, 0x4a726f
call fcn.004646d0
mov edi, dword [ebp + 8]
push 4
sub esp, 0x34
mov ecx, esp
mov dword [ebp - 0x10], esp
push 1
lea eax, [ebp + 0xb]
push eax
push edi
call fcn.004096ba
xor ebx, ebx
mov dword [ebp - 4], ebx
or dword [ebp - 4], 0xffffffff
call fcn.0044cef2
add esp, 0x38
test al, al
jne 0x44229f
xor eax, eax
inc eax
jmp 0x4422d6
push edi
call fcn.00441936
test eax, eax
jne 0x4422d4
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x8001
call esi
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4422d0
xor ebx, ebx
inc ebx
push 0
call esi
mov eax, ebx
call fcn.004647a8
ret 4
Function at 0x442e8d
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x58
lea ebp, [esp - 4]
mov eax, dword [0x4d6080]
xor eax, ebp
mov dword [ebp + 0x58], eax
push 0x60
mov eax, 0x4a759f
call fcn.004646d0
mov eax, dword [ebp + 0x64]
xor esi, esi
inc esi
push esi
lea ecx, [ebp + 0x1f]
push ecx
xor ebx, ebx
push eax
lea ecx, [ebp + 0x24]
mov dword [ebp + 0x20], ebx
call fcn.004018b0
mov dword [ebp - 4], ebx
push 0x10
lea eax, [ebp]
push ebx
push eax
call fcn.00465a60
push 0x44
pop edi
push edi
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.00465a60
xor eax, eax
add esp, 0x18
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x40], esi
mov word [ebp - 0x3c], ax
cmp dword [ebp + 0x68], ebx
je 0x442efb
mov eax, esi
mov word [ebp - 0x3c], ax
cmp dword [ebp + 0x40], 8
mov eax, dword [ebp + 0x2c]
jae 0x442f07
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp + 0x14]
push str.Attempting_to_launch:__s
push eax
mov dword [ebp + 0x14], str.C:CodeBasesisdev_srcRuntimeMSISharedSetuputils.cpp
mov dword [ebp + 0x18], 0x4a7
call fcn.004115dc
add esp, 0xc
push dword [ebp + 0x3c]
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp + 0x24]
call fcn.00401a00
mov byte [ebp - 4], 1
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.00402290
mov eax, dword [eax]
lea ecx, [ebp]
push ecx
lea ecx, [ebp - 0x6c]
push ecx
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x10]
call fcn.00402060
cmp edi, ebx
je 0x443012
mov edi, 0xff
push edi
push 0xffffffffffffffff
push ebx
lea eax, [ebp]
push eax
push esi
mov esi, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
jmp 0x442fb8
cmp eax, 1
jne 0x442fbe
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
cmp dword [ebp - 0x24], 0x11
je 0x442fbe
cmp dword [ebp - 0x24], 0x10
je 0x442fbe
cmp dword [ebp - 0x24], 0x12
je 0x442fbe
push edi
push 0xffffffffffffffff
push ebx
lea eax, [ebp]
push eax
push 1
call esi
cmp eax, ebx
jne 0x442f89
lea eax, [ebp + 0x20]
push eax
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp + 0x20]
push dword [ebp]
mov dword [0x4db6d0], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0x20]
mov dword [ebp + 0x14], str.C:CodeBasesisdev_srcRuntimeMSISharedSetuputils.cpp
push eax
lea eax, [ebp + 0x14]
push str.Launch_result__d__exit_code__d
push eax
mov dword [ebp + 0x18], 0x4c8
call fcn.004115dc
mov esi, dword [ebp + 0x20]
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00401670
mov eax, esi
jmp 0x443023
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00401670
mov eax, 0xcccccccc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x58]
xor ecx, ebp
call fcn.004646c1
add ebp, 0x5c
leave
ret 8
Function at 0x443042
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x4d6080]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x94
mov eax, 0x4a75cf
call fcn.004646d0
mov esi, dword [ebp + 0x80c]
push 0x10
xor edi, edi
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.00465a60
push 0x44
pop ebx
push ebx
lea eax, [ebp - 0x6c]
push edi
push eax
call fcn.00465a60
mov dword [ebp - 0x6c], ebx
xor ebx, ebx
inc ebx
xor eax, eax
add esp, 0x18
mov dword [ebp - 0x40], ebx
mov word [ebp - 0x3c], ax
cmp dword [ebp + 0x810], edi
je 0x4430ab
mov eax, ebx
mov word [ebp - 0x3c], ax
push esi
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push ebx
lea eax, [ebp - 0xd]
push eax
lea eax, [ebp]
push eax
lea ecx, [ebp - 0xa0]
call fcn.004018b0
mov dword [ebp - 4], edi
cmp dword [eax + 0x1c], 8
jb 0x4430d8
mov eax, dword [eax + 8]
jmp 0x4430db
add eax, 8
push eax
lea eax, [ebp - 0x18]
push str.Attempting_to_launch__no_wait_:__s
mov esi, str.C:CodeBasesisdev_srcRuntimeMSISharedSetuputils.cpp
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0x4e9
call fcn.004115dc
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.00401670
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x6c]
push eax
push edi
push edi
push 0x20
push ebx
push edi
push edi
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
push ebx
lea eax, [ebp - 0x18]
push str.Launch_result__d
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0x4ee
call fcn.004115dc
add esp, 0xc
cmp ebx, edi
je 0x443155
push 0x3e8
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov eax, ebx
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.004646c1
add ebp, 0x804
leave
ret 8
Function at 0x4434f4
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
sub esp, 0x888
lea ebp, [esp - 4]
mov eax, dword [0x4d6080]
xor eax, ebp
mov dword [ebp + 0x888], eax
push 0x10
mov eax, 0x4a7683
call fcn.004646d0
mov eax, dword [ebp + 0x894]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x898]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x89c]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp + 0x270], ax
xor edi, edi
lea eax, [ebp + 0x272]
push edi
push eax
call fcn.00465a60
add esp, 0xc
mov ebx, 0x104
push ebx
lea eax, [ebp + 0x270]
push eax
push dword [0x4db6d8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp + 0x270]
push eax
lea ecx, [ebp]
call fcn.0044063f
mov dword [ebp - 4], edi
xor eax, eax
push esi
mov word [ebp + 0x680], ax
lea eax, [ebp + 0x682]
push edi
push eax
call fcn.00465a60
mov edi, 0x4dad94
add esp, 0xc
mov ecx, edi
call fcn.00402d00
push eax
lea eax, [ebp]
push eax
call fcn.00441b9d
pop ecx
pop ecx
test eax, eax
je 0x443617
xor eax, eax
push esi
mov word [ebp + 0x478], ax
xor esi, esi
lea eax, [ebp + 0x47a]
push esi
push eax
mov byte [ebp - 0xd], 1
call fcn.00465a60
add esp, 0xc
lea eax, [ebp + 0x478]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp + 0x680]
push eax
push esi
push 0x4b2a20
lea eax, [ebp + 0x478]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push esi
lea eax, [ebp + 0x680]
push eax
mov ecx, edi
call fcn.00402d00
push eax
lea ecx, [ebp]
call fcn.0044124d
jmp 0x443674
cmp word [0x4d9d28], 0
je 0x443635
push 0x4d9d28
lea eax, [ebp + 0x680]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x443670
lea eax, [ebp + 0x478]
push eax
lea eax, [ebp + 0x680]
push eax
lea eax, [ebp + 0x270]
push eax
call fcn.0044152b
cmp dword [0x4dadb0], 8
mov eax, dword [0x4dad9c]
jae 0x443662
mov eax, 0x4dad9c
push eax
lea eax, [ebp + 0x680]
push eax
push eax
call fcn.00441d63
mov byte [ebp - 0xd], 0
lea ecx, [ebp + 0x234]
call fcn.0040c4ef
mov byte [ebp - 4], 1
lea eax, [ebp + 0x680]
push eax
lea ecx, [ebp + 0x234]
call fcn.0040c4ce
push dword [ebp + 0x8a0]
lea ecx, [ebp + 0x234]
push dword [ebp - 0x1c]
push 0x4bde80
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.00409ec2
cmp byte [ebp - 0xd], 0
je 0x4436c7
lea eax, [ebp + 0x680]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x234]
call fcn.0040c510
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.004407f8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x888]
xor ecx, ebp
call fcn.004646c1
add ebp, 0x88c
leave
ret
Function at 0x446b93
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4d6080]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x4b38a8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x446bc9
push str.GetSystemDefaultUILanguage
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x446bc9
call eax
jmp 0x446c87
and dword [ebp - 0x14], 0
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [ebp - 0x14]
push eax
mov ebx, 0xf003f
push ebx
push 0
push str..DefaultControl_PaneldesktopResourceLocale
mov edi, SysStringLen
push edi
mov dword [ebp - 0x1c], 0xa
call esi
test eax, eax
jne 0x446c18
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x4bde80
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x446c66
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push ebx
push 0
push str..DEFAULTControl_PanelInternational
push edi
call esi
mov esi, eax
test esi, esi
jne 0x446c4b
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push esi
push str.Locale
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
lea ecx, [ebp - 0x18]
call fcn.00445d45
test esi, esi
je 0x446c66
lea ecx, [ebp - 0x14]
call fcn.00445d45
mov eax, 0x409
jmp 0x446c84
push 0x10
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.00464c2b
add esp, 0xc
lea ecx, [ebp - 0x14]
movzx esi, ax
call fcn.00445d45
mov ax, si
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004646c1
leave
ret
Function at 0x4488c4
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4d6080]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x70
mov eax, 0x4a7afe
call fcn.004646d0
and dword [ebp - 0x14], 0
mov esi, dword [ebp + 0x214]
xor edi, edi
inc edi
cmp dword [ebp + 0x218], edi
jne 0x44896f
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x44896f
push str.GetSystemWindowsDirectoryW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4d58f4], eax
test eax, eax
je 0x44896f
push 0x104
lea ecx, [ebp]
push ecx
call eax
test eax, eax
je 0x44896f
push 0
lea eax, [ebp - 0xd]
push eax
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], 0x4b114c
mov dword [ebp - 0x1c], 0x4b1144
call fcn.00409238
and dword [ebp - 4], 0
push edi
push 0x4ae4fc
lea ecx, [ebp - 0x48]
call fcn.004480f2
push eax
mov ecx, esi
call fcn.00437208
lea ecx, [ebp - 0x48]
jmp 0x4489d4
push 0x104
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x448998
lea ecx, [ebp - 0x30]
call fcn.00435cbe
push 0x4cd8d8
lea eax, [ebp - 0x30]
push eax
call fcn.004647da
push 0
lea eax, [ebp - 0xd]
push eax
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0x4b114c
mov dword [ebp - 0x50], 0x4b1144
call fcn.00409238
push edi
push 0x4ae4fc
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], edi
call fcn.004480f2
push eax
mov ecx, esi
call fcn.00437208
lea ecx, [ebp - 0x7c]
call fcn.004016f0
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 + 0x208]
xor ecx, ebp
call fcn.004646c1
add ebp, 0x20c
leave
ret

Function at 0x448a11
Capabilities:
Get file attributes

Disassembly:
push 0
mov eax, 0x4a7b2e
call fcn.004646d0
and dword [ebp - 4], 0
cmp byte [ebp + 0x3c], 0
je 0x448a4a
cmp dword [ebp + 0x24], 8
mov eax, dword [ebp + 0x10]
jae 0x448a33
lea eax, [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x448a4a
lea ecx, [ebp + 8]
call fcn.004016f0
xor al, al
jmp 0x448a8f
push 0x80
sub esp, 0x34
mov ecx, esp
mov dword [ebp + 0x3c], esp
push 1
lea eax, [ebp + 8]
push eax
call fcn.004091ca
call fcn.00447c8f
pop ecx
mov ecx, esp
mov dword [ebp + 0x3c], esp
push 1
lea eax, [ebp + 8]
push eax
call fcn.004091ca
call fcn.00447d08
add esp, 0x34
lea ecx, [ebp + 8]
mov esi, eax
call fcn.004016f0
test esi, esi
setne al
call fcn.004647a8
ret

Function at 0x44a8c9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
cmp dword [ebp + 0xc], 0xffffffff
push esi
mov esi, ecx
jne 0x44a8df
mov dword [ebp + 0xc], 1
push 0
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x44a914
push 1
add esi, 0xc
push esi
lea ecx, [ebp - 0x54]
call fcn.00437292
push 0x4caeac
lea eax, [ebp - 0x54]
push eax
call fcn.004647da
mov eax, dword [ebp + 0xc]
pop esi
leave
ret 8
Function at 0x44a91c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
cmp dword [ebp + 0xc], 0xffffffff
push esi
mov esi, ecx
jne 0x44a932
mov dword [ebp + 0xc], 1
push 0
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x44a967
push 1
add esi, 0xc
push esi
lea ecx, [ebp - 0x54]
call fcn.00437292
push 0x4caeac
lea eax, [ebp - 0x54]
push eax
call fcn.004647da
mov eax, dword [ebp + 0xc]
pop esi
leave
ret 8

Function at 0x44a96f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x58
push esi
mov esi, ecx
cmp eax, 0xffffffff
jne 0x44a983
xor eax, eax
inc eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x44a9b7
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.00459e65
test al, al
jne 0x44a9e6
push 1
add esi, 0xc
push esi
lea ecx, [ebp - 0x58]
call fcn.0043737d
push 0x4caebc
lea eax, [ebp - 0x58]
push eax
call fcn.004647da
push 0
lea ecx, [ebp + 8]
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44a9e6
push 1
add esi, 0xc
push esi
lea ecx, [ebp - 0x54]
call fcn.00437292
push 0x4caeac
lea eax, [ebp - 0x54]
jmp 0x44a9b1
mov eax, dword [ebp + 8]
pop esi
leave
ret 8

Function at 0x44a9ee
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x58
push esi
mov esi, ecx
cmp eax, 0xffffffff
jne 0x44aa04
mov eax, 0x1ed
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x44aa38
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.00459e65
test al, al
jne 0x44aa67
push 1
add esi, 0xc
push esi
lea ecx, [ebp - 0x58]
call fcn.0043737d
push 0x4caebc
lea eax, [ebp - 0x58]
push eax
call fcn.004647da
push 0
lea ecx, [ebp + 8]
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44aa67
push 1
add esi, 0xc
push esi
lea ecx, [ebp - 0x54]
call fcn.00437292
push 0x4caeac
lea eax, [ebp - 0x54]
jmp 0x44aa32
mov eax, dword [ebp + 8]
pop esi
leave
ret 8

Function at 0x44aa6f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x58
push esi
mov esi, ecx
cmp eax, 0xffffffff
jne 0x44aa85
mov eax, 0x28e
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x44aab9
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.00459e65
test al, al
jne 0x44aae8
push 1
add esi, 0xc
push esi
lea ecx, [ebp - 0x58]
call fcn.0043737d
push 0x4caebc
lea eax, [ebp - 0x58]
push eax
call fcn.004647da
push 0
lea ecx, [ebp + 8]
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44aae8
push 1
add esi, 0xc
push esi
lea ecx, [ebp - 0x54]
call fcn.00437292
push 0x4caeac
lea eax, [ebp - 0x54]
jmp 0x44aab3
mov eax, dword [ebp + 8]
pop esi
leave
ret 8