Function at 0x40f9c0
Capabilities:
Create process on windows
Delete file
Get common file path
Get startup folder
Read file on windows
Read pipe
Resolve function by parsing pe exports
Write and execute a file
Write file on windows
Write file to startup folder

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a67a4
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x181c
call fcn.00455d00
mov eax, dword [0x4ccecc]
xor eax, esp
mov dword [esp + 0x1818], eax
push ebx
push esi
push edi
mov eax, dword [0x4ccecc]
xor eax, esp
push eax
lea eax, [esp + 0x1830]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov eax, 7
xor ecx, ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x1e0], eax
mov dword [esp + 0x1dc], esi
mov word [esp + 0x1cc], cx
mov dword [esp + 0x1838], esi
xor edx, edx
mov dword [esp + 0x1c4], eax
mov dword [esp + 0x1c0], esi
mov word [esp + 0x1b0], dx
xor eax, eax
mov byte [esp + 0x1838], 1
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x60]
lea edi, [esp + 0x28]
mov dword [esp + 0x7c], 1
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], 0xc
call fcn.0040de30
add esp, 0x10
test eax, eax
jne 0x40faf9
mov dword [esp + 0x10], 0x57
jmp 0x41082b
push 0x44
lea ecx, [esp + 0xd8]
push esi
push ecx
call fcn.00455040
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add esp, 0xc
push esi
push esi
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], eax
push esi
lea eax, [esp + 0x70]
push eax
mov dword [esp + 0xe4], 0x44
mov dword [esp + 0x110], 0x100
mov dword [esp + 0x11c], edx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esp + 0x54], eax
cmp eax, esi
jne 0x40fb62
mov dword [esp + 0x10], 0x57
jmp 0x41082b
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 3
push 1
push esi
lea ecx, [esp + 0x54]
push ecx
call edi
push eax
call edi
push eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x40fb92
mov dword [esp + 0x10], 0x57
jmp 0x41082b
push 0x206
lea eax, [esp + 0x412]
xor edx, edx
push esi
push eax
mov word [esp + 0x418], dx
call fcn.00455040
add esp, 0xc
push 0x104
lea ecx, [esp + 0x410]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x40c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0x40c]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x40fbe0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x410]
lea esi, [esp + 0x1cc]
call fcn.004093f0
push 5
mov eax, str._tool
mov ecx, esi
call fcn.00409310
push 0x206
xor edi, edi
lea ecx, [esp + 0x20a]
xor eax, eax
push edi
push ecx
mov word [esp + 0x210], ax
call fcn.00455040
add esp, 0xc
push edi
push 0x1a
lea edx, [esp + 0x20c]
push edx
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov word [esp + 0x140], ax
lea eax, [esp + 0x204]
mov dword [esp + 0x154], 7
mov dword [esp + 0x150], edi
lea ecx, [eax + 2]
jmp 0x40fc70
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x40fc70
sub eax, ecx
sar eax, 1
push eax
lea eax, [esp + 0x208]
lea esi, [esp + 0x140]
call fcn.004093f0
push 0xf
mov eax, str.Free_CD_Burner
mov ecx, esi
mov byte [esp + 0x183c], 2
call fcn.00409310
push 9
mov eax, str._tool.exe
mov ecx, esi
call fcn.00409310
push 1
mov eax, 0x4b61b4
lea esi, [esp + 0x1cc]
call fcn.004093f0
push edi
lea ecx, [esp + 0x140]
push ecx
or eax, 0xffffffff
call fcn.00409250
push 1
mov eax, 0x4b61b4
mov ecx, esi
call fcn.00409310
xor edx, edx
mov eax, ebx
mov dword [esp + 0x138], 7
mov dword [esp + 0x134], edi
mov word [esp + 0x124], dx
lea ecx, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x40fd10
sub eax, ecx
sar eax, 1
push eax
mov eax, ebx
lea esi, [esp + 0x124]
call fcn.004093f0
push 9
mov eax, 0x4b6160
mov ecx, esi
mov byte [esp + 0x183c], 3
call fcn.00409310
lea eax, [esp + 0x24]
push eax
call fcn.00430ce0
mov byte [esp + 0x1838], 4
cmp dword [esp + 0x138], 8
mov ecx, dword [esp + 0x124]
jae 0x40fd6e
lea ecx, [esp + 0x124]
lea edx, [esp + 0x24]
push edx
call fcn.0040ee20
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x40fe52
xor ebx, ebx
mov dword [esp + 0x10], 0x57
cmp esi, ebx
je 0x40fdc7
mov ecx, dword [esp + 0x60]
push ecx
mov eax, esi
call fcn.0040c2b0
mov edx, dword [esp + 0x34]
add esp, 4
push edx
call fcn.00442977
add esp, 4
mov eax, dword [esp + 0x24]
push eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.00442977
mov edi, 8
add esp, 4
cmp dword [esp + 0x138], edi
jb 0x40fdfe
mov ecx, dword [esp + 0x124]
push ecx
call fcn.00442977
add esp, 4
xor edx, edx
mov esi, 7
mov byte [esp + 0x1838], 1
mov dword [esp + 0x138], esi
mov dword [esp + 0x134], ebx
mov word [esp + 0x124], dx
cmp dword [esp + 0x154], edi
jb 0x40fe3c
mov eax, dword [esp + 0x140]
push eax
call fcn.00442977
add esp, 4
xor ecx, ecx
mov dword [esp + 0x154], esi
mov word [esp + 0x140], cx
jmp 0x410822
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov ebx, esi
cmp esi, edi
jbe 0x40fe6f
call fcn.0044ea2b
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x80], eax
lea ebx, [ebx]
cmp esi, edi
jbe 0x40fe90
call fcn.0044ea2b
mov eax, dword [esp + 0x80]
test eax, eax
je 0x40fe9a
cmp eax, dword [esp + 0x24]
je 0x40fea6
call fcn.0044ea2b
mov eax, dword [esp + 0x80]
cmp ebx, edi
je 0x40ff7f
test eax, eax
jne 0x40fece
call fcn.0044ea2b
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x40fec3
call fcn.0044ea2b
cmp dword [ebx + 0x18], 8
jb 0x40fed2
mov eax, dword [ebx + 4]
jmp 0x40fed5
mov eax, dword [eax]
jmp 0x40feb9
lea eax, [ebx + 4]
push eax
lea ecx, [esp + 0x178]
call fcn.0040f190
mov byte [esp + 0x1838], 5
mov ecx, dword [esp + 0x178]
mov esi, 0x10
cmp dword [esp + 0x18c], esi
jae 0x40ff06
lea ecx, [esp + 0x178]
call fcn.004174d0
test edx, edx
jl 0x40ff1f
jg 0x40ff18
cmp eax, 0x1c20
jbe 0x40ff1f
mov eax, 0x1c20
xor edx, edx
add dword [esp + 0x1c], eax
mov byte [esp + 0x1838], 4
adc dword [esp + 0x20], edx
cmp dword [esp + 0x18c], esi
jb 0x40ff48
mov edx, dword [esp + 0x178]
push edx
call fcn.00442977
add esp, 4
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x40ff7b
call fcn.0044ea2b
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x40ff64
call fcn.0044ea2b
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x80]
add ebx, 0x1c
jmp 0x40fe80
mov eax, dword [eax]
jmp 0x40ff5a
mov eax, dword [esp + 0x1c]
or eax, dword [esp + 0x20]
jne 0x40ff95
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], eax
xor ecx, ecx
push 0xb
mov eax, str._i__concat:
lea esi, [esp + 0x15c]
mov dword [esp + 0x174], 7
mov dword [esp + 0x170], 0
mov word [esp + 0x160], cx
call fcn.004093f0
mov byte [esp + 0x1838], 6
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
cmp edi, eax
jbe 0x40ffe5
call fcn.0044ea2b
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x24]
lea esp, [esp]
mov esi, eax
cmp dword [esp + 0x30], eax
jbe 0x40fffd
call fcn.0044ea2b
test ebx, ebx
je 0x410007
cmp ebx, dword [esp + 0x24]
je 0x41000c
call fcn.0044ea2b
cmp edi, esi
je 0x41006b
test ebx, ebx
jne 0x410063
call fcn.0044ea2b
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x410025
call fcn.0044ea2b
push 0
push edi
or eax, 0xffffffff
lea esi, [esp + 0x160]
call fcn.00409250
push 1
mov eax, 0x4b6c1c
mov ecx, esi
call fcn.00409310
test ebx, ebx
jne 0x410067
call fcn.0044ea2b
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x41005a
call fcn.0044ea2b
mov eax, dword [esp + 0x34]
add edi, 0x1c
jmp 0x40fff0
mov eax, dword [ebx]
jmp 0x41001b
mov eax, dword [ebx]
jmp 0x410050
push 2
mov eax, 0x4b61c0
lea ecx, [esp + 0x15c]
call fcn.00409310
push 0x2b
mov eax, 0x4b6c20
lea ecx, [esp + 0x15c]
call fcn.00409310
call fcn.00418670
test eax, eax
jne 0x410171
push 0x104
lea edx, [esp + 0x208]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor eax, eax
mov word [esp + 0x206], ax
mov dword [esp + 0x188], eax
xor ecx, ecx
lea eax, [esp + 0x204]
mov dword [esp + 0x18c], 7
mov word [esp + 0x178], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4100e1
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x208]
lea esi, [esp + 0x178]
call fcn.004093f0
push 0x1d
mov eax, str.:WindowsFonts_arial.ttf
mov ecx, esi
mov byte [esp + 0x183c], 7
call fcn.00409310
push 0x17
mov eax, str._vf_drawtextfontfile
lea ecx, [esp + 0x15c]
call fcn.00409310
mov edx, esi
push 0
push edx
or eax, 0xffffffff
lea esi, [esp + 0x160]
call fcn.00409250
push 0x63
mov eax, str.:text_Free_DVD_Creator_:xW_3:yH_2:fontsize35:fontcolorwhite:shadowy3:box1:boxcolorred_0.4
mov ecx, esi
call fcn.00409310
mov byte [esp + 0x1838], 6
cmp dword [esp + 0x18c], 8
jb 0x410171
mov eax, dword [esp + 0x178]
push eax
call fcn.00442977
add esp, 4
mov esi, dword [esp + 0x44]
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x410180
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea esi, [esp + 0x1b0]
call fcn.004093f0
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x61e]
push edx
mov word [esp + 0x620], cx
call fcn.00455040
add esp, 0xc
lea eax, [esp + 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [esp + 0x9a]
mov ecx, dword [esp + 0x88]
movzx eax, word [esp + 0x98]
push ecx
movzx ecx, word [esp + 0x9a]
push edx
movzx edx, word [esp + 0x9c]
push eax
movzx eax, word [esp + 0x9e]
push ecx
movzx ecx, word [esp + 0x9e]
push edx
movzx edx, word [esp + 0xa0]
push eax
push ecx
push edx
push str._04d_02d_02d_02d_02d_02d_02d._s
lea edx, [esp + 0x638]
call fcn.00401000
lea eax, [esp + 0x638]
add esp, 0x24
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x410231
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x618]
lea ecx, [esp + 0x1b0]
call fcn.00409310
lea eax, [esp + 0x158]
push eax
lea ecx, [esp + 0x1cc]
push ecx
lea edi, [esp + 0xa4]
call fcn.0040b9b0
push eax
mov ebx, 0x4b61c8
lea esi, [esp + 0xc4]
mov byte [esp + 0x1844], 8
call fcn.0040b8f0
add esp, 0xc
lea edx, [esp + 0x1ac]
push edx
push eax
lea edi, [esp + 0x17c]
mov byte [esp + 0x1840], 9
call fcn.0040b9b0
push eax
mov ebx, 0x4b61b4
lea esi, [esp + 0x19c]
mov byte [esp + 0x1844], 0xa
call fcn.0040b8f0
add esp, 0xc
cmp dword [esp + 0x18c], 8
jb 0x4102e1
mov eax, dword [esp + 0x178]
push eax
call fcn.00442977
add esp, 4
mov edi, 7
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x18c], edi
mov dword [esp + 0x188], ebx
mov word [esp + 0x178], cx
mov esi, 8
cmp dword [esp + 0xd0], esi
jb 0x41031e
mov edx, dword [esp + 0xbc]
push edx
call fcn.00442977
add esp, 4
xor eax, eax
mov dword [esp + 0xd0], edi
mov dword [esp + 0xcc], ebx
mov word [esp + 0xbc], ax
mov byte [esp + 0x1838], 0xe
cmp dword [esp + 0xb4], esi
jb 0x410357
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.00442977
add esp, 4
mov eax, dword [esp + 0x194]
xor edx, edx
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb0], ebx
mov word [esp + 0xa0], dx
cmp dword [esp + 0x1a8], esi
jae 0x410386
lea eax, [esp + 0x194]
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0xd8]
push edx
push ebx
push ebx
push 0x8000200
push 1
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4104e9
mov dword [esp + 0x10], 0x57
cmp dword [esp + 0x1a8], esi
jb 0x4103cf
mov eax, dword [esp + 0x194]
push eax
call fcn.00442977
add esp, 4
xor ecx, ecx
mov dword [esp + 0x1a8], edi
mov dword [esp + 0x1a4], ebx
mov word [esp + 0x194], cx
cmp dword [esp + 0x170], esi
jb 0x410400
mov edx, dword [esp + 0x15c]
push edx
call fcn.00442977
add esp, 4
xor eax, eax
mov word [esp + 0x15c], ax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x170], edi
mov dword [esp + 0x16c], ebx
cmp eax, ebx
je 0x41046f
mov edi, dword [esp + 0x34]
cmp eax, edi
je 0x41045e
lea esi, [eax + 0x18]
jmp 0x410430
cmp dword [esi], 8
jb 0x410441
mov eax, dword [esi - 0x14]
push eax
call fcn.00442977
add esp, 4
xor ecx, ecx
mov dword [esi], 7
mov dword [esi - 4], ebx
mov word [esi - 0x14], cx
add esi, 0x1c
lea edx, [esi - 0x18]
cmp edx, edi
jne 0x410430
mov eax, dword [esp + 0x30]
push eax
call fcn.00442977
mov edi, 7
add esp, 4
lea esi, [edi + 1]
mov eax, dword [esp + 0x24]
push eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.00442977
add esp, 4
cmp dword [esp + 0x138], esi
jb 0x4104a1
mov ecx, dword [esp + 0x124]
push ecx
call fcn.00442977
add esp, 4
xor edx, edx
mov byte [esp + 0x1838], 1
mov dword [esp + 0x138], edi
mov dword [esp + 0x134], ebx
mov word [esp + 0x124], dx
cmp dword [esp + 0x154], esi
jb 0x4104da
mov eax, dword [esp + 0x140]
push eax
call fcn.00442977
add esp, 4
xor ecx, ecx
mov word [esp + 0x140], cx
jmp 0x41081b
mov edx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
mov dword [esp + 0x1c], ebx
call esi
mov ecx, dword [esp + 0x4c]
push ecx
mov dword [esp + 0x18], ebx
call esi
mov edx, dword [esp + 0x48]
push edx
mov dword [esp + 0x50], ebx
call esi
push 0x1001
lea eax, [esp + 0x820]
push ebx
push eax
mov dword [esp + 0x54], ebx
call fcn.00455040
add esp, 0xc
mov dword [esp + 0x44], 0x64
mov dword [esp + 0x40], ebx
mov dword [esp + 0x60], ebx
mov ecx, dword [esp + 0x70]
push 5
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x41055d
sub dword [esp + 0x44], 1
js 0x4106ed
mov ecx, dword [esp + 0x3c]
push ebx
push ebx
lea edx, [esp + 0x48]
push edx
push 0x1000
lea eax, [esp + 0x82c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x4106ed
cmp dword [esp + 0x40], ebx
je 0x4106ba
mov ecx, dword [esp + 0x3c]
push ebx
lea edx, [esp + 0x44]
push edx
push 0x1000
lea eax, [esp + 0x828]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4106ed
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x4106ed
lea edx, [esp + 0x81c]
push str.Invalid_data
push edx
mov byte [esp + eax + 0x824], bl
call fcn.0044e5d0
add esp, 8
test eax, eax
jne 0x4106e5
lea eax, [esp + 0x81c]
push 0x4b63e0
push eax
call fcn.0044e5d0
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4106ba
push 0x20
push esi
call fcn.0044e670
add esp, 8
cmp eax, ebx
je 0x4106ba
mov byte [eax], bl
xor eax, eax
mov dword [esp + 0x1e5], eax
mov dword [esp + 0x1e9], eax
mov dword [esp + 0x1ed], eax
mov dword [esp + 0x1f1], eax
mov dword [esp + 0x1f5], eax
mov dword [esp + 0x1f9], eax
mov dword [esp + 0x1fd], eax
mov word [esp + 0x201], ax
mov byte [esp + 0x203], al
lea eax, [esi + 5]
lea edx, [esp + 0x1e4]
mov byte [esp + 0x1e4], bl
sub edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
cmp cl, bl
jne 0x410670
lea ecx, [esp + 0x1e4]
call fcn.004174d0
push ebx
push 0x64
push edx
push eax
call fcn.004555c0
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push ecx
push edx
push eax
call fcn.00455600
cmp eax, 0x64
jle 0x4106ab
mov eax, 0x64
mov edx, dword [esp + 0x58]
push eax
push edx
call fcn.00424280
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0xffffdac9
jne 0x410541
mov ecx, dword [esp + 0x50]
push ebx
lea eax, [esp + 0x64]
push eax
push 3
push 0x4b63e8
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x410541
mov dword [esp + 0x10], 1
mov esi, 8
cmp dword [esp + 0x1a8], esi
jb 0x41070b
mov edx, dword [esp + 0x194]
push edx
call fcn.00442977
add esp, 4
xor eax, eax
mov dword [esp + 0x1a8], edi
mov dword [esp + 0x1a4], ebx
mov word [esp + 0x194], ax
cmp dword [esp + 0x170], esi
jb 0x41073c
mov ecx, dword [esp + 0x15c]
push ecx
call fcn.00442977
add esp, 4
mov eax, dword [esp + 0x30]
xor edx, edx
mov dword [esp + 0x170], edi
mov dword [esp + 0x16c], ebx
mov word [esp + 0x15c], dx
cmp eax, ebx
je 0x4107a6
mov edi, dword [esp + 0x34]
cmp eax, edi
je 0x410795
lea esi, [eax + 0x18]
cmp dword [esi], 8
jb 0x410778
mov eax, dword [esi - 0x14]
push eax
call fcn.00442977
add esp, 4
xor eax, eax
mov dword [esi], 7
mov dword [esi - 4], ebx
mov word [esi - 0x14], ax
add esi, 0x1c
lea ecx, [esi - 0x18]
cmp ecx, edi
jne 0x410767
mov eax, dword [esp + 0x30]
push eax
call fcn.00442977
mov edi, 7
add esp, 4
lea esi, [edi + 1]
mov edx, dword [esp + 0x24]
push edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.00442977
add esp, 4
cmp dword [esp + 0x138], esi
jb 0x4107d8
mov eax, dword [esp + 0x124]
push eax
call fcn.00442977
add esp, 4
xor ecx, ecx
mov byte [esp + 0x1838], 1
mov dword [esp + 0x138], edi
mov dword [esp + 0x134], ebx
mov word [esp + 0x124], cx
cmp dword [esp + 0x154], esi
jb 0x410811
mov edx, dword [esp + 0x140]
push edx
call fcn.00442977
add esp, 4
xor eax, eax
mov word [esp + 0x140], ax
mov dword [esp + 0x154], edi
mov dword [esp + 0x150], ebx
xor esi, esi
mov eax, dword [esp + 0x70]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, esi
je 0x41083c
push eax
call edi
mov eax, dword [esp + 0x74]
cmp eax, esi
je 0x410847
push eax
call edi
mov eax, dword [esp + 0x54]
cmp eax, esi
je 0x410852
push eax
call edi
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x41085d
push eax
call edi
mov eax, dword [esp + 0x50]
cmp eax, esi
je 0x410868
push eax
call edi
mov eax, dword [esp + 0x3c]
cmp eax, esi
je 0x410873
push eax
call edi
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x41087e
push eax
call edi
mov eax, dword [esp + 0x5c]
cmp eax, esi
je 0x410889
push eax
call edi
mov eax, dword [esp + 0x4c]
cmp eax, esi
je 0x410894
push eax
call edi
mov eax, dword [esp + 0x48]
cmp eax, esi
je 0x41089f
push eax
call edi
mov eax, dword [esp + 0x10]
cmp eax, 0xffffdac9
jne 0x4108cb
cmp dword [esp + 0x1c4], 8
mov eax, dword [esp + 0x1b0]
jae 0x4108c2
lea eax, [esp + 0x1b0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4108df
cmp eax, esi
jne 0x4108df
mov ecx, dword [esp + 0x58]
push 0x64
push ecx
call fcn.00424280
mov dword [esp + 0x10], eax
mov edi, 8
cmp dword [esp + 0x1c4], edi
jb 0x4108fd
mov edx, dword [esp + 0x1b0]
push edx
call fcn.00442977
add esp, 4
xor eax, eax
mov dword [esp + 0x1c4], 7
mov dword [esp + 0x1c0], esi
mov word [esp + 0x1b0], ax
cmp dword [esp + 0x1e0], edi
jb 0x410932
mov ecx, dword [esp + 0x1cc]
push ecx
call fcn.00442977
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1830]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1818]
xor ecx, esp
call fcn.0044e200
mov esp, ebp
pop ebp
ret 8