joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4435a7
Capabilities:
Get disk size

Disassembly:
push ebp
lea ebp, [esp - 0xfb4]
mov eax, 0x1034
call fcn.004682e0
mov eax, dword [0x4db020]
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 0x4b6574
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 0x4436c2
push str.GetDiskFreeSpaceExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x54], eax
cmp eax, ebx
je 0x44364c
push edi
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x50]
push eax
call fcn.00442ea5
test eax, eax
je 0x443626
lea eax, [ebp - 0x50]
push eax
call fcn.0044335c
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 0x4436b9
mov eax, dword [ebp - 0x70]
cmp dword [ebp - 0x6c], ebx
je 0x4436b0
mov eax, SysReAllocString
jmp 0x4436b0
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 0x4436b9
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.00466e81
add ebp, 0xfb4
leave
ret

Function at 0x4436dd
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x4db020]
xor eax, ebp
mov dword [ebp - 4], eax
push dword [0x4da814]
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x804]
push eax
call fcn.004433a9
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 0x44372d
xor eax, eax
jmp 0x443744
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.00466e81
leave
ret
Function at 0x443844
Capabilities:
Delete directory

Disassembly:
push 4
mov eax, 0x4aa096
call fcn.00466e90
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.0040921c
and dword [ebp - 4], edi
or dword [ebp - 4], 0xffffffff
call fcn.0044f1bc
add esp, 0x38
test al, al
je 0x44389c
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 0x443898
inc edi
push 0
call esi
mov eax, edi
call fcn.00466f68
ret 4

Function at 0x4438a6
Capabilities:
Delete file
Set file attributes

Disassembly:
push 4
mov eax, 0x4aa0b9
call fcn.00466e90
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.0040921c
xor ebx, ebx
mov dword [ebp - 4], ebx
or dword [ebp - 4], 0xffffffff
call fcn.0044f1bc
add esp, 0x38
test al, al
jne 0x4438e5
xor eax, eax
inc eax
jmp 0x44391c
push edi
call fcn.00442fb8
test eax, eax
jne 0x44391a
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 0x443916
xor ebx, ebx
inc ebx
push 0
call esi
mov eax, ebx
call fcn.00466f68
ret 4
Function at 0x444594
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x58
lea ebp, [esp - 4]
mov eax, dword [0x4db020]
xor eax, ebp
mov dword [ebp + 0x58], eax
push 0x60
mov eax, 0x4aa439
call fcn.00466e90
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.00401890
mov dword [ebp - 4], ebx
push 0x10
lea eax, [ebp]
push ebx
push eax
call fcn.00468220
push 0x44
pop edi
push edi
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.00468220
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 0x444602
mov eax, esi
mov word [ebp - 0x3c], ax
cmp dword [ebp + 0x40], 8
mov eax, dword [ebp + 0x2c]
jae 0x44460e
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.004113cc
add esp, 0xc
push dword [ebp + 0x3c]
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp + 0x24]
call fcn.004019c0
mov byte [ebp - 4], 1
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.00402250
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.00402020
cmp edi, ebx
je 0x444719
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 0x4446bf
cmp eax, 1
jne 0x4446c5
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 0x4446c5
cmp dword [ebp - 0x24], 0x10
je 0x4446c5
cmp dword [ebp - 0x24], 0x12
je 0x4446c5
push edi
push 0xffffffffffffffff
push ebx
lea eax, [ebp]
push eax
push 1
call esi
cmp eax, ebx
jne 0x444690
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 [0x4e0670], 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.004113cc
mov esi, dword [ebp + 0x20]
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00401640
mov eax, esi
jmp 0x44472a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00401640
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.00466e81
add ebp, 0x5c
leave
ret 8
Function at 0x444749
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x4db020]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x94
mov eax, 0x4aa469
call fcn.00466e90
mov esi, dword [ebp + 0x80c]
push 0x10
xor edi, edi
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.00468220
push 0x44
pop ebx
push ebx
lea eax, [ebp - 0x6c]
push edi
push eax
call fcn.00468220
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 0x4447b2
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.00401890
mov dword [ebp - 4], edi
cmp dword [eax + 0x1c], 8
jb 0x4447df
mov eax, dword [eax + 8]
jmp 0x4447e2
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.004113cc
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.00401640
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.004113cc
add esp, 0xc
cmp ebx, edi
je 0x44485c
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.00466e81
add ebp, 0x804
leave
ret 8
Function at 0x444b85
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
sub esp, 0x708
lea ebp, [esp - 4]
mov eax, dword [0x4db020]
xor eax, ebp
mov dword [ebp + 0x708], eax
push 0x44
mov eax, 0x4aa503
call fcn.00466e90
mov eax, dword [ebp + 0x714]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x718]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x71c]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp + 0xf0], ax
xor ebx, ebx
lea eax, [ebp + 0xf2]
push ebx
push eax
call fcn.00468220
add esp, 0xc
mov edi, 0x104
push edi
lea eax, [ebp + 0xf0]
push eax
push dword [0x4e0678]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp + 0xf0]
push eax
lea ecx, [ebp]
call fcn.00442683
mov dword [ebp - 4], ebx
xor eax, eax
push esi
mov word [ebp + 0x500], ax
lea eax, [ebp + 0x502]
push ebx
push eax
call fcn.00468220
mov eax, dword [0x4dfd3c]
add esp, 0xc
cmp dword [0x4dfd50], 8
jae 0x444c3d
mov eax, 0x4dfd3c
push eax
lea eax, [ebp]
push eax
call fcn.00443924
pop ecx
pop ecx
test eax, eax
je 0x444cf2
xor eax, eax
push esi
mov word [ebp + 0x2f8], ax
lea eax, [ebp + 0x2fa]
push ebx
push eax
mov byte [ebp - 0xd], 1
call fcn.00468220
add esp, 0xc
lea eax, [ebp + 0x2f8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp + 0x500]
push eax
push ebx
push 0x4b6798
lea eax, [ebp + 0x2f8]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 1
lea eax, [ebp - 0xd]
push eax
lea eax, [ebp + 0x500]
push eax
lea ecx, [ebp + 0x80]
call fcn.0040921c
mov byte [ebp - 4], 1
lea eax, [ebp - 0x50]
push eax
mov ecx, 0x4dfd34
call fcn.0040f703
mov byte [ebp - 4], 2
push ebx
lea ecx, [ebp + 0x80]
push ecx
push eax
lea ecx, [ebp]
call fcn.004417cf
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.004016a0
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x80]
call fcn.004016a0
jmp 0x444d4d
cmp word [0x4decc8], bx
je 0x444d0f
push 0x4decc8
lea eax, [ebp + 0x500]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x444d4a
lea eax, [ebp + 0x2f8]
push eax
lea eax, [ebp + 0x500]
push eax
lea eax, [ebp + 0xf0]
push eax
call fcn.00442bad
cmp dword [0x4dfd50], 8
mov eax, dword [0x4dfd3c]
jae 0x444d3c
mov eax, 0x4dfd3c
push eax
lea eax, [ebp + 0x500]
push eax
push eax
call fcn.004433a9
mov byte [ebp - 0xd], bl
lea ecx, [ebp + 0xb4]
call fcn.0040c48e
mov byte [ebp - 4], 3
lea eax, [ebp + 0x500]
push eax
lea ecx, [ebp + 0xb4]
call fcn.0040c46d
push dword [ebp + 0x720]
lea ecx, [ebp + 0xb4]
push dword [ebp - 0x1c]
push 0x4c1c70
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call fcn.00409e61
cmp byte [ebp - 0xd], bl
je 0x444d9f
lea eax, [ebp + 0x500]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xb4]
call fcn.0040c4af
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.00442213
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x708]
xor ecx, ebp
call fcn.00466e81
add ebp, 0x70c
leave
ret
Function at 0x445ef6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
cmp edi, ebx
jne 0x445f0f
push 0x80004005
call fcn.0040d911
mov esi, dword [ebp + 8]
push edi
push esi
lea eax, [ebp + 0x10]
push eax
push ebx
push dword [ebp + 0xc]
mov dword [ebp + 0x10], ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp esi, ebx
je 0x445f7e
mov ecx, dword [edi]
cmp ecx, ebx
jbe 0x445f79
cmp dword [ebp + 0x10], ebx
jbe 0x445f6f
cmp dword [ebp + 0x10], 2
jbe 0x445f61
cmp dword [ebp + 0x10], 7
jne 0x445f6f
test cl, 1
jne 0x445f6f
shr ecx, 1
cmp ecx, 1
jb 0x445f6f
cmp word [esi + ecx*2 - 2], bx
jne 0x445f6f
cmp ecx, 1
jbe 0x445f7e
cmp word [esi + ecx*2 - 4], bx
jmp 0x445f6d
test cl, 1
jne 0x445f6f
shr ecx, 1
cmp word [esi + ecx*2 - 2], bx
je 0x445f7e
xor eax, eax
push 0xd
mov word [esi], ax
pop eax
jmp 0x445f7e
xor ecx, ecx
mov word [esi], cx
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x445f85
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
jne 0x445f9b
push 0x80004005
call fcn.0040d911
cmp byte [ebp + 0x10], 0
mov eax, dword [ebp + 0x14]
je 0x445fae
cmp eax, 0xffffffff
jne 0x445fbd
push 0x57
pop eax
jmp 0x445fde
cmp eax, 0xffffffff
jne 0x445fbd
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
add eax, eax
push eax
push dword [ebp + 8]
xor eax, eax
cmp byte [ebp + 0x10], al
sete al
dec eax
and eax, 6
inc eax
push eax
push 0
push dword [ebp + 0xc]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
pop ebp
ret 0x10

Function at 0x44650e
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x4db020]
xor eax, ebp
mov dword [ebp + 0x94], eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x446542
xor al, al
jmp 0x446555
cmp dword [ebp - 0x70], 2
jne 0x446553
cmp dword [ebp - 0x7c], 5
jb 0x446553
xor eax, eax
inc eax
jmp 0x446555
xor eax, eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.00466e81
add ebp, 0x98
leave
ret

Function at 0x447ea3
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call fcn.004474de
test al, al
je 0x447f08
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 4]
push ecx
push 0x28
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x447f08
push esi
lea eax, [ebp - 0xc]
push eax
push str.SeShutdownPrivilege
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [ebp - 0xc]
push esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
push esi
push esi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
pop esi
push 0xffff
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
neg eax
sbb eax, eax
inc eax
leave
ret
Function at 0x448678
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4db020]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x4b7618
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4486ae
push str.GetSystemDefaultUILanguage
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4486ae
call eax
jmp 0x44876c
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, SysFreeString
push edi
mov dword [ebp - 0x1c], 0xa
call esi
test eax, eax
jne 0x4486fd
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x4c1c70
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x44874b
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 0x448730
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.00447661
test esi, esi
je 0x44874b
lea ecx, [ebp - 0x14]
call fcn.00447661
mov eax, 0x409
jmp 0x448769
push 0x10
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.004673eb
add esp, 0xc
lea ecx, [ebp - 0x14]
movzx esi, ax
call fcn.00447661
mov ax, si
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00466e81
leave
ret

Function at 0x44afb1
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4db020]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x58
mov eax, 0x4aa9dd
call fcn.00466e90
mov esi, dword [ebp + 0x214]
and dword [ebp - 0x14], 0
push 0x104
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x44b008
lea ecx, [ebp - 0x64]
call fcn.00435bce
push 0x4d1e9c
lea eax, [ebp - 0x64]
push eax
call fcn.00466f9a
push 0
lea eax, [ebp - 0xd]
push eax
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], 0x4b7758
mov dword [ebp - 0x1c], 0x4b7750
call fcn.0040921c
and dword [ebp - 4], 0
push 1
push 0x4b2194
lea ecx, [ebp - 0x48]
call fcn.0044a353
push eax
mov ecx, esi
call fcn.0044af35
lea ecx, [ebp - 0x48]
call fcn.004016c0
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.00466e81
add ebp, 0x20c
leave
ret
Function at 0x44b0c8
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4db020]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x70
mov eax, 0x4aaa38
call fcn.00466e90
and dword [ebp - 0x14], 0
mov esi, dword [ebp + 0x214]
xor edi, edi
inc edi
cmp dword [ebp + 0x218], edi
jne 0x44b173
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x44b173
push str.GetSystemWindowsDirectoryW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4da894], eax
test eax, eax
je 0x44b173
push 0x104
lea ecx, [ebp]
push ecx
call eax
test eax, eax
je 0x44b173
push 0
lea eax, [ebp - 0xd]
push eax
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], 0x4b4e7c
mov dword [ebp - 0x1c], 0x4b4e74
call fcn.004090b3
and dword [ebp - 4], 0
push edi
push 0x4b2194
lea ecx, [ebp - 0x48]
call fcn.0044a3a8
push eax
mov ecx, esi
call fcn.00437291
lea ecx, [ebp - 0x48]
jmp 0x44b1d8
push 0x104
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x44b19c
lea ecx, [ebp - 0x30]
call fcn.00435bce
push 0x4d1e9c
lea eax, [ebp - 0x30]
push eax
call fcn.00466f9a
push 0
lea eax, [ebp - 0xd]
push eax
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0x4b4e7c
mov dword [ebp - 0x50], 0x4b4e74
call fcn.004090b3
push edi
push 0x4b2194
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], edi
call fcn.0044a3a8
push eax
mov ecx, esi
call fcn.00437291
lea ecx, [ebp - 0x7c]
call fcn.004016c0
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.00466e81
add ebp, 0x20c
leave
ret

Function at 0x44b215
Capabilities:
Get file attributes

Disassembly:
push 0
mov eax, 0x4aaa68
call fcn.00466e90
and dword [ebp - 4], 0
cmp byte [ebp + 0x3c], 0
je 0x44b24e
cmp dword [ebp + 0x24], 8
mov eax, dword [ebp + 0x10]
jae 0x44b237
lea eax, [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x44b24e
lea ecx, [ebp + 8]
call fcn.004016c0
xor al, al
jmp 0x44b293
push 0x80
sub esp, 0x34
mov ecx, esp
mov dword [ebp + 0x3c], esp
push 1
lea eax, [ebp + 8]
push eax
call fcn.0040914f
call fcn.00449b0c
pop ecx
mov ecx, esp
mov dword [ebp + 0x3c], esp
push 1
lea eax, [ebp + 8]
push eax
call fcn.0040914f
call fcn.00449b85
add esp, 0x34
lea ecx, [ebp + 8]
mov esi, eax
call fcn.004016c0
test esi, esi
setne al
call fcn.00466f68
ret

Function at 0x44cde1
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 0x44cdf7
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 0x44ce2c
push 1
add esi, 0xc
push esi
lea ecx, [ebp - 0x54]
call fcn.0043731b
push 0x4cedc8
lea eax, [ebp - 0x54]
push eax
call fcn.00466f9a
mov eax, dword [ebp + 0xc]
pop esi
leave
ret 8
Function at 0x44ce34
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 0x44ce4a
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 0x44ce7f
push 1
add esi, 0xc
push esi
lea ecx, [ebp - 0x54]
call fcn.0043731b
push 0x4cedc8
lea eax, [ebp - 0x54]
push eax
call fcn.00466f9a
mov eax, dword [ebp + 0xc]
pop esi
leave
ret 8

Function at 0x44ce87
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 0x44ce9b
xor eax, eax
inc eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x44cecf
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.0045c62f
test al, al
jne 0x44cefe
push 1
add esi, 0xc
push esi
lea ecx, [ebp - 0x58]
call fcn.00437406
push 0x4cedd8
lea eax, [ebp - 0x58]
push eax
call fcn.00466f9a
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 0x44cefe
push 1
add esi, 0xc
push esi
lea ecx, [ebp - 0x54]
call fcn.0043731b
push 0x4cedc8
lea eax, [ebp - 0x54]
jmp 0x44cec9
mov eax, dword [ebp + 8]
pop esi
leave
ret 8

Function at 0x44cf06
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 0x44cf1c
mov eax, 0x1ed
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x44cf50
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.0045c62f
test al, al
jne 0x44cf7f
push 1
add esi, 0xc
push esi
lea ecx, [ebp - 0x58]
call fcn.00437406
push 0x4cedd8
lea eax, [ebp - 0x58]
push eax
call fcn.00466f9a
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 0x44cf7f
push 1
add esi, 0xc
push esi
lea ecx, [ebp - 0x54]
call fcn.0043731b
push 0x4cedc8
lea eax, [ebp - 0x54]
jmp 0x44cf4a
mov eax, dword [ebp + 8]
pop esi
leave
ret 8

Function at 0x44cf87
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 0x44cf9d
mov eax, 0x28e
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x44cfd1
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.0045c62f
test al, al
jne 0x44d000
push 1
add esi, 0xc
push esi
lea ecx, [ebp - 0x58]
call fcn.00437406
push 0x4cedd8
lea eax, [ebp - 0x58]
push eax
call fcn.00466f9a
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 0x44d000
push 1
add esi, 0xc
push esi
lea ecx, [ebp - 0x54]
call fcn.0043731b
push 0x4cedc8
lea eax, [ebp - 0x54]
jmp 0x44cfcb
mov eax, dword [ebp + 8]
pop esi
leave
ret 8