Function at 0x10065ce0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10065ee0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], esi
cmp dword [ebp + 8], 0
mov dword [ebp - 0x2c], ecx
je 0x10065d2a
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], 1
mov dword [ecx], 0x1020b4f8
mov dword [ecx + 0x54], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
jmp 0x10065d34
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0
lea edx, [ecx + 4]
xor eax, eax
push eax
push eax
push edx
call fcn.1003fd40
mov dword [ebp - 4], 1
mov ebx, dword [ebp - 0x2c]
mov esi, dword [ebx]
mov eax, dword [esi + 4]
lea esi, [ebx + 4]
lea ecx, [ebx + 8]
mov dword [eax + ebx], 0x1029ae0c
mov dword [ebp - 0x14], esi
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.101b855a
mov dword [ebp - 4], 3
mov dword [ebp - 0x1c], 0
push eax
mov dword [esp], 4
call fcn.101bc2ab
pop ecx
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je 0x10065dda
mov dword [ebp - 0x1c], 1
call fcn.101b83aa
mov dword [edi], eax
call fcn.101b81d8
mov dword [ebp - 0x30], eax
push 0
lea ecx, [ebp - 0x34]
call fcn.101b84fa
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
jae 0x10065dc9
mov edx, dword [ebp - 0x30]
inc eax
mov dword [edx + 4], eax
lea ecx, [ebp - 0x34]
call fcn.101b8522
mov dword [ebp - 0x1c], 0
jmp 0x10065dde
xor eax, eax
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x38], edi
lea edi, [ebx + 0xc]
mov dword [esi + 0x10], edi
lea eax, [ebx + 0x10]
lea ecx, [ebx + 0x1c]
mov dword [esi + 0x20], ecx
lea edx, [ebx + 0x20]
mov dword [ebp - 0x38], edx
mov dword [esi + 0x24], edx
lea edx, [ebx + 0x2c]
mov dword [esi + 0x30], edx
mov dword [ebp - 0x30], edx
add ebx, 0x30
mov dword [ebp - 0x1c], ebx
mov dword [esi + 0x34], ebx
xor edx, edx
mov dword [eax], edx
mov ebx, dword [esi + 0x24]
mov dword [ebx], edx
mov ebx, dword [esi + 0x34]
mov dword [ebx], edx
mov ebx, dword [esi + 0x10]
mov dword [ebx], edx
mov ebx, dword [esi + 0x20]
mov dword [ebx], edx
mov ebx, dword [esi + 0x30]
mov dword [ebx], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], dl
mov byte [esi + 0x41], dl
mov dword [esi + 0x10], edi
mov edi, dword [ebp - 0x30]
mov dword [esi + 0x14], eax
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp - 0x38]
mov dword [esi + 0x24], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], ecx
mov dword [eax], edx
mov eax, dword [esi + 0x24]
mov dword [eax], edx
mov ecx, dword [esi + 0x34]
mov dword [ecx], edx
mov eax, dword [esi + 0x10]
mov dword [eax], edx
mov edi, dword [esi + 0x20]
mov eax, dword [ebp - 0x2c]
mov dword [edi], edx
mov edi, dword [ebp - 0x28]
mov ebx, dword [esi + 0x30]
mov dword [ebx], edx
mov ecx, dword [0x1021e060]
mov ebx, dword [ebp - 0x20]
mov dword [esi + 0x4c], edx
mov dword [esi + 0x44], ecx
mov dword [esi + 0x3c], edx
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4