joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4225fe
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x82c
mov eax, 0x4b5555
call fcn.00469c08
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x838], eax
lea eax, [ebp - 0x82c]
push eax
push 9
push edi
push edx
push ecx
mov dword [ebp - 0x82c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x82c], edi
je 0x422793
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x830]
mov dword [ebp - 0x834], edi
push eax
lea eax, [ebp - 0x834]
mov dword [ebp - 0x830], edi
push eax
push edi
push edi
push edi
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov esi, eax
test esi, esi
jne 0x422780
mov ebx, dword [ebp - 0x834]
test ebx, ebx
je 0x422780
push 0x800
lea eax, [ebp - 0x810]
push edi
push eax
call fcn.0046d6f0
mov eax, dword [ebp - 0x830]
add esp, 0xc
push 2
pop edx
cmp eax, 0x400
jae 0x4226b0
lea edi, [ebp - 0x810]
jmp 0x4226dd
xor ecx, ecx
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046949c
mov ecx, dword [ebp - 0x830]
mov edi, eax
inc ecx
push ecx
push 0
push edi
call fcn.0046d6f0
mov ebx, dword [ebp - 0x834]
add esp, 0x10
mov ecx, dword [ebp - 0x838]
push ebx
call fcn.004215b9
mov eax, dword [ebp - 0x830]
inc eax
push eax
push edi
push 0
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
xor ebx, ebx
inc ebx
jmp 0x422760
cmp esi, 0xea
je 0x422741
test esi, esi
jne 0x422741
push edi
lea ecx, [ebp - 0x828]
call fcn.0041185a
mov ecx, dword [ebp - 0x838]
lea eax, [ebp - 0x828]
and dword [ebp - 4], esi
push eax
call fcn.0040c372
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x828]
call fcn.004123b1
cmp ebx, dword [ebp - 0x834]
jae 0x42276c
mov eax, dword [ebp - 0x830]
inc eax
push eax
push edi
push ebx
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
inc ebx
mov esi, eax
cmp esi, 0x103
jne 0x422705
xor esi, esi
lea eax, [ebp - 0x810]
cmp edi, eax
je 0x422780
push 2
push edi
call fcn.004690db
pop ecx
pop ecx
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
jmp 0x422795
xor al, al
call fcn.00469bb2
ret
Function at 0x42279b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x834
mov eax, 0x4b5588
call fcn.00469c08
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x840], eax
inc ebx
lea eax, [ebp - 0x830]
xor edi, edi
push eax
push ebx
push edi
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x830], edi
jne 0x4227d8
xor al, al
jmp 0x42295c
push edi
push edi
push edi
lea eax, [ebp - 0x82c]
mov dword [ebp - 0x82c], edi
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov esi, eax
test esi, esi
jne 0x422959
push 0x800
lea eax, [ebp - 0x810]
push edi
push eax
call fcn.0046d6f0
mov ecx, dword [ebp - 0x82c]
add esp, 0xc
mov eax, 0x400
mov dword [ebp - 0x838], eax
push 2
pop edx
cmp ecx, eax
jae 0x42283a
lea edi, [ebp - 0x810]
jmp 0x422870
lea eax, [ecx + 1]
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046949c
mov ecx, dword [ebp - 0x82c]
mov edi, eax
inc ecx
push ecx
push 0
push edi
call fcn.0046d6f0
mov eax, dword [ebp - 0x82c]
add esp, 0x10
inc eax
mov dword [ebp - 0x838], eax
xor ecx, ecx
mov dword [ebp - 0x834], eax
push ecx
push ecx
lea eax, [ebp - 0x83c]
mov dword [ebp - 0x83c], ebx
push eax
push ecx
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0x810]
push eax
push ecx
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x422933
cmp esi, 0xea
je 0x422943
test esi, esi
jne 0x4228ff
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x828]
call fcn.0041185a
mov ecx, dword [ebp - 0x840]
push eax
mov dword [ebp - 4], esi
call fcn.0040c372
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x828]
call fcn.004123b1
push 0x800
lea eax, [ebp - 0x810]
push esi
push eax
call fcn.0046d6f0
add esp, 0xc
jmp 0x422901
xor esi, esi
mov eax, dword [ebp - 0x838]
push esi
push esi
mov dword [ebp - 0x834], eax
lea eax, [ebp - 0x83c]
push eax
push esi
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
inc ebx
mov esi, eax
cmp esi, 0x103
jne 0x4228a8
xor esi, esi
lea eax, [ebp - 0x810]
cmp edi, eax
je 0x422957
push 2
push edi
call fcn.004690db
pop ecx
pop ecx
test esi, esi
sete al
call fcn.00469bb2
ret
Function at 0x422a91
Capabilities:
Delete registry key

Disassembly:
push 0x44
mov eax, 0x4b55c8
call fcn.00469c08
mov esi, edx
mov edi, ecx
test esi, esi
jne 0x422aac
xor al, al
jmp 0x422b81
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x422abf
mov al, 1
jmp 0x422b81
lea ecx, [ebp - 0x50]
call fcn.0040c090
lea eax, [ebp - 0x50]
xor ebx, ebx
push eax
mov edx, esi
mov dword [ebp - 4], ebx
mov ecx, edi
call fcn.004225fe
pop ecx
test al, al
je 0x422b77
push esi
lea ecx, [ebp - 0x28]
call fcn.0041185a
push 0x4d2b00
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0040ef7b
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x44], ebx
call fcn.0040c30a
test eax, eax
je 0x422b5f
push ebx
lea ecx, [ebp - 0x50]
call fcn.0040c2ed
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.00423aff
pop ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00412374
mov edx, eax
mov ecx, edi
call fcn.00422a91
mov bl, al
mov byte [ebp - 4], 1
neg bl
lea ecx, [ebp - 0x40]
sbb bl, bl
call fcn.004123b1
add bl, 1
jne 0x422b87
mov ebx, dword [ebp - 0x44]
lea ecx, [ebp - 0x50]
inc ebx
mov dword [ebp - 0x44], ebx
call fcn.0040c30a
cmp ebx, eax
jb 0x422b0b
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
neg eax
sbb al, al
inc al
mov bl, al
lea ecx, [ebp - 0x28]
call fcn.004123b1
lea ecx, [ebp - 0x50]
call fcn.0040c335
mov al, bl
call fcn.00469bb2
ret
xor ebx, ebx
jmp 0x422b6f

Function at 0x425d70
Capabilities:
Get file size
Read file on windows

Disassembly:
push 4
mov eax, 0x4b5a24
call fcn.00469bd4
mov edi, edx
mov esi, ecx
push 0x78
call fcn.00469351
pop ecx
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.00426a01
or dword [ebp - 4], 0xffffffff
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push esi
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x425e22
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x10], eax
lea ecx, [eax + 1]
push ecx
call fcn.0046949c
pop ecx
push 0
mov esi, eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
push esi
mov byte [esi + eax], 0
mov ecx, dword [edi]
call fcn.00426ab0
push 1
push esi
test al, al
je 0x425e0c
call fcn.004690db
pop ecx
pop ecx
mov al, 1
jmp 0x425e24
call fcn.004690db
pop ecx
pop ecx
mov ecx, dword [edi]
test ecx, ecx
je 0x425e1f
push ecx
call fcn.00425e2a
and dword [edi], 0
xor al, al
call fcn.00469b9d
ret
Function at 0x42b6b9
Capabilities:
Accept command line arguments

Disassembly:
push 0x3c
mov eax, 0x4b635d
call fcn.00469c08
mov esi, ecx
test esi, esi
je 0x42b723
call fcn.0042bd2e
push 0xfde9
push 0xffffffffffffffff
mov dword [ebp - 0x48], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.0042218f
pop ecx
pop ecx
and dword [ebp - 4], 0
push eax
push ecx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0042ba71
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.004122e7
mov edx, dword [esi]
mov ecx, esi
push eax
call dword [edx]
lea ecx, [ebp - 0x2c]
call fcn.0041207b
lea ecx, [ebp - 0x44]
call fcn.0041207b
call fcn.00469bb2
ret
Function at 0x435f31
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x435f40
mov al, 1
ret
push ebx
push esi
push 0xd
mov bl, 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x435f95
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
test edi, edi
je 0x435f94
test eax, eax
je 0x435f94
xor ecx, ecx
test eax, eax
je 0x435f8d
movzx edx, word [edi + ecx*2]
test dx, dx
je 0x435f8d
cmp edx, 0x30
jb 0x435f8b
cmp edx, 0x39
ja 0x435f8b
inc ecx
cmp ecx, eax
jb 0x435f71
jmp 0x435f8d
xor bl, bl
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop edi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
mov al, bl
pop ebx
ret

Function at 0x43a794
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x14
mov eax, 0x4b7114
call fcn.00469bd4
mov edi, ecx
push dword [edi + 0xb0]
lea ecx, [ebp - 0x20]
call fcn.0042d967
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
cmp ebx, 9
jne 0x43a7f4
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x43a8b2
mov ecx, dword [edi + 0xc0]
test ecx, ecx
je 0x43a7ec
push esi
push esi
push esi
push 0xc
call fcn.0042f4ce
test eax, eax
jne 0x43a8b2
xor esi, esi
inc esi
jmp 0x43a8b2
cmp ebx, 0x25
je 0x43a80c
cmp ebx, 0x27
je 0x43a80c
cmp ebx, 0x26
je 0x43a80c
cmp ebx, 0x28
jne 0x43a8b2
mov ecx, dword [edi + 0xc0]
test ecx, ecx
je 0x43a8b2
push esi
push esi
push esi
push 0xb
call fcn.0042f4ce
test eax, eax
jne 0x43a8b2
mov eax, dword [edi + 0xc0]
cmp dword [eax + 0x2c], esi
je 0x43a8b2
cmp ebx, 0x25
jb 0x43a8b2
cmp ebx, 0x26
jbe 0x43a850
cmp ebx, 0x28
ja 0x43a8b2
push eax
mov ecx, edi
call 0x4399aa
jmp 0x43a858
push eax
mov ecx, edi
call 0x439a49
mov ebx, eax
test ebx, ebx
je 0x43a8b2
push ebx
mov ecx, edi
call fcn.00438a88
push esi
push esi
push esi
push 0x11
mov ecx, ebx
call fcn.0042f4ce
cmp eax, 4
jne 0x43a88d
or dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0xa4]
mov dword [ebp - 0x14], esi
call fcn.00433dfd
mov ecx, dword [edi + 0xb0]
push esi
push esi
push esi
push 0x6c
call fcn.0042f4ce
cmp eax, 1
jne 0x43a8b2
mov ecx, dword [edi + 0xb0]
push esi
push esi
push esi
push 0x6d
call fcn.0042f4ce
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], vtable.CTrackFinalEvent.0
call fcn.00430c77
mov eax, esi
call fcn.00469b9d
ret 8

Function at 0x43a8d2
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xc
mov eax, 0x4b70eb
call fcn.00469bd4
mov edi, ecx
push dword [edi + 0xb0]
lea ecx, [ebp - 0x18]
call fcn.0042d967
xor esi, esi
cmp dword [ebp + 8], 9
mov dword [ebp - 4], esi
jne 0x43a923
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x43a923
mov ecx, dword [edi + 0xc0]
test ecx, ecx
je 0x43a920
push esi
push esi
push esi
push 0xc
call fcn.0042f4ce
test eax, eax
jne 0x43a923
xor esi, esi
inc esi
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], vtable.CTrackFinalEvent.0
call fcn.00430c77
mov eax, esi
call fcn.00469b9d
ret 8
Function at 0x43a943
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x14
mov eax, 0x4b7114
call fcn.00469bd4
mov esi, ecx
push dword [esi + 0xb0]
lea ecx, [ebp - 0x20]
call fcn.0042d967
xor edi, edi
cmp dword [ebp + 8], 9
mov dword [ebp - 4], edi
jne 0x43aa42
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x43aa42
mov ecx, dword [esi + 0xc0]
test ecx, ecx
je 0x43a99d
push edi
push edi
push edi
push 0xc
call fcn.0042f4ce
test eax, eax
jne 0x43aa42
mov ecx, dword [esi + 0xc0]
xor ebx, ebx
inc ebx
mov byte [esi + 0xce], bl
test ecx, ecx
je 0x43a9be
push 0x8000
call fcn.00417042
test al, al
jne 0x43a9c4
mov edi, dword [esi + 0xc0]
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, esi
push edi
test al, 1
je 0x43a9dd
call fcn.004392c8
jmp 0x43a9e2
call fcn.004391ac
mov edi, eax
test edi, edi
je 0x43aa1a
push edi
mov ecx, esi
call fcn.00438a88
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push 0x11
call fcn.0042f4ce
cmp eax, 4
jne 0x43aa1a
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
or dword [ebp - 0x10], 0xffffffff
lea ecx, [edi + 0xa4]
push eax
call fcn.00433dfd
mov ecx, dword [esi + 0xb0]
xor edi, edi
push edi
push edi
push edi
push 0x6c
call fcn.0042f4ce
cmp eax, ebx
jne 0x43aa44
mov ecx, dword [esi + 0xb0]
push edi
push edi
push edi
push 0x6d
call fcn.0042f4ce
jmp 0x43aa44
mov ebx, edi
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], vtable.CTrackFinalEvent.0
call fcn.00430c77
mov eax, ebx
call fcn.00469b9d
ret 8

Function at 0x43de26
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
shl edi, 2
mov dword [ebp - 4], edx
test ecx, ecx
je 0x43de6b
cmp ecx, 0xffffffff
je 0x43de6b
push edi
xor ebx, ebx
push ebx
push ebx
push 4
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x43de6d
push edi
push esi
push dword [ebp - 4]
call fcn.0046b1b0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov bl, 1
jmp 0x43de6d
xor bl, bl
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44b383
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x2c
mov eax, 0x4b8185
call fcn.00469c08
mov esi, ecx
mov bl, byte [ebp + 8]
test bl, bl
jne 0x44b3f5
push edx
lea eax, [ebp - 0x28]
push 0x4d5594
push eax
call fcn.0040e9c0
and dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x28]
add esp, 0xc
push 4
pop eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
push str.InstallLog
call fcn.00412374
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
movzx ebx, bl
inc eax
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x2c], 0
cmovne ebx, eax
call fcn.004123b1
test bl, bl
je 0x44b41d
push 0xb0
call fcn.00469351
pop ecx
mov dword [ebp - 0x38], eax
and dword [ebp - 4], 0
mov ecx, eax
call fcn.0044b043
or dword [ebp - 4], 0xffffffff
push esi
mov dword [0x4f5148], eax
call fcn.0044b0f6
call fcn.00469bb2
ret
Function at 0x44c370
Capabilities:
Write file on windows

Disassembly:
push 0x34
mov eax, 0x4b8246
call fcn.00469c08
mov esi, ecx
mov dword [ebp - 0x2c], esi
xor ebx, ebx
cmp dword [esi + 0x38], ebx
je 0x44c478
cmp byte [esi + 0x3e], bl
je 0x44c478
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 0xc]
movzx eax, ax
cmp di, ax
sete al
test al, al
je 0x44c3b4
xor al, al
jmp 0x44c47a
push ebx
push 8
lea ecx, [ebp - 0x28]
call fcn.0044db6a
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x28]
call fcn.00427320
lea ecx, [ebp - 0x28]
mov esi, dword [eax]
lea eax, [ebp - 0x38]
push eax
call fcn.00427320
lea ecx, [ebp - 0x28]
mov edi, dword [eax]
call fcn.0040c5e0
add eax, esi
mov esi, dword [ebp - 0x2c]
mov ecx, dword [esi + 0x38]
lea esi, [ebp - 0x30]
push esi
mov esi, dword [ebp - 0x2c]
push eax
mov edx, dword [ecx]
push edi
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, ebx
je 0x44c412
sub eax, 1
je 0x44c415
dec eax
sub eax, 1
jne 0x44c46c
inc eax
jmp 0x44c46a
mov byte [esi + 0x3e], bl
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00427320
mov edi, dword [ebp - 0x30]
sub edi, dword [eax]
je 0x44c448
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00427320
push dword [esi + 0x4c]
push edi
push 1
push dword [eax]
call fcn.0047b0fc
add esp, 0x10
cmp edi, eax
jne 0x44c468
cmp byte [esi + 0x3e], 0
je 0x44c466
test edi, edi
jne 0x44c3c2
push ebx
push 8
lea ecx, [ebp - 0x28]
call fcn.0042205a
jmp 0x44c3c2
mov bl, 1
mov al, bl
mov bl, al
lea ecx, [ebp - 0x28]
call fcn.0041207b
mov al, bl
jmp 0x44c47a
mov al, 1
call fcn.00469bb2
ret
Function at 0x44f5f4
Capabilities:
Move file

Disassembly:
push 0x42c
mov eax, 0x4b8812
call fcn.00469c08
mov esi, ecx
call fcn.00412374
mov ecx, eax
call fcn.0045506c
test eax, eax
jne 0x44f61c
mov al, 1
jmp 0x44f74f
mov ecx, esi
call fcn.00412374
mov ecx, eax
call fcn.00454f7f
test eax, eax
jne 0x44f615
mov ecx, esi
call fcn.00412374
mov edi, eax
push 0x5c
push edi
call fcn.00415412
pop ecx
pop ecx
test eax, eax
je 0x44f64a
add eax, 2
jmp 0x44f64c
mov eax, edi
push 0x4d5bac
push eax
call fcn.0046d424
pop ecx
pop ecx
test eax, eax
je 0x44f68e
mov ecx, eax
call fcn.0044f5c4
test al, al
je 0x44f68e
mov ecx, esi
call fcn.00412374
mov ecx, eax
call fcn.00454f7f
test eax, eax
jne 0x44f615
push 4
mov ecx, esi
call fcn.00412374
xor edx, edx
mov ecx, eax
call fcn.0045500a
jmp 0x44f615
lea ecx, [ebp - 0x438]
call fcn.00411071
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00412607
xor ebx, ebx
lea ecx, [ebp - 0x28]
inc ebx
mov byte [ebp - 4], bl
call fcn.00452ffb
lea eax, [ebp - 0x28]
push eax
push 0x4d2ac4
lea eax, [ebp - 0x438]
push esi
push eax
call fcn.0040c507
pop ecx
pop ecx
push eax
call fcn.00411005
pop ecx
pop ecx
push eax
call fcn.0040c507
pop ecx
pop ecx
mov ecx, esi
call fcn.00412374
lea edx, [ebx + 0x7f]
mov ecx, eax
call fcn.00455041
lea ecx, [ebp - 0x438]
call fcn.00412324
push eax
mov ecx, esi
call fcn.00412374
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x44f738
lea ecx, [ebp - 0x438]
call fcn.00412324
mov ecx, eax
call fcn.00454f7f
test eax, eax
jne 0x44f73a
push 4
lea ecx, [ebp - 0x438]
call fcn.00412324
xor edx, edx
mov ecx, eax
call fcn.0045500a
jmp 0x44f73a
xor bl, bl
lea ecx, [ebp - 0x28]
call fcn.004123b1
lea ecx, [ebp - 0x438]
call fcn.0041104c
mov al, bl
call fcn.00469bb2
ret

Function at 0x44f89f
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.00412374
xor dl, dl
mov ecx, eax
call fcn.0041fbdc
mov ecx, edi
test al, al
jne 0x44f8d8
call fcn.00412374
push eax
push str.File__s_is_not_exist
push 2
call fcn.0044b4c9
add esp, 0xc
xor al, al
jmp 0x44f934
mov edx, esi
call fcn.004501cb
test al, al
jne 0x44f932
mov ecx, esi
call fcn.0044f5f4
mov ecx, esi
call fcn.0044f764
test al, al
je 0x44f8d4
push 0
mov ecx, esi
call fcn.00412374
push eax
mov ecx, edi
call fcn.00412374
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x44f932
mov ecx, esi
call fcn.00412374
push eax
mov ecx, edi
call fcn.00412374
push eax
push str.Failed_to_copy_file__s_to__s
push 2
call fcn.0044b4c9
add esp, 0x10
jmp 0x44f8d4
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44fd69
Capabilities:
Delete directory

Disassembly:
push 0x2c4
mov eax, 0x4b8916
call fcn.00469c08
mov esi, edx
mov dword [ebp - 0x2c8], esi
mov ebx, ecx
mov dword [ebp - 0x2d0], ebx
push 0x250
lea eax, [ebp - 0x2c0]
push 0
push eax
call fcn.0046d6f0
add esp, 0xc
lea ecx, [ebp - 0x58]
push ebx
call fcn.0040c84a
and dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
push 0x4d2994
call fcn.0040ef7b
lea eax, [ebp - 0x2c0]
push eax
lea ecx, [ebp - 0x58]
call fcn.00412374
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp - 0x2c4], edi
setne cl
test cl, cl
je 0x44ff54
mov ecx, esi
call fcn.0040c30a
xor bl, bl
mov dword [ebp - 0x2cc], eax
xor esi, esi
test eax, eax
je 0x44fe38
xor edi, edi
mov ecx, dword [ebp - 0x2c8]
call fcn.0040c92d
mov ecx, dword [eax]
add ecx, edi
call fcn.00412374
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.00471ed1
pop ecx
pop ecx
test eax, eax
je 0x44fe30
inc esi
add edi, 0x18
cmp esi, dword [ebp - 0x2cc]
jb 0x44fdfb
jmp 0x44fe32
mov bl, 1
mov edi, dword [ebp - 0x2c4]
test bl, bl
jne 0x44ff39
push 0x4d2b00
push dword [ebp - 0x2d0]
lea eax, [ebp - 0x70]
push eax
call fcn.0040e762
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 1
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040e80d
add esp, 0x18
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.004123b1
test byte [ebp - 0x2c0], 0x10
je 0x44ff25
lea eax, [ebp - 0x294]
push 0x4d2ac8
push eax
call fcn.0047b3dc
pop ecx
pop ecx
test eax, eax
je 0x44ff25
lea eax, [ebp - 0x294]
push 0x4d2ac4
push eax
call fcn.0047b3dc
pop ecx
pop ecx
test eax, eax
je 0x44ff25
lea ecx, [ebp - 0x40]
call fcn.00412374
push eax
lea ecx, [ebp - 0x28]
call fcn.0041185a
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.0044faa9
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.004123b1
lea ecx, [ebp - 0x40]
call fcn.00412374
push eax
lea ecx, [ebp - 0x28]
call fcn.0041185a
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00412374
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x44ff1b
push 4
lea ecx, [ebp - 0x28]
call fcn.00412374
xor edx, edx
mov ecx, eax
call fcn.0045500a
lea ecx, [ebp - 0x28]
call fcn.004123b1
jmp 0x44ff2d
lea ecx, [ebp - 0x40]
call fcn.0044f5f4
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.004123b1
lea edx, [ebp - 0x2c0]
mov ecx, edi
call fcn.00454fbf
mov esi, dword [ebp - 0x2c8]
test eax, eax
jne 0x44fde4
mov ecx, edi
call fcn.00454fe4
lea ecx, [ebp - 0x58]
call fcn.004123b1
call fcn.00469bb2
ret
Function at 0x44ff69
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x614
mov eax, dword [0x4ec06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov edx, 0x100
lea eax, [ebp - 0x20c]
push edx
push eax
push edx
lea eax, [ebp - 0x40c]
xor esi, esi
push eax
push edx
lea eax, [ebp - 0x60c]
push eax
push 3
lea eax, [ebp - 0xc]
push eax
call fcn.00412374
push eax
call fcn.00472434
add esp, 0x24
test eax, eax
jne 0x44ffeb
push esi
push esi
lea eax, [ebp - 0x610]
mov dword [ebp - 0x614], esi
push eax
lea eax, [ebp - 0x614]
mov dword [ebp - 0x610], esi
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x44ffeb
mov esi, dword [ebp - 0x610]
imul esi, dword [ebp - 0x614]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004690ca
mov esp, ebp
pop ebp
ret

Function at 0x44fffc
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4ec06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
lea eax, [ebp - 0xc]
push esi
push esi
push esi
push esi
push esi
push esi
push 3
push eax
call fcn.00412374
push eax
call fcn.00472434
add esp, 0x24
test eax, eax
jne 0x45005a
push esi
push esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x45005a
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
call fcn.004b3c00
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x4d7638]
jmp 0x45005d
xorps xmm0, xmm0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004690ca
mov esp, ebp
pop ebp
ret

Function at 0x45006c
Capabilities:
Get disk information

Disassembly:
push 0x1c
mov eax, 0x4b4c5e
call fcn.00469c08
mov esi, ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.0041185a
xor ebx, ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
call fcn.0040c5b7
test al, al
jne 0x4500c8
lea ecx, [ebp - 0x28]
call fcn.0040c5e0
cmp word [esi + eax*2 - 2], 0x5c
je 0x4500ad
push ecx
lea ecx, [ebp - 0x28]
call fcn.0045031f
lea ecx, [ebp - 0x28]
call fcn.00412374
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x4500c6
cmp eax, 2
jne 0x4500c8
mov bl, 1
lea ecx, [ebp - 0x28]
call fcn.004123b1
mov al, bl
call fcn.00469bb2
ret