Function at 0x455ffb
Capabilities:
Delete file

Disassembly:
push 0x14c
mov eax, 0x4ce568
call fcn.004cbf06
mov ebx, ecx
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x140], ebx
and dword [ebp - 0x13c], 0
xor esi, esi
lea eax, [ebp + 8]
inc esi
lea ecx, [ebp - 0x7c]
push eax
mov dword [ebp - 4], esi
call fcn.0043884a
lea edx, [ebp - 0x7c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.00455df4
push 0xb8
lea eax, [ebp - 0x134]
mov byte [ebp - 4], 3
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x134]
call fcn.004563ab
mov byte [ebp - 4], 4
xor eax, eax
mov edi, ebx
push 0xf
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
pop edi
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edi
mov byte [ebx], al
mov dword [ebp - 0x13c], esi
cmp dword [ebp - 0xd8], eax
je 0x456262
lea eax, [ebp - 0x158]
push eax
lea ecx, [ebp - 0x134]
call dword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
lea edi, [ebp - 0x34]
mov esi, dword [eax + 8]
add esi, dword [eax]
mov ecx, dword [eax + 0xc]
adc ecx, dword [eax + 4]
xor eax, eax
stosd dword es:[edi], eax
push ecx
mov dword [ebp - 0x138], ecx
lea ecx, [ebp - 0x34]
push esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0044af3d
mov byte [ebp - 4], 5
lea edi, [ebp - 0x28]
xor eax, eax
xor ecx, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x34], eax
jne 0x4560f2
push 0xf
pop edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edi
mov byte [ebp - 0x28], cl
jmp 0x456106
sub eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x34]
call fcn.004384e4
push 0xf
xor ecx, ecx
pop edi
push ecx
push ecx
push ecx
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 6
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int_]
push dword [ebp - 0x138]
cmp dword [ebp - 0x14], edi
lea eax, [ebp - 0x28]
push esi
cmova eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x134]
push eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___long_long___int64__]
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [eax + 4]
add ecx, edx
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::operator_bool_void_const]
test al, al
je 0x456218
push 0x42c9ec
lea ecx, [ebp - 0x4c]
call fcn.004384ab
mov byte [ebp - 4], 7
lea eax, [ebp - 0x4c]
cmp dword [ebp - 0x38], edi
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x3c]
cmova eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x14], edi
mov edx, dword [ebp - 0x18]
cmova ecx, dword [ebp - 0x28]
push esi
push eax
push 0
call fcn.00442da6
add esi, eax
lea edi, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
add esp, 0xc
cmp dword [ebp - 0x14], 0xf
cmova edi, dword [ebp - 0x28]
cmp eax, 1
jb 0x4561e0
dec eax
cmp esi, eax
ja 0x4561e0
inc eax
lea ecx, [edi + esi]
add eax, edi
mov dword [ebp - 0x138], eax
jmp 0x4561cc
movzx eax, byte [ecx]
cmp al, 0x22
jne 0x4561b8
xor eax, eax
jmp 0x4561bd
sbb eax, eax
or eax, 1
test eax, eax
je 0x4562ab
mov eax, dword [ebp - 0x138]
inc ecx
sub eax, ecx
push eax
push 0x22
push ecx
call sub.VCRUNTIME140.dll_memchr
mov ecx, eax
add esp, 0xc
test ecx, ecx
jne 0x4561ad
or ecx, 0xffffffff
sub ecx, esi
lea eax, [ebp - 0x158]
push ecx
push esi
push eax
lea ecx, [ebp - 0x28]
call fcn.0043df01
push eax
mov ecx, ebx
call fcn.0043bf1c
lea ecx, [ebp - 0x158]
call fcn.0043d60d
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.0043d60d
push 0xf
pop edi
lea ecx, [ebp - 0x124]
call fcn.0043d332
test eax, eax
jne 0x45623f
push eax
mov eax, dword [ebp - 0x134]
lea ecx, [ebp - 0x134]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov edx, dword [ebp - 0x14]
cmp edx, edi
jbe 0x45624f
mov ecx, dword [ebp - 0x28]
inc edx
call fcn.00442ec7
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x14], edi
mov byte [ebp - 0x28], 0
call fcn.0043bc45
cmp dword [ebp - 0x50], edi
lea eax, [ebp - 0x64]
cmova eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
pop ecx
lea ecx, [ebp - 0xc4]
call fcn.0043b247
lea ecx, [ebp - 0xc4]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x64]
call fcn.0043d60d
lea ecx, [ebp - 0x7c]
call fcn.0043d60d
lea ecx, [ebp + 8]
call fcn.0043d60d
mov eax, ebx
call fcn.004cbeb5
ret
sub ecx, edi
jmp 0x4561e3