Function at 0x10006f60
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1003b155
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x10059cc0]
xor eax, esp
mov dword [esp + 0x150], eax
push ebx
push esi
push edi
mov eax, dword [0x10059cc0]
xor eax, esp
push eax
lea eax, [esp + 0x168]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
call fcn.1000ab90
mov dword [esp + 0x170], 0
mov ecx, 0xcb
xor eax, eax
lea esp, [esp]
mov dl, byte [eax + 0x1004c8b8]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [esp + eax + 0xc8], dl
jns 0x10006fe0
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x1c
jl 0x10006fc0
mov byte [esp + 0xe4], 0
lea eax, [esp + 0xc8]
push eax
lea esi, [esp + 0x28]
mov byte [esp + 0x174], 1
call fcn.1000ae50
push 0
test eax, eax
jne 0x10007022
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 4]
push 2
lea ecx, [esp + ecx + 0x1c]
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
jmp 0x10007035
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 4]
push 0
lea ecx, [esp + ecx + 0x1c]
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
mov byte [esp + 0x170], 0
cmp dword [esp + 0x78], 0
je 0x10007185
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
test byte [esp + ecx + 0x20], 1
jne 0x100071fb
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, dword [sym.imp.MSVCR100.dll_system]
jmp 0x10007070
lea edx, [esp + 0xf4]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.1000b8e0
add esp, 8
mov ecx, 0x63
xor eax, eax
lea esp, [esp]
mov dl, byte [eax + 0x1004c8d8]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [esp + eax + 0xc8], dl
jns 0x100070b0
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x20
jl 0x10007090
mov byte [esp + 0xe8], 0
lea ecx, [esp + 0xf4]
lea eax, [esp + 0xc8]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100070f0
test dl, dl
je 0x100070ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100070f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100070d0
xor eax, eax
jmp 0x100070f5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x1000712f
call esi
mov ecx, 0x7e
xor eax, eax
mov dl, byte [eax + 0x1004c8fc]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [esp + eax + 0xc8], dl
jns 0x10007127
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x1e
jl 0x10007107
jmp 0x1000715c
mov ecx, 0x7e
xor eax, eax
mov dl, byte [eax + 0x1004c8fc]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [esp + eax + 0xc8], dl
jns 0x10007156
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x1e
jl 0x10007136
lea eax, [esp + 0xc8]
push eax
mov byte [esp + 0xea], 0
call edi
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 4]
add esp, 4
test byte [esp + edx + 0x20], 1
je 0x10007070
jmp 0x100071fb
mov edi, 0x23f6ae2c
lea esi, [esp + 0xc8]
call fcn.1000b640
mov ebx, dword [sym.imp.MSVCR100.dll_system]
push eax
call ebx
add esp, 4
mov edi, 0x8586b348
lea esi, [esp + 0xc8]
call fcn.1000b680
push eax
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
mov word [esp + 0xe4], ax
mov byte [esp + 0xe6], al
cmp dword [esp + 0x78], 0
lea esi, [esp + 0x24]
je 0x10007225
mov ebx, esi
call fcn.1000af50
test al, al
jne 0x10007213
xor esi, esi
mov eax, dword [esp + 0x78]
push eax
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
test eax, eax
je 0x10007227
xor esi, esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x74], 0
mov byte [esp + 0x6d], 0
call dword [sym.imp.MSVCP100.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov ecx, dword [0x1005e7b8]
xor eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x68], eax
cmp esi, eax
jne 0x10007267
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 4]
push eax
push 2
lea ecx, [esp + ecx + 0x1c]
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x7c]
mov dword [esp + 0x10], eax
mov dword [esp + edx + 0x14], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
lea ecx, [esp + 0x24]
mov dword [esp + 0x170], 2
call fcn.1000a0b0
mov dword [esp + 0x170], 0xffffffff
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov edx, dword [sym.imp.MSVCP100.dll_const_std::basic_istream_char__struct_std::char_traits_char__::vftable]
mov dword [esp + ecx + 0x14], edx
lea ecx, [esp + 0x7c]
call dword [sym.imp.MSVCP100.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [esp + 0x168]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x150]
xor ecx, esp
call fcn.10039f0a
mov esp, ebp
pop ebp
ret