joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407440
Capabilities:
Get file size

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x38]
mov esi, dword [edi + 0xac]
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
cmp esi, dword [edi + 0xb0]
jbe 0x40746c
call fcn.0044ea2b
mov ebp, dword [edi + 0xa0]
mov dword [esp + 0x14], esi
jmp 0x407480
mov edi, dword [edi + 0xb0]
mov esi, dword [esp + 0x38]
cmp dword [esi + 0xac], edi
jbe 0x407497
call fcn.0044ea2b
mov eax, dword [esi + 0xa0]
test ebp, ebp
je 0x4074a5
cmp ebp, eax
je 0x4074aa
call fcn.0044ea2b
cmp dword [esp + 0x14], edi
je 0x407565
test ebp, ebp
jne 0x4074dc
call fcn.0044ea2b
xor eax, eax
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0x10]
jb 0x4074cd
call fcn.0044ea2b
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x18], 8
jb 0x4074e1
mov eax, dword [eax + 4]
jmp 0x4074e4
mov eax, dword [ebp]
jmp 0x4074bf
add eax, 4
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x407507
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40752f
lea edx, [esp + 0x28]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x40751f
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40752f
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
add ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
adc dword [esp + 0x24], edx
test ebp, ebp
jne 0x407560
call fcn.0044ea2b
xor eax, eax
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0x10]
jb 0x407554
call fcn.0044ea2b
add dword [esp + 0x14], 0x1c
mov edi, esi
jmp 0x407480
mov eax, dword [ebp]
jmp 0x407546
mov edx, dword [esp + 0x3c]
push edx
call fcn.00406ee0
mov ecx, dword [esp + 0x24]
add ebx, 0x500000
adc ecx, 0
mov esi, ebx
cmp ecx, edx
ja 0x407594
jb 0x407588
cmp esi, eax
jae 0x407594
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x24
ret 8

Function at 0x40b8f0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4a4d18
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x4ccecc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x3c]
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
call fcn.004083f0
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40b946
sub eax, edx
sar eax, 1
push eax
mov eax, ebx
lea ecx, [esp + 0x10]
call fcn.00409310
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0xffffffffffffffff
mov word [esi + 4], cx
push edi
mov ecx, esi
call fcn.004083f0
cmp dword [esp + 0x24], 8
jb 0x40b98f
mov edx, dword [esp + 0x10]
push edx
call fcn.00442977
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret
Function at 0x40c8f0
Capabilities:
Get disk size

Disassembly:
sub esp, 0x7c
mov eax, dword [0x4ccecc]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push ebp
xor eax, eax
push 0x3e
push eax
lea ecx, [esp + 0x42]
push ecx
mov dword [esp + 0x18], 0
mov word [esp + 0x44], ax
call fcn.00455040
mov edx, dword [esp + 0x94]
push edx
push str..PhysicalDrive_d
lea edx, [esp + 0x4c]
call fcn.00401000
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xb0]
mov ebx, dword [esp + 0xa0]
mov ebp, dword [esp + 0xa4]
add esp, 0x14
push 0
push 0x80
push 3
push 0
push 3
mov dword [esi + 0x20], eax
push 0xc0000000
lea eax, [esp + 0x50]
push eax
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x24], ecx
mov dword [esi + 0x10], 0x200
mov dword [esi + 0x30], 0x4229e0
mov dword [esi + 0x34], edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0x28], eax
cmp eax, 0xffffffff
jne 0x40c9b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop ebp
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0044e200
add esp, 0x7c
ret 0x18
push 0
lea ecx, [esp + 0x18]
push ecx
push 0x28
lea edx, [esp + 0x2c]
push edx
push 0
push 0
push 0x70000
push eax
mov dword [esp + 0x34], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x40c99a
mov ecx, dword [esi + 0x20]
or ecx, dword [esi + 0x24]
mov eax, dword [esp + 0x34]
mov dword [esi + 0x10], eax
mov dword [esp + 0x10], 0
jne 0x40ca31
push ecx
lea edx, [esp + 0x14]
push edx
push 8
lea eax, [esp + 0x24]
push eax
push ecx
push ecx
mov ecx, dword [esi + 0x28]
push 0x7405c
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x40ca31
mov edx, dword [esi + 0x10]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push 0
push edx
push eax
push ecx
call fcn.00455600
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edx
mov edx, dword [esi + 0x20]
or edx, dword [esi + 0x24]
jne 0x40ca6a
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
push edx
mov edx, dword [esp + 0x3c]
push edx
call fcn.004555c0
mov dword [esi + 0x20], eax
mov ecx, dword [esi + 0x20]
mov eax, edx
mov edx, dword [esp + 0x2c]
push eax
push ecx
push 0
push edx
call fcn.004555c0
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edx
mov eax, dword [esi + 0x10]
push ebp
push ebx
push 0
push eax
call fcn.004555c0
mov ecx, dword [esi + 0x28]
push 0
push 0
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x40c99a
push 0
push 0x80
push 4
push 0
push 3
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0x2c], eax
cmp eax, 0xffffffff
je 0x40c99a
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0xc]
pop ebp
pop ebx
xor ecx, esp
call fcn.0044e200
add esp, 0x7c
ret 0x18
Function at 0x40cd20
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
imul eax, dword [esp + 0x14]
push ebx
push esi
push edi
xor edi, edi
mov esi, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edi
mov ebx, 0x10000
cmp esi, edi
je 0x40cd81
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
cmp esi, ebx
jge 0x40cd4d
mov ebx, esi
mov ecx, dword [esp + 0x20]
push 0
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x24]
push ebx
lea edx, [edi + ecx]
push edx
push eax
call ebp
test eax, eax
je 0x40cd78
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40cd78
add edi, eax
sub esi, eax
jne 0x40cd47
jmp 0x40cd80
mov dword [esp + 0x14], 0x1e
pop ebp
mov eax, edi
cdq
idiv dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, dword [esp + 4]
add esp, 8
ret 0x10

Function at 0x40cda0
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, eax
imul esi, dword [esp + 0x18]
push edi
xor edi, edi
cmp esi, edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x18], edi
jle 0x40cdf8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [esp + 0x18]
push 0
lea eax, [esp + 0x20]
push eax
push esi
lea ecx, [edi + ebp]
push ecx
push edx
call ebx
test eax, eax
je 0x40cded
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40cded
sub esi, eax
add edi, eax
test esi, esi
jg 0x40cdc4
jmp 0x40cdf7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
pop ebx
mov eax, edi
xor edx, edx
div dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
mov eax, dword [esp]
pop ecx
ret 0x10
Function at 0x40dd30
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push esi
xor esi, esi
xor ecx, ecx
push edi
mov dword [esp + 0xc], esi
mov edi, 0x10000
mov ebx, eax
cmp eax, esi
je 0x40dd9e
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, edi
cmp ebx, edi
jge 0x40dd56
mov edi, ebx
mov ecx, dword [esp + 0x1c]
push 0
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x20]
push edi
lea edx, [esi + ecx]
push edx
push eax
call ebp
test eax, eax
je 0x40dd8d
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40dd8d
add esi, eax
sub ebx, eax
jne 0x40dd50
mov ecx, dword [esp + 0x20]
pop ebp
pop edi
mov dword [ecx], esi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x20]
pop ebp
pop edi
mov dword [edx], esi
pop esi
mov eax, 0x1e
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x1c]
pop edi
mov dword [eax], esi
pop esi
mov eax, ecx
pop ebx
pop ecx
ret

Function at 0x40ddb0
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, eax
xor esi, esi
xor eax, eax
cmp edi, esi
mov dword [esp + 0xc], esi
jle 0x40de17
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ecx]
mov edx, dword [esp + 0x18]
push 0
lea eax, [esp + 0x14]
push eax
push edi
lea ecx, [esi + ebp]
push ecx
push edx
call ebx
test eax, eax
je 0x40de05
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40de05
sub edi, eax
add esi, eax
test edi, edi
jg 0x40ddd0
mov eax, dword [esp + 0x20]
pop ebx
pop edi
mov dword [eax], esi
pop esi
xor eax, eax
pop ebp
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x20]
pop ebx
pop edi
mov dword [ecx], esi
pop esi
pop ebp
pop ecx
ret
mov edx, dword [esp + 0x1c]
pop edi
mov dword [edx], esi
pop esi
pop ebp
pop ecx
ret
Function at 0x40de30
Capabilities:
Create pipe

Disassembly:
push ebx
push esi
push 0
mov ebx, eax
mov eax, dword [esp + 0x10]
push eax
mov esi, ecx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x40de4c
pop esi
pop ebx
ret
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 3
push 0
push 0
push esi
call ebp
mov ecx, dword [esi]
push eax
push ecx
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x40de8f
mov edx, dword [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call ebx
mov dword [edi], 0
mov eax, dword [esi]
push eax
call ebx
pop ebp
mov dword [esi], 0
pop esi
xor eax, eax
pop ebx
ret
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push 0
push ecx
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x40dec8
mov eax, dword [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call ebx
mov dword [edi], 0
mov ecx, dword [esi]
push ecx
call ebx
pop ebp
mov dword [esi], 0
pop esi
xor eax, eax
pop ebx
ret
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push 0
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x40df1f
mov edx, dword [edi]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call ebp
mov dword [edi], 0
mov eax, dword [esi]
push eax
call ebp
mov dword [esi], 0
mov ecx, dword [ebx]
push ecx
call ebp
mov esi, dword [esp + 0x14]
mov dword [ebx], 0
mov edx, dword [esi]
push edx
call ebp
pop ebp
mov dword [esi], 0
pop esi
xor eax, eax
pop ebx
ret
push 3
push 0
push 0
push ebx
call ebp
push eax
mov eax, dword [ebx]
push eax
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x40df5b
mov ecx, dword [esp + 0x18]
push 3
push 0
push 0
push ecx
call ebp
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [edx]
push eax
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x40dfb5
mov ecx, dword [edi]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call ebp
mov dword [edi], 0
mov edx, dword [esi]
push edx
call ebp
mov dword [esi], 0
mov eax, dword [ebx]
push eax
call ebp
mov esi, dword [esp + 0x14]
mov dword [ebx], 0
mov ecx, dword [esi]
push ecx
call ebp
mov dword [esi], 0
mov esi, dword [esp + 0x18]
mov edx, dword [esi]
push edx
call ebp
mov dword [esi], 0
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
push eax
call ebp
pop ebp
mov dword [esi], 0
pop esi
xor eax, eax
pop ebx
ret
pop ebp
pop esi
mov eax, 1
pop ebx
ret
Function at 0x412150
Capabilities:
Create process memory minidump

Disassembly:
sub esp, 0x14
push esi
push edi
push 0
push 0x80
push 2
push 0
push 2
push 0xc0000000
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
test edi, edi
je 0x4121d0
cmp edi, 0xffffffff
je 0x4121d0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 0x14], esi
lea ecx, [esp + 8]
push ecx
neg esi
push 0
sbb esi, esi
lea edx, [esp + 0x18]
and esi, edx
push esi
push 0
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], 0x412100
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.dbghelp.dll_MiniDumpWriteDump
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
add esp, 0x14
ret
Function at 0x417af0
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x3c
mov eax, dword [0x4ccecc]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
xor ebx, ebx
push str.GlobalSpotify_MP3_CD_BURNER_2021_For_Windows
push 1
mov esi, 0xf
push ebx
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
je 0x417b88
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x417b88
cmp dword [esp + 0x20], 0x10
jb 0x417b52
mov eax, dword [esp + 0xc]
push eax
call fcn.00442977
add esp, 4
cmp dword [esp + 0x3c], 0x10
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ebx
mov byte [esp + 0xc], bl
jb 0x417b72
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00442977
add esp, 4
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0044e200
add esp, 0x3c
ret
cmp dword [esp + 0x20], 0x10
jb 0x417b9c
mov edx, dword [esp + 0xc]
push edx
call fcn.00442977
add esp, 4
cmp dword [esp + 0x3c], 0x10
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ebx
mov byte [esp + 0xc], bl
jb 0x417bbc
mov eax, dword [esp + 0x28]
push eax
call fcn.00442977
add esp, 4
mov ecx, dword [esp + 0x40]
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0044e200
add esp, 0x3c
ret
Function at 0x418900
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4a49b8
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4ccecc]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ccecc]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
xor eax, eax
mov ebx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], eax
mov byte [esp + 0x3c], al
push 0x37
push str.SoftwareDeezerMusicDownloaderRegDeezerMusicDownloader
lea ecx, [esp + 0x40]
mov dword [esp + 0xa0], eax
call fcn.004090e0
mov eax, dword [esp + 0x3c]
mov ebp, 0x10
cmp dword [esp + 0x50], ebp
jae 0x41897b
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x14]
push ecx
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x418af0
lea edi, [esp + 0x70]
call fcn.004179f0
mov byte [esp + 0x98], 1
mov esi, dword [esp + 0x74]
cmp dword [esp + 0x88], ebp
jae 0x4189b6
lea esi, [esp + 0x74]
mov eax, esi
lea edx, [eax + 1]
jmp 0x4189c0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4189c0
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
sub eax, edx
mov edx, dword [esp + 0x14]
inc eax
push eax
push esi
push 1
xor ebx, ebx
push ebx
push str.Value
push edx
call edi
test eax, eax
je 0x4189fe
cmp dword [esp + 0x88], ebp
jb 0x418af0
mov eax, dword [esp + 0x74]
push eax
jmp 0x418ae8
push 0xf
push str.TangTangLiuJun
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.004090e0
mov eax, esi
mov byte [esp + 0x98], 2
lea edx, [eax + 1]
jmp 0x418a30
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x418a30
sub eax, edx
push eax
push esi
lea eax, [esp + 0x24]
call fcn.00408fd0
mov ecx, dword [esp + 0x20]
cmp dword [esp + 0x34], ebp
jae 0x418a52
lea ecx, [esp + 0x20]
lea edx, [esp + 0x54]
call fcn.00417bd0
mov edx, dword [esp + 0x58]
cmp dword [esp + 0x6c], ebp
jae 0x418a69
lea edx, [esp + 0x58]
mov eax, edx
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x418a70
mov ecx, dword [esp + 0x14]
sub eax, esi
inc eax
push eax
push edx
push 1
push ebx
push str.KeyValue
push ecx
call edi
test eax, eax
jne 0x418a97
mov dword [esp + 0x18], 1
cmp dword [esp + 0x6c], ebp
jb 0x418aaa
mov edx, dword [esp + 0x58]
push edx
call fcn.00442977
add esp, 4
mov esi, 0xf
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp dword [esp + 0x34], ebp
jb 0x418ace
mov eax, dword [esp + 0x20]
push eax
call fcn.00442977
add esp, 4
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
cmp dword [esp + 0x88], ebp
jb 0x418af0
mov ecx, dword [esp + 0x74]
push ecx
call fcn.00442977
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x418aff
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x50], ebp
jb 0x418b12
mov edx, dword [esp + 0x3c]
push edx
call fcn.00442977
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0044e200
add esp, 0x88
ret
Function at 0x418be0
Capabilities:
Check if file exists
Get common file path
Get file attributes
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x4a5a76
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x4ccecc]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push esi
mov eax, dword [0x4ccecc]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x4e]
push ecx
mov word [esp + 0x50], ax
call fcn.00455040
add esp, 0xc
push 0
push 0x1a
lea edx, [esp + 0x4c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov word [esp + 0x2c], ax
lea eax, [esp + 0x44]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418c62
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x48]
lea esi, [esp + 0x2c]
call fcn.004093f0
mov ecx, esi
push ecx
mov ebx, str.Free_CD_Burner
lea esi, [esp + 0x10]
mov dword [esp + 0x25c], 0
call fcn.0040b8f0
add esp, 4
push 0x14
mov eax, str.Free_CD_BurnerUsed
lea ecx, [esp + 0x2c]
mov byte [esp + 0x25c], 1
call fcn.00409310
mov eax, dword [esp + 0x10]
mov esi, 8
cmp dword [esp + 0x24], esi
jae 0x418cc9
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x418cf6
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x24], esi
jae 0x418ce3
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
je 0x418cf6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x40], esi
jae 0x418d04
lea eax, [esp + 0x2c]
push 0
push 0x80
push 1
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x418d29
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x24], esi
jb 0x418d3c
mov edx, dword [esp + 0x10]
push edx
call fcn.00442977
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
cmp dword [esp + 0x40], esi
jb 0x418d66
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00442977
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.0044e200
add esp, 0x250
ret
Function at 0x418d90
Capabilities:
Check for peb beingdebugged flag
Check if file exists
Get common file path
Get file attributes
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x4a496b
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x4ccecc]
xor eax, esp
mov dword [esp + 0x224], eax
push esi
push edi
mov eax, dword [0x4ccecc]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
push 0x206
xor edi, edi
lea ecx, [esp + 0x2e]
xor eax, eax
push edi
push ecx
mov word [esp + 0x34], ax
call fcn.00455040
add esp, 0xc
push edi
push 0x1a
lea edx, [esp + 0x30]
push edx
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov word [esp + 0x10], ax
lea eax, [esp + 0x28]
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], edi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x418e10
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x2c]
lea esi, [esp + 0x10]
call fcn.004093f0
push 0x14
mov eax, str.Free_CD_BurnerUsed
mov ecx, esi
mov dword [esp + 0x240], edi
call fcn.00409310
mov eax, dword [esp + 0x10]
mov esi, 8
cmp dword [esp + 0x24], esi
jae 0x418e55
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x418e66
mov edi, 1
cmp dword [esp + 0x24], esi
jb 0x418e79
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00442977
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.0044e200
add esp, 0x234
ret

Function at 0x418eb0
Capabilities:
Get disk size

Disassembly:
sub esp, 0x28
mov eax, dword [0x4ccecc]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [0x4b7480]
mov ecx, dword [0x4b7484]
mov dword [esp + 0x10], eax
xor eax, eax
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ecx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xc]
push ecx
mov word [esp + 0x1c], dx
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x18]
xor edi, edi
push eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x418f55
mov edx, dword [esp + 8]
mov eax, edi
push eax
mov ecx, edx
mov edx, dword [esp + 0x10]
push ecx
push edi
push edx
call fcn.004555c0
mov dword [esi], eax
mov ecx, dword [esi]
mov eax, edx
mov edx, dword [esp + 4]
push eax
push ecx
push edi
push edx
call fcn.004555c0
mov dword [esi], eax
mov dword [esi + 4], edx
mov eax, edi
pop edi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0044e200
add esp, 0x28
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x24]
pop edi
xor ecx, esp
call fcn.0044e200
add esp, 0x28
ret