Function at 0x101e46e0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102186b7
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x4900
call fcn.10203e10
mov eax, dword [0x105520d0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x472c], edi
mov dword [ebp - 0x4778], esi
mov dword [ebp - 0x4770], eax
mov dword [ebp - 0x4734], ebx
call fcn.101d8120
test al, al
je 0x101e55a1
mov ecx, dword [sym.imp.MSVCP100.dll_const_std::basic_ios_char__struct_std::char_traits_char__::vftable]
mov dword [ebp - 0x4834], 0x10322960
mov dword [ebp - 0x4824], 0x10224108
mov dword [ebp - 0x47d4], ecx
push ebx
lea edx, [ebp - 0x481c]
push edx
lea ecx, [ebp - 0x4834]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x4734], 1
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char____]
mov eax, dword [ebp - 0x4834]
mov ecx, dword [eax + 4]
mov dword [ebp + ecx - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea ecx, [ebp - 0x481c]
mov dword [ebp - 4], 1
call dword [sym.imp.MSVCP100.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x47e0], ebx
mov dword [ebp - 0x47dc], ebx
mov dword [ebp - 4], 3
mov dword [ebp - 0x4658], 0xf
mov dword [ebp - 0x465c], ebx
mov byte [ebp - 0x466c], bl
push esi
mov byte [ebp - 4], 4
mov dword [ebp - 0x477c], ebx
mov dword [ebp - 0x4780], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x101e4814
test al, 1
je 0x101e480d
and eax, 0xfffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x4908]
call fcn.100f1e50
lea ecx, [ebp - 0x4874]
mov byte [ebp - 4], 5
call fcn.100ea6e0
lea ecx, [ebp - 0x4854]
mov byte [ebp - 4], 6
call fcn.100ea7c0
lea ecx, [ebp - 0x489c]
mov byte [ebp - 4], 7
call fcn.100ecce0
push str.default
push ebx
push esi
lea ecx, [ebp - 0x4908]
mov byte [ebp - 4], 8
call fcn.100f1790
test al, al
je 0x101e5514
lea ecx, [ebp - 0x4908]
call fcn.100f0ce0
mov esi, eax
mov dword [ebp - 0x4768], esi
cmp esi, ebx
je 0x101e5520
push esi
lea ecx, [ebp - 0x4874]
call fcn.100e8b50
test al, al
je 0x101e5520
push esi
lea ecx, [ebp - 0x4854]
call fcn.100e8cb0
test al, al
je 0x101e5520
push esi
lea ecx, [ebp - 0x489c]
call fcn.100ecc60
test al, al
je 0x101e5520
lea ecx, [ebp - 0x471c]
call fcn.100efae0
push ebx
push esi
lea ecx, [ebp - 0x471c]
mov byte [ebp - 4], 9
call fcn.100f0b90
test al, al
je 0x101e4a2e
push 0x100
lea edx, [ebp - 0x114]
push ebx
push edx
call sub.MSVCR100.dll_memset
push 0x2e
push ebx
push 6
lea eax, [ebp - 0x114]
push str.QMSL__u._u._u
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x20
lea ecx, [ebp - 0x114]
push ecx
push 0x1021c9c8
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x471c]
call fcn.100ef420
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx]
mov dword [ebp - 0x4764], eax
cmp eax, ecx
je 0x101e4a21
nop
mov dl, byte [eax + 0xc]
mov edi, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
mov byte [ebp - 0x4730], dl
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x4754], ecx
mov dword [ebp - 0x474c], edx
cmp edi, ebx
jle 0x101e49f9
mov dword [ebp - 0x473c], ebx
push ebx
push 0x22
mov byte [ebp - 4], 0xa
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
cmp esi, ebx
je 0x101e49dc
lea ecx, [ebp - 0x473c]
call fcn.100e8af0
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
cmp eax, ebx
jl 0x101e49dc
mov eax, dword [ebp - 0x473c]
mov dword [ebp - 0x4734], ebx
cmp eax, ebx
je 0x101e4a97
mov ecx, dword [eax]
lea edx, [ebp - 0x4734]
push edx
mov edx, dword [ebp - 0x474c]
push edi
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
mov ecx, dword [ebp - 0x4730]
mov edx, dword [ebp - 0x473c]
push ecx
push edx
lea ecx, [ebp - 0x471c]
call fcn.100ef810
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x473c]
mov byte [ebp - 4], 9
cmp eax, ebx
je 0x101e49f9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x4764]
call fcn.10154a90
mov eax, dword [ebp - 0x472c]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebp - 0x4764]
cmp eax, ecx
jne 0x101e4940
mov edi, dword [ebp - 0x472c]
push 1
lea ecx, [ebp - 0x471c]
call fcn.100efda0
cmp byte [edi + 0x68], 1
mov dword [ebp - 0x4764], 1
jne 0x101e4a48
mov dword [ebp - 0x4764], 3
xor esi, esi
mov dword [ebp - 0x4734], esi
cmp dword [ebp - 0x4764], ebx
jle 0x101e53f9
mov edi, dword [ebp - 0x4768]
lea ecx, [ebp - 0xc4]
call fcn.100efae0
mov ecx, dword [ebp - 0x472c]
push esi
mov byte [ebp - 4], 0xb
call fcn.101db2d0
mov dword [ebp - 0x473c], eax
push ebx
lea ecx, [ebp - 0xc4]
cmp esi, ebx
jle 0x101e4aa1
push esi
push edi
call fcn.100f07d0
jmp 0x101e4aa7
push 0x80004003
call fcn.10204be0
push edi
call fcn.100f0b90
cmp al, 1
jne 0x101e53d7
push 0x100
lea ecx, [ebp - 0x214]
push ebx
push ecx
call sub.MSVCR100.dll_memset
push 0x2e
push ebx
push 6
lea edx, [ebp - 0x214]
push str.QMSL__u._u._u
push edx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x20
lea eax, [ebp - 0x214]
push eax
push 0x1021c9c8
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0xc4]
call fcn.100ef420
mov dword [ebp - 0x4758], ebx
mov dword [ebp - 0x4754], ebx
mov dword [ebp - 0x4750], ebx
mov byte [ebp - 4], 0xc
xor edi, edi
mov ecx, dword [ebp - 0x473c]
push edi
call fcn.100aeb90
mov esi, eax
mov dword [ebp - 0x4730], esi
cmp esi, ebx
je 0x101e4b55
push ebx
mov ecx, esi
call fcn.101eee40
test al, al
je 0x101e4b55
mov ecx, dword [ebp - 0x473c]
push ebx
push esi
call fcn.100af570
test al, al
je 0x101e4b55
lea ecx, [ebp - 0x4730]
push ecx
lea ecx, [ebp - 0x4758]
call fcn.1015bbe0
inc edi
cmp edi, 0x10000
jl 0x101e4b0e
mov ecx, dword [ebp - 0x473c]
lea edx, [ebp - 0x4644]
push edx
call fcn.100b1210
mov ecx, dword [ebp - 0x4640]
sub ecx, dword [ebp - 0x4644]
mov esi, dword [ebp - 0x4754]
mov edi, dword [ebp - 0x4758]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x4748], ebx
je 0x101e4d78
mov dword [ebp - 0x475c], ebx
mov eax, dword [ebp - 0x475c]
add eax, dword [ebp - 0x4644]
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x4634]
mov dword [ebp - 0x4620], 0xf
mov dword [ebp - 0x4624], ebx
mov byte [ebp - 0x4634], bl
call fcn.10003140
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4738], esp
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x4634]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push eax
mov byte [ebp - 4], 0xe
mov byte [ecx], bl
call fcn.10003140
mov ecx, dword [ebp - 0x473c]
call fcn.100b06f0
lea ecx, [ebp - 0x4744]
mov dword [ebp - 0x4744], eax
cmp ecx, esi
jae 0x101e4cab
mov edx, ecx
cmp edi, edx
ja 0x101e4cab
mov eax, ecx
mov ecx, dword [ebp - 0x4750]
sub eax, edi
sar eax, 2
mov dword [ebp - 0x4730], eax
cmp esi, ecx
jne 0x101e4c97
mov eax, esi
sub eax, edi
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x101e5509
sub ecx, edi
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0x101e4c97
mov edx, ecx
shr edx, 1
mov esi, 0x3fffffff
sub esi, edx
cmp esi, ecx
jae 0x101e4c77
xor ecx, ecx
jmp 0x101e4c79
add ecx, edx
cmp ecx, eax
jae 0x101e4c7f
mov ecx, eax
push ecx
lea ecx, [ebp - 0x4758]
call fcn.100f1180
mov esi, dword [ebp - 0x4754]
mov edi, dword [ebp - 0x4758]
mov eax, dword [ebp - 0x4730]
lea ecx, [edi + eax*4]
push ecx
push esi
lea edx, [ebp - 0x474c]
push edx
jmp 0x101e4d13
mov ecx, dword [ebp - 0x4750]
cmp esi, ecx
jne 0x101e4d04
mov eax, esi
sub eax, edi
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x101e5509
sub ecx, edi
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0x101e4d04
mov edx, ecx
shr edx, 1
mov esi, 0x3fffffff
sub esi, edx
cmp esi, ecx
jae 0x101e4ce4
xor ecx, ecx
jmp 0x101e4ce6
add ecx, edx
cmp ecx, eax
jae 0x101e4cec
mov ecx, eax
push ecx
lea ecx, [ebp - 0x4758]
call fcn.100f1180
mov esi, dword [ebp - 0x4754]
mov edi, dword [ebp - 0x4758]
lea eax, [ebp - 0x4744]
push eax
push esi
lea ecx, [ebp - 0x474c]
push ecx
call fcn.10014e30
add esi, 4
add esp, 0xc
cmp dword [ebp - 0x4620], 0x10
mov dword [ebp - 0x4754], esi
mov byte [ebp - 4], 0xd
jb 0x101e4d40
mov edx, dword [ebp - 0x4634]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [ebp - 0x4640]
sub ecx, dword [ebp - 0x4644]
inc dword [ebp - 0x4748]
add dword [ebp - 0x475c], 0x1c
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x4748], eax
jb 0x101e4bb1
sub esi, edi
sar esi, 2
xor eax, eax
mov dword [ebp - 0x4730], esi
mov dword [ebp - 0x4744], eax
cmp esi, ebx
jle 0x101e5349
mov esi, dword [edi + eax*4]
mov eax, 0x4000
push eax
lea ecx, [ebp - 0x4618]
push ebx
push ecx
mov dword [ebp - 0x4788], eax
mov dword [ebp - 0x4784], eax
call sub.MSVCR100.dll_memset
mov eax, dword [ebp - 0x477c]
xor edi, edi
add esp, 0xc
imul eax, eax, 0x64
mov dword [ebp - 0x4748], edi
mov dword [ebp - 0x475c], eax
push edi
mov ecx, esi
call fcn.101eee40
cmp al, 1
jne 0x101e5311
mov ecx, dword [ebp - 0x473c]
push ebx
push esi
call fcn.100af570
test al, al
je 0x101e5311
push 1
push edi
lea edx, [ebp - 0x4788]
push edx
lea eax, [ebp - 0x4618]
push eax
mov ecx, esi
call fcn.101eef40
test al, al
je 0x101e5311
mov ecx, esi
call fcn.101ee7d0
mov ecx, 0x4e20
cmp ax, cx
jae 0x101e4e76
mov ecx, esi
call fcn.101ee7d0
movzx edx, ax
push edx
lea eax, [ebp - 0x4824]
push str.Write_NV
push eax
call fcn.100210c0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
push edi
lea ecx, [ebp - 0x4784]
push ecx
lea edx, [ebp - 0x4618]
push edx
mov ecx, esi
call fcn.101ee7d0
movzx eax, ax
push eax
lea ecx, [ebp - 0xc4]
call fcn.100f01a0
jmp 0x101e50fd
push 0x401
lea ecx, [ebp - 0x618]
push ebx
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.101f7100
test eax, eax
jne 0x101e4ee7
mov ecx, esi
call fcn.101ee7d0
movzx edx, ax
push edx
lea eax, [ebp - 0x4824]
push str.Write_NV
push eax
call fcn.100210c0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
mov ecx, esi
call fcn.101ee7d0
movzx ecx, ax
push ecx
push str._nv_item_files_rfnv__08d
lea edx, [ebp - 0x618]
push 0x400
push edx
call dword [sym.imp.MSVCR100.dll__snprintf]
add esp, 0x10
jmp 0x101e4f7d
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
lea ecx, [ebp - 0x4634]
push ecx
mov ecx, esi
call edx
push eax
lea eax, [ebp - 0x4824]
push str.Write_NV_EFS
push eax
mov byte [ebp - 4], 0xf
call fcn.100210c0
add esp, 8
push eax
call fcn.100f47d0
mov edi, 0x10
add esp, 8
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x4620], edi
jb 0x101e4f39
mov ecx, dword [ebp - 0x4634]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
lea eax, [ebp - 0x4634]
push eax
mov ecx, esi
call edx
cmp dword [eax + 0x14], edi
jb 0x101e4f50
mov eax, dword [eax]
push 0x400
push eax
lea eax, [ebp - 0x618]
push eax
call dword [sym.imp.MSVCR100.dll_strncpy]
add esp, 0xc
cmp dword [ebp - 0x4620], edi
jb 0x101e4f7d
mov ecx, dword [ebp - 0x4634]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov byte [ebp - 0x219], bl
mov dword [ebp - 0x4740], ebx
push ebx
push 0x22
mov byte [ebp - 4], 0x10
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov eax, dword [ebp - 0x4740]
mov dword [ebp - 0x4738], edi
cmp eax, ebx
je 0x101e4fb0
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [ebp - 0x4740]
push ecx
push 1
push edi
mov dword [ebp - 0x4740], ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov eax, dword [ebp - 0x4740]
mov dword [ebp - 0x4774], ebx
cmp eax, ebx
je 0x101e4a97
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
lea ecx, [ebp - 0x4774]
push ecx
mov ecx, dword [ebp - 0x4788]
push ecx
lea ecx, [ebp - 0x4618]
push ecx
push eax
call edx
mov dword [ebp - 0x476c], ebx
mov ecx, esi
mov dword [ebp - 0x476c], 0x1010001
call fcn.101eee90
cmp eax, 0x6a
jle 0x101e503e
cmp byte [esi + 4], bl
jne 0x101e503e
mov edx, dword [ebp - 0x4740]
push ebx
lea ecx, [ebp - 0x476c]
push ecx
push edx
lea eax, [ebp - 0x618]
push eax
lea ecx, [ebp - 0x4874]
call fcn.100e9fe0
jmp 0x101e50c8
mov ecx, esi
call fcn.101eee90
cmp eax, 0x6a
jg 0x101e5072
cmp byte [esi + 4], bl
jne 0x101e5072
lea ecx, [ebp - 0x4618]
push ecx
mov ecx, esi
call fcn.101eee90
push eax
lea edx, [ebp - 0x618]
push edx
lea ecx, [ebp - 0x4854]
call fcn.100eacc0
jmp 0x101e50c8
mov ecx, esi
call fcn.101eee90
push eax
lea eax, [ebp - 0x4618]
push eax
sub esp, 0x1c
mov ecx, esp
lea eax, [ebp - 0x618]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
mov dword [ebp - 0x4760], esp
mov byte [ecx], bl
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x101e50a1
sub eax, edi
push eax
lea edx, [ebp - 0x618]
push edx
call fcn.10003320
lea ecx, [ebp - 0x489c]
call fcn.100ec690
mov edi, dword [ebp - 0x4738]
mov eax, dword [ebp - 0x4740]
cmp eax, ebx
je 0x101e50e0
mov dword [ebp - 0x4740], ebx
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x4740]
mov byte [ebp - 4], 0xd
cmp eax, ebx
je 0x101e50fd
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [ebp - 0x4634]
push eax
lea ecx, [ebp - 0x4834]
call fcn.10172430
mov edi, eax
lea ecx, [ebp - 0x466c]
cmp ecx, edi
je 0x101e5189
cmp dword [ebp - 0x4658], 0x10
jb 0x101e5133
mov edx, dword [ebp - 0x466c]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 0x4658], 0xf
mov dword [ebp - 0x465c], ebx
mov byte [ebp - 0x466c], bl
cmp dword [edi + 0x14], 0x10
jae 0x101e5167
mov eax, dword [edi + 0x10]
inc eax
push eax
lea eax, [ebp - 0x466c]
push edi
push eax
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x101e5171
mov ecx, dword [edi]
mov dword [ebp - 0x466c], ecx
mov dword [edi], ebx
mov edx, dword [edi + 0x10]
mov dword [ebp - 0x465c], edx
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x4658], eax
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
cmp dword [ebp - 0x4620], 0x10
mov byte [ebp - 4], 0xd
jb 0x101e51a5
mov ecx, dword [ebp - 0x4634]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [ebp - 0x4748], ebx
jne 0x101e51cf
mov eax, dword [ebp - 0x475c]
inc dword [ebp - 0x477c]
add eax, 0x64
mov dword [ebp - 0x475c], eax
cdq
idiv dword [ebp - 0x4730]
mov dword [ebp - 0x4780], eax
mov edx, dword [ebp - 0x4780]
push edx
push 0xd
push 4
mov ecx, esi
call fcn.101ee7d0
mov edi, dword [ebp - 0x472c]
movzx eax, ax
push eax
mov ecx, edi
call fcn.101d8080
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4760], esp
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x466c]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], bl
call fcn.10003140
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4738], esp
push 0x1d
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push str.NVTool_Manager::WriteNVsToQCN
mov byte [ebp - 4], 0x12
mov byte [ecx], bl
call fcn.10003320
mov ecx, edi
mov byte [ebp - 4], 0xd
call fcn.101d8cb0
push ebx
push 0x1021c9c8
lea ecx, [ebp - 0x4634]
mov dword [ebp - 0x4620], 0xf
mov dword [ebp - 0x4624], ebx
mov byte [ebp - 0x4634], bl
call fcn.10003320
test byte [ebp - 0x47dc], 1
mov byte [ebp - 4], 0x13
je 0x101e528f
mov eax, dword [ebp - 0x480c]
mov eax, dword [eax]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x481c]
call dword [sym.imp.MSVCP100.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char___char___char__]
mov ecx, dword [ebp - 0x4808]
mov dword [ecx], ebx
mov edx, dword [ebp - 0x47f8]
mov dword [edx], ebx
mov eax, dword [ebp - 0x47e8]
mov dword [eax], ebx
and dword [ebp - 0x47dc], 0xfffffffe
mov eax, dword [ebp - 0x4634]
mov edi, 0x10
mov dword [ebp - 0x47e0], ebx
cmp dword [ebp - 0x4620], edi
jae 0x101e52dc
lea eax, [ebp - 0x4634]
mov ecx, dword [ebp - 0x47dc]
mov edx, dword [ebp - 0x4624]
push ecx
push edx
push eax
lea ecx, [ebp - 0x481c]
call fcn.10021010
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x4620], edi
jb 0x101e5311
mov eax, dword [ebp - 0x4634]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edi, dword [ebp - 0x4748]
inc edi
mov dword [ebp - 0x4748], edi
cmp edi, 0xff
jl 0x101e4dcf
mov eax, dword [ebp - 0x4744]
mov edi, dword [ebp - 0x4758]
inc eax
mov dword [ebp - 0x4744], eax
cmp eax, dword [ebp - 0x4730]
jl 0x101e4d93
push 1
lea ecx, [ebp - 0xc4]
call fcn.100efda0
mov esi, dword [ebp - 0x4644]
cmp esi, ebx
je 0x101e539a
mov eax, dword [ebp - 0x4640]
mov dword [ebp - 0x4738], eax
cmp esi, eax
je 0x101e5391
lea ecx, [ebp - 0x4638]
push esi
push ecx
call fcn.101da7d0
add esi, 0x1c
add esp, 8
cmp esi, dword [ebp - 0x4738]
jne 0x101e5370
mov esi, dword [ebp - 0x4644]
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 0x4644], ebx
mov dword [ebp - 0x4640], ebx
mov dword [ebp - 0x463c], ebx
cmp edi, ebx
je 0x101e53b9
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [ebp - 0x4734]
mov edi, dword [ebp - 0x4768]
mov dword [ebp - 0x4758], ebx
mov dword [ebp - 0x4754], ebx
mov dword [ebp - 0x4750], ebx
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 9
call fcn.100eff60
inc esi
mov dword [ebp - 0x4734], esi
cmp esi, dword [ebp - 0x4764]
jl 0x101e4a62
lea ecx, [ebp - 0x4874]
call fcn.100e98a0
lea ecx, [ebp - 0x4854]
call fcn.100e9910
lea ecx, [ebp - 0x489c]
call fcn.100eca90
push 1
lea ecx, [ebp - 0x4908]
call fcn.100f1890
mov edx, dword [ebp - 0x4778]
push str._written
push edx
lea eax, [ebp - 0x4824]
push str.QCN_File:
push eax
call fcn.100210c0
add esp, 8
push eax
call fcn.100210c0
add esp, 8
push eax
call fcn.100210c0
add esp, 8
lea ecx, [ebp - 0x4634]
push ecx
lea ecx, [ebp - 0x4834]
call fcn.10172430
push eax
lea ecx, [ebp - 0x466c]
mov byte [ebp - 4], 0x14
call fcn.10022800
cmp dword [ebp - 0x4620], 0x10
mov byte [ebp - 4], 9
jb 0x101e5497
mov edx, dword [ebp - 0x4634]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4760], esp
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x466c]
mov esi, 0xf
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push eax
mov byte [ecx], bl
call fcn.10003140
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4738], esp
push 0x1d
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push str.NVTool_Manager::WriteNVsToQCN
mov byte [ebp - 4], 0x15
mov byte [ecx], bl
call fcn.10003320
mov ecx, dword [ebp - 0x472c]
mov byte [ebp - 4], 9
call fcn.101d8cb0
mov ecx, dword [ebp - 0x4770]
mov dword [ecx], ebx
lea ecx, [ebp - 0x471c]
mov byte [ebp - 4], 8
call fcn.100eff60
jmp 0x101e5520
push str.vector_T__too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
mov edx, dword [ebp - 0x4770]
mov dword [edx], 7
lea ecx, [ebp - 0x489c]
mov byte [ebp - 4], 7
call fcn.100ecb50
lea ecx, [ebp - 0x4854]
mov byte [ebp - 4], 6
call fcn.100ea4e0
lea ecx, [ebp - 0x4874]
mov byte [ebp - 4], 5
call fcn.100e9a40
lea ecx, [ebp - 0x4908]
mov byte [ebp - 4], 4
call fcn.100f1cb0
cmp dword [ebp - 0x4658], 0x10
jb 0x101e5574
mov eax, dword [ebp - 0x466c]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [ebp - 0x4834]
mov dword [ebp - 0x4658], 0xf
mov dword [ebp - 0x465c], ebx
mov byte [ebp - 0x466c], bl
mov dword [ebp - 4], 0xffffffff
call fcn.101571f0
jmp 0x101e5b7d
lea ecx, [ebp - 0x4728]
call fcn.101d38b0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0x16
mov dword [ebp - 0xbc], 0x10322960
mov dword [ebp - 0xac], 0x10224108
call dword [sym.imp.MSVCP100.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push ebx
lea ecx, [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x4734], 2
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char____]
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 0x18
mov dword [ebp + eax - 0xbc], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
call dword [sym.imp.MSVCP100.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0xa4], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x463c], 0xf
mov dword [ebp - 0x4640], ebx
mov byte [ebp - 0x4650], bl
lea ecx, [ebp - 0x4768]
push ecx
mov ecx, edi
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0x4768], ebx
mov dword [ebp - 0x4734], ebx
call fcn.101e0270
mov edi, dword [ebp - 0x4778]
sub esp, 0x1c
mov esi, esp
mov eax, edi
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [ebp - 4], 0x1c
mov dword [ebp - 0x4760], esp
mov byte [esi], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x101e5683
sub eax, edx
push eax
push edi
mov ecx, esi
call fcn.10003320
lea ecx, [ebp - 0x4728]
call fcn.101d33f0
lea ecx, [ebp - 0x4728]
call fcn.101d4380
mov ecx, dword [ebp - 0x472c]
call fcn.101dba00
mov dword [ebp - 0x4738], eax
xor edi, edi
mov dword [ebp - 0x4730], edi
cmp edi, dword [ebp - 0x4738]
jge 0x101e58e7
mov ecx, dword [ebp - 0x472c]
push edi
call fcn.101dba40
mov ecx, dword [ebp - 0x472c]
push eax
call fcn.101dba60
push 0x4000
lea edx, [ebp - 0x4618]
push ebx
push edx
mov esi, eax
mov dword [ebp - 0x4774], 0x4000
call sub.MSVCR100.dll_memset
add esp, 0xc
push ebx
mov ecx, esi
call fcn.101eee40
cmp al, 1
jne 0x101e58db
mov ecx, dword [ebp - 0x472c]
push ebx
push esi
call fcn.101df870
cmp al, bl
je 0x101e58db
push ebx
push ebx
lea eax, [ebp - 0x4774]
push eax
lea ecx, [ebp - 0x4618]
push ecx
mov ecx, esi
call fcn.101eef40
cmp al, bl
je 0x101e58db
mov ecx, dword [ebp - 0x472c]
push edi
call fcn.101dba40
lea edx, [ebp - 0xac]
push str.Write_NV
push edx
mov edi, eax
call fcn.100210c0
add esp, 8
push edi
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
lea eax, [ebp - 0x4634]
push eax
lea ecx, [ebp - 0xbc]
call fcn.10172430
push eax
lea ecx, [ebp - 0x4650]
mov byte [ebp - 4], 0x1d
call fcn.10022800
cmp dword [ebp - 0x4620], 0x10
mov byte [ebp - 4], 0x1c
jb 0x101e57b6
mov ecx, dword [ebp - 0x4634]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, esi
call fcn.101eea30
movzx ecx, al
lea edx, [ebp - 0x4618]
push edx
push ecx
lea ecx, [ebp - 0x4728]
call fcn.101d2c80
mov eax, dword [ebp - 0x4734]
inc eax
mov dword [ebp - 0x4734], eax
imul eax, eax, 0x64
cdq
idiv dword [ebp - 0x4768]
mov ecx, esi
mov edi, eax
call fcn.101ee7d0
push edi
mov edi, dword [ebp - 0x472c]
push 0xd
movzx eax, ax
push 4
push eax
mov ecx, edi
call fcn.101d8080
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4760], esp
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x4650]
mov esi, 0xf
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], bl
call fcn.10003140
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4784], esp
push 0x1d
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push str.NVTool_Manager::WriteNVsToQCN
mov byte [ebp - 4], 0x1e
mov byte [ecx], bl
call fcn.10003320
mov ecx, edi
mov byte [ebp - 4], 0x1c
call fcn.101d8cb0
push ebx
push 0x1021c9c8
lea ecx, [ebp - 0x4634]
mov dword [ebp - 0x4620], esi
mov dword [ebp - 0x4624], ebx
mov byte [ebp - 0x4634], bl
call fcn.10003320
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x1f
call fcn.10020530
mov eax, dword [ebp - 0x4634]
mov esi, 0x10
cmp dword [ebp - 0x4620], esi
jae 0x101e58a9
lea eax, [ebp - 0x4634]
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x4624]
push ecx
push edx
push eax
lea ecx, [ebp - 0xa4]
call fcn.10021010
mov byte [ebp - 4], 0x1c
cmp dword [ebp - 0x4620], esi
jb 0x101e58db
mov eax, dword [ebp - 0x4634]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edi, dword [ebp - 0x4730]
inc edi
jmp 0x101e56be
lea ecx, [ebp - 0x4728]
call fcn.101d29e0
lea ecx, [ebp - 0xac]
push str.QCN_File:
push ecx
call fcn.100210c0
mov edx, dword [ebp - 0x4778]
add esp, 8
push edx
push eax
call fcn.100210c0
add esp, 8
push str._written
push eax
call fcn.100210c0
add esp, 8
lea eax, [ebp - 0x4634]
push eax
lea ecx, [ebp - 0xbc]
call fcn.10172430
mov esi, eax
lea ecx, [ebp - 0x4650]
cmp ecx, esi
je 0x101e59b7
cmp dword [ebp - 0x463c], 0x10
jb 0x101e595e
mov edx, dword [ebp - 0x4650]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edi, 0xf
mov dword [ebp - 0x463c], edi
mov dword [ebp - 0x4640], ebx
mov byte [ebp - 0x4650], bl
cmp dword [esi + 0x14], 0x10
jae 0x101e5993
mov eax, dword [esi + 0x10]
inc eax
push eax
lea eax, [ebp - 0x4650]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x101e599d
mov ecx, dword [esi]
mov dword [ebp - 0x4650], ecx
mov dword [esi], ebx
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x4640], edx
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x463c], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
jmp 0x101e59bc
mov edi, 0xf
cmp dword [ebp - 0x4620], 0x10
mov byte [ebp - 4], 0x1c
jb 0x101e59d8
mov ecx, dword [ebp - 0x4634]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4760], esp
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x4650]
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], bl
call fcn.10003140
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4738], esp
push 0x1d
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push str.NVTool_Manager::WriteNVsToQCN
mov byte [ebp - 4], 0x21
mov byte [ecx], bl
call fcn.10003320
mov ecx, dword [ebp - 0x472c]
mov byte [ebp - 4], 0x1c
call fcn.101d8cb0
mov eax, dword [ebp - 0x4770]
mov dword [eax], ebx
mov dword [ebp - 4], 0x1b
jmp 0x101e5a72
cmp dword [ebp - 0x463c], 0x10
jb 0x101e5a8a
mov edx, dword [ebp - 0x4650]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0x463c], 0xf
mov dword [ebp - 0x4640], ebx
mov byte [ebp - 0x4650], bl
mov edx, dword [ecx + 4]
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x4760], eax
mov dword [ebp + edx - 0xbc], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x4738], eax
mov dword [ebp - 0xa4], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
test byte [ebp - 0x64], 1
mov byte [ebp - 4], 0x24
je 0x101e5b1e
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
lea ecx, [ebp - 0xa4]
test eax, eax
je 0x101e5af7
call dword [sym.imp.MSVCP100.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const]
jmp 0x101e5afd
call dword [sym.imp.MSVCP100.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::egptr_void_const]
lea ecx, [ebp - 0xa4]
call dword [sym.imp.MSVCP100.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const]
lea ecx, [ebp - 0xa4]
call dword [sym.imp.MSVCP100.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
push ebx
push ebx
push ebx
lea ecx, [ebp - 0xa4]
call dword [sym.imp.MSVCP100.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char___char___char__]
push ebx
push ebx
lea ecx, [ebp - 0xa4]
call dword [sym.imp.MSVCP100.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::setp_char___char__]
and dword [ebp - 0x64], 0xfffffffe
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x68], ebx
mov byte [ebp - 4], 0x23
call dword [sym.imp.MSVCP100.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x16
call dword [sym.imp.MSVCP100.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVCP100.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x4728]
mov dword [ebp - 4], 0xffffffff
call fcn.101d3980
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10203cc8
mov esp, ebp
pop ebp
ret 8