Function at 0x10001eb0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10021a1a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], 0
mov dword [edi], 0x1002f570
mov dword [edi + 0x70], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
sub esp, 8
mov dword [ebp - 4], 0
lea ebx, [edi + 0x10]
mov dword [ebp - 0x14], 1
push ebx
call fcn.100041d0
mov dword [ebp - 4], 1
mov eax, dword [edi]
push 8
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], ebx
lea eax, [ecx - 0x70]
mov dword [ecx + edi - 4], eax
mov dword [ebx], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.10005ba1
mov esi, eax
push 1
mov byte [ebp - 4], 2
call fcn.10004b60
mov dword [esi + 4], eax
lea ecx, [edi + 0x10]
mov dword [ecx + 0x34], esi
lea edi, [ecx + 0x14]
mov dword [ecx + 0x1c], edi
lea ebx, [ecx + 4]
mov edi, dword [ebp - 0x10]
lea esi, [ecx + 0x18]
mov dword [ecx + 0xc], ebx
lea edx, [ecx + 0x24]
mov dword [ecx + 0x20], esi
lea eax, [ecx + 8]
mov dword [ecx + 0x2c], edx
add esp, 8
add ecx, 0x28
mov dword [edi + 0x40], ecx
mov dword [eax], 0
mov eax, edi
mov eax, dword [eax + 0x30]
mov dword [eax], 0
mov eax, edi
mov eax, dword [eax + 0x40]
mov dword [eax], 0
mov eax, edi
mov eax, dword [eax + 0x1c]
mov dword [eax], 0
mov eax, edi
mov eax, dword [eax + 0x2c]
mov dword [eax], 0
mov eax, edi
mov eax, dword [eax + 0x3c]
mov dword [eax], 0
mov eax, edi
mov dword [eax + 0x1c], ebx
mov ebx, edi
mov dword [eax + 0x10], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [eax + 0x58], 0
mov byte [eax + 0x4d], 0
lea eax, [ebx + 0x18]
mov dword [ebx + 0x20], eax
lea edi, [ebx + 0x24]
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x2c], edi
mov dword [ebx + 0x3c], edx
mov dword [ebx + 0x40], ecx
mov dword [eax], 0
mov eax, dword [ebx + 0x30]
mov dword [eax], 0
mov eax, dword [ebx + 0x40]
mov dword [eax], 0
mov eax, dword [ebx + 0x1c]
mov dword [eax], 0
mov eax, dword [ebx + 0x2c]
mov dword [eax], 0
mov eax, dword [ebx + 0x3c]
mov dword [eax], 0
mov eax, dword [0x10033d08]
mov dword [ebx + 0x50], eax
mov eax, dword [0x10033d0c]
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x48], 0
mov byte [ebp - 4], 3
cmp dword [ebx + 0x5c], 0
jne 0x100020aa
push 0x40
push 1
push str.C:Recoveryhex.txt
call fcn.1000523a
add esp, 0xc
test eax, eax
je 0x100020aa
push 1
push eax
lea ecx, [ebx + 0x10]
call fcn.10004030
mov eax, dword [ebx + 0x44]
mov byte [ebp - 4], 4
mov esi, dword [eax + 4]
mov ecx, esi
mov dword [ebp - 0x18], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 5
push eax
call fcn.100045f0
add esp, 4
lea ecx, [ebx + 0x10]
push eax
call fcn.10003f00
mov byte [ebp - 4], 6
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 8]
test eax, eax
je 0x10002094
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [ebp - 0x10]
push 0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
xor eax, eax
add ecx, ebx
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001b00
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10