Function at 0x42afc0
Capabilities:
Write file on windows

Disassembly:
push 0x3ac
mov eax, 0x5d2c58
call fcn.0059a07b
mov edi, ecx
mov dword [ebp - 0x1d4], edi
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1e0]
push eax
call fcn.004295f4
push 0xf
pop esi
xor eax, eax
mov dword [ebp - 0x30], esi
push 0xc
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x44]
push str.SimpleLogger
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x44], al
call fcn.004057b8
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x1c4]
push eax
call fcn.00468a20
pop ecx
pop ecx
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 3
cmp eax, 0x10
jb 0x42b06c
mov ecx, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x190], ecx
cmp eax, 0x1000
jb 0x42b063
lea eax, [ebp - 0x1a8]
push eax
lea eax, [ebp - 0x190]
push eax
call fcn.004048a9
mov eax, dword [ebp - 0x1a8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x190]
push eax
push ecx
call fcn.00599f8e
pop ecx
pop ecx
and dword [ebp - 0x34], 0
mov ecx, dword [ebp - 0x1c4]
mov dword [ebp - 0x30], esi
mov byte [ebp - 0x44], 0
test ecx, ecx
je 0x42b0cb
push ecx
push ecx
mov eax, esp
mov dword [ebp - 0x1bc], str.G:Projectsuninstall_toolUninstallToolUninstallerCache.cpp
push 2
sub esp, 0xc
mov dword [ebp - 0x1b8], 0x32
mov edi, esp
mov dword [ebp - 0x1b4], str.CUninstallCache::Save
lea esi, [ebp - 0x1bc]
mov dword [eax], str.Saving_cache
mov dword [eax + 4], 0xc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004281d0
mov edi, dword [ebp - 0x1d4]
mov ecx, dword [ebp - 0x1c0]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x42b0de
call fcn.00411e49
mov esi, dword [ebp - 0x1dc]
mov eax, esi
mov edx, dword [ebp - 0x1e0]
cmp edx, eax
je 0x42b102
mov ecx, dword [edx]
cmp dword [ecx + 0xe8], 1
je 0x42b102
add edx, 4
cmp edx, esi
jne 0x42b0f0
cmp edx, esi
je 0x42b13f
lea ecx, [edx + 4]
cmp ecx, esi
je 0x42b12a
mov esi, dword [ecx]
cmp dword [esi + 0xe8], 1
je 0x42b11d
mov dword [edx], esi
add edx, 4
add ecx, 4
cmp ecx, eax
jne 0x42b10d
mov esi, dword [ebp - 0x1dc]
cmp edx, eax
je 0x42b13f
push edx
push esi
push eax
call fcn.00409ad8
add esp, 0xc
mov dword [ebp - 0x1dc], eax
xor esi, esi
lea eax, [ebp - 0x1e0]
push esi
push 5
push eax
call fcn.0043fdc8
add esp, 0xc
lea eax, [ebp - 0x188]
mov ecx, 0x668598
push eax
call fcn.004060a2
push str.cache.dat
push eax
lea eax, [ebp - 0x18c]
mov byte [ebp - 4], 4
push eax
call fcn.00405d5b
add esp, 0xc
mov eax, dword [eax]
xor ecx, ecx
mov dword [ebp - 0x78], esi
mov word [ebp - 0x78], cx
lea ecx, [ebp - 0x78]
push eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], 7
call fcn.00404983
mov ecx, dword [ebp - 0x18c]
lea ecx, [ecx - 0x10]
call fcn.00405641
mov ecx, dword [ebp - 0x188]
mov byte [ebp - 4], 8
lea ecx, [ecx - 0x10]
call fcn.00405641
push esi
push 1
lea ecx, [ebp - 0x3b8]
call fcn.00469e50
lea ecx, [ebp - 0x1a8]
call fcn.00404c19
push 3
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 0xa
push str.__xml_version_1.0__encoding_UTF_8_____UninstallCache_version__u____UninstallCache_
push eax
call fcn.00413be0
add esp, 0xc
lea ecx, [ebp - 0x3b8]
push 0xffffffffffffffff
push dword [ebp - 0x1a8]
call fcn.0046c3e0
push esi
lea ecx, [ebp - 0x3b8]
call fcn.0046b650
and dword [ebp - 0x1b8], esi
mov dword [ebp - 0x18c], eax
xor eax, eax
mov dword [ebp - 0x1a0], esi
mov dword [ebp - 0x1bc], esi
mov dword [ebp - 0x1cc], eax
mov dword [ebp - 0x1b4], eax
mov byte [ebp - 4], 0xb
cmp byte [ebp + 0xc], al
jne 0x42b339
mov eax, dword [edi + 4]
mov dword [ebp - 0x188], eax
mov esi, dword [eax]
cmp esi, eax
je 0x42b339
and dword [ebp - 0x184], 0
lea edi, [esi + 8]
and dword [ebp - 0x174], 0
lea ecx, [ebp - 0x184]
and dword [ebp - 0x170], 0
push edi
call fcn.00406463
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x16c], ecx
mov byte [ebp - 4], 0xc
call fcn.0042c652
test al, al
je 0x42b30e
mov edx, dword [ebp - 0x16c]
xor ecx, ecx
mov eax, dword [edx]
cmp dword [eax - 0xc], ecx
je 0x42b30e
cmp dword [edx + 8], ecx
jbe 0x42b30e
lea eax, [ebp - 0x184]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp - 0x60]
push eax
call fcn.00406463
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x48], eax
mov edi, dword [ebp - 0x1b8]
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0xd
push eax
cmp edi, dword [ebp - 0x1cc]
je 0x42b2ee
mov ecx, edi
call fcn.0042a3ab
add edi, 0x1c
mov dword [ebp - 0x1b8], edi
jmp 0x42b306
push edi
lea ecx, [ebp - 0x1bc]
call fcn.00429ca2
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x1cc], eax
lea ecx, [ebp - 0x60]
call fcn.0040491b
lea ecx, [ebp - 0x184]
mov byte [ebp - 4], 0xb
call fcn.0040491b
mov eax, dword [esi]
mov esi, eax
cmp eax, dword [ebp - 0x188]
jne 0x42b257
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x1a0], eax
and dword [ebp - 0x44], 0
lea ecx, [ebp - 0x44]
and dword [ebp - 0x34], 0
push 0xf
pop esi
push 0xc
push str.SimpleLogger
mov dword [ebp - 0x30], esi
mov byte [ebp - 0x44], 0
call fcn.004057b8
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x1b0]
push eax
call fcn.00468a20
pop ecx
pop ecx
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 0x10
cmp eax, 0x10
jb 0x42b3bd
mov ecx, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x1a4], ecx
cmp eax, 0x1000
jb 0x42b3b4
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x1a4]
push eax
call fcn.004048a9
mov eax, dword [ebp - 0x190]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1a4]
push eax
push ecx
call fcn.00599f8e
pop ecx
pop ecx
and dword [ebp - 0x34], 0
mov ecx, dword [ebp - 0x1b0]
mov dword [ebp - 0x30], esi
mov byte [ebp - 0x44], 0
test ecx, ecx
je 0x42b428
mov eax, dword [ebp - 0x1dc]
lea esi, [ebp - 0x1c8]
sub eax, dword [ebp - 0x1e0]
sar eax, 2
mov dword [ebp - 0x188], eax
lea eax, [ebp - 0x188]
push eax
push 0x17
push str.itemsSorted.size____
push 2
sub esp, 0xc
mov dword [ebp - 0x1c8], str.G:Projectsuninstall_toolUninstallToolUninstallerCache.cpp
mov edi, esp
mov dword [ebp - 0x1c4], 0x52
mov dword [ebp - 0x1c0], str.CUninstallCache::Save
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0040b9be
mov ecx, dword [ebp - 0x1ac]
mov byte [ebp - 4], 0xb
test ecx, ecx
je 0x42b43b
call fcn.00411e49
mov eax, dword [ebp - 0x1e0]
mov esi, dword [ebp - 0x1dc]
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x1a4], esi
cmp eax, esi
je 0x42b67e
mov ecx, esi
mov esi, dword [eax]
test esi, esi
je 0x42b66d
mov ecx, esi
call fcn.00443942
mov ecx, esi
mov edi, eax
call fcn.00443b4e
mov ecx, eax
call fcn.00445550
mov ecx, dword [eax]
xor eax, eax
and dword [ebp - 0x5c], 0
and dword [ebp - 0x4c], 0
push ecx
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
call fcn.00404983
lea eax, [ebp - 0x1c0]
mov byte [ebp - 4], 0x11
push eax
mov ecx, edi
call fcn.0043cb54
mov eax, dword [eax]
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x2c], esi
mov word [ebp - 0x2c], cx
lea ecx, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 7
call fcn.00404983
mov ecx, dword [ebp - 0x1c0]
mov byte [ebp - 4], 0x14
lea ecx, [ecx - 0x10]
call fcn.00405641
lea eax, [ebp - 0x1ac]
mov ecx, edi
push eax
call fcn.0043ca9a
mov eax, dword [eax]
xor ecx, ecx
mov dword [ebp - 0x44], esi
mov word [ebp - 0x44], cx
lea ecx, [ebp - 0x44]
push eax
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], 7
call fcn.00404983
mov ecx, dword [ebp - 0x1ac]
mov byte [ebp - 4], 0x17
lea ecx, [ecx - 0x10]
call fcn.00405641
mov ecx, edi
call fcn.0043c9e0
mov ecx, edi
mov esi, eax
call fcn.0043cb6f
mov ecx, dword [ebp - 0x1d4]
push eax
push esi
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x18c]
call fcn.0042c668
mov eax, dword [ebp - 0x30]
mov esi, 0x1000
cmp eax, 8
jb 0x42b5a8
mov ecx, dword [ebp - 0x44]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x188], ecx
cmp eax, esi
jb 0x42b59f
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x188]
push eax
call fcn.004048a9
mov eax, dword [ebp - 0x194]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x188]
push eax
push ecx
call fcn.00599f8e
pop ecx
pop ecx
and dword [ebp - 0x34], 0
xor eax, eax
push 7
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x18]
pop edi
mov dword [ebp - 0x30], edi
cmp eax, 8
jb 0x42b604
mov ecx, dword [ebp - 0x2c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x194], ecx
cmp eax, esi
jb 0x42b5fb
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.004048a9
mov eax, dword [ebp - 0x188]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x194]
push eax
push ecx
call fcn.00599f8e
pop ecx
pop ecx
and dword [ebp - 0x1c], 0
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 0xb
cmp eax, 8
jb 0x42b661
mov ecx, dword [ebp - 0x5c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x194], ecx
cmp eax, esi
jb 0x42b658
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.004048a9
mov eax, dword [ebp - 0x188]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x194]
push eax
push ecx
call fcn.00599f8e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1a4]
mov eax, dword [ebp - 0x190]
add eax, 4
mov dword [ebp - 0x190], eax
cmp eax, ecx
jne 0x42b45d
push 0xf
pop esi
xor eax, eax
mov dword [ebp - 0x18], esi
push 0xc
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x2c]
push str.SimpleLogger
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
call fcn.004057b8
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x18
push eax
lea eax, [ebp - 0x1c4]
push eax
call fcn.00468a20
pop ecx
pop ecx
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0x1a
cmp eax, 0x10
jb 0x42b701
mov ecx, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x194], ecx
cmp eax, 0x1000
jb 0x42b6f8
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.004048a9
mov eax, dword [ebp - 0x188]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x194]
push eax
push ecx
call fcn.00599f8e
pop ecx
pop ecx
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c4], 0
mov dword [ebp - 0x18], esi
mov byte [ebp - 0x2c], 0
je 0x42b774
mov eax, dword [ebp - 0x1b8]
lea esi, [ebp - 0x19c]
sub eax, dword [ebp - 0x1a0]
push 0x1c
pop ecx
cdq
idiv ecx
mov ecx, dword [ebp - 0x1c4]
mov dword [ebp - 0x1ac], eax
lea eax, [ebp - 0x1ac]
push eax
push 0x30
push str.cachedButNotLoadedCacheFromMetroApps.size____
push 2
sub esp, 0xc
mov dword [ebp - 0x19c], str.G:Projectsuninstall_toolUninstallToolUninstallerCache.cpp
mov edi, esp
mov dword [ebp - 0x198], 0x64
mov dword [ebp - 0x194], str.CUninstallCache::Save
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0040b9be
mov ecx, dword [ebp - 0x1c0]
mov byte [ebp - 4], 0xb
test ecx, ecx
je 0x42b787
call fcn.00411e49
mov edi, dword [ebp - 0x1a0]
mov esi, edi
mov dword [ebp - 0x190], esi
cmp esi, dword [ebp - 0x1b8]
je 0x42b9ac
xor eax, eax
lea ecx, [ebp - 0x184]
push esi
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x170], eax
call fcn.00406463
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x170], 8
lea eax, [ebp - 0x184]
push 7
cmovae eax, dword [ebp - 0x184]
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x5c], esi
pop edi
mov word [ebp - 0x5c], cx
lea ecx, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], edi
call fcn.00404983
mov eax, dword [ebp - 0x16c]
xor ecx, ecx
mov byte [ebp - 4], 0x1c
mov eax, dword [eax]
mov dword [ebp - 0x44], esi
mov word [ebp - 0x44], cx
lea ecx, [ebp - 0x44]
push eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], edi
call fcn.00404983
mov eax, dword [ebp - 0x16c]
xor ecx, ecx
mov byte [ebp - 4], 0x1d
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], esi
mov word [ebp - 0x2c], cx
lea ecx, [ebp - 0x2c]
push eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edi
call fcn.00404983
mov eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x1d4]
mov byte [ebp - 4], 0x1e
push dword [eax + 8]
lea eax, [ebp - 0x2c]
push esi
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x18c]
call fcn.0042c668
mov eax, dword [ebp - 0x18]
mov edi, 0x1000
cmp eax, 8
jb 0x42b8c4
mov ecx, dword [ebp - 0x2c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x194], ecx
cmp eax, edi
jb 0x42b8bb
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.004048a9
mov eax, dword [ebp - 0x188]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x194]
push eax
push ecx
call fcn.00599f8e
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], 7
cmp eax, 8
jb 0x42b920
mov ecx, dword [ebp - 0x44]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x194], ecx
cmp eax, edi
jb 0x42b917
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.004048a9
mov eax, dword [ebp - 0x188]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x194]
push eax
push ecx
call fcn.00599f8e
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x34], esi
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], 7
cmp eax, 8
jb 0x42b97c
mov ecx, dword [ebp - 0x5c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x194], ecx
cmp eax, edi
jb 0x42b973
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.004048a9
mov eax, dword [ebp - 0x188]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x194]
push eax
push ecx
call fcn.00599f8e
pop ecx
pop ecx
lea ecx, [ebp - 0x184]
mov byte [ebp - 4], 0xb
call fcn.0040491b
mov esi, dword [ebp - 0x190]
add esi, 0x1c
mov dword [ebp - 0x190], esi
cmp esi, dword [ebp - 0x1b8]
jne 0x42b7a1
mov edi, dword [ebp - 0x1a0]
xor eax, eax
mov byte [ebp - 4], 0x1f
push eax
push eax
push eax
lea ecx, [ebp - 0x168]
call fcn.0046a090
lea eax, [ebp - 0x168]
mov byte [ebp - 4], 0x20
push eax
lea ecx, [ebp - 0x3b8]
call fcn.0046a890
mov ecx, dword [ebp - 0x98]
xor eax, eax
push 0xf
pop esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], eax
lea edx, [ecx + 1]
mov dword [ebp - 0x18], esi
mov byte [ebp - 0x2c], al
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42b9f0
sub ecx, edx
push ecx
push dword [ebp - 0x98]
lea ecx, [ebp - 0x2c]
call fcn.004057b8
push 1
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x21
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0042e7f8
add esp, 0xc
cmp dword [ebp - 0x64], 8
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 0x22
cmovae eax, dword [ebp - 0x78]
xor ecx, ecx
push ecx
push 0x80
push 2
push ecx
push ecx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, eax
mov dword [ebp - 0x1c0], ecx
cmp ecx, 0xffffffff
je 0x42bd52
and dword [ebp - 0x1ac], 0
lea edx, [ebp - 0x1ac]
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0x5c]
push 0
cmovae eax, dword [ebp - 0x5c]
push edx
push dword [ebp - 0x4c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x1c0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x5c]
call fcn.00405792
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x42bad9
mov ecx, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x188], ecx
cmp eax, 0x1000
jb 0x42bad0
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x188]
push eax
call fcn.004048a9
mov eax, dword [ebp - 0x18c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x188]
push eax
push ecx
call fcn.00599f8e
pop ecx
pop ecx
and dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x168]
mov dword [ebp - 0x18], esi
mov byte [ebp - 0x2c], 0
call fcn.00428dca
jmp 0x42bc4c
push 0x1c
pop ecx
test edi, edi
je 0x42bcc6
mov esi, dword [ebp - 0x1b8]
mov eax, edi
mov dword [ebp - 0x1ac], eax
cmp eax, esi
je 0x42bc7b
mov ecx, edi
call fcn.0040491b
push 0x1c
pop ecx
add edi, ecx
cmp edi, esi
jne 0x42bc65
mov edi, dword [ebp - 0x1a0]
mov eax, dword [ebp - 0x1cc]
sub eax, edi
mov dword [ebp - 0x188], edi
cdq
idiv ecx
imul eax, eax, 0x1c
mov dword [ebp - 0x18c], eax
cmp eax, 0x1000
jb 0x42bcbd
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x188]
push eax
call fcn.004048a9
mov eax, dword [ebp - 0x18c]
mov edi, dword [ebp - 0x188]
pop ecx
pop ecx
push eax
push edi
call fcn.00599f8e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1a8]
lea ecx, [ecx - 0x10]
call fcn.00405641
lea ecx, [ebp - 0x3b8]
call fcn.0046a260
mov eax, dword [ebp - 0x64]
cmp eax, 8
jb 0x42bd2e
mov ecx, dword [ebp - 0x78]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x188], ecx
cmp eax, 0x1000
jb 0x42bd25
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x188]
push eax
call fcn.004048a9
mov eax, dword [ebp - 0x18c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x188]
push eax
push ecx
call fcn.00599f8e
pop ecx
pop ecx
and dword [ebp - 0x68], 0
lea ecx, [ebp - 0x1e0]
xor eax, eax
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
call fcn.0041de7f
call fcn.00599fcd
ret 8
push str.unable_to_create_file
lea ecx, [ebp - 0x1f8]
call fcn.0042a466
push 0x64360c
lea eax, [ebp - 0x1f8]
push eax
call fcn.0059dd8c
int3