joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441630
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x40
push edi
mov edi, dword [esp + 0x4c]
test edi, edi
mov dword [esp + 8], 0
jle 0x441812
cmp dword [esp + 0x50], 0
jle 0x441812
push esi
mov esi, dword [esp + 0x4c]
lea eax, [esp + 0x24]
push eax
push 0
push esi
call fcn.00444a30
add esp, 0xc
test eax, eax
je 0x441811
mov eax, edi
cdq
push ebx
mov ebx, dword [esp + 0x44]
cmp ebx, edx
push ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
jl 0x44180f
jg 0x441697
cmp ebp, eax
jb 0x44180f
push str..tmp
push esi
call fcn.0044e800
push 0x10000
mov dword [esp + 0x24], eax
call fcn.00441a20
push 0
push esi
mov edi, eax
call fcn.00444a80
mov esi, eax
add esp, 0x14
cmp esi, 0xffffffff
je 0x4417fc
mov ecx, dword [esp + 0x18]
push 0
push 0x80
push 2
push 0x40000000
push ecx
call fcn.004443d0
add esp, 0x14
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
je 0x4417d8
mov eax, dword [esp + 0x5c]
cdq
sub eax, dword [esp + 0x24]
sbb edx, dword [esp + 0x28]
add eax, ebp
adc edx, ebx
push edx
push eax
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x64]
push edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x64]
push eax
push ebx
push ebp
push str.size__I64d__max_size__d__delta_size__d__skip__I64d_n
call fcn.00430350
mov edx, dword [esp + 0x40]
add esp, 0x1c
push 0
lea ecx, [esp + 0x2c]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x14]
push eax
push 1
push edi
push esi
call ebx
test eax, eax
je 0x441773
mov edi, edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x441773
cmp eax, 1
jne 0x441762
cmp byte [edi], 0xa
je 0x441773
push 0
lea ecx, [esp + 0x14]
push ecx
push 1
push edi
push esi
call ebx
test eax, eax
jne 0x441750
push 0
lea edx, [esp + 0x14]
push edx
push 0x10000
push edi
push esi
mov dword [esp + 0x28], 1
call ebx
test eax, eax
je 0x4417c5
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4417cd
mov edx, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x24]
push ecx
push eax
push edi
push edx
call ebp
test eax, eax
je 0x4417c5
push 0
lea eax, [esp + 0x14]
push eax
push 0x10000
push edi
push esi
call ebx
test eax, eax
jne 0x441795
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x14], 0
je 0x4417fc
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x18]
push 0
push 1
push edx
push eax
call fcn.00444480
add esp, 0x10
push edi
call fcn.00441a60
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00441a60
add esp, 8
pop ebp
pop ebx
pop esi
pop edi
add esp, 0x40
ret
Function at 0x441820
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x114
cmp byte [ecx], 0
mov eax, ecx
je 0x441839
add eax, 1
cmp byte [eax], 0
jne 0x441831
push edi
push 0
push 1
sub eax, ecx
push eax
push ecx
call fcn.00476070
mov edi, eax
push edi
call fcn.004463d0
add esp, 0x14
test eax, eax
jne 0x441867
push edi
call fcn.00441a60
add esp, 4
pop edi
add esp, 0x114
ret
push esi
push 0x4a9508
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x128]
mov ecx, dword [esp + 0x124]
push eax
push ecx
push edi
call fcn.00441630
push 0
push 0x80
push 4
push 0x40000000
push edi
call fcn.004443d0
push edi
mov esi, eax
call fcn.00441a60
add esp, 0x24
cmp esi, 0xffffffff
je 0x4419eb
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x100
lea eax, [esp + 0x20]
push eax
push 0
lea ecx, [esp + 0x18]
push ecx
push 1
push 0x400
call dword [sym.imp.KERNEL32.dll_GetDateFormatA]
cmp byte [esp + 0x1c], 0
lea eax, [esp + 0x1c]
je 0x4418fa
add eax, 1
cmp byte [eax], 0
jne 0x4418f2
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea ecx, [esp + 0x20]
lea edx, [esp + 0xc]
push edx
sub eax, ecx
push eax
mov edx, ecx
push edx
push esi
call edi
push 0
lea eax, [esp + 0xc]
push eax
push 1
push 0x495578
push esi
call edi
push 0x100
lea ecx, [esp + 0x20]
push ecx
push 0
lea edx, [esp + 0x18]
push edx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
cmp byte [esp + 0x1c], 0
lea eax, [esp + 0x1c]
je 0x441958
mov edi, edi
add eax, 1
cmp byte [eax], 0
jne 0x441950
push ebx
push ebp
push 0
lea edx, [esp + 0x28]
lea ecx, [esp + 0x14]
push ecx
sub eax, edx
push eax
mov eax, edx
push eax
push esi
call edi
push 0
lea ecx, [esp + 0x14]
push ecx
push 2
push 0x495574
push esi
call edi
mov edx, dword [esp + 0x134]
push 0
push edx
call fcn.0044eb30
mov ebp, eax
add esp, 8
cmp byte [ebp], 0
mov ebx, ebp
je 0x4419d9
jmp 0x4419a0
cmp byte [ebx], 0xa
push 0
jne 0x4419c6
lea eax, [esp + 0x14]
push eax
push 1
push 0x49557c
push esi
call edi
push 0
lea ecx, [esp + 0x14]
push ecx
push 1
push 0x494898
jmp 0x4419ce
lea edx, [esp + 0x14]
push edx
push 1
push ebx
push esi
call edi
add ebx, 1
cmp byte [ebx], 0
jne 0x4419a0
push ebp
call fcn.00441a60
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop ebx
push 0x4a9508
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop edi
add esp, 0x114
ret
Function at 0x4422b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x491f98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
xor esi, esi
push edi
mov dword [esp + 0xc], esi
mov dword [esp + 8], esi
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], esi
call fcn.00476850
mov ecx, dword [esp + 0xc]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [esp + 0x10]
push edx
push esi
push esi
mov esi, dword [esp + 0x48]
push 0x1304
push esi
mov dword [esp + 0x24], 9
mov dword [esp + 0x30], ecx
call edi
push eax
push 0x133e
push esi
call edi
lea ecx, [esp + 8]
mov dword [esp + 0x34], 0xffffffff
call fcn.00476730
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret

Function at 0x4430e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x491ff0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebx
mov esi, dword [esp + 0x50]
cmp esi, ebx
mov byte [esp + 0x44], 1
je 0x443128
push esi
lea ecx, [esp + 0x18]
call fcn.00476850
push 0x104
lea ecx, [esp + 0x10]
call fcn.00476740
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push 0xffffffffffffffff
push edi
push eax
push ecx
call fcn.004748d0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x5c]
mov word [edx + eax*2 - 2], bx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x6c]
add esp, 0x10
neg esi
sbb esi, esi
and esi, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x1c]
or edx, 0x50
push eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], 0x442eb0
mov dword [esp + 0x3c], ebx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov esi, eax
cmp esi, ebx
je 0x44320f
mov ecx, dword [esp + 0x10]
push ecx
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
push esi
je 0x443209
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x58]
push 0xffffffffffffffff
push edx
push eax
push edi
call fcn.00474a40
add esp, 0x10
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], bl
call fcn.00476730
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0xffffffff
call fcn.00476730
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor esi, esi
cmp edi, ebx
je 0x443235
mov eax, dword [esp + 0x58]
cmp eax, 1
jl 0x443235
add eax, 0xffffffff
cmp eax, ebx
jge 0x443227
mov esi, eax
push esi
push ebx
push edi
call fcn.00483810
add esp, 0xc
mov byte [esi + edi], bl
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], bl
call fcn.00476730
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0xffffffff
call fcn.00476730
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret
Function at 0x443270
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x492448
push eax
mov dword fs:[0], esp
mov ecx, dword [esp + 0x10]
mov dl, byte [ecx]
sub esp, 8
push ebx
xor ebx, ebx
cmp dl, bl
mov eax, ecx
je 0x44329e
add eax, 1
cmp byte [eax], bl
jne 0x443297
sub eax, ecx
je 0x443321
cmp eax, 2
jne 0x4432e8
mov al, 0x3a
cmp byte [ecx + 1], al
jne 0x4432e8
mov byte [esp + 0x1d], al
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x20], dl
mov byte [esp + 0x22], 0x5c
mov byte [esp + 0x23], bl
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x443343
movzx eax, al
shr eax, 4
and eax, 1
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], ebx
push ecx
lea ecx, [esp + 8]
mov dword [esp + 0x18], ebx
call fcn.004768f0
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ecx, 0xffffffff
cmp eax, ecx
je 0x443336
test al, 0x10
je 0x443336
mov dword [esp + 0x14], ecx
lea ecx, [esp + 4]
call fcn.00476730
mov eax, 1
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov dword [esp + 0x14], ecx
lea ecx, [esp + 4]
call fcn.00476730
mov ecx, dword [esp + 0xc]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x443360
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x492448
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 4]
call fcn.004768f0
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ecx, 0xffffffff
mov dword [esp + 0x10], ecx
cmp eax, ecx
lea ecx, [esp]
jne 0x4433c2
call fcn.00476730
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
test al, 0x10
jne 0x4433ac
call fcn.00476730
mov ecx, dword [esp + 8]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x443680
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x492050
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
xor ebx, ebx
push esi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x3c]
add eax, 0x41
push 0x100
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 1
mov word [esp + 0x1c], ax
mov word [esp + 0x1e], 0x3a
mov word [esp + 0x20], 0x5c
mov word [esp + 0x22], bx
call fcn.00476740
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
push edx
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x443740
mov ecx, dword [esp + 0xc]
cmp word [ecx], bx
mov eax, ecx
je 0x443718
jmp 0x443710
add eax, 2
cmp word [eax], bx
jne 0x443710
sub eax, ecx
sar eax, 1
cmp eax, ebx
jle 0x443740
push ecx
lea ecx, [esp + 0x14]
call fcn.00476490
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
jmp 0x4437a1
mov al, byte [esp + 0x3c]
lea edx, [esp + 0x3c]
add al, 0x41
push edx
mov byte [esp + 0x40], al
mov byte [esp + 0x41], 0x3a
mov byte [esp + 0x42], 0x5c
mov byte [esp + 0x43], bl
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
jne 0x443785
mov eax, dword [0x4aa7bc]
mov ecx, dword [eax + 0x1bc]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
jmp 0x4437a1
mov edx, dword [0x4aa7bc]
mov eax, dword [edx + 0x1b8]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
call fcn.00431580
add esp, 0x10
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0x28], bl
call fcn.00476730
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.00476730
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x4437e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x492081
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x470
push ebx
xor ebx, ebx
push esi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebx
mov dword [esp + 0x480], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
push 0x8000
lea ecx, [esp + 0xc]
mov byte [esp + 0x484], 2
call fcn.00476740
mov eax, dword [esp + 0x48c]
push eax
lea ecx, [esp + 0x14]
call fcn.00476850
mov esi, dword [esp + 0x490]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
push 0xffffffffffffffff
push esi
push ecx
push edx
call fcn.004748d0
mov eax, dword [0x4aa7bc]
mov ecx, dword [eax + 0x1c0]
push ecx
push ebx
lea edx, [esp + 0x90]
push 0x400
push edx
call fcn.00431580
push 0xf
push str.__.txt_
push eax
lea eax, [esp + 0xa4]
push 0x400
push eax
call fcn.00441ab0
mov ecx, dword [0x4aa7bc]
mov edx, dword [ecx + 0x1c4]
push edx
push eax
lea eax, [esp + 0xb4]
push 0x400
push eax
call fcn.00431580
add esp, 0x44
push 0xc
push str.__._
push eax
lea ecx, [esp + 0x84]
push 0x400
push ecx
call fcn.00441ab0
add esp, 0x14
push eax
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x20]
call fcn.00476780
push 0x58
lea eax, [esp + 0x24]
push ebx
push eax
call fcn.00484170
mov ecx, dword [esp + 0x494]
mov edx, dword [0x4a9354]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov dword [esp + 0x20], 0x58
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], 1
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0x880002
mov dword [esp + 0x60], 0x49c028
call dword [sym.imp.comdlg32.dll_GetSaveFileNameW]
test eax, eax
je 0x4439c3
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x494]
push 0xffffffffffffffff
push edx
push eax
push esi
call fcn.00474a40
add esp, 0x10
lea ecx, [esp + 0x18]
mov byte [esp + 0x480], 1
call fcn.00476730
lea ecx, [esp + 0x10]
mov byte [esp + 0x480], bl
call fcn.00476730
lea ecx, [esp + 8]
mov dword [esp + 0x480], 0xffffffff
call fcn.00476730
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x470]
mov dword fs:[0], ecx
add esp, 0x47c
ret
lea ecx, [esp + 0x18]
mov byte [esp + 0x480], 1
call fcn.00476730
lea ecx, [esp + 0x10]
mov byte [esp + 0x480], bl
call fcn.00476730
lea ecx, [esp + 8]
mov dword [esp + 0x480], 0xffffffff
call fcn.00476730
mov ecx, dword [esp + 0x478]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x47c
ret
Function at 0x443a20
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x4920c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
xor ebx, ebx
push edi
xor edi, edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov esi, dword [esp + 0x50]
cmp byte [esi], bl
mov byte [esp + 0x48], 5
mov eax, esi
je 0x443a89
add eax, 1
cmp byte [eax], bl
jne 0x443a82
sub eax, esi
push eax
lea ecx, [esp + 0x14]
call fcn.004762c0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push esi
push eax
push ecx
call fcn.00436c40
mov edx, dword [esp + 0x20]
add esp, 0xc
push edx
lea ecx, [esp + 0x2c]
call fcn.00476850
push esi
lea ecx, [esp + 0x3c]
call fcn.00476850
mov eax, dword [esp + 0x54]
push eax
lea ecx, [esp + 0x1c]
call fcn.00476850
mov ecx, dword [esp + 0x58]
push ecx
lea ecx, [esp + 0x34]
call fcn.00476850
mov edx, dword [esp + 0x5c]
push edx
lea ecx, [esp + 0x24]
call fcn.00476850
lea eax, [esp + 0x50]
push eax
push 0x4a05d4
push 1
push ebx
push 0x4a0614
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x443bc2
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x3c]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x2c]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x34]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x24]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push 0x4a0644
push eax
mov eax, dword [ecx]
call eax
cmp eax, ebx
jl 0x443bb6
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax]
push 1
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
cmp eax, ebx
jl 0x443baa
mov ecx, dword [esp + 0x1c]
mov esi, dword [sym.imp.SHELL32.dll_SHChangeNotify]
push ebx
push ecx
push 0x1005
push 2
call esi
mov edx, dword [esp + 0x1c]
push ebx
push edx
push 0x1005
push 0x2000
call esi
mov edi, 1
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 4
call fcn.00476730
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 3
call fcn.00476730
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 2
call fcn.00476730
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
call fcn.00476730
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], bl
call fcn.00476730
lea ecx, [esp + 0x38]
mov dword [esp + 0x48], 0xffffffff
call fcn.00476730
mov ecx, dword [esp + 0x40]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret
Function at 0x443c30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x492448
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push esi
push 0x18a
push edi
mov dword [esp + 0x2c], 0
call ebp
add eax, 1
push eax
lea ecx, [esp + 0x10]
call fcn.00476740
mov eax, dword [esp + 0x10]
push eax
push esi
push 0x189
push edi
call ebp
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
push 0xffffffffffffffff
push ecx
push edx
push esi
call fcn.00474a40
add esp, 0x10
cmp byte [esi], 0
mov eax, esi
je 0x443cbf
add eax, 1
cmp byte [eax], 0
jne 0x443cb7
sub eax, esi
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x1c], 0xffffffff
call fcn.00476730
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x443cf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x491f78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0
call fcn.00476850
mov ebx, dword [esp + 0x30]
push ebx
call dword [sym.imp.USER32.dll_GetDC]
push 0x11
mov esi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push esi
call ebp
mov ecx, dword [esp + 0x14]
cmp word [ecx], 0
mov dword [esp + 0xc], eax
mov eax, ecx
je 0x443d69
add eax, 2
cmp word [eax], 0
jne 0x443d60
lea edx, [esp + 0x18]
push edx
sub eax, ecx
sar eax, 1
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPointW]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
cmp eax, dword [ecx]
jle 0x443d89
mov dword [ecx], eax
mov eax, dword [esp + 0xc]
push eax
push esi
call ebp
push esi
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.00476730
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret

Function at 0x444340
Capabilities:
Delete file

Disassembly:
sub esp, 8
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], eax
mov eax, dword [esp + 0xc]
push esi
push eax
lea ecx, [esp + 8]
call fcn.004768f0
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 4]
mov esi, eax
call fcn.00476730
mov eax, esi
pop esi
add esp, 8
ret

Function at 0x444380
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 8]
cmp byte [ecx], 0
mov eax, ecx
je 0x444398
jmp 0x444390
add eax, 1
cmp byte [eax], 0
jne 0x444390
push esi
sub eax, ecx
push 0
mov esi, eax
lea eax, [esp + 0x10]
push eax
push esi
push ecx
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4443b7
pop esi
ret
xor eax, eax
cmp esi, dword [esp + 0xc]
pop esi
setne al
ret
Function at 0x4443d0
Capabilities:
Check if file exists

Disassembly:
sub esp, 8
push esi
push edi
mov edi, dword [esp + 0x14]
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
call fcn.004768f0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 0
push eax
mov eax, dword [esp + 0x14]
push ecx
push 0
push 7
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x444460
cmp dword [esp + 0x24], 0
je 0x44444e
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
je 0x44444e
push edi
call esi
push eax
push str.CreateFileW__:_GetLastError__:__d:_Failed_to_open_file__s_n
push str.mu_CreateFileUTF8
push 0xa5e
push str.._srcmu.cpp
call fcn.00430960
add esp, 0x18
lea ecx, [esp + 8]
call fcn.00476730
pop edi
or eax, 0xffffffff
pop esi
add esp, 8
ret
lea ecx, [esp + 8]
call fcn.00476730
pop edi
mov eax, esi
pop esi
add esp, 8
ret

Function at 0x444480
Capabilities:
Delete file
Move file

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
push edi
push esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
call fcn.004768f0
mov edi, dword [esp + 0x28]
push edi
lea ecx, [esp + 0x14]
call fcn.004768f0
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
xor eax, eax
cmp ebp, ebx
setne al
neg ecx
sbb ecx, ecx
and ecx, 2
or eax, ecx
push eax
mov eax, dword [esp + 0x20]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x444569
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
je 0x44452c
push edi
push esi
push eax
push str.MoveFileExW__:_GetLastError__:__d:_Failed_to_move_file_from__s_to__s_n
push str.mu_RenameFileUTF8
push 0xa78
push str.._srcmu.cpp
call fcn.00430960
add esp, 0x1c
lea ecx, [esp + 0x10]
call fcn.00476730
lea ecx, [esp + 0x18]
call fcn.00476730
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
cmp ebp, ebx
je 0x44453b
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x444569
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.MoveFileW__:_GetLastError__:__d:_Failed_to_move_file_from__s_to__s_n
push str.mu_RenameFileUTF8
push 0xa87
jmp 0x444503
lea ecx, [esp + 0x10]
call fcn.00476730
lea ecx, [esp + 0x18]
call fcn.00476730
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret