Function at 0x401080
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push esi
push edi
mov dword [ebp - 0xbc], ecx
mov eax, dword [ebp - 0xbc]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0xbc]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 0xbc]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 0xbc]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0xbc]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 0xbc]
mov dword [edx + 0x18], 0
mov eax, dword [ebp - 0xbc]
mov dword [eax + 0x1c], 0
mov ecx, dword [ebp - 0xbc]
mov dword [ecx + 0x20], 0
mov edx, dword [ebp - 0xbc]
mov dword [edx + 0x24], 0
mov dword [ebp - 0x18], 0xc
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xbc]
add ecx, 8
push ecx
mov edx, dword [ebp - 0xbc]
add edx, 4
push edx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x40120b
mov eax, dword [ebp - 0xbc]
add eax, 0x38
mov dword [ebp - 0x38], eax
mov edi, str.CreatePipeError_n
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xffffffff
mov dword [ebp - 0x34], ecx
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [ebp - 0x38]
mov eax, dword [ecx]
sub eax, dword [edx + 8]
cmp eax, dword [ebp - 0x34]
ja 0x401191
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
cmp dword [ebp - 0x34], 0
jbe 0x401204
push 0
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 8]
add edx, dword [ebp - 0x34]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x38]
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
and eax, 0xff
test eax, eax
je 0x401204
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x38]
add edx, dword [eax + 8]
mov dword [ebp - 0x28], edx
mov ecx, dword [ebp - 0x34]
mov esi, str.CreatePipeError_n
mov edi, dword [ebp - 0x28]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [ebp - 0x2c], 0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 4]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dl, byte [ebp - 0x2c]
mov byte [ecx], dl
xor al, al
jmp 0x401aae
push 2
push 0
push 0
mov eax, dword [ebp - 0xbc]
add eax, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4012f9
mov eax, dword [ebp - 0xbc]
add eax, 0x38
mov dword [ebp - 0x50], eax
mov edi, str.DuplicateHandleError_n
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xffffffff
mov dword [ebp - 0x4c], ecx
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [ebp - 0x50]
mov eax, dword [ecx]
sub eax, dword [edx + 8]
cmp eax, dword [ebp - 0x4c]
ja 0x40127f
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
cmp dword [ebp - 0x4c], 0
jbe 0x4012f2
push 0
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 8]
add edx, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x50]
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
and eax, 0xff
test eax, eax
je 0x4012f2
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x50]
add edx, dword [eax + 8]
mov dword [ebp - 0x40], edx
mov ecx, dword [ebp - 0x4c]
mov esi, str.DuplicateHandleError_n
mov edi, dword [ebp - 0x40]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [ebp - 0x44], 0
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x3c]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 4]
add eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dl, byte [ebp - 0x44]
mov byte [ecx], dl
xor al, al
jmp 0x401aae
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0xbc]
add eax, 0x10
push eax
mov ecx, dword [ebp - 0xbc]
add ecx, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x4013e3
mov edx, dword [ebp - 0xbc]
add edx, 0x38
mov dword [ebp - 0x68], edx
mov edi, str.CreatePipeError_n
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xffffffff
mov dword [ebp - 0x64], ecx
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, dword [ebp - 0x68]
mov edx, dword [eax]
sub edx, dword [ecx + 8]
cmp edx, dword [ebp - 0x64]
ja 0x401369
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
cmp dword [ebp - 0x64], 0
jbe 0x4013dc
push 0
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 8]
add ecx, dword [ebp - 0x64]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
push edx
mov ecx, dword [ebp - 0x68]
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
and eax, 0xff
test eax, eax
je 0x4013dc
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x68]
add ecx, dword [edx + 8]
mov dword [ebp - 0x58], ecx
mov ecx, dword [ebp - 0x64]
mov esi, str.CreatePipeError_n
mov edi, dword [ebp - 0x58]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [ebp - 0x5c], 0
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x54]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 4]
add ecx, dword [ebp - 0x54]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
mov al, byte [ebp - 0x5c]
mov byte [edx], al
xor al, al
jmp 0x401aae
push 2
push 0
push 0
mov ecx, dword [ebp - 0xbc]
add ecx, 0x20
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4014d1
mov ecx, dword [ebp - 0xbc]
add ecx, 0x38
mov dword [ebp - 0x80], ecx
mov edi, str.DuplicateHandleError_n
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xffffffff
mov dword [ebp - 0x7c], ecx
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [ebp - 0x80]
mov ecx, dword [edx]
sub ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x7c]
ja 0x401457
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
cmp dword [ebp - 0x7c], 0
jbe 0x4014ca
push 0
mov edx, dword [ebp - 0x80]
mov eax, dword [edx + 8]
add eax, dword [ebp - 0x7c]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
push ecx
mov ecx, dword [ebp - 0x80]
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
and eax, 0xff
test eax, eax
je 0x4014ca
mov edx, dword [ebp - 0x80]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x80]
add eax, dword [ecx + 8]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x7c]
mov esi, str.DuplicateHandleError_n
mov edi, dword [ebp - 0x70]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [ebp - 0x74], 0
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x6c]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x80]
mov eax, dword [edx + 4]
add eax, dword [ebp - 0x6c]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
mov dl, byte [ebp - 0x74]
mov byte [ecx], dl
xor al, al
jmp 0x401aae
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x14], 4
je 0x401755
push 0
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0xbc]
add eax, 0x18
push eax
mov ecx, dword [ebp - 0xbc]
add ecx, 0x14
push ecx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x40160e
mov edx, dword [ebp - 0xbc]
add edx, 0x38
mov dword [ebp - 0x98], edx
mov edi, str.CreatePipeError_n
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xffffffff
mov dword [ebp - 0x94], ecx
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, dword [ebp - 0x98]
mov edx, dword [eax]
sub edx, dword [ecx + 8]
cmp edx, dword [ebp - 0x94]
ja 0x401557
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
cmp dword [ebp - 0x94], 0
jbe 0x401607
push 0
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 8]
add ecx, dword [ebp - 0x94]
mov dword [ebp - 0x84], ecx
mov edx, dword [ebp - 0x84]
push edx
mov ecx, dword [ebp - 0x98]
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
and eax, 0xff
test eax, eax
je 0x401607
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x98]
add ecx, dword [edx + 8]
mov dword [ebp - 0x88], ecx
mov ecx, dword [ebp - 0x94]
mov esi, str.CreatePipeError_n
mov edi, dword [ebp - 0x88]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [ebp - 0x8c], 0
mov ecx, dword [ebp - 0x98]
mov edx, dword [ebp - 0x84]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 4]
add ecx, dword [ebp - 0x84]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x90]
mov al, byte [ebp - 0x8c]
mov byte [edx], al
xor al, al
jmp 0x401aae
push 2
push 0
push 0
mov ecx, dword [ebp - 0xbc]
add ecx, 0x24
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x401745
mov ecx, dword [ebp - 0xbc]
add ecx, 0x38
mov dword [ebp - 0xb0], ecx
mov edi, str.DuplicateHandleError_n
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xffffffff
mov dword [ebp - 0xac], ecx
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [ebp - 0xb0]
mov ecx, dword [edx]
sub ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0xac]
ja 0x40168e
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
cmp dword [ebp - 0xac], 0
jbe 0x40173e
push 0
mov edx, dword [ebp - 0xb0]
mov eax, dword [edx + 8]
add eax, dword [ebp - 0xac]
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
push ecx
mov ecx, dword [ebp - 0xb0]
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
and eax, 0xff
test eax, eax
je 0x40173e
mov edx, dword [ebp - 0xb0]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0xb0]
add eax, dword [ecx + 8]
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xac]
mov esi, str.DuplicateHandleError_n
mov edi, dword [ebp - 0xa0]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [ebp - 0xa4], 0
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0x9c]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0xb0]
mov eax, dword [edx + 4]
add eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
mov dl, byte [ebp - 0xa4]
mov byte [ecx], dl
xor al, al
jmp 0x401aae
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0xc0], edx
mov eax, dword [ebp - 0xc0]
sub eax, 1
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 3
ja case.default.0x401780
mov ecx, dword [ebp - 0xc0]
jmp dword [ecx*4 + 0x401ab6]
mov edx, dword [ebp + 0x10]
and edx, 0xc001
mov dword [ebp - 0xc4], edx
cmp dword [ebp - 0xc4], 0x8000
jg 0x4017c8
cmp dword [ebp - 0xc4], 0x8000
je 0x40180e
cmp dword [ebp - 0xc4], 0x4000
je 0x4017f2
cmp dword [ebp - 0xc4], 0x4001
je 0x4017d6
jmp 0x401844
cmp dword [ebp - 0xc4], 0x8001
je 0x40182a
jmp 0x401844
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.MSVCRT.dll__open_osfhandle]
add esp, 8
mov dword [ebp - 8], eax
jmp 0x401844
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.MSVCRT.dll__open_osfhandle]
add esp, 8
mov dword [ebp - 8], eax
jmp 0x401844
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.MSVCRT.dll__open_osfhandle]
add esp, 8
mov dword [ebp - 8], eax
jmp 0x401844
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.MSVCRT.dll__open_osfhandle]
add esp, 8
mov dword [ebp - 8], eax
jmp case.default.0x401780
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.MSVCRT.dll__open_osfhandle]
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.MSVCRT.dll__open_osfhandle]
add esp, 8
mov dword [ebp - 0xc], eax
jmp case.default.0x401780
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.MSVCRT.dll__open_osfhandle]
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.MSVCRT.dll__open_osfhandle]
add esp, 8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ecx + 0x24]
push edx
call dword [sym.imp.MSVCRT.dll__open_osfhandle]
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 0x14], 4
jne 0x4019a5
mov eax, dword [ebp - 0xbc]
add eax, 0x48
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
cmp dword [ecx + 4], 0
jne 0x401900
mov edx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov dword [ebp - 0xc8], edx
jmp 0x40190f
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc8], ecx
mov edx, dword [ebp - 0xbc]
add edx, 0x38
push edx
mov eax, dword [ebp - 0xbc]
mov cl, byte [eax + 0x59]
push ecx
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0xc8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00401ad0
add esp, 0x24
test eax, eax
jne 0x4019a0
cmp dword [ebp - 8], 0
jl 0x401973
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.MSVCRT.dll__close]
add esp, 4
cmp dword [ebp - 0xc], 0
jl 0x401986
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.MSVCRT.dll__close]
add esp, 4
cmp dword [ebp - 0x1c], 0
jl 0x401999
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.MSVCRT.dll__close]
add esp, 4
xor al, al
jmp 0x401aae
jmp 0x401a6b
mov eax, dword [ebp - 0xbc]
add eax, 0x48
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
cmp dword [ecx + 4], 0
jne 0x4019ce
mov edx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov dword [ebp - 0xcc], edx
jmp 0x4019dd
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xcc], ecx
mov edx, dword [ebp - 0xbc]
add edx, 0x38
push edx
mov eax, dword [ebp - 0xbc]
mov cl, byte [eax + 0x59]
push ecx
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0xcc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00401ad0
add esp, 0x24
test eax, eax
jne 0x401a6b
cmp dword [ebp - 8], 0
jl 0x401a41
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.MSVCRT.dll__close]
add esp, 4
cmp dword [ebp - 0xc], 0
jl 0x401a54
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.MSVCRT.dll__close]
add esp, 4
cmp dword [ebp - 0x1c], 0
jl 0x401a67
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.MSVCRT.dll__close]
add esp, 4
xor al, al
jmp 0x401aae
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
cmp dword [ebp - 8], 0
jl 0x401a88
mov edx, dword [ebp - 0xbc]
mov eax, dword [ebp - 8]
mov dword [edx + 0x28], eax
cmp dword [ebp - 0xc], 0
jl 0x401a9a
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xc]
mov dword [ecx + 0x2c], edx
cmp dword [ebp - 0x1c], 0
jl 0x401aac
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x30], ecx
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10